/*
** Automatically generated from `hlds_pred.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__hlds__hlds_pred__init
ENDINIT
*/

#define MR_ALLOW_RESET
#include "mercury_imp.h"
#line 202 "../mdbcomp/mdbcomp.program_representation.int"
#include "mdbcomp.program_representation.mh"

#line 28 "hlds.hlds_pred.c"
#line 140 "../library/io.int2"
#include "io.mh"

#line 32 "hlds.hlds_pred.c"
#line 150 "../library/io.int2"
#include "time.mh"

#line 36 "hlds.hlds_pred.c"
#line 151 "../library/io.int2"
#include "string.mh"

#line 40 "hlds.hlds_pred.c"
#line 33 "../library/array.int2"
#include "array.mh"

#line 44 "hlds.hlds_pred.c"
#line 39 "../mdbcomp/mdbcomp.rtti_access.int2"
#include "mdbcomp.rtti_access.mh"

#line 48 "hlds.hlds_pred.c"
#line 31 "../library/bitmap.int2"
#include "bitmap.mh"

#line 52 "hlds.hlds_pred.c"
#line 53 "hlds.hlds_pred.c"
#include "hlds.hlds_pred.mh"

#line 56 "hlds.hlds_pred.c"
#line 57 "hlds.hlds_pred.c"
#ifndef HLDS__HLDS_PRED_DECL_GUARD
#define HLDS__HLDS_PRED_DECL_GUARD

#line 61 "hlds.hlds_pred.c"
#line 62 "hlds.hlds_pred.c"

#endif
#line 65 "hlds.hlds_pred.c"

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

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

struct mercury_type_1 {
	MR_Word * f1[2];
};
MR_STATIC_LINKAGE const struct mercury_type_1 mercury_common_1[];

struct mercury_type_2 {
	MR_Integer f1;
};
MR_STATIC_LINKAGE const struct mercury_type_2 mercury_common_2[];

struct mercury_type_3 {
	MR_Word * f1;
};
MR_STATIC_LINKAGE const struct mercury_type_3 mercury_common_3[];

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

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

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

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

extern const MR_TypeCtorInfo_Struct
	mercury_data_hlds__hlds_pred__type_ctor_info_arg_info_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_arg_loc_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_arg_mode_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_arg_modes_map_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_attribute_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_call_id_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_call_site_static_data_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_deep_original_body_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_deep_profile_proc_info_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_deep_profile_role_0;

extern const MR_TypeCtorInfo_Struct
	mercury_data_hlds__hlds_pred__type_ctor_info_deep_recursion_info_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_detism_decl_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_generic_call_id_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_goal_type_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_head_type_params_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_hlds_deep_excp_vars_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_hlds_deep_layout_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_hlds_proc_static_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_implementation_language_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_import_status_0;

extern const MR_TypeCtorInfo_Struct
	mercury_data_hlds__hlds_pred__type_ctor_info_imported_reuse_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_imported_sharing_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_is_address_taken_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_liveness_info_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_marker_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_need_to_requantify_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_pred_attributes_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_pred_creation_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_pred_id_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_pred_info_0;

extern const MR_TypeCtorInfo_Struct
	mercury_data_hlds__hlds_pred__type_ctor_info_pred_markers_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_pred_origin_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_id_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_list_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_pred_sub_info_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_pred_transformation_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_proc_id_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_proc_info_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_proc_sub_info_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_0;

extern const MR_TypeCtorInfo_Struct
	mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_io_info_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_struct_info_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_special_proc_return_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_structure_reuse_domain_and_status_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_structure_reuse_info_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_structure_sharing_domain_and_status_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_structure_sharing_info_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_table_arg_info_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_table_arg_infos_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_table_is_poly_0;

extern const MR_TypeCtorInfo_Struct
	mercury_data_hlds__hlds_pred__type_ctor_info_table_locn_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_table_step_desc_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_table_trie_step_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_table_value_or_addr_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_tail_call_events_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_untuple_proc_info_0,
	mercury_data_hlds__hlds_pred__type_ctor_info_visible_scc_data_0;
MR_decl_label1(hlds__hlds_pred__IntroducedFrom__pred__pred_info_procids__1342__1_2_0, 2)
MR_decl_label4(hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_0, 3,4,7,1)
MR_decl_label4(hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_0, 3,4,5,1)
MR_decl_label2(hlds__hlds_pred__body_should_use_typeinfo_liveness_3_0, 4,2)
MR_decl_label5(hlds__hlds_pred__compute_arg_types_modes_6_0, 22,5,6,7,9)
MR_decl_label10(hlds__hlds_pred__define_new_pred_19_0, 2,3,4,5,7,8,9,11,12,13)
MR_decl_label10(hlds__hlds_pred__define_new_pred_19_0, 6,14,15,16,17,18,19,21,22,23)
MR_decl_label10(hlds__hlds_pred__define_new_pred_19_0, 26,24,30,31,32,33,34,35,36,37)
MR_decl_label1(hlds__hlds_pred__ensure_all_headvars_are_named_2_0, 2)
MR_decl_label7(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0, 21,3,5,4,7,8,9)
MR_decl_label1(hlds__hlds_pred__field_access_function_name_3_0, 3)
MR_decl_label1(hlds__hlds_pred__field_extraction_function_args_2_0, 2)
MR_decl_label1(hlds__hlds_pred__field_update_function_args_3_0, 2)
MR_decl_label3(hlds__hlds_pred__find_lowest_unused_proc_id_2_3_0, 12,3,2)
MR_decl_label5(hlds__hlds_pred__is_field_access_function_name_5_0, 3,2,6,8,1)
MR_decl_label1(hlds__hlds_pred__next_mode_id_2_0, 2)
MR_decl_label5(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0, 10,13,15,3,2)
MR_decl_label1(hlds__hlds_pred__pred_info_clause_goal_type_1_0, 2)
MR_decl_label10(hlds__hlds_pred__pred_info_create_16_0, 2,3,4,5,6,7,8,10,11,12)
MR_decl_label9(hlds__hlds_pred__pred_info_create_16_0, 13,14,15,17,18,20,21,22,23)
MR_decl_label4(hlds__hlds_pred__pred_info_get_promised_purity_2_0, 3,2,6,5)
MR_decl_label4(hlds__hlds_pred__pred_info_get_purity_2_0, 3,2,6,5)
MR_decl_label2(hlds__hlds_pred__pred_info_get_univ_quant_tvars_2_0, 2,4)
MR_decl_label9(hlds__hlds_pred__pred_info_init_18_0, 2,3,4,6,7,8,9,10,11)
MR_decl_label3(hlds__hlds_pred__pred_info_is_builtin_1_0, 2,3,1)
MR_decl_label3(hlds__hlds_pred__pred_info_is_field_access_function_2_0, 3,5,1)
MR_decl_label1(hlds__hlds_pred__pred_info_is_imported_1_0, 2)
MR_decl_label1(hlds__hlds_pred__pred_info_pragma_goal_type_1_0, 2)
MR_decl_label1(hlds__hlds_pred__pred_info_remove_procid_3_0, 2)
MR_decl_label2(hlds__hlds_pred__pred_info_requested_inlining_1_0, 4,2)
MR_decl_label1(hlds__hlds_pred__pred_info_set_proc_info_4_0, 2)
MR_decl_label10(hlds__hlds_pred__pred_info_update_goal_type_3_0, 6,4,3,9,13,12,11,10,16,2)
MR_decl_label2(hlds__hlds_pred__pred_info_update_goal_type_3_0, 20,18)
MR_decl_label1(hlds__hlds_pred__proc_info_arg_info_2_0, 3)
MR_decl_label1(hlds__hlds_pred__proc_info_arglives_3_0, 3)
MR_decl_label3(hlds__hlds_pred__proc_info_create_13_0, 4,5,6)
MR_decl_label3(hlds__hlds_pred__proc_info_create_var_from_type_5_0, 2,4,6)
MR_decl_label4(hlds__hlds_pred__proc_info_create_vars_from_types_4_0, 2,3,5,7)
MR_decl_label3(hlds__hlds_pred__proc_info_create_with_declared_detism_14_0, 3,4,5)
MR_decl_label1(hlds__hlds_pred__proc_info_declared_argmodes_2_0, 3)
MR_decl_label2(hlds__hlds_pred__proc_info_ensure_unique_names_2_0, 3,4)
MR_decl_label1(hlds__hlds_pred__proc_info_get_imported_structure_reuse_4_0, 1)
MR_decl_label1(hlds__hlds_pred__proc_info_get_imported_structure_sharing_4_0, 1)
MR_decl_label2(hlds__hlds_pred__proc_info_get_initial_instmap_3_0, 2,4)
MR_decl_label9(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0, 61,3,6,7,11,10,15,4,1)
MR_decl_label3(hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0, 3,4,1)
MR_decl_label1(hlds__hlds_pred__proc_info_head_modes_constraint_2_0, 3)
MR_decl_label9(hlds__hlds_pred__proc_info_init_11_0, 2,3,4,6,7,8,9,12,13)
MR_decl_label1(hlds__hlds_pred__proc_info_instantiated_head_vars_3_0, 3)
MR_decl_label1(hlds__hlds_pred__proc_info_interface_determinism_2_0, 3)
MR_decl_label3(hlds__hlds_pred__proc_info_never_succeeds_2_0, 7,3,4)
MR_decl_label1(hlds__hlds_pred__proc_info_uninstantiated_head_vars_3_0, 3)
MR_decl_label4(hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_0, 4,2,6,7)
MR_decl_label10(hlds__hlds_pred__procedure_is_exported_3_0, 9,12,14,11,16,18,19,21,35,1)
MR_decl_label2(hlds__hlds_pred__purity_to_markers_2_0, 3,5)
MR_decl_label2(hlds__hlds_pred__terminates_to_markers_2_0, 3,4)
MR_decl_label3(hlds__hlds_pred__var_is_of_dummy_type_3_0, 3,4,1)
MR_decl_label10(fn__hlds__hlds_pred__builtin_state_4_0, 2,3,4,5,8,7,11,12,14,6)
MR_decl_label2(fn__hlds__hlds_pred__calls_are_fully_qualified_1_0, 3,2)
MR_decl_label4(fn__hlds__hlds_pred__eval_method_change_determinism_2_0, 3,4,14,5)
MR_decl_label4(fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0, 3,4,9,5)
MR_decl_label5(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0, 3,17,4,5,14)
MR_decl_label4(fn__hlds__hlds_pred__eval_method_needs_stratification_1_0, 3,4,9,5)
MR_decl_label3(fn__hlds__hlds_pred__eval_method_requires_ground_args_1_0, 3,12,4)
MR_decl_label3(fn__hlds__hlds_pred__eval_method_requires_tabling_transform_1_0, 3,12,4)
MR_decl_label3(fn__hlds__hlds_pred__pred_info_all_non_imported_procids_1_0, 4,3,26)
MR_decl_label2(fn__hlds__hlds_pred__pred_info_exported_procids_1_0, 3,5)
MR_decl_label3(fn__hlds__hlds_pred__pred_info_non_imported_procids_1_0, 4,3,26)
MR_decl_label1(fn__hlds__hlds_pred__pred_info_procids_1_0, 2)
MR_decl_label10(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0, 3,4,5,6,7,8,9,10,11,12)
MR_decl_label8(fn__hlds__hlds_pred__status_defined_in_this_module_1_0, 3,4,5,6,7,8,38,9)
MR_decl_label8(fn__hlds__hlds_pred__status_is_exported_1_0, 3,4,5,6,7,8,38,9)
MR_decl_label2(fn__hlds__hlds_pred__status_is_exported_to_non_submodules_1_0, 3,2)
MR_decl_label1(fn__hlds__hlds_pred__status_is_imported_1_0, 2)
MR_decl_label5(fn__hlds__hlds_pred__table_step_stats_kind_1_0, 3,4,13,7,9)
MR_decl_label10(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0, 4,3,8,7,13,14,15,16,44,17)
MR_decl_label4(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0, 18,11,34,20)
MR_decl_label2(__Unify___hlds__hlds_pred__arg_info_0_0, 4,1)
MR_decl_label1(__Unify___hlds__hlds_pred__attribute_0_0, 6)
MR_decl_label3(__Unify___hlds__hlds_pred__call_id_0_0, 16,5,1)
MR_decl_label7(__Unify___hlds__hlds_pred__call_site_static_data_0_0, 5,11,9,15,49,19,1)
MR_decl_label6(__Unify___hlds__hlds_pred__deep_original_body_0_0, 4,7,9,11,15,1)
MR_decl_label4(__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0, 4,6,10,1)
MR_decl_label3(__Unify___hlds__hlds_pred__deep_profile_role_0_0, 16,5,1)
MR_decl_label3(__Unify___hlds__hlds_pred__deep_recursion_info_0_0, 4,8,1)
MR_decl_label6(__Unify___hlds__hlds_pred__generic_call_id_0_0, 5,9,7,27,13,1)
MR_decl_label6(__Unify___hlds__hlds_pred__goal_type_0_0, 5,6,7,19,8,1)
MR_decl_label4(__Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0, 5,7,11,1)
MR_decl_label3(__Unify___hlds__hlds_pred__hlds_deep_layout_0_0, 4,8,1)
MR_decl_label3(__Unify___hlds__hlds_pred__hlds_proc_static_0_0, 4,8,1)
MR_decl_label3(__Unify___hlds__hlds_pred__implementation_language_0_0, 10,5,1)
MR_decl_label10(__Unify___hlds__hlds_pred__import_status_0_0, 83,5,6,7,8,9,10,11,12,13)
MR_decl_label3(__Unify___hlds__hlds_pred__import_status_0_0, 41,14,1)
MR_decl_label4(__Unify___hlds__hlds_pred__imported_reuse_0_0, 5,7,11,1)
MR_decl_label4(__Unify___hlds__hlds_pred__imported_sharing_0_0, 5,7,11,1)
MR_decl_label10(__Unify___hlds__hlds_pred__pred_info_0_0, 4,6,8,10,12,14,16,19,21,23)
MR_decl_label3(__Unify___hlds__hlds_pred__pred_info_0_0, 25,29,1)
MR_decl_label10(__Unify___hlds__hlds_pred__pred_origin_0_0, 7,5,11,17,19,15,21,23,55,25)
MR_decl_label1(__Unify___hlds__hlds_pred__pred_origin_0_0, 1)
MR_decl_label2(__Unify___hlds__hlds_pred__pred_proc_id_0_0, 4,1)
MR_decl_label10(__Unify___hlds__hlds_pred__pred_sub_info_0_0, 4,6,8,11,13,15,17,19,21,23)
MR_decl_label4(__Unify___hlds__hlds_pred__pred_sub_info_0_0, 28,30,34,1)
MR_decl_label10(__Unify___hlds__hlds_pred__pred_transformation_0_0, 5,6,7,8,9,10,12,14,18,20)
MR_decl_label6(__Unify___hlds__hlds_pred__pred_transformation_0_0, 22,26,28,77,33,1)
MR_decl_label10(__Unify___hlds__hlds_pred__proc_info_0_0, 4,6,9,11,13,16,18,21,24,26)
MR_decl_label6(__Unify___hlds__hlds_pred__proc_info_0_0, 28,30,32,34,38,1)
MR_decl_label10(__Unify___hlds__hlds_pred__proc_sub_info_0_0, 6,9,11,14,17,19,21,23,25,27)
MR_decl_label7(__Unify___hlds__hlds_pred__proc_sub_info_0_0, 29,31,33,35,37,41,1)
MR_decl_label1(__Unify___hlds__hlds_pred__proc_table_io_info_0_0, 6)
MR_decl_label8(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0, 4,6,8,11,13,15,19,1)
MR_decl_label2(__Unify___hlds__hlds_pred__special_proc_return_0_0, 4,1)
MR_decl_label3(__Unify___hlds__hlds_pred__structure_reuse_domain_and_status_0_0, 4,6,1)
MR_decl_label3(__Unify___hlds__hlds_pred__structure_reuse_info_0_0, 4,8,1)
MR_decl_label3(__Unify___hlds__hlds_pred__structure_sharing_domain_and_status_0_0, 4,6,1)
MR_decl_label3(__Unify___hlds__hlds_pred__structure_sharing_info_0_0, 4,8,1)
MR_decl_label2(__Unify___hlds__hlds_pred__table_arg_info_0_0, 6,1)
MR_decl_label3(__Unify___hlds__hlds_pred__table_arg_infos_0_0, 4,9,1)
MR_decl_label3(__Unify___hlds__hlds_pred__table_locn_0_0, 12,5,1)
MR_decl_label2(__Unify___hlds__hlds_pred__table_step_desc_0_0, 6,1)
MR_decl_label10(__Unify___hlds__hlds_pred__table_trie_step_0_0, 5,6,7,8,9,10,11,12,13,41)
MR_decl_label3(__Unify___hlds__hlds_pred__table_trie_step_0_0, 14,17,1)
MR_decl_label1(__Unify___hlds__hlds_pred__untuple_proc_info_0_0, 8)
MR_decl_label4(__Unify___hlds__hlds_pred__visible_scc_data_0_0, 4,6,10,1)
MR_decl_label10(__Index___hlds__hlds_pred__pred_transformation_0_0, 3,4,5,6,7,8,9,10,11,12)
MR_decl_label4(__Index___hlds__hlds_pred__pred_transformation_0_0, 13,14,15,16)
MR_decl_label4(__Compare___hlds__hlds_pred__arg_info_0_0, 3,2,5,21)
MR_decl_label2(__Compare___hlds__hlds_pred__attribute_0_0, 3,2)
MR_decl_label5(__Compare___hlds__hlds_pred__call_id_0_0, 3,2,7,5,10)
MR_decl_label10(__Compare___hlds__hlds_pred__call_site_static_data_0_0, 3,2,9,13,7,19,20,5,24,27)
MR_decl_label10(__Compare___hlds__hlds_pred__call_site_static_data_0_0, 31,35,39,25,47,22,51,52,55,59)
MR_decl_label10(__Compare___hlds__hlds_pred__call_site_static_data_0_0, 53,49,68,69,70,73,77,66,84,85)
MR_decl_label7(__Compare___hlds__hlds_pred__call_site_static_data_0_0, 133,86,134,87,89,93,266)
MR_decl_label8(__Compare___hlds__hlds_pred__deep_original_body_0_0, 3,2,5,10,14,19,23,73)
MR_decl_label5(__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0, 3,2,5,9,29)
MR_decl_label5(__Compare___hlds__hlds_pred__deep_profile_role_0_0, 3,2,19,7,5)
MR_decl_label4(__Compare___hlds__hlds_pred__deep_recursion_info_0_0, 3,2,5,21)
MR_decl_label10(__Compare___hlds__hlds_pred__generic_call_id_0_0, 3,2,7,9,5,13,16,14,11,24)
MR_decl_label9(__Compare___hlds__hlds_pred__generic_call_id_0_0, 75,25,22,29,30,31,33,37,152)
MR_decl_label10(__Compare___hlds__hlds_pred__goal_type_0_0, 7,8,9,5,13,14,15,11,19,20)
MR_decl_label10(__Compare___hlds__hlds_pred__goal_type_0_0, 21,17,25,26,27,81,23,30,31,59)
MR_decl_label3(__Compare___hlds__hlds_pred__goal_type_0_0, 32,60,33)
MR_decl_label5(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0, 3,2,5,9,39)
MR_decl_label4(__Compare___hlds__hlds_pred__hlds_deep_layout_0_0, 3,2,5,21)
MR_decl_label7(__Compare___hlds__hlds_pred__hlds_proc_static_0_0, 3,2,5,9,13,17,45)
MR_decl_label4(__Compare___hlds__hlds_pred__implementation_language_0_0, 18,7,5,9)
MR_decl_label10(__Compare___hlds__hlds_pred__import_status_0_0, 734,7,8,9,10,11,12,13,14,15)
MR_decl_label10(__Compare___hlds__hlds_pred__import_status_0_0, 5,19,20,21,22,23,24,25,26,27)
MR_decl_label10(__Compare___hlds__hlds_pred__import_status_0_0, 17,31,32,33,34,35,36,37,38,39)
MR_decl_label10(__Compare___hlds__hlds_pred__import_status_0_0, 29,43,44,45,46,47,48,49,50,51)
MR_decl_label10(__Compare___hlds__hlds_pred__import_status_0_0, 41,55,56,57,58,59,60,61,62,63)
MR_decl_label10(__Compare___hlds__hlds_pred__import_status_0_0, 53,67,68,69,70,71,72,73,74,75)
MR_decl_label10(__Compare___hlds__hlds_pred__import_status_0_0, 65,79,80,81,82,83,84,85,86,87)
MR_decl_label10(__Compare___hlds__hlds_pred__import_status_0_0, 77,91,92,93,94,95,96,97,98,99)
MR_decl_label10(__Compare___hlds__hlds_pred__import_status_0_0, 89,103,104,105,106,107,108,109,110,358)
MR_decl_label10(__Compare___hlds__hlds_pred__import_status_0_0, 111,101,115,116,117,118,119,120,121,122)
MR_decl_label10(__Compare___hlds__hlds_pred__import_status_0_0, 123,113,127,128,129,130,131,132,133,134)
MR_decl_label4(__Compare___hlds__hlds_pred__import_status_0_0, 258,135,259,136)
MR_decl_label5(__Compare___hlds__hlds_pred__imported_reuse_0_0, 3,2,6,10,39)
MR_decl_label5(__Compare___hlds__hlds_pred__imported_sharing_0_0, 3,2,6,10,39)
MR_decl_label10(__Compare___hlds__hlds_pred__pred_info_0_0, 3,2,5,9,13,17,21,25,29,33)
MR_decl_label7(__Compare___hlds__hlds_pred__pred_info_0_0, 37,41,46,50,54,58,171)
MR_decl_label10(__Compare___hlds__hlds_pred__pred_origin_0_0, 3,2,9,7,14,15,16,17,5,21)
MR_decl_label10(__Compare___hlds__hlds_pred__pred_origin_0_0, 22,24,25,26,19,30,31,34,38,32)
MR_decl_label10(__Compare___hlds__hlds_pred__pred_origin_0_0, 44,45,28,49,50,51,54,52,59,47)
MR_decl_label10(__Compare___hlds__hlds_pred__pred_origin_0_0, 63,64,65,299,66,61,72,73,74,75)
MR_decl_label10(__Compare___hlds__hlds_pred__pred_origin_0_0, 76,79,83,70,90,91,92,93,94,95)
MR_decl_label1(__Compare___hlds__hlds_pred__pred_origin_0_0, 467)
MR_decl_label4(__Compare___hlds__hlds_pred__pred_proc_id_0_0, 3,2,5,21)
MR_decl_label10(__Compare___hlds__hlds_pred__pred_sub_info_0_0, 3,2,5,9,13,18,23,28,32,36)
MR_decl_label5(__Compare___hlds__hlds_pred__pred_sub_info_0_0, 40,44,51,56,155)
MR_decl_label10(__Compare___hlds__hlds_pred__pred_transformation_0_0, 4,5,6,7,10,11,12,13,90,14)
MR_decl_label10(__Compare___hlds__hlds_pred__pred_transformation_0_0, 15,18,21,24,27,33,30,38,41,45)
MR_decl_label2(__Compare___hlds__hlds_pred__pred_transformation_0_0, 8,54)
MR_decl_label10(__Compare___hlds__hlds_pred__proc_info_0_0, 3,2,5,9,14,19,23,28,32,37)
MR_decl_label9(__Compare___hlds__hlds_pred__proc_info_0_0, 42,46,50,54,58,62,66,70,197)
MR_decl_label10(__Compare___hlds__hlds_pred__proc_sub_info_0_0, 3,2,5,11,17,21,25,30,35,40)
MR_decl_label10(__Compare___hlds__hlds_pred__proc_sub_info_0_0, 44,48,52,56,61,65,69,73,77,81)
MR_decl_label4(__Compare___hlds__hlds_pred__proc_sub_info_0_0, 86,90,94,256)
MR_decl_label2(__Compare___hlds__hlds_pred__proc_table_io_info_0_0, 3,2)
MR_decl_label10(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0, 3,2,5,9,13,17,21,25,30,34)
MR_decl_label1(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0, 105)
MR_decl_label4(__Compare___hlds__hlds_pred__special_proc_return_0_0, 3,2,5,21)
MR_decl_label4(__Compare___hlds__hlds_pred__structure_reuse_domain_and_status_0_0, 3,2,5,21)
MR_decl_label4(__Compare___hlds__hlds_pred__structure_reuse_info_0_0, 3,2,5,21)
MR_decl_label4(__Compare___hlds__hlds_pred__structure_sharing_domain_and_status_0_0, 3,2,5,21)
MR_decl_label4(__Compare___hlds__hlds_pred__structure_sharing_info_0_0, 3,2,5,21)
MR_decl_label6(__Compare___hlds__hlds_pred__table_arg_info_0_0, 3,2,5,9,13,37)
MR_decl_label4(__Compare___hlds__hlds_pred__table_arg_infos_0_0, 3,2,5,28)
MR_decl_label7(__Compare___hlds__hlds_pred__table_locn_0_0, 3,2,7,5,10,12,45)
MR_decl_label4(__Compare___hlds__hlds_pred__table_step_desc_0_0, 3,2,5,21)
MR_decl_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0, 7,8,9,10,11,12,13,14,15,5)
MR_decl_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0, 19,20,21,22,23,24,25,26,27,17)
MR_decl_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0, 31,32,33,34,35,36,37,38,39,29)
MR_decl_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0, 43,44,45,46,47,48,49,50,51,41)
MR_decl_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0, 55,56,57,58,59,60,61,62,63,53)
MR_decl_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0, 67,68,69,70,71,72,73,74,75,65)
MR_decl_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0, 79,80,81,82,83,84,85,86,87,77)
MR_decl_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0, 91,92,93,94,95,96,97,98,99,89)
MR_decl_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0, 103,104,105,106,107,108,109,110,370,111)
MR_decl_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0, 101,115,116,117,118,119,120,121,122,123)
MR_decl_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0, 113,127,128,129,130,131,132,133,134,268)
MR_decl_label6(__Compare___hlds__hlds_pred__table_trie_step_0_0, 135,269,136,138,142,148)
MR_decl_label2(__Compare___hlds__hlds_pred__untuple_proc_info_0_0, 3,2)
MR_decl_label5(__Compare___hlds__hlds_pred__visible_scc_data_0_0, 3,2,5,9,29)
MR_def_extern_entry(fn__hlds__hlds_pred__shroud_pred_id_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__shroud_proc_id_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__shroud_pred_proc_id_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__unshroud_pred_id_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__unshroud_proc_id_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__unshroud_pred_proc_id_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_id_to_int_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_id_to_int_2_1)
MR_def_extern_entry(fn__hlds__hlds_pred__pred_id_to_int_1_0)
MR_def_extern_entry(hlds__hlds_pred__proc_id_to_int_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_id_to_int_2_1)
MR_def_extern_entry(fn__hlds__hlds_pred__proc_id_to_int_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__initial_pred_id_0_0)
MR_def_extern_entry(fn__hlds__hlds_pred__initial_proc_id_0_0)
MR_def_extern_entry(fn__hlds__hlds_pred__invalid_pred_id_0_0)
MR_def_extern_entry(fn__hlds__hlds_pred__invalid_proc_id_0_0)
MR_def_extern_entry(hlds__hlds_pred__next_pred_id_2_0)
MR_def_extern_entry(hlds__hlds_pred__in_in_unification_proc_id_1_0)
MR_def_extern_entry(hlds__hlds_pred__next_mode_id_2_0)
MR_def_extern_entry(fn__hlds__hlds_pred__status_is_exported_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__status_is_exported_to_non_submodules_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__status_defined_in_this_module_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__status_is_imported_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0)
MR_def_extern_entry(hlds__hlds_pred__check_marker_2_0)
MR_def_extern_entry(fn__hlds__hlds_pred__calls_are_fully_qualified_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_init_18_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_varset_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_vartypes_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_headvars_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_rtti_varmaps_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_create_16_0)
MR_decl_static(hlds__hlds_pred__compute_arg_types_modes_6_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_maybe_termination_info_3_0)
MR_def_extern_entry(hlds__hlds_pred__non_special_body_should_use_typeinfo_liveness_2_0)
MR_def_extern_entry(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0)
MR_decl_static(hlds__hlds_pred__proc_info_create_with_declared_detism_14_0)
MR_def_extern_entry(hlds__hlds_pred__define_new_pred_19_0)
MR_def_extern_entry(fn__hlds__hlds_pred__pred_info_module_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__pred_info_name_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__pred_info_orig_arity_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__pred_info_is_pred_or_func_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_context_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_origin_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_import_status_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_goal_type_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_markers_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_attributes_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_arg_types_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_typevarset_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_tvar_kinds_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_exist_quant_tvars_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_existq_tvar_binding_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_head_type_params_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_class_context_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_constraint_proofs_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_constraint_map_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_unproven_body_constraints_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_inst_graph_info_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_arg_modes_maps_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_var_name_remap_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_assertions_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_clauses_info_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_procedures_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_name_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_orig_arity_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_is_pred_or_func_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_origin_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_import_status_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_goal_type_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_markers_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_attributes_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_typevarset_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_tvar_kinds_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_existq_tvar_binding_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_head_type_params_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_class_context_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_constraint_proofs_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_constraint_map_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_unproven_body_constraints_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_inst_graph_info_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_arg_modes_maps_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_var_name_remap_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_assertions_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_clauses_info_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_procedures_3_0)
MR_def_extern_entry(fn__hlds__hlds_pred__pred_info_all_procids_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__pred_info_procids_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__pred_info_non_imported_procids_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__pred_info_all_non_imported_procids_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__pred_info_exported_procids_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_remove_procid_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_arg_types_4_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_arg_types_5_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_univ_quant_tvars_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_proc_info_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_set_proc_info_4_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_is_imported_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_is_imported_not_external_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_is_pseudo_imported_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_is_exported_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_is_opt_exported_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_is_exported_to_submodules_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_is_pseudo_exported_1_0)
MR_def_extern_entry(hlds__hlds_pred__procedure_is_exported_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_mark_as_external_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_clause_goal_type_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_pragma_goal_type_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_update_goal_type_3_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_requested_inlining_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_requested_no_inlining_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_purity_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_promised_purity_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_infer_modes_1_0)
MR_def_extern_entry(hlds__hlds_pred__purity_to_markers_2_0)
MR_def_extern_entry(hlds__hlds_pred__terminates_to_markers_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_sym_name_2_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_get_call_id_2_0)
MR_def_extern_entry(hlds__hlds_pred__init_markers_1_0)
MR_def_extern_entry(hlds__hlds_pred__add_marker_3_0)
MR_def_extern_entry(hlds__hlds_pred__remove_marker_3_0)
MR_def_extern_entry(hlds__hlds_pred__markers_to_marker_list_2_0)
MR_def_extern_entry(hlds__hlds_pred__marker_list_to_markers_2_0)
MR_def_extern_entry(hlds__hlds_pred__init_attributes_1_0)
MR_def_extern_entry(hlds__hlds_pred__check_attribute_2_0)
MR_def_extern_entry(hlds__hlds_pred__add_attribute_3_0)
MR_def_extern_entry(hlds__hlds_pred__remove_attribute_3_0)
MR_def_extern_entry(hlds__hlds_pred__attributes_to_attribute_list_2_0)
MR_def_extern_entry(hlds__hlds_pred__attribute_list_to_attributes_2_0)
MR_def_extern_entry(fn__hlds__hlds_pred__table_step_stats_kind_1_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_init_11_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_create_13_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_body_7_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_context_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_inst_varset_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_maybe_declared_argmodes_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_argmodes_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_maybe_arglives_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_declared_determinism_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_inferred_determinism_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_detism_decl_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_goal_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_can_process_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_eval_method_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_maybe_arg_size_info_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_maybe_termination_info_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_is_address_taken_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_stack_slots_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_maybe_arg_info_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_liveness_info_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_need_maxfr_slot_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_has_user_event_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_has_parallel_conj_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_has_tail_call_events_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_call_table_tip_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_maybe_proc_table_io_info_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_table_attributes_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_maybe_special_return_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_maybe_deep_profile_info_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_maybe_untuple_info_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_var_name_remap_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_statevar_warnings_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_varset_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_vartypes_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_headvars_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_inst_varset_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_maybe_declared_argmodes_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_argmodes_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_maybe_arglives_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_inferred_determinism_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_detism_decl_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_goal_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_can_process_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_rtti_varmaps_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_eval_method_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_maybe_arg_size_info_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_address_taken_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_stack_slots_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_arg_info_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_liveness_info_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_need_maxfr_slot_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_has_user_event_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_has_parallel_conj_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_has_tail_call_events_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_call_table_tip_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_maybe_proc_table_io_info_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_table_attributes_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_maybe_special_return_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_maybe_deep_profile_info_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_maybe_untuple_info_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_var_name_remap_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_statevar_warnings_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_termination2_info_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_termination2_info_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_structure_sharing_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_structure_sharing_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_imported_structure_sharing_4_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_imported_structure_sharing_5_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_reset_imported_structure_sharing_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_structure_reuse_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_structure_reuse_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_imported_structure_reuse_4_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_imported_structure_reuse_5_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_reset_imported_structure_reuse_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_head_modes_constraint_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_set_head_modes_constraint_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_interface_determinism_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_never_succeeds_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_declared_argmodes_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_arglives_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_arg_info_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_get_initial_instmap_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_ensure_unique_names_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_create_var_from_type_5_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_create_vars_from_types_4_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_instantiated_head_vars_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_uninstantiated_head_vars_3_0)
MR_def_extern_entry(hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_0)
MR_def_extern_entry(hlds__hlds_pred__body_should_use_typeinfo_liveness_3_0)
MR_decl_static(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_has_io_state_pair_4_0)
MR_decl_static(hlds__hlds_pred__find_lowest_unused_proc_id_2_3_0)
MR_def_extern_entry(hlds__hlds_pred__clone_proc_id_3_0)
MR_def_extern_entry(fn__hlds__hlds_pred__mode_errors_1_0)
MR_def_extern_entry(fn__f_104_108_100_115_95_95_104_108_100_115_95_112_114_101_100_95_95_109_111_100_101_95_101_114_114_111_114_115_32_58_61_2_0)
MR_def_extern_entry(hlds__hlds_pred__proc_info_is_valid_mode_1_0)
MR_decl_static(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0)
MR_def_extern_entry(hlds__hlds_pred__ensure_all_headvars_are_named_2_0)
MR_def_extern_entry(hlds__hlds_pred__var_is_of_dummy_type_3_0)
MR_def_extern_entry(hlds__hlds_pred__field_extraction_function_args_2_0)
MR_def_extern_entry(hlds__hlds_pred__field_update_function_args_3_0)
MR_def_extern_entry(hlds__hlds_pred__field_access_function_name_3_0)
MR_def_extern_entry(hlds__hlds_pred__is_field_access_function_name_5_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_is_field_access_function_2_0)
MR_def_extern_entry(hlds__hlds_pred__is_unify_or_compare_pred_1_0)
MR_def_extern_entry(hlds__hlds_pred__pred_info_is_builtin_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__builtin_state_4_0)
MR_def_extern_entry(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0)
MR_def_extern_entry(fn__hlds__hlds_pred__eval_method_needs_stratification_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__eval_method_requires_tabling_transform_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__eval_method_requires_ground_args_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0)
MR_def_extern_entry(fn__hlds__hlds_pred__eval_method_change_determinism_2_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__arg_info_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__arg_info_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__arg_loc_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__arg_loc_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__arg_mode_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__arg_mode_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__arg_modes_map_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__arg_modes_map_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__attribute_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__attribute_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__call_id_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__call_id_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__call_site_static_data_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__call_site_static_data_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__deep_original_body_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__deep_original_body_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__deep_profile_role_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__deep_profile_role_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__deep_recursion_info_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__deep_recursion_info_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__detism_decl_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__detism_decl_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__generic_call_id_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__generic_call_id_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__goal_type_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__goal_type_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__head_type_params_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__head_type_params_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__hlds_deep_layout_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__hlds_deep_layout_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__hlds_proc_static_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__hlds_proc_static_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__implementation_language_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__implementation_language_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__import_status_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__import_status_0_0)
MR_decl_static(__Unify___hlds__hlds_pred__imported_reuse_0_0)
MR_decl_static(__Compare___hlds__hlds_pred__imported_reuse_0_0)
MR_decl_static(__Unify___hlds__hlds_pred__imported_sharing_0_0)
MR_decl_static(__Compare___hlds__hlds_pred__imported_sharing_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__is_address_taken_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__is_address_taken_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__liveness_info_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__liveness_info_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__marker_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__marker_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__need_to_requantify_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__need_to_requantify_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__pred_attributes_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__pred_attributes_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__pred_creation_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__pred_creation_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__pred_id_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__pred_id_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__pred_info_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__pred_info_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__pred_markers_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__pred_markers_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__pred_origin_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__pred_origin_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__pred_proc_id_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__pred_proc_id_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__pred_proc_list_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__pred_proc_list_0_0)
MR_decl_static(__Unify___hlds__hlds_pred__pred_sub_info_0_0)
MR_decl_static(__Compare___hlds__hlds_pred__pred_sub_info_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__pred_transformation_0_0)
MR_def_extern_entry(__Index___hlds__hlds_pred__pred_transformation_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__pred_transformation_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__proc_id_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__proc_id_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__proc_info_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__proc_info_0_0)
MR_decl_static(__Unify___hlds__hlds_pred__proc_sub_info_0_0)
MR_decl_static(__Compare___hlds__hlds_pred__proc_sub_info_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__proc_table_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__proc_table_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__proc_table_io_info_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__proc_table_io_info_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__special_proc_return_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__special_proc_return_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__structure_reuse_domain_and_status_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__structure_reuse_domain_and_status_0_0)
MR_decl_static(__Unify___hlds__hlds_pred__structure_reuse_info_0_0)
MR_decl_static(__Compare___hlds__hlds_pred__structure_reuse_info_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__structure_sharing_domain_and_status_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__structure_sharing_domain_and_status_0_0)
MR_decl_static(__Unify___hlds__hlds_pred__structure_sharing_info_0_0)
MR_decl_static(__Compare___hlds__hlds_pred__structure_sharing_info_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__table_arg_info_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__table_arg_info_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__table_arg_infos_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__table_arg_infos_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__table_is_poly_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__table_is_poly_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__table_locn_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__table_locn_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__table_step_desc_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__table_step_desc_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__table_trie_step_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__table_trie_step_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__table_value_or_addr_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__table_value_or_addr_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__tail_call_events_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__tail_call_events_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__untuple_proc_info_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__untuple_proc_info_0_0)
MR_def_extern_entry(__Unify___hlds__hlds_pred__visible_scc_data_0_0)
MR_def_extern_entry(__Compare___hlds__hlds_pred__visible_scc_data_0_0)
MR_decl_static(hlds__hlds_pred__IntroducedFrom__pred__pred_info_procids__1342__1_2_0)
MR_decl_static(hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_0)
MR_decl_static(hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_0)
MR_def_extern_entry(f_104_108_100_115_95_95_104_108_100_115_95_112_114_101_100_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_99_108_111_110_101_95_112_114_111_99_95_105_100_95_95_91_50_93_95_48_3_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_builtin__type_ctor_info_int_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_proc_info_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_mer_type_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_mer_mode_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_mer_mode_0;
extern const MR_TypeCtorInfo_Struct mercury_data_bool__type_ctor_info_bool_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_mer_type_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_generic_termination_info_2;
extern const MR_TypeCtorInfo_Struct mercury_data_unit__type_ctor_info_unit_0;
static const struct mercury_type_0 mercury_common_0[9] =
{
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(hlds__hlds_pred, proc_info)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(hlds__hlds_pred, proc_info)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_COMMON(1,3),
MR_CTOR0_ADDR(parse_tree__prog_data, mer_type)
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_COMMON(1,3),
MR_CTOR0_ADDR(parse_tree__prog_data, mer_mode)
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_TAG_COMMON(0,1,1),
MR_CTOR0_ADDR(parse_tree__prog_data, mer_mode)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_TAG_COMMON(0,1,1),
MR_BOOL_CTOR_ADDR
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_TAG_COMMON(0,0,5),
MR_TAG_COMMON(0,0,5)
}
},
{
{
MR_CTOR_ADDR(pair, pair, 2),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(parse_tree__prog_data, mer_type)
}
},
{
{
MR_CTOR_ADDR(parse_tree__prog_data, generic_termination_info, 2),
MR_CTOR0_ADDR(unit, unit),
MR_TAG_COMMON(0,1,9)
}
},
};

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_tvar_type_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_prog_var_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_prog_var_type_0;
extern const MR_TypeCtorInfo_Struct mercury_data_list__type_ctor_info_list_1;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_data__type_ctor_info_hlds_ctor_field_defn_0;
extern const MR_TypeCtorInfo_Struct mercury_data_mode_robdd__tfeirn__type_ctor_info_tfeirn_1;
extern const MR_TypeCtorInfo_Struct mercury_data_check_hlds__mode_constraint_robdd__type_ctor_info_mc_type_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_is_live_0;
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__term_errors__type_ctor_info_termination_error_context_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_generic_arg_size_info_1;
static const struct mercury_type_1 mercury_common_1[14] =
{
{
{
MR_CTOR1_ADDR(term, var),
MR_CTOR0_ADDR(parse_tree__prog_data, tvar_type)
}
},
{
{
MR_CTOR1_ADDR(term, var),
MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type)
}
},
{
{
MR_tbmkword(0, 0),
MR_tbmkword(0, 0)
}
},
{
{
MR_CTOR1_ADDR(term, var),
MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type)
}
},
{
{
MR_CTOR1_ADDR(term, var),
MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(hlds__hlds_data, hlds_ctor_field_defn)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(parse_tree__prog_data, mer_mode)
}
},
{
{
MR_CTOR1_ADDR(mode_robdd__tfeirn, tfeirn),
MR_CTOR0_ADDR(check_hlds__mode_constraint_robdd, mc_type)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(parse_tree__prog_data, is_live)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(transform_hlds__term_errors, termination_error_context)
}
},
{
{
MR_CTOR1_ADDR(parse_tree__prog_data, generic_arg_size_info),
MR_TAG_COMMON(0,1,9)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(hlds__hlds_pred, arg_info)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(hlds__hlds_pred, table_step_desc)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_TAG_COMMON(0,1,1)
}
},
};

static const struct mercury_type_2 mercury_common_2[1] =
{
{
0
},
};

static const struct mercury_type_3 mercury_common_3[1] =
{
{
MR_TAG_COMMON(0,2,0)
},
};

static const MR_UserClosureId
mercury_data__closure_layout__fn__hlds__hlds_pred__pred_info_procids_1_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_int_0;
static const struct mercury_type_4 mercury_common_4[1] =
{
{
(MR_Word *) &mercury_data__closure_layout__fn__hlds__hlds_pred__pred_info_procids_1_0_1,
(MR_Word *) (MR_Integer) 0,
2,
MR_COMMON(0,1),
MR_INT_CTOR_ADDR
},
};

static const struct mercury_type_5 mercury_common_5[5] =
{
{
0,
MR_tbmkword(0, 0)
},
{
12,
MR_tbmkword(0, 0)
},
{
13,
MR_tbmkword(0, 0)
},
{
18,
MR_tbmkword(0, 0)
},
{
17,
MR_tbmkword(0, 0)
},
};

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

static const MR_UserClosureId
mercury_data__closure_layout__hlds__hlds_pred__proc_info_instantiated_head_vars_3_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_module__type_ctor_info_module_info_0;
static const MR_UserClosureId
mercury_data__closure_layout__hlds__hlds_pred__proc_info_uninstantiated_head_vars_3_0_1;
static const struct mercury_type_7 mercury_common_7[2] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__hlds__hlds_pred__proc_info_instantiated_head_vars_3_0_1,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_COMMON(0,2),
MR_COMMON(0,3),
MR_COMMON(1,4)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__hlds__hlds_pred__proc_info_uninstantiated_head_vars_3_0_1,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_COMMON(0,2),
MR_COMMON(0,3),
MR_COMMON(1,4)
}
},
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_arg_mode_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_arg_info_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_arg_mode_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_arg_info_0_0 = {
	"arg_info",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_arg_info_0_0,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_arg_info_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_arg_info_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_arg_info_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_arg_info_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_arg_info_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_arg_info_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_arg_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_arg_info_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__arg_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__arg_info_0_0)),
	"hlds.hlds_pred",
	"arg_info",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_arg_info_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_arg_info_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_arg_info_0
};

const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_arg_loc_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_EQUIV_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__arg_loc_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__arg_loc_0_0)),
	"hlds.hlds_pred",
	"arg_loc",
	{ 0 },
	{ (void *)&mercury_data_builtin__type_ctor_info_int_0 },
	-1,
	0,
	NULL
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_arg_mode_0_0 = {
	"top_in",
	0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_arg_mode_0_1 = {
	"top_out",
	1
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_arg_mode_0_2 = {
	"top_unused",
	2
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_value_ordered_arg_mode_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_arg_mode_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_arg_mode_0_1,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_arg_mode_0_2
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_name_ordered_arg_mode_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_arg_mode_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_arg_mode_0_1,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_arg_mode_0_2
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_arg_mode_0[] = {
	0,
	1,
	2 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_arg_mode_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_ENUM,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__arg_mode_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__arg_mode_0_0)),
	"hlds.hlds_pred",
	"arg_mode",
	{ (void *)mercury_data_hlds__hlds_pred__enum_name_ordered_arg_mode_0 },
	{ (void *)mercury_data_hlds__hlds_pred__enum_value_ordered_arg_mode_0 },
	3,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_arg_mode_0
};

static const MR_FA_TypeInfo_Struct1 mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0 = {
	&mercury_data_term__type_ctor_info_var_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_prog_var_type_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_bool__type_ctor_info_bool_0;

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0bool__type_ctor_info_bool_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_TypeInfo) &mercury_data_bool__type_ctor_info_bool_0
}};

static const MR_FA_TypeInfo_Struct2 mercury_data_pair__ti_pair_2tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0bool__type_ctor_info_bool_0tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0bool__type_ctor_info_bool_0 = {
	&mercury_data_pair__type_ctor_info_pair_2,
{	(MR_TypeInfo) &mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0bool__type_ctor_info_bool_0,
	(MR_TypeInfo) &mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0bool__type_ctor_info_bool_0
}};

const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_arg_modes_map_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_EQUIV_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__arg_modes_map_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__arg_modes_map_0_0)),
	"hlds.hlds_pred",
	"arg_modes_map",
	{ 0 },
	{ (void *)&mercury_data_pair__ti_pair_2tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0bool__type_ctor_info_bool_0tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0bool__type_ctor_info_bool_0 },
	-1,
	0,
	NULL
};

static const MR_NotagFunctorDesc mercury_data_hlds__hlds_pred__notag_functor_desc_attribute_0 = {
	"custom",
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_mer_type_0,
	NULL
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_attribute_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_attribute_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_NOTAG_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__attribute_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__attribute_0_0)),
	"hlds.hlds_pred",
	"attribute",
	{ (void *)&mercury_data_hlds__hlds_pred__notag_functor_desc_attribute_0 },
	{ (void *)&mercury_data_hlds__hlds_pred__notag_functor_desc_attribute_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_attribute_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_simple_call_id_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_simple_call_id_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_call_id_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_simple_call_id_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_call_id_0_0 = {
	"plain_call_id",
	1,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_call_id_0_0,
	NULL,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_generic_call_id_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_call_id_0_1[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_generic_call_id_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_call_id_0_1 = {
	"generic_call_id",
	1,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	1,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_call_id_0_1,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_call_id_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_id_0_0

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_call_id_0_1[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_id_0_1

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_call_id_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_call_id_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_call_id_0_1 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_call_id_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_id_0_1,
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_id_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_call_id_0[] = {
	1,
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_call_id_0 = {
	0,
	14,
	2,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__call_id_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__call_id_0_0)),
	"hlds.hlds_pred",
	"call_id",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_call_id_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_call_id_0 },
	2,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_call_id_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_rtti__type_ctor_info_rtti_proc_label_0;
extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_string_0;
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__goal_path__type_ctor_info_forward_goal_path_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_rtti__type_ctor_info_rtti_proc_label_0;
extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_string_0;
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__goal_path__type_ctor_info_forward_goal_path_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_call_site_static_data_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_rtti__type_ctor_info_rtti_proc_label_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__goal_path__type_ctor_info_forward_goal_path_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_call_site_static_data_0_0[] = {
	"normal_callee",
	"normal_type_subst",
	"normal_file_name",
	"normal_line_number",
	"normal_goal_path"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_0 = {
	"normal_call",
	5,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_call_site_static_data_0_0,
	mercury_data_hlds__hlds_pred__field_names_call_site_static_data_0_0,
	NULL
};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_call_site_static_data_0_1[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__goal_path__type_ctor_info_forward_goal_path_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_call_site_static_data_0_1[] = {
	"special_file_name",
	"special_line_number",
	"special_goal_path"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_1 = {
	"special_call",
	3,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	1,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_call_site_static_data_0_1,
	mercury_data_hlds__hlds_pred__field_names_call_site_static_data_0_1,
	NULL
};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_call_site_static_data_0_2[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__goal_path__type_ctor_info_forward_goal_path_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_call_site_static_data_0_2[] = {
	"higher_order_file_name",
	"ho_line_number",
	"ho_goal_path"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_2 = {
	"higher_order_call",
	3,
	0,
	MR_SECTAG_NONE,
	2,
	-1,
	2,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_call_site_static_data_0_2,
	mercury_data_hlds__hlds_pred__field_names_call_site_static_data_0_2,
	NULL
};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_call_site_static_data_0_3[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__goal_path__type_ctor_info_forward_goal_path_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_call_site_static_data_0_3[] = {
	"method_file_name",
	"method_line_number",
	"method_goal_path"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_3 = {
	"method_call",
	3,
	0,
	MR_SECTAG_REMOTE,
	3,
	0,
	3,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_call_site_static_data_0_3,
	mercury_data_hlds__hlds_pred__field_names_call_site_static_data_0_3,
	NULL
};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_call_site_static_data_0_4[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__goal_path__type_ctor_info_forward_goal_path_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_call_site_static_data_0_4[] = {
	"callback_file_name",
	"callback_line_number",
	"callback_goal_path"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_4 = {
	"callback",
	3,
	0,
	MR_SECTAG_REMOTE,
	3,
	1,
	4,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_call_site_static_data_0_4,
	mercury_data_hlds__hlds_pred__field_names_call_site_static_data_0_4,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_call_site_static_data_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_0

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_call_site_static_data_0_1[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_1

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_call_site_static_data_0_2[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_2

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_call_site_static_data_0_3[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_3,
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_4

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_call_site_static_data_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_call_site_static_data_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_call_site_static_data_0_1 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_call_site_static_data_0_2 },
	{ 2, MR_SECTAG_REMOTE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_call_site_static_data_0_3 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_call_site_static_data_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_4,
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_2,
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_3,
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_0,
	&mercury_data_hlds__hlds_pred__du_functor_desc_call_site_static_data_0_1
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_call_site_static_data_0[] = {
	3,
	4,
	1,
	2,
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_call_site_static_data_0 = {
	0,
	14,
	4,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__call_site_static_data_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__call_site_static_data_0_0)),
	"hlds.hlds_pred",
	"call_site_static_data",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_call_site_static_data_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_call_site_static_data_0 },
	5,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_call_site_static_data_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_goal__type_ctor_info_hlds_goal_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__instmap__type_ctor_info_instmap_0;

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0parse_tree__prog_data__type_ctor_info_mer_type_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_mer_type_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_determinism_0;
extern const MR_TypeCtorInfo_Struct mercury_data_varset__type_ctor_info_varset_1;

static const MR_FA_TypeInfo_Struct1 mercury_data_varset__ti_varset_1parse_tree__prog_data__type_ctor_info_prog_var_type_0 = {
	&mercury_data_varset__type_ctor_info_varset_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_prog_var_type_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_goal__type_ctor_info_hlds_goal_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__instmap__type_ctor_info_instmap_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_determinism_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_deep_original_body_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_goal__type_ctor_info_hlds_goal_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__instmap__type_ctor_info_instmap_0,
	(MR_PseudoTypeInfo) &mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0parse_tree__prog_data__type_ctor_info_mer_type_0,
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_determinism_0,
	(MR_PseudoTypeInfo) &mercury_data_varset__ti_varset_1parse_tree__prog_data__type_ctor_info_prog_var_type_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_deep_original_body_0_0[] = {
	"dob_body",
	"dob_head_vars",
	"dob_instmap",
	"dob_vartypes",
	"dob_detism",
	"dob_varset"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_deep_original_body_0_0 = {
	"deep_original_body",
	6,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_deep_original_body_0_0,
	mercury_data_hlds__hlds_pred__field_names_deep_original_body_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_deep_original_body_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_deep_original_body_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_deep_original_body_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_deep_original_body_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_deep_original_body_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_deep_original_body_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_deep_original_body_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_deep_original_body_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__deep_original_body_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__deep_original_body_0_0)),
	"hlds.hlds_pred",
	"deep_original_body",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_deep_original_body_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_deep_original_body_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_deep_original_body_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_maybe__type_ctor_info_maybe_1;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_deep_recursion_info_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_deep_recursion_info_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_deep_recursion_info_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_hlds_deep_layout_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_hlds_deep_layout_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_hlds_deep_layout_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_deep_original_body_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_deep_profile_proc_info_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_deep_recursion_info_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_hlds_deep_layout_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_deep_original_body_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_deep_profile_proc_info_0_0[] = {
	"deep_rec",
	"deep_layout",
	"deep_orig_body"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_deep_profile_proc_info_0_0 = {
	"deep_profile_proc_info",
	3,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_deep_profile_proc_info_0_0,
	mercury_data_hlds__hlds_pred__field_names_deep_profile_proc_info_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_deep_profile_proc_info_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_deep_profile_proc_info_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_deep_profile_proc_info_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_deep_profile_proc_info_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_deep_profile_proc_info_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_deep_profile_proc_info_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_deep_profile_proc_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_deep_profile_proc_info_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0)),
	"hlds.hlds_pred",
	"deep_profile_proc_info",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_deep_profile_proc_info_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_deep_profile_proc_info_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_deep_profile_proc_info_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_id_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_deep_profile_role_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_id_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_deep_profile_role_0_0[] = {
	"dpip_outer_proc"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_deep_profile_role_0_0 = {
	"deep_prof_inner_proc",
	1,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_deep_profile_role_0_0,
	mercury_data_hlds__hlds_pred__field_names_deep_profile_role_0_0,
	NULL
};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_deep_profile_role_0_1[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_id_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_deep_profile_role_0_1[] = {
	"dpop_inner_proc"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_deep_profile_role_0_1 = {
	"deep_prof_outer_proc",
	1,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	1,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_deep_profile_role_0_1,
	mercury_data_hlds__hlds_pred__field_names_deep_profile_role_0_1,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_deep_profile_role_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_deep_profile_role_0_0

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_deep_profile_role_0_1[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_deep_profile_role_0_1

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_deep_profile_role_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_deep_profile_role_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_deep_profile_role_0_1 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_deep_profile_role_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_deep_profile_role_0_0,
	&mercury_data_hlds__hlds_pred__du_functor_desc_deep_profile_role_0_1
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_deep_profile_role_0[] = {
	0,
	1 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_deep_profile_role_0 = {
	0,
	14,
	2,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__deep_profile_role_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__deep_profile_role_0_0)),
	"hlds.hlds_pred",
	"deep_profile_role",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_deep_profile_role_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_deep_profile_role_0 },
	2,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_deep_profile_role_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_visible_scc_data_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_visible_scc_data_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_visible_scc_data_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_deep_profile_role_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_deep_recursion_info_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_deep_profile_role_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_visible_scc_data_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_deep_recursion_info_0_0[] = {
	"dri_role",
	"dri_visible_scc"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_deep_recursion_info_0_0 = {
	"deep_recursion_info",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_deep_recursion_info_0_0,
	mercury_data_hlds__hlds_pred__field_names_deep_recursion_info_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_deep_recursion_info_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_deep_recursion_info_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_deep_recursion_info_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_deep_recursion_info_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_deep_recursion_info_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_deep_recursion_info_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_deep_recursion_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_deep_recursion_info_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__deep_recursion_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__deep_recursion_info_0_0)),
	"hlds.hlds_pred",
	"deep_recursion_info",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_deep_recursion_info_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_deep_recursion_info_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_deep_recursion_info_0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_detism_decl_0_0 = {
	"detism_decl_explicit",
	0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_detism_decl_0_1 = {
	"detism_decl_implicit",
	1
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_detism_decl_0_2 = {
	"detism_decl_none",
	2
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_value_ordered_detism_decl_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_detism_decl_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_detism_decl_0_1,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_detism_decl_0_2
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_name_ordered_detism_decl_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_detism_decl_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_detism_decl_0_1,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_detism_decl_0_2
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_detism_decl_0[] = {
	0,
	1,
	2 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_detism_decl_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_ENUM,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__detism_decl_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__detism_decl_0_0)),
	"hlds.hlds_pred",
	"detism_decl",
	{ (void *)mercury_data_hlds__hlds_pred__enum_name_ordered_detism_decl_0 },
	{ (void *)mercury_data_hlds__hlds_pred__enum_value_ordered_detism_decl_0 },
	3,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_detism_decl_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_purity_0;
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__prim_data__type_ctor_info_pred_or_func_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_purity_0;
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__prim_data__type_ctor_info_pred_or_func_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_generic_call_id_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_purity_0,
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_pred_or_func_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_generic_call_id_0_0 = {
	"gcid_higher_order",
	3,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_generic_call_id_0_0,
	NULL,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_class_id_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_class_id_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_generic_call_id_0_1[] = {
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_class_id_0,
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_simple_call_id_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_generic_call_id_0_1 = {
	"gcid_class_method",
	2,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	1,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_generic_call_id_0_1,
	NULL,
	NULL
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_generic_call_id_0_2 = {
	"gcid_event_call",
	1,
	0,
	MR_SECTAG_NONE,
	2,
	-1,
	2,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_generic_call_id_0_2,
	NULL,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_goal__type_ctor_info_cast_kind_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_goal__type_ctor_info_cast_kind_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_generic_call_id_0_3[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_goal__type_ctor_info_cast_kind_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_generic_call_id_0_3 = {
	"gcid_cast",
	1,
	0,
	MR_SECTAG_NONE,
	3,
	-1,
	3,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_generic_call_id_0_3,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_generic_call_id_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_generic_call_id_0_0

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_generic_call_id_0_1[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_generic_call_id_0_1

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_generic_call_id_0_2[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_generic_call_id_0_2

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_generic_call_id_0_3[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_generic_call_id_0_3

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_generic_call_id_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_generic_call_id_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_generic_call_id_0_1 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_generic_call_id_0_2 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_generic_call_id_0_3 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_generic_call_id_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_generic_call_id_0_3,
	&mercury_data_hlds__hlds_pred__du_functor_desc_generic_call_id_0_1,
	&mercury_data_hlds__hlds_pred__du_functor_desc_generic_call_id_0_2,
	&mercury_data_hlds__hlds_pred__du_functor_desc_generic_call_id_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_generic_call_id_0[] = {
	3,
	1,
	2,
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_generic_call_id_0 = {
	0,
	14,
	4,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__generic_call_id_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__generic_call_id_0_0)),
	"hlds.hlds_pred",
	"generic_call_id",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_generic_call_id_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_generic_call_id_0 },
	4,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_generic_call_id_0
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_1 = {
	"goal_type_foreign",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	1,
	1,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_2 = {
	"goal_type_clause_and_foreign",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	2,
	2,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_promise_type_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_promise_type_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_goal_type_0_3[] = {
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_promise_type_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_3 = {
	"goal_type_promise",
	1,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	3,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_goal_type_0_3,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_4 = {
	"goal_type_none",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	3,
	4,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_goal_type_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_0,
	&mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_1,
	&mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_2,
	&mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_4

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_goal_type_0_1[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_3

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_goal_type_0[] = {
	{ 4, MR_SECTAG_LOCAL,
	mercury_data_hlds__hlds_pred__du_stag_ordered_goal_type_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_goal_type_0_1 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_goal_type_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_0,
	&mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_2,
	&mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_1,
	&mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_4,
	&mercury_data_hlds__hlds_pred__du_functor_desc_goal_type_0_3
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_goal_type_0[] = {
	0,
	2,
	1,
	4,
	3 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_goal_type_0 = {
	0,
	14,
	2,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__goal_type_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__goal_type_0_0)),
	"hlds.hlds_pred",
	"goal_type",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_goal_type_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_goal_type_0 },
	5,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_goal_type_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_tvar_type_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0 = {
	&mercury_data_term__type_ctor_info_var_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_tvar_type_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0
}};

const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_head_type_params_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_EQUIV_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__head_type_params_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__head_type_params_0_0)),
	"hlds.hlds_pred",
	"head_type_params",
	{ 0 },
	{ (void *)&mercury_data_list__ti_list_1term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0 },
	-1,
	0,
	NULL
};

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0
}};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_hlds_deep_excp_vars_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_PseudoTypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_hlds_deep_excp_vars_0_0[] = {
	"top_csd",
	"middle_csd",
	"old_outermost"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_hlds_deep_excp_vars_0_0 = {
	"hlds_deep_excp_vars",
	3,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_hlds_deep_excp_vars_0_0,
	mercury_data_hlds__hlds_pred__field_names_hlds_deep_excp_vars_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_hlds_deep_excp_vars_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_hlds_deep_excp_vars_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_hlds_deep_excp_vars_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_hlds_deep_excp_vars_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_hlds_deep_excp_vars_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_hlds_deep_excp_vars_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_hlds_deep_excp_vars_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_hlds_deep_excp_vars_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0)),
	"hlds.hlds_pred",
	"hlds_deep_excp_vars",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_hlds_deep_excp_vars_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_hlds_deep_excp_vars_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_hlds_deep_excp_vars_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_hlds_proc_static_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_hlds_deep_excp_vars_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_hlds_deep_layout_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_hlds_proc_static_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_hlds_deep_excp_vars_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_hlds_deep_layout_0_0[] = {
	"deep_layout_static",
	"deep_layout_excp"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_hlds_deep_layout_0_0 = {
	"hlds_deep_layout",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_hlds_deep_layout_0_0,
	mercury_data_hlds__hlds_pred__field_names_hlds_deep_layout_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_hlds_deep_layout_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_hlds_deep_layout_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_hlds_deep_layout_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_hlds_deep_layout_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_hlds_deep_layout_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_hlds_deep_layout_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_hlds_deep_layout_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_hlds_deep_layout_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__hlds_deep_layout_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__hlds_deep_layout_0_0)),
	"hlds.hlds_pred",
	"hlds_deep_layout",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_hlds_deep_layout_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_hlds_deep_layout_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_hlds_deep_layout_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_call_site_static_data_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_call_site_static_data_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_call_site_static_data_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__program_representation__type_ctor_info_coverage_point_info_0;
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__program_representation__type_ctor_info_coverage_point_info_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1mdbcomp__program_representation__type_ctor_info_coverage_point_info_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_mdbcomp__program_representation__type_ctor_info_coverage_point_info_0
}};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_hlds_proc_static_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_bool__type_ctor_info_bool_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_call_site_static_data_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1mdbcomp__program_representation__type_ctor_info_coverage_point_info_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_hlds_proc_static_0_0[] = {
	"proc_static_file_name",
	"proc_static_line_number",
	"proc_is_in_interface",
	"call_site_statics",
	"coverage_points"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_hlds_proc_static_0_0 = {
	"hlds_proc_static",
	5,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_hlds_proc_static_0_0,
	mercury_data_hlds__hlds_pred__field_names_hlds_proc_static_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_hlds_proc_static_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_hlds_proc_static_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_hlds_proc_static_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_hlds_proc_static_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_hlds_proc_static_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_hlds_proc_static_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_hlds_proc_static_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_hlds_proc_static_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__hlds_proc_static_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__hlds_proc_static_0_0)),
	"hlds.hlds_pred",
	"hlds_proc_static",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_hlds_proc_static_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_hlds_proc_static_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_hlds_proc_static_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_implementation_language_0_0 = {
	"impl_lang_mercury",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	0,
	0,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_libs__globals__type_ctor_info_foreign_language_0;
extern const MR_TypeCtorInfo_Struct mercury_data_libs__globals__type_ctor_info_foreign_language_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_implementation_language_0_1[] = {
	(MR_PseudoTypeInfo) &mercury_data_libs__globals__type_ctor_info_foreign_language_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_implementation_language_0_1 = {
	"impl_lang_foreign",
	1,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	1,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_implementation_language_0_1,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_implementation_language_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_implementation_language_0_0

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_implementation_language_0_1[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_implementation_language_0_1

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_implementation_language_0[] = {
	{ 1, MR_SECTAG_LOCAL,
	mercury_data_hlds__hlds_pred__du_stag_ordered_implementation_language_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_implementation_language_0_1 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_implementation_language_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_implementation_language_0_1,
	&mercury_data_hlds__hlds_pred__du_functor_desc_implementation_language_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_implementation_language_0[] = {
	1,
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_implementation_language_0 = {
	0,
	14,
	2,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__implementation_language_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__implementation_language_0_0)),
	"hlds.hlds_pred",
	"implementation_language",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_implementation_language_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_implementation_language_0 },
	2,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_implementation_language_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_import_status_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_import_status_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_import_status_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_0 = {
	"status_external",
	1,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_import_status_0_0,
	NULL,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_import_locn_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_import_locn_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_import_status_0_1[] = {
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_import_locn_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_1 = {
	"status_imported",
	1,
	0,
	MR_SECTAG_NONE,
	2,
	-1,
	1,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_import_status_0_1,
	NULL,
	NULL
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_3 = {
	"status_abstract_imported",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	1,
	3,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_4 = {
	"status_pseudo_imported",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	2,
	4,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_5 = {
	"status_exported",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	3,
	5,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_6 = {
	"status_opt_exported",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	4,
	6,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_7 = {
	"status_abstract_exported",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	5,
	7,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_8 = {
	"status_pseudo_exported",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	6,
	8,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_9 = {
	"status_exported_to_submodules",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	7,
	9,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_10 = {
	"status_local",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	8,
	10,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_import_status_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_2,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_3,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_4,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_5,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_6,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_7,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_8,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_9,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_10

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_import_status_0_1[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_0

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_import_status_0_2[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_1

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_import_status_0[] = {
	{ 9, MR_SECTAG_LOCAL,
	mercury_data_hlds__hlds_pred__du_stag_ordered_import_status_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_import_status_0_1 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_import_status_0_2 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_import_status_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_7,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_3,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_5,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_9,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_0,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_1,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_10,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_6,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_2,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_8,
	&mercury_data_hlds__hlds_pred__du_functor_desc_import_status_0_4
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_import_status_0[] = {
	4,
	5,
	8,
	1,
	10,
	2,
	7,
	0,
	9,
	3,
	6 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_import_status_0 = {
	0,
	14,
	3,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__import_status_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__import_status_0_0)),
	"hlds.hlds_pred",
	"import_status",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_import_status_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_import_status_0 },
	11,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_import_status_0
};

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1parse_tree__prog_data__type_ctor_info_mer_type_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_mer_type_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_structure_reuse_domain_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_structure_reuse_domain_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_imported_reuse_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1parse_tree__prog_data__type_ctor_info_mer_type_0,
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_structure_reuse_domain_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_imported_reuse_0_0[] = {
	"r_headvars",
	"r_types",
	"r_reuse"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_imported_reuse_0_0 = {
	"imported_reuse",
	3,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_imported_reuse_0_0,
	mercury_data_hlds__hlds_pred__field_names_imported_reuse_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_imported_reuse_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_imported_reuse_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_imported_reuse_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_imported_reuse_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_imported_reuse_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_imported_reuse_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_imported_reuse_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_imported_reuse_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__imported_reuse_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__imported_reuse_0_0)),
	"hlds.hlds_pred",
	"imported_reuse",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_imported_reuse_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_imported_reuse_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_imported_reuse_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_structure_sharing_domain_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_structure_sharing_domain_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_imported_sharing_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1parse_tree__prog_data__type_ctor_info_mer_type_0,
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_structure_sharing_domain_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_imported_sharing_0_0[] = {
	"s_headvars",
	"s_types",
	"s_sharing"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_imported_sharing_0_0 = {
	"imported_sharing",
	3,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_imported_sharing_0_0,
	mercury_data_hlds__hlds_pred__field_names_imported_sharing_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_imported_sharing_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_imported_sharing_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_imported_sharing_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_imported_sharing_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_imported_sharing_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_imported_sharing_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_imported_sharing_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_imported_sharing_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__imported_sharing_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__imported_sharing_0_0)),
	"hlds.hlds_pred",
	"imported_sharing",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_imported_sharing_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_imported_sharing_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_imported_sharing_0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_is_address_taken_0_0 = {
	"address_is_taken",
	0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_is_address_taken_0_1 = {
	"address_is_not_taken",
	1
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_value_ordered_is_address_taken_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_is_address_taken_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_is_address_taken_0_1
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_name_ordered_is_address_taken_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_is_address_taken_0_1,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_is_address_taken_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_is_address_taken_0[] = {
	1,
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_is_address_taken_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_ENUM,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__is_address_taken_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__is_address_taken_0_0)),
	"hlds.hlds_pred",
	"is_address_taken",
	{ (void *)mercury_data_hlds__hlds_pred__enum_name_ordered_is_address_taken_0 },
	{ (void *)mercury_data_hlds__hlds_pred__enum_value_ordered_is_address_taken_0 },
	2,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_is_address_taken_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_set_ordlist__type_ctor_info_set_ordlist_1;

static const MR_FA_TypeInfo_Struct1 mercury_data_set_ordlist__ti_set_ordlist_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0 = {
	&mercury_data_set_ordlist__type_ctor_info_set_ordlist_1,
{	(MR_TypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0
}};

const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_liveness_info_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_EQUIV_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__liveness_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__liveness_info_0_0)),
	"hlds.hlds_pred",
	"liveness_info",
	{ 0 },
	{ (void *)&mercury_data_set_ordlist__ti_set_ordlist_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0 },
	-1,
	0,
	NULL
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_0 = {
	"marker_stub",
	0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_1 = {
	"marker_builtin_stub",
	1
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_2 = {
	"marker_infer_type",
	2
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_3 = {
	"marker_infer_modes",
	3
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_4 = {
	"marker_obsolete",
	4
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_5 = {
	"marker_no_detism_warning",
	5
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_6 = {
	"marker_user_marked_inline",
	6
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_7 = {
	"marker_user_marked_no_inline",
	7
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_8 = {
	"marker_heuristic_inline",
	8
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_9 = {
	"marker_class_method",
	9
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_10 = {
	"marker_class_instance_method",
	10
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_11 = {
	"marker_named_class_instance_method",
	11
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_12 = {
	"marker_is_impure",
	12
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_13 = {
	"marker_is_semipure",
	13
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_14 = {
	"marker_promised_pure",
	14
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_15 = {
	"marker_promised_semipure",
	15
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_16 = {
	"marker_promised_equivalent_clauses",
	16
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_17 = {
	"marker_terminates",
	17
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_18 = {
	"marker_does_not_terminate",
	18
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_19 = {
	"marker_check_termination",
	19
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_20 = {
	"marker_calls_are_fully_qualified",
	20
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_21 = {
	"marker_mode_check_clauses",
	21
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_22 = {
	"marker_mutable_access_pred",
	22
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_23 = {
	"marker_has_require_scope",
	23
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_24 = {
	"marker_has_format_call",
	24
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_value_ordered_marker_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_1,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_2,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_3,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_4,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_5,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_6,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_7,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_8,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_9,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_10,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_11,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_12,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_13,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_14,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_15,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_16,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_17,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_18,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_19,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_20,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_21,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_22,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_23,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_24
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_name_ordered_marker_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_1,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_20,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_19,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_10,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_9,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_18,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_24,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_23,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_8,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_3,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_2,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_12,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_13,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_21,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_22,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_11,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_5,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_4,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_16,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_14,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_15,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_17,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_6,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_marker_0_7
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_marker_0[] = {
	21,
	0,
	10,
	9,
	17,
	16,
	23,
	24,
	8,
	4,
	3,
	15,
	11,
	12,
	19,
	20,
	18,
	22,
	5,
	2,
	1,
	13,
	14,
	7,
	6 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_marker_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_ENUM,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__marker_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__marker_0_0)),
	"hlds.hlds_pred",
	"marker",
	{ (void *)mercury_data_hlds__hlds_pred__enum_name_ordered_marker_0 },
	{ (void *)mercury_data_hlds__hlds_pred__enum_value_ordered_marker_0 },
	25,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_marker_0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_need_to_requantify_0_0 = {
	"need_to_requantify",
	0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_need_to_requantify_0_1 = {
	"do_not_need_to_requantify",
	1
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_value_ordered_need_to_requantify_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_need_to_requantify_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_need_to_requantify_0_1
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_name_ordered_need_to_requantify_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_need_to_requantify_0_1,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_need_to_requantify_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_need_to_requantify_0[] = {
	1,
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_need_to_requantify_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_ENUM,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__need_to_requantify_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__need_to_requantify_0_0)),
	"hlds.hlds_pred",
	"need_to_requantify",
	{ (void *)mercury_data_hlds__hlds_pred__enum_name_ordered_need_to_requantify_0 },
	{ (void *)mercury_data_hlds__hlds_pred__enum_value_ordered_need_to_requantify_0 },
	2,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_need_to_requantify_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_attribute_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_attribute_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_attribute_0
}};

const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_attributes_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_EQUIV_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__pred_attributes_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__pred_attributes_0_0)),
	"hlds.hlds_pred",
	"pred_attributes",
	{ 0 },
	{ (void *)&mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_attribute_0 },
	-1,
	0,
	NULL
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_pred_creation_0_0 = {
	"created_by_deforestation",
	0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_pred_creation_0_1 = {
	"created_by_io_tabling",
	1
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_value_ordered_pred_creation_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_pred_creation_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_pred_creation_0_1
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_name_ordered_pred_creation_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_pred_creation_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_pred_creation_0_1
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_pred_creation_0[] = {
	0,
	1 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_creation_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_ENUM,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__pred_creation_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__pred_creation_0_0)),
	"hlds.hlds_pred",
	"pred_creation",
	{ (void *)mercury_data_hlds__hlds_pred__enum_name_ordered_pred_creation_0 },
	{ (void *)mercury_data_hlds__hlds_pred__enum_value_ordered_pred_creation_0 },
	2,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_pred_creation_0
};

const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_id_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_EQUIV_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__pred_id_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__pred_id_0_0)),
	"hlds.hlds_pred",
	"pred_id",
	{ 0 },
	{ (void *)&mercury_data_builtin__type_ctor_info_int_0 },
	-1,
	0,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_marker_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_marker_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_marker_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_varset__ti_varset_1parse_tree__prog_data__type_ctor_info_tvar_type_0 = {
	&mercury_data_varset__type_ctor_info_varset_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_tvar_type_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_prog_constraints_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_clauses__type_ctor_info_clauses_info_0;

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2builtin__type_ctor_info_int_0hlds__hlds_pred__type_ctor_info_proc_info_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_proc_info_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_origin_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_prog_constraints_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_clauses__type_ctor_info_clauses_info_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_sub_info_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_pred_info_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_pred_or_func_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_pred_origin_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_import_status_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_marker_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1parse_tree__prog_data__type_ctor_info_mer_type_0,
	(MR_PseudoTypeInfo) &mercury_data_varset__ti_varset_1parse_tree__prog_data__type_ctor_info_tvar_type_0,
	(MR_PseudoTypeInfo) &mercury_data_varset__ti_varset_1parse_tree__prog_data__type_ctor_info_tvar_type_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0,
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_prog_constraints_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_clauses__type_ctor_info_clauses_info_0,
	(MR_PseudoTypeInfo) &mercury_data_tree234__ti_tree234_2builtin__type_ctor_info_int_0hlds__hlds_pred__type_ctor_info_proc_info_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_pred_sub_info_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_pred_info_0_0[] = {
	"module_name",
	"name",
	"orig_arity",
	"is_pred_or_func",
	"pred_origin",
	"import_status",
	"markers",
	"arg_types",
	"decl_typevarset",
	"typevarset",
	"exist_quant_tvars",
	"class_context",
	"clauses_info",
	"procedures",
	"pred_sub_info"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_info_0_0 = {
	"pred_info",
	15,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_info_0_0,
	mercury_data_hlds__hlds_pred__field_names_pred_info_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_pred_info_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_info_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_pred_info_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_pred_info_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_pred_info_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_info_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_pred_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_info_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__pred_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__pred_info_0_0)),
	"hlds.hlds_pred",
	"pred_info",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_pred_info_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_pred_info_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_pred_info_0
};

const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_markers_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_EQUIV_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__pred_markers_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__pred_markers_0_0)),
	"hlds.hlds_pred",
	"pred_markers",
	{ 0 },
	{ (void *)&mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_marker_0 },
	-1,
	0,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__prim_data__type_ctor_info_special_pred_id_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_type_ctor_0;
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__prim_data__type_ctor_info_special_pred_id_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_type_ctor_0;

static const MR_FA_TypeInfo_Struct2 mercury_data_pair__ti_pair_2mdbcomp__prim_data__type_ctor_info_special_pred_id_0parse_tree__prog_data__type_ctor_info_type_ctor_0 = {
	&mercury_data_pair__type_ctor_info_pair_2,
{	(MR_TypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_special_pred_id_0,
	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_type_ctor_0
}};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_pred_origin_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_pair__ti_pair_2mdbcomp__prim_data__type_ctor_info_special_pred_id_0parse_tree__prog_data__type_ctor_info_type_ctor_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_0 = {
	"origin_special_pred",
	1,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_origin_0_0,
	NULL,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_rtti__type_ctor_info_instance_method_constraints_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_rtti__type_ctor_info_instance_method_constraints_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_pred_origin_0_1[] = {
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_rtti__type_ctor_info_instance_method_constraints_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_1 = {
	"origin_instance_method",
	2,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	1,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_origin_0_1,
	NULL,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_transformation_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_pred_origin_0_2[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_pred_transformation_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_pred_origin_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_2 = {
	"origin_transformed",
	3,
	0,
	MR_SECTAG_NONE,
	2,
	-1,
	2,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_origin_0_2,
	NULL,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_creation_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_pred_origin_0_3[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_pred_creation_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_3 = {
	"origin_created",
	1,
	0,
	MR_SECTAG_REMOTE,
	3,
	0,
	3,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_origin_0_3,
	NULL,
	NULL
};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_pred_origin_0_4[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_4 = {
	"origin_assertion",
	2,
	0,
	MR_SECTAG_REMOTE,
	3,
	1,
	4,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_origin_0_4,
	NULL,
	NULL
};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_pred_origin_0_5[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_5 = {
	"origin_lambda",
	3,
	0,
	MR_SECTAG_REMOTE,
	3,
	2,
	5,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_origin_0_5,
	NULL,
	NULL
};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_pred_origin_0_6[] = {
	(MR_PseudoTypeInfo) &mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_6 = {
	"origin_user",
	1,
	0,
	MR_SECTAG_REMOTE,
	3,
	3,
	6,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_origin_0_6,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_pred_origin_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_0

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_pred_origin_0_1[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_1

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_pred_origin_0_2[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_2

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_pred_origin_0_3[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_3,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_4,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_5,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_6

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_pred_origin_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_pred_origin_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_pred_origin_0_1 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_pred_origin_0_2 },
	{ 4, MR_SECTAG_REMOTE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_pred_origin_0_3 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_pred_origin_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_4,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_3,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_1,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_5,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_0,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_2,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_origin_0_6
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_pred_origin_0[] = {
	4,
	2,
	5,
	1,
	0,
	3,
	6 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_origin_0 = {
	0,
	14,
	4,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__pred_origin_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__pred_origin_0_0)),
	"hlds.hlds_pred",
	"pred_origin",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_pred_origin_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_pred_origin_0 },
	7,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_pred_origin_0
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_proc_id_0_0 = {
	"proc",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_proc_id_0_0,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_pred_proc_id_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_proc_id_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_pred_proc_id_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_pred_proc_id_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_pred_proc_id_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_proc_id_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_pred_proc_id_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_id_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__pred_proc_id_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__pred_proc_id_0_0)),
	"hlds.hlds_pred",
	"pred_proc_id",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_pred_proc_id_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_pred_proc_id_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_pred_proc_id_0
};

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_pred_proc_id_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_id_0
}};

const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_list_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_EQUIV_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__pred_proc_list_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__pred_proc_list_0_0)),
	"hlds.hlds_pred",
	"pred_proc_list",
	{ 0 },
	{ (void *)&mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_pred_proc_id_0 },
	-1,
	0,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_term__type_ctor_info_context_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_kind_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_kind_0;

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0parse_tree__prog_data__type_ctor_info_kind_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0,
	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_kind_0
}};

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0parse_tree__prog_data__type_ctor_info_mer_type_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0,
	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_mer_type_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_prog_constraint_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_data__type_ctor_info_constraint_proof_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_prog_constraint_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_data__type_ctor_info_constraint_proof_0;

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2parse_tree__prog_data__type_ctor_info_prog_constraint_0hlds__hlds_data__type_ctor_info_constraint_proof_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_prog_constraint_0,
	(MR_TypeInfo) &mercury_data_hlds__hlds_data__type_ctor_info_constraint_proof_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_data__type_ctor_info_constraint_id_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_data__type_ctor_info_constraint_id_0;

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2hlds__hlds_data__type_ctor_info_constraint_id_0parse_tree__prog_data__type_ctor_info_prog_constraint_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_data__type_ctor_info_constraint_id_0,
	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_prog_constraint_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1parse_tree__prog_data__type_ctor_info_prog_constraint_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_prog_constraint_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__inst_graph__type_ctor_info_inst_graph_info_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1pair__ti_pair_2tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0bool__type_ctor_info_bool_0tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0bool__type_ctor_info_bool_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_pair__ti_pair_2tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0bool__type_ctor_info_bool_0tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0bool__type_ctor_info_bool_0
}};

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0builtin__type_ctor_info_string_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_string_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_set_ordlist__ti_set_ordlist_1builtin__type_ctor_info_int_0 = {
	&mercury_data_set_ordlist__type_ctor_info_set_ordlist_1,
{	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_int_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_term__type_ctor_info_context_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_goal_type_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__inst_graph__type_ctor_info_inst_graph_info_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_pred_sub_info_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_term__type_ctor_info_context_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_goal_type_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_attribute_0,
	(MR_PseudoTypeInfo) &mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0parse_tree__prog_data__type_ctor_info_kind_0,
	(MR_PseudoTypeInfo) &mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0parse_tree__prog_data__type_ctor_info_mer_type_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0,
	(MR_PseudoTypeInfo) &mercury_data_tree234__ti_tree234_2parse_tree__prog_data__type_ctor_info_prog_constraint_0hlds__hlds_data__type_ctor_info_constraint_proof_0,
	(MR_PseudoTypeInfo) &mercury_data_tree234__ti_tree234_2hlds__hlds_data__type_ctor_info_constraint_id_0parse_tree__prog_data__type_ctor_info_prog_constraint_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1parse_tree__prog_data__type_ctor_info_prog_constraint_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__inst_graph__type_ctor_info_inst_graph_info_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1pair__ti_pair_2tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0bool__type_ctor_info_bool_0tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0bool__type_ctor_info_bool_0,
	(MR_PseudoTypeInfo) &mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_set_ordlist__ti_set_ordlist_1builtin__type_ctor_info_int_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_pred_sub_info_0_0[] = {
	"context",
	"goal_type",
	"attributes",
	"tvar_kinds",
	"existq_tvar_binding",
	"head_type_params",
	"constraint_proofs",
	"constraint_map",
	"unproven_body_constraints",
	"inst_graph_info",
	"arg_modes_maps",
	"var_name_remap",
	"assertions"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_sub_info_0_0 = {
	"pred_sub_info",
	13,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_sub_info_0_0,
	mercury_data_hlds__hlds_pred__field_names_pred_sub_info_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_pred_sub_info_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_sub_info_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_pred_sub_info_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_pred_sub_info_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_pred_sub_info_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_sub_info_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_pred_sub_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_sub_info_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__pred_sub_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__pred_sub_info_0_0)),
	"hlds.hlds_pred",
	"pred_sub_info",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_pred_sub_info_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_pred_sub_info_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_pred_sub_info_0
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_0 = {
	"transform_higher_order_specialization",
	1,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_0,
	NULL,
	NULL
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_1 = {
	"transform_higher_order_type_specialization",
	1,
	0,
	MR_SECTAG_NONE,
	2,
	-1,
	1,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_1,
	NULL,
	NULL
};

static const MR_FA_TypeInfo_Struct2 mercury_data_pair__ti_pair_2builtin__type_ctor_info_int_0parse_tree__prog_data__type_ctor_info_mer_type_0 = {
	&mercury_data_pair__type_ctor_info_pair_2,
{	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_mer_type_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0parse_tree__prog_data__type_ctor_info_mer_type_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_pair__ti_pair_2builtin__type_ctor_info_int_0parse_tree__prog_data__type_ctor_info_mer_type_0
}};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_2[] = {
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1pair__ti_pair_2builtin__type_ctor_info_int_0parse_tree__prog_data__type_ctor_info_mer_type_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_2 = {
	"transform_type_specialization",
	1,
	0,
	MR_SECTAG_REMOTE,
	3,
	0,
	2,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_2,
	NULL,
	NULL
};

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1builtin__type_ctor_info_int_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_builtin__type_ctor_info_int_0
}};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_3[] = {
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1builtin__type_ctor_info_int_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_3 = {
	"transform_unused_argument_elimination",
	1,
	0,
	MR_SECTAG_REMOTE,
	3,
	1,
	3,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_3,
	NULL,
	NULL
};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_4[] = {
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1builtin__type_ctor_info_int_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_4 = {
	"transform_accumulator",
	1,
	0,
	MR_SECTAG_REMOTE,
	3,
	2,
	4,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_4,
	NULL,
	NULL
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_5 = {
	"transform_loop_invariant",
	1,
	0,
	MR_SECTAG_REMOTE,
	3,
	3,
	5,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_5,
	NULL,
	NULL
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_6 = {
	"transform_tuple",
	1,
	0,
	MR_SECTAG_REMOTE,
	3,
	4,
	6,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_6,
	NULL,
	NULL
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_7 = {
	"transform_untuple",
	1,
	0,
	MR_SECTAG_REMOTE,
	3,
	5,
	7,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_7,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_8 = {
	"transform_dependent_parallel_conjunction",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	0,
	8,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_9[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1builtin__type_ctor_info_int_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_9 = {
	"transform_return_via_ptr",
	2,
	0,
	MR_SECTAG_REMOTE,
	3,
	6,
	9,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_9,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_10 = {
	"transform_table_generator",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	1,
	10,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_11 = {
	"transform_stm_expansion",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	2,
	11,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_12 = {
	"transform_dnf",
	1,
	0,
	MR_SECTAG_REMOTE,
	3,
	7,
	12,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_pred_transformation_0_12,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_13 = {
	"transform_structure_reuse",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	3,
	13,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_14 = {
	"transform_source_to_source_debug",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	4,
	14,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_pred_transformation_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_8,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_10,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_11,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_13,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_14

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_pred_transformation_0_1[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_0

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_pred_transformation_0_2[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_1

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_pred_transformation_0_3[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_2,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_3,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_4,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_5,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_6,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_7,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_9,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_12

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_pred_transformation_0[] = {
	{ 5, MR_SECTAG_LOCAL,
	mercury_data_hlds__hlds_pred__du_stag_ordered_pred_transformation_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_pred_transformation_0_1 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_pred_transformation_0_2 },
	{ 8, MR_SECTAG_REMOTE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_pred_transformation_0_3 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_pred_transformation_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_4,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_8,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_12,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_0,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_1,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_5,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_9,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_14,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_11,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_13,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_10,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_6,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_2,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_7,
	&mercury_data_hlds__hlds_pred__du_functor_desc_pred_transformation_0_3
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_pred_transformation_0[] = {
	3,
	4,
	12,
	14,
	0,
	5,
	11,
	13,
	1,
	6,
	10,
	8,
	2,
	9,
	7 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_transformation_0 = {
	0,
	14,
	4,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__pred_transformation_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__pred_transformation_0_0)),
	"hlds.hlds_pred",
	"pred_transformation",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_pred_transformation_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_pred_transformation_0 },
	15,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_pred_transformation_0
};

const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_proc_id_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_EQUIV_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__proc_id_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__proc_id_0_0)),
	"hlds.hlds_pred",
	"proc_id",
	{ 0 },
	{ (void *)&mercury_data_builtin__type_ctor_info_int_0 },
	-1,
	0,
	NULL
};
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_inst_var_type_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_varset__ti_varset_1parse_tree__prog_data__type_ctor_info_inst_var_type_0 = {
	&mercury_data_varset__type_ctor_info_varset_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_inst_var_type_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1parse_tree__prog_data__type_ctor_info_mer_mode_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_mer_mode_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1list__ti_list_1parse_tree__prog_data__type_ctor_info_mer_mode_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_list__ti_list_1parse_tree__prog_data__type_ctor_info_mer_mode_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_check_hlds__mode_constraint_robdd__type_ctor_info_mc_type_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_mode_robdd__tfeirn__ti_tfeirn_1check_hlds__mode_constraint_robdd__type_ctor_info_mc_type_0 = {
	&mercury_data_mode_robdd__tfeirn__type_ctor_info_tfeirn_1,
{	(MR_TypeInfo) &mercury_data_check_hlds__mode_constraint_robdd__type_ctor_info_mc_type_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1mode_robdd__tfeirn__ti_tfeirn_1check_hlds__mode_constraint_robdd__type_ctor_info_mc_type_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_mode_robdd__tfeirn__ti_tfeirn_1check_hlds__mode_constraint_robdd__type_ctor_info_mc_type_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_is_live_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1parse_tree__prog_data__type_ctor_info_is_live_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_is_live_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1list__ti_list_1parse_tree__prog_data__type_ctor_info_is_live_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_list__ti_list_1parse_tree__prog_data__type_ctor_info_is_live_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1parse_tree__prog_data__type_ctor_info_determinism_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_determinism_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_check_hlds__mode_errors__type_ctor_info_mode_error_info_0;
extern const MR_TypeCtorInfo_Struct mercury_data_check_hlds__mode_errors__type_ctor_info_mode_error_info_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1check_hlds__mode_errors__type_ctor_info_mode_error_info_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_check_hlds__mode_errors__type_ctor_info_mode_error_info_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_rtti__type_ctor_info_rtti_varmaps_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_eval_method_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_rtti__type_ctor_info_rtti_varmaps_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_eval_method_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_proc_sub_info_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_proc_info_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_term__type_ctor_info_context_0,
	(MR_PseudoTypeInfo) &mercury_data_varset__ti_varset_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_PseudoTypeInfo) &mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0parse_tree__prog_data__type_ctor_info_mer_type_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_PseudoTypeInfo) &mercury_data_varset__ti_varset_1parse_tree__prog_data__type_ctor_info_inst_var_type_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1list__ti_list_1parse_tree__prog_data__type_ctor_info_mer_mode_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1parse_tree__prog_data__type_ctor_info_mer_mode_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1mode_robdd__tfeirn__ti_tfeirn_1check_hlds__mode_constraint_robdd__type_ctor_info_mc_type_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1list__ti_list_1parse_tree__prog_data__type_ctor_info_is_live_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1parse_tree__prog_data__type_ctor_info_determinism_0,
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_determinism_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_goal__type_ctor_info_hlds_goal_0,
	(MR_PseudoTypeInfo) &mercury_data_bool__type_ctor_info_bool_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1check_hlds__mode_errors__type_ctor_info_mode_error_info_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_rtti__type_ctor_info_rtti_varmaps_0,
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_eval_method_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_proc_sub_info_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_proc_info_0_0[] = {
	"proc_context",
	"prog_varset",
	"var_types",
	"head_vars",
	"inst_varset",
	"maybe_declared_head_modes",
	"actual_head_modes",
	"maybe_head_modes_constraint",
	"head_var_caller_liveness",
	"declared_detism",
	"inferred_detism",
	"body",
	"can_process",
	"mode_errors",
	"proc_rtti_varmaps",
	"eval_method",
	"proc_sub_info"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_proc_info_0_0 = {
	"proc_info",
	17,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_proc_info_0_0,
	mercury_data_hlds__hlds_pred__field_names_proc_info_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_proc_info_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_proc_info_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_proc_info_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_proc_info_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_proc_info_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_proc_info_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_proc_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_proc_info_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__proc_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__proc_info_0_0)),
	"hlds.hlds_pred",
	"proc_info",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_proc_info_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_proc_info_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_proc_info_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__term_errors__type_ctor_info_termination_error_context_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1transform_hlds__term_errors__type_ctor_info_termination_error_context_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_transform_hlds__term_errors__type_ctor_info_termination_error_context_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_parse_tree__prog_data__ti_generic_arg_size_info_1list__ti_list_1transform_hlds__term_errors__type_ctor_info_termination_error_context_0 = {
	&mercury_data_parse_tree__prog_data__type_ctor_info_generic_arg_size_info_1,
{	(MR_TypeInfo) &mercury_data_list__ti_list_1transform_hlds__term_errors__type_ctor_info_termination_error_context_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1parse_tree__prog_data__ti_generic_arg_size_info_1list__ti_list_1transform_hlds__term_errors__type_ctor_info_termination_error_context_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__ti_generic_arg_size_info_1list__ti_list_1transform_hlds__term_errors__type_ctor_info_termination_error_context_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_unit__type_ctor_info_unit_0;

static const MR_FA_TypeInfo_Struct2 mercury_data_parse_tree__prog_data__ti_generic_termination_info_2unit__type_ctor_info_unit_0list__ti_list_1transform_hlds__term_errors__type_ctor_info_termination_error_context_0 = {
	&mercury_data_parse_tree__prog_data__type_ctor_info_generic_termination_info_2,
{	(MR_TypeInfo) &mercury_data_unit__type_ctor_info_unit_0,
	(MR_TypeInfo) &mercury_data_list__ti_list_1transform_hlds__term_errors__type_ctor_info_termination_error_context_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1parse_tree__prog_data__ti_generic_termination_info_2unit__type_ctor_info_unit_0list__ti_list_1transform_hlds__term_errors__type_ctor_info_termination_error_context_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__ti_generic_termination_info_2unit__type_ctor_info_unit_0list__ti_list_1transform_hlds__term_errors__type_ctor_info_termination_error_context_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__term_constr_main__type_ctor_info_termination2_info_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_llds__type_ctor_info_stack_slot_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_llds__type_ctor_info_stack_slot_0;

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0hlds__hlds_llds__type_ctor_info_stack_slot_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_TypeInfo) &mercury_data_hlds__hlds_llds__type_ctor_info_stack_slot_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_arg_info_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_arg_info_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_arg_info_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1list__ti_list_1hlds__hlds_pred__type_ctor_info_arg_info_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_arg_info_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_io_info_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_proc_table_io_info_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_io_info_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_table_attributes_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_table_attributes_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1parse_tree__prog_data__type_ctor_info_table_attributes_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_table_attributes_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_special_proc_return_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_special_proc_return_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_special_proc_return_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_deep_profile_proc_info_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_deep_profile_proc_info_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_deep_profile_proc_info_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_untuple_proc_info_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_untuple_proc_info_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_untuple_proc_info_0
}};
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
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_detism_decl_0;
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__term_constr_main__type_ctor_info_termination2_info_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_is_address_taken_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_tail_call_events_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_structure_sharing_info_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_structure_reuse_info_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_proc_sub_info_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_detism_decl_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1parse_tree__prog_data__ti_generic_arg_size_info_1list__ti_list_1transform_hlds__term_errors__type_ctor_info_termination_error_context_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1parse_tree__prog_data__ti_generic_termination_info_2unit__type_ctor_info_unit_0list__ti_list_1transform_hlds__term_errors__type_ctor_info_termination_error_context_0,
	(MR_PseudoTypeInfo) &mercury_data_transform_hlds__term_constr_main__type_ctor_info_termination2_info_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_is_address_taken_0,
	(MR_PseudoTypeInfo) &mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0hlds__hlds_llds__type_ctor_info_stack_slot_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1list__ti_list_1hlds__hlds_pred__type_ctor_info_arg_info_0,
	(MR_PseudoTypeInfo) &mercury_data_set_ordlist__ti_set_ordlist_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_PseudoTypeInfo) &mercury_data_bool__type_ctor_info_bool_0,
	(MR_PseudoTypeInfo) &mercury_data_bool__type_ctor_info_bool_0,
	(MR_PseudoTypeInfo) &mercury_data_bool__type_ctor_info_bool_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_tail_call_events_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_proc_table_io_info_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1parse_tree__prog_data__type_ctor_info_table_attributes_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_special_proc_return_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_deep_profile_proc_info_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_untuple_proc_info_0,
	(MR_PseudoTypeInfo) &mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1parse_tree__error_util__type_ctor_info_error_spec_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_structure_sharing_info_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_structure_reuse_info_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_proc_sub_info_0_0[] = {
	"detism_decl",
	"maybe_arg_sizes",
	"maybe_termination",
	"termination2",
	"is_address_taken",
	"stack_slots",
	"arg_pass_info",
	"initial_liveness",
	"need_maxfr_slot",
	"proc_has_user_event",
	"proc_has_parallel_conj",
	"proc_has_tail_call_events",
	"call_table_tip",
	"maybe_table_io_info",
	"table_attributes",
	"maybe_special_return",
	"maybe_deep_profile_proc_info",
	"maybe_untuple_info",
	"proc_var_name_remap",
	"statevar_warnings",
	"structure_sharing",
	"structure_reuse"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_proc_sub_info_0_0 = {
	"proc_sub_info",
	22,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_proc_sub_info_0_0,
	mercury_data_hlds__hlds_pred__field_names_proc_sub_info_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_proc_sub_info_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_proc_sub_info_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_proc_sub_info_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_proc_sub_info_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_proc_sub_info_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_proc_sub_info_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_proc_sub_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_proc_sub_info_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__proc_sub_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__proc_sub_info_0_0)),
	"hlds.hlds_pred",
	"proc_sub_info",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_proc_sub_info_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_proc_sub_info_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_proc_sub_info_0
};

const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_EQUIV_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__proc_table_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__proc_table_0_0)),
	"hlds.hlds_pred",
	"proc_table",
	{ 0 },
	{ (void *)&mercury_data_tree234__ti_tree234_2builtin__type_ctor_info_int_0hlds__hlds_pred__type_ctor_info_proc_info_0 },
	-1,
	0,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_arg_infos_0;

static const MR_NotagFunctorDesc mercury_data_hlds__hlds_pred__notag_functor_desc_proc_table_io_info_0 = {
	"proc_table_io_info",
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_table_arg_infos_0,
	NULL
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_proc_table_io_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_io_info_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_NOTAG_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__proc_table_io_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__proc_table_io_info_0_0)),
	"hlds.hlds_pred",
	"proc_table_io_info",
	{ (void *)&mercury_data_hlds__hlds_pred__notag_functor_desc_proc_table_io_info_0 },
	{ (void *)&mercury_data_hlds__hlds_pred__notag_functor_desc_proc_table_io_info_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_proc_table_io_info_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_step_desc_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_table_step_desc_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_table_step_desc_0
}};

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1list__ti_list_1hlds__hlds_pred__type_ctor_info_table_step_desc_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_table_step_desc_0
}};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_proc_table_struct_info_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_rtti__type_ctor_info_rtti_proc_label_0,
	(MR_PseudoTypeInfo) &mercury_data_varset__ti_varset_1parse_tree__prog_data__type_ctor_info_tvar_type_0,
	(MR_PseudoTypeInfo) &mercury_data_term__type_ctor_info_context_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_table_step_desc_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1list__ti_list_1hlds__hlds_pred__type_ctor_info_table_step_desc_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_table_arg_infos_0,
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_eval_method_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_proc_table_struct_info_0_0[] = {
	"ptsi_proc_label",
	"ptsi_tvarset",
	"ptsi_context",
	"ptsi_num_inputs",
	"ptsi_num_outputs",
	"ptsi_input_steps",
	"ptsi_maybe_output_steps",
	"ptsi_gen_arg_infos",
	"ptsi_eval_method"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_proc_table_struct_info_0_0 = {
	"proc_table_struct_info",
	9,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_proc_table_struct_info_0_0,
	mercury_data_hlds__hlds_pred__field_names_proc_table_struct_info_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_proc_table_struct_info_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_proc_table_struct_info_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_proc_table_struct_info_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_proc_table_struct_info_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_proc_table_struct_info_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_proc_table_struct_info_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_proc_table_struct_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_struct_info_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0)),
	"hlds.hlds_pred",
	"proc_table_struct_info",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_proc_table_struct_info_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_proc_table_struct_info_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_proc_table_struct_info_0
};

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

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_special_proc_return_0_0[] = {
	"generator_rval",
	"return_debug"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_special_proc_return_0_0 = {
	"generator_return",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_special_proc_return_0_0,
	mercury_data_hlds__hlds_pred__field_names_special_proc_return_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_special_proc_return_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_special_proc_return_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_special_proc_return_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_special_proc_return_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_special_proc_return_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_special_proc_return_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_special_proc_return_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_special_proc_return_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__special_proc_return_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__special_proc_return_0_0)),
	"hlds.hlds_pred",
	"special_proc_return",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_special_proc_return_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_special_proc_return_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_special_proc_return_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_analysis__type_ctor_info_analysis_status_0;
extern const MR_TypeCtorInfo_Struct mercury_data_analysis__type_ctor_info_analysis_status_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_structure_reuse_domain_and_status_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_structure_reuse_domain_0,
	(MR_PseudoTypeInfo) &mercury_data_analysis__type_ctor_info_analysis_status_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_structure_reuse_domain_and_status_0_0 = {
	"structure_reuse_domain_and_status",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_structure_reuse_domain_and_status_0_0,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_structure_reuse_domain_and_status_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_structure_reuse_domain_and_status_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_structure_reuse_domain_and_status_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_structure_reuse_domain_and_status_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_structure_reuse_domain_and_status_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_structure_reuse_domain_and_status_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_structure_reuse_domain_and_status_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_structure_reuse_domain_and_status_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__structure_reuse_domain_and_status_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__structure_reuse_domain_and_status_0_0)),
	"hlds.hlds_pred",
	"structure_reuse_domain_and_status",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_structure_reuse_domain_and_status_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_structure_reuse_domain_and_status_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_structure_reuse_domain_and_status_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_structure_reuse_domain_and_status_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_structure_reuse_domain_and_status_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_structure_reuse_domain_and_status_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_imported_reuse_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_imported_reuse_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_imported_reuse_0
}};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_structure_reuse_info_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_structure_reuse_domain_and_status_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_imported_reuse_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_structure_reuse_info_0_0[] = {
	"maybe_reuse",
	"maybe_imported_reuse"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_structure_reuse_info_0_0 = {
	"structure_reuse_info",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_structure_reuse_info_0_0,
	mercury_data_hlds__hlds_pred__field_names_structure_reuse_info_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_structure_reuse_info_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_structure_reuse_info_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_structure_reuse_info_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_structure_reuse_info_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_structure_reuse_info_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_structure_reuse_info_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_structure_reuse_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_structure_reuse_info_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__structure_reuse_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__structure_reuse_info_0_0)),
	"hlds.hlds_pred",
	"structure_reuse_info",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_structure_reuse_info_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_structure_reuse_info_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_structure_reuse_info_0
};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_structure_sharing_domain_and_status_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_structure_sharing_domain_0,
	(MR_PseudoTypeInfo) &mercury_data_analysis__type_ctor_info_analysis_status_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_structure_sharing_domain_and_status_0_0 = {
	"structure_sharing_domain_and_status",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_structure_sharing_domain_and_status_0_0,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_structure_sharing_domain_and_status_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_structure_sharing_domain_and_status_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_structure_sharing_domain_and_status_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_structure_sharing_domain_and_status_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_structure_sharing_domain_and_status_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_structure_sharing_domain_and_status_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_structure_sharing_domain_and_status_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_structure_sharing_domain_and_status_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__structure_sharing_domain_and_status_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__structure_sharing_domain_and_status_0_0)),
	"hlds.hlds_pred",
	"structure_sharing_domain_and_status",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_structure_sharing_domain_and_status_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_structure_sharing_domain_and_status_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_structure_sharing_domain_and_status_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_structure_sharing_domain_and_status_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_structure_sharing_domain_and_status_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_structure_sharing_domain_and_status_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_imported_sharing_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_imported_sharing_0 = {
	&mercury_data_maybe__type_ctor_info_maybe_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_imported_sharing_0
}};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_structure_sharing_info_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_structure_sharing_domain_and_status_0,
	(MR_PseudoTypeInfo) &mercury_data_maybe__ti_maybe_1hlds__hlds_pred__type_ctor_info_imported_sharing_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_structure_sharing_info_0_0[] = {
	"maybe_sharing",
	"maybe_imported_sharing"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_structure_sharing_info_0_0 = {
	"structure_sharing_info",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_structure_sharing_info_0_0,
	mercury_data_hlds__hlds_pred__field_names_structure_sharing_info_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_structure_sharing_info_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_structure_sharing_info_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_structure_sharing_info_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_structure_sharing_info_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_structure_sharing_info_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_structure_sharing_info_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_structure_sharing_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_structure_sharing_info_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__structure_sharing_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__structure_sharing_info_0_0)),
	"hlds.hlds_pred",
	"structure_sharing_info",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_structure_sharing_info_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_structure_sharing_info_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_structure_sharing_info_0
};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_table_arg_info_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_int_0,
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_mer_type_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_table_arg_info_0_0[] = {
	"orig_var_num",
	"orig_var_name",
	"slot_num",
	"arg_type"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_arg_info_0_0 = {
	"table_arg_info",
	4,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_table_arg_info_0_0,
	mercury_data_hlds__hlds_pred__field_names_table_arg_info_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_table_arg_info_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_arg_info_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_table_arg_info_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_table_arg_info_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_table_arg_info_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_arg_info_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_table_arg_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_arg_info_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__table_arg_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__table_arg_info_0_0)),
	"hlds.hlds_pred",
	"table_arg_info",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_table_arg_info_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_table_arg_info_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_table_arg_info_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_arg_info_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_table_arg_info_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_table_arg_info_0
}};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_locn_0;

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0hlds__hlds_pred__type_ctor_info_table_locn_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0,
	(MR_TypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_table_locn_0
}};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_table_arg_infos_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1hlds__hlds_pred__type_ctor_info_table_arg_info_0,
	(MR_PseudoTypeInfo) &mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_tvar_type_0hlds__hlds_pred__type_ctor_info_table_locn_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_arg_infos_0_0 = {
	"table_arg_infos",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_table_arg_infos_0_0,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_table_arg_infos_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_arg_infos_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_table_arg_infos_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_table_arg_infos_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_table_arg_infos_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_arg_infos_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_table_arg_infos_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_arg_infos_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__table_arg_infos_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__table_arg_infos_0_0)),
	"hlds.hlds_pred",
	"table_arg_infos",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_table_arg_infos_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_table_arg_infos_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_table_arg_infos_0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_table_is_poly_0_0 = {
	"table_is_mono",
	0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_table_is_poly_0_1 = {
	"table_is_poly",
	1
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_value_ordered_table_is_poly_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_table_is_poly_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_table_is_poly_0_1
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_name_ordered_table_is_poly_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_table_is_poly_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_table_is_poly_0_1
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_table_is_poly_0[] = {
	0,
	1 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_is_poly_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_ENUM,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__table_is_poly_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__table_is_poly_0_0)),
	"hlds.hlds_pred",
	"table_is_poly",
	{ (void *)mercury_data_hlds__hlds_pred__enum_name_ordered_table_is_poly_0 },
	{ (void *)mercury_data_hlds__hlds_pred__enum_value_ordered_table_is_poly_0 },
	2,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_table_is_poly_0
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_locn_0_0 = {
	"table_locn_direct",
	1,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_table_locn_0_0,
	NULL,
	NULL
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_locn_0_1 = {
	"table_locn_indirect",
	2,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	1,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_table_locn_0_1,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_table_locn_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_locn_0_0

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_table_locn_0_1[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_locn_0_1

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_table_locn_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_table_locn_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_table_locn_0_1 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_table_locn_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_locn_0_0,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_locn_0_1
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_table_locn_0[] = {
	0,
	1 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_locn_0 = {
	0,
	14,
	2,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__table_locn_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__table_locn_0_0)),
	"hlds.hlds_pred",
	"table_locn",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_table_locn_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_table_locn_0 },
	2,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_table_locn_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_trie_step_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_table_step_desc_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_builtin__type_ctor_info_string_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_table_trie_step_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_table_step_desc_0_0[] = {
	"tsd_var_name",
	"tsd_step"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_step_desc_0_0 = {
	"table_step_desc",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_table_step_desc_0_0,
	mercury_data_hlds__hlds_pred__field_names_table_step_desc_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_table_step_desc_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_step_desc_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_table_step_desc_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_table_step_desc_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_table_step_desc_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_step_desc_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_table_step_desc_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_step_desc_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__table_step_desc_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__table_step_desc_0_0)),
	"hlds.hlds_pred",
	"table_step_desc",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_table_step_desc_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_table_step_desc_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_table_step_desc_0
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_1 = {
	"table_trie_step_int",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	1,
	1,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_3 = {
	"table_trie_step_string",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	3,
	3,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_4 = {
	"table_trie_step_float",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	4,
	4,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

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

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_5 = {
	"table_trie_step_enum",
	1,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	5,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_table_trie_step_0_5,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_6 = {
	"table_trie_step_foreign_enum",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	5,
	6,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_is_poly_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_value_or_addr_0;

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_table_trie_step_0_7[] = {
	(MR_PseudoTypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_mer_type_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_table_is_poly_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_table_value_or_addr_0
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_7 = {
	"table_trie_step_general",
	3,
	0,
	MR_SECTAG_NONE,
	2,
	-1,
	7,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_table_trie_step_0_7,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_8 = {
	"table_trie_step_typeinfo",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	6,
	8,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_9 = {
	"table_trie_step_typeclassinfo",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	7,
	9,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_10 = {
	"table_trie_step_promise_implied",
	0,
	0,
	MR_SECTAG_LOCAL,
	0,
	8,
	10,
	(MR_PseudoTypeInfo *) NULL,
	NULL,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_table_trie_step_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_0,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_1,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_2,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_3,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_4,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_6,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_8,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_9,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_10

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_table_trie_step_0_1[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_5

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_table_trie_step_0_2[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_7

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_table_trie_step_0[] = {
	{ 9, MR_SECTAG_LOCAL,
	mercury_data_hlds__hlds_pred__du_stag_ordered_table_trie_step_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_table_trie_step_0_1 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_table_trie_step_0_2 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_table_trie_step_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_2,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_0,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_5,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_4,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_6,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_7,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_1,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_10,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_3,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_9,
	&mercury_data_hlds__hlds_pred__du_functor_desc_table_trie_step_0_8
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_table_trie_step_0[] = {
	1,
	6,
	0,
	8,
	3,
	2,
	4,
	5,
	10,
	9,
	7 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_trie_step_0 = {
	0,
	14,
	3,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__table_trie_step_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__table_trie_step_0_0)),
	"hlds.hlds_pred",
	"table_trie_step",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_table_trie_step_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_table_trie_step_0 },
	11,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_table_trie_step_0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_table_value_or_addr_0_0 = {
	"table_value",
	0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_table_value_or_addr_0_1 = {
	"table_addr",
	1
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_value_ordered_table_value_or_addr_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_table_value_or_addr_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_table_value_or_addr_0_1
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_name_ordered_table_value_or_addr_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_table_value_or_addr_0_1,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_table_value_or_addr_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_table_value_or_addr_0[] = {
	1,
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_table_value_or_addr_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_ENUM,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__table_value_or_addr_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__table_value_or_addr_0_0)),
	"hlds.hlds_pred",
	"table_value_or_addr",
	{ (void *)mercury_data_hlds__hlds_pred__enum_name_ordered_table_value_or_addr_0 },
	{ (void *)mercury_data_hlds__hlds_pred__enum_value_ordered_table_value_or_addr_0 },
	2,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_table_value_or_addr_0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_tail_call_events_0_0 = {
	"tail_call_events",
	0
};

static const MR_EnumFunctorDesc mercury_data_hlds__hlds_pred__enum_functor_desc_tail_call_events_0_1 = {
	"no_tail_call_events",
	1
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_value_ordered_tail_call_events_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_tail_call_events_0_0,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_tail_call_events_0_1
};

const MR_EnumFunctorDescPtr mercury_data_hlds__hlds_pred__enum_name_ordered_tail_call_events_0[] = {
	&mercury_data_hlds__hlds_pred__enum_functor_desc_tail_call_events_0_1,
	&mercury_data_hlds__hlds_pred__enum_functor_desc_tail_call_events_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_tail_call_events_0[] = {
	1,
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_tail_call_events_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_ENUM,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__tail_call_events_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__tail_call_events_0_0)),
	"hlds.hlds_pred",
	"tail_call_events",
	{ (void *)mercury_data_hlds__hlds_pred__enum_name_ordered_tail_call_events_0 },
	{ (void *)mercury_data_hlds__hlds_pred__enum_value_ordered_tail_call_events_0 },
	2,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_tail_call_events_0
};

static const MR_FA_TypeInfo_Struct2 mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0list__ti_list_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0 = {
	&mercury_data_tree234__type_ctor_info_tree234_2,
{	(MR_TypeInfo) &mercury_data_term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	(MR_TypeInfo) &mercury_data_list__ti_list_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0
}};

static const MR_NotagFunctorDesc mercury_data_hlds__hlds_pred__notag_functor_desc_untuple_proc_info_0 = {
	"untuple_proc_info",
	(MR_PseudoTypeInfo) &mercury_data_tree234__ti_tree234_2term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0list__ti_list_1term__ti_var_1parse_tree__prog_data__type_ctor_info_prog_var_type_0,
	NULL
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_untuple_proc_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_untuple_proc_info_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_NOTAG_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__untuple_proc_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__untuple_proc_info_0_0)),
	"hlds.hlds_pred",
	"untuple_proc_info",
	{ (void *)&mercury_data_hlds__hlds_pred__notag_functor_desc_untuple_proc_info_0 },
	{ (void *)&mercury_data_hlds__hlds_pred__notag_functor_desc_untuple_proc_info_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_untuple_proc_info_0
};

const MR_PseudoTypeInfo mercury_data_hlds__hlds_pred__field_types_visible_scc_data_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_id_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_id_0,
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1builtin__type_ctor_info_int_0
};

const MR_ConstString mercury_data_hlds__hlds_pred__field_names_visible_scc_data_0_0[] = {
	"vis_outer_proc",
	"vis_inner_proc",
	"rec_call_sites"
};

static const MR_DuFunctorDesc mercury_data_hlds__hlds_pred__du_functor_desc_visible_scc_data_0_0 = {
	"visible_scc_data",
	3,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_hlds__hlds_pred__field_types_visible_scc_data_0_0,
	mercury_data_hlds__hlds_pred__field_names_visible_scc_data_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_stag_ordered_visible_scc_data_0_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_visible_scc_data_0_0

};

const MR_DuPtagLayout mercury_data_hlds__hlds_pred__du_ptag_ordered_visible_scc_data_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_hlds__hlds_pred__du_stag_ordered_visible_scc_data_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_hlds__hlds_pred__du_name_ordered_visible_scc_data_0[] = {
	&mercury_data_hlds__hlds_pred__du_functor_desc_visible_scc_data_0_0
};

const MR_Integer mercury_data_hlds__hlds_pred__functor_number_map_visible_scc_data_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_visible_scc_data_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___hlds__hlds_pred__visible_scc_data_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___hlds__hlds_pred__visible_scc_data_0_0)),
	"hlds.hlds_pred",
	"visible_scc_data",
	{ (void *)mercury_data_hlds__hlds_pred__du_name_ordered_visible_scc_data_0 },
	{ (void *)mercury_data_hlds__hlds_pred__du_ptag_ordered_visible_scc_data_0 },
	1,
	4,
	mercury_data_hlds__hlds_pred__functor_number_map_visible_scc_data_0
};


static const MR_UserClosureId
mercury_data__closure_layout__hlds__hlds_pred__proc_info_uninstantiated_head_vars_3_0_1 = {
{
MR_PREDICATE,
"hlds.hlds_pred",
"hlds.hlds_pred",
"lambda_hlds_pred_m_2878",
4,
0
},
"hlds.hlds_pred",
"hlds_pred.m",
2878,
"9"
};

static const MR_UserClosureId
mercury_data__closure_layout__hlds__hlds_pred__proc_info_instantiated_head_vars_3_0_1 = {
{
MR_PREDICATE,
"hlds.hlds_pred",
"hlds.hlds_pred",
"lambda_hlds_pred_m_2864",
4,
0
},
"hlds.hlds_pred",
"hlds_pred.m",
2864,
"9"
};

static const MR_UserClosureId
mercury_data__closure_layout__fn__hlds__hlds_pred__pred_info_procids_1_0_1 = {
{
MR_PREDICATE,
"hlds.hlds_pred",
"hlds.hlds_pred",
"lambda_hlds_pred_m_1342",
2,
0
},
"hlds.hlds_pred",
"hlds_pred.m",
1342,
"6"
};



MR_BEGIN_MODULE(hlds__hlds_pred_module0)
	MR_init_entry1(fn__hlds__hlds_pred__shroud_pred_id_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__shroud_pred_id_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'shroud_pred_id'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__shroud_pred_id_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module1)
	MR_init_entry1(fn__hlds__hlds_pred__shroud_proc_id_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__shroud_proc_id_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'shroud_proc_id'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__shroud_proc_id_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module2)
	MR_init_entry1(fn__hlds__hlds_pred__shroud_pred_proc_id_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__shroud_pred_proc_id_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'shroud_pred_proc_id'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__shroud_pred_proc_id_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	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_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(hlds__hlds_pred_module3)
	MR_init_entry1(fn__hlds__hlds_pred__unshroud_pred_id_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__unshroud_pred_id_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'unshroud_pred_id'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__unshroud_pred_id_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module4)
	MR_init_entry1(fn__hlds__hlds_pred__unshroud_proc_id_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__unshroud_proc_id_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'unshroud_proc_id'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__unshroud_proc_id_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module5)
	MR_init_entry1(fn__hlds__hlds_pred__unshroud_pred_proc_id_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__unshroud_pred_proc_id_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'unshroud_pred_proc_id'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__unshroud_pred_proc_id_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	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_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(hlds__hlds_pred_module6)
	MR_init_entry1(hlds__hlds_pred__pred_id_to_int_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_id_to_int_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_id_to_int'/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__hlds__hlds_pred__pred_id_to_int_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module7)
	MR_init_entry1(hlds__hlds_pred__pred_id_to_int_2_1);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_id_to_int_2_1);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_id_to_int'/2 mode 1 */
#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__hlds__hlds_pred__pred_id_to_int_2_1);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module8)
	MR_init_entry1(fn__hlds__hlds_pred__pred_id_to_int_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__pred_id_to_int_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_id_to_int'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__pred_id_to_int_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module9)
	MR_init_entry1(hlds__hlds_pred__proc_id_to_int_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_id_to_int_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_id_to_int'/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__hlds__hlds_pred__proc_id_to_int_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module10)
	MR_init_entry1(hlds__hlds_pred__proc_id_to_int_2_1);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_id_to_int_2_1);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_id_to_int'/2 mode 1 */
#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__hlds__hlds_pred__proc_id_to_int_2_1);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module11)
	MR_init_entry1(fn__hlds__hlds_pred__proc_id_to_int_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__proc_id_to_int_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_id_to_int'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__proc_id_to_int_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module12)
	MR_init_entry1(fn__hlds__hlds_pred__initial_pred_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__initial_pred_id_0_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'initial_pred_id'/1 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__initial_pred_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	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(hlds__hlds_pred_module13)
	MR_init_entry1(fn__hlds__hlds_pred__initial_proc_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__initial_proc_id_0_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'initial_proc_id'/1 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__initial_proc_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	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(hlds__hlds_pred_module14)
	MR_init_entry1(fn__hlds__hlds_pred__invalid_pred_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__invalid_pred_id_0_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'invalid_pred_id'/1 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__invalid_pred_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) -1;
	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(hlds__hlds_pred_module15)
	MR_init_entry1(fn__hlds__hlds_pred__invalid_proc_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__invalid_proc_id_0_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'invalid_proc_id'/1 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__invalid_proc_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) -1;
	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(hlds__hlds_pred_module16)
	MR_init_entry1(hlds__hlds_pred__next_pred_id_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__next_pred_id_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'next_pred_id'/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__hlds__hlds_pred__next_pred_id_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = ((MR_Integer) MR_r1 + (MR_Integer) 1);
	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(hlds__hlds_pred_module17)
	MR_init_entry1(hlds__hlds_pred__in_in_unification_proc_id_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__in_in_unification_proc_id_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'in_in_unification_proc_id'/1 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__hlds__hlds_pred__in_in_unification_proc_id_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	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(map__to_assoc_list_2_0);
MR_decl_entry(list__length_2_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module18)
	MR_init_entry1(hlds__hlds_pred__next_mode_id_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__next_mode_id_2_0);
	MR_init_label1(hlds__hlds_pred__next_mode_id_2_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'next_mode_id'/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__hlds__hlds_pred__next_mode_id_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	MR_sv(1) = (MR_Word) MR_INT_CTOR_ADDR;
	MR_sv(2) = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(map__to_assoc_list_2_0,
		hlds__hlds_pred__next_mode_id_2_0_i2);
MR_def_label(hlds__hlds_pred__next_mode_id_2_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,0);
	MR_r2 = MR_tempr1;
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(list__length_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(hlds__hlds_pred_module19)
	MR_init_entry1(fn__hlds__hlds_pred__status_is_exported_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__status_is_exported_1_0);
	MR_init_label8(fn__hlds__hlds_pred__status_is_exported_1_0,3,4,5,6,7,8,38,9)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'status_is_exported'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__status_is_exported_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,5)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_is_exported_1_0_i3);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_is_exported_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_is_exported_1_0_i4);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_is_exported_1_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,3)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_is_exported_1_0_i5);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_is_exported_1_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,7)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_is_exported_1_0_i6);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_is_exported_1_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,8)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_is_exported_1_0_i7);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_is_exported_1_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,4)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_is_exported_1_0_i8);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_is_exported_1_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_is_exported_1_0_i9);
	}
MR_def_label(fn__hlds__hlds_pred__status_is_exported_1_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_is_exported_1_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,6)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_is_exported_1_0_i38);
	}
	MR_r1 = (MR_Integer) 1;
	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(hlds__hlds_pred_module20)
	MR_init_entry1(fn__hlds__hlds_pred__status_is_exported_to_non_submodules_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__status_is_exported_to_non_submodules_1_0);
	MR_init_label2(fn__hlds__hlds_pred__status_is_exported_to_non_submodules_1_0,3,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'status_is_exported_to_non_submodules'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__status_is_exported_to_non_submodules_1_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_np_call_localret_ent(fn__hlds__hlds_pred__status_is_exported_1_0,
		fn__hlds__hlds_pred__status_is_exported_to_non_submodules_1_0_i3);
MR_def_label(fn__hlds__hlds_pred__status_is_exported_to_non_submodules_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_is_exported_to_non_submodules_1_0_i2);
	}
	if (MR_LTAGS_TEST(MR_sv(1),0,7)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_is_exported_to_non_submodules_1_0_i2);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(2);
MR_def_label(fn__hlds__hlds_pred__status_is_exported_to_non_submodules_1_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	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(hlds__hlds_pred_module21)
	MR_init_entry1(fn__hlds__hlds_pred__status_defined_in_this_module_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__status_defined_in_this_module_1_0);
	MR_init_label8(fn__hlds__hlds_pred__status_defined_in_this_module_1_0,3,4,5,6,7,8,38,9)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'status_defined_in_this_module'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__status_defined_in_this_module_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,5)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_this_module_1_0_i3);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_this_module_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_this_module_1_0_i4);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_this_module_1_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,3)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_this_module_1_0_i5);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_this_module_1_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,7)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_this_module_1_0_i6);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_this_module_1_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,8)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_this_module_1_0_i7);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_this_module_1_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,4)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_this_module_1_0_i8);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_this_module_1_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_this_module_1_0_i9);
	}
MR_def_label(fn__hlds__hlds_pred__status_defined_in_this_module_1_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_this_module_1_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,6)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_this_module_1_0_i38);
	}
	MR_r1 = (MR_Integer) 1;
	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__bool__not_1_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module22)
	MR_init_entry1(fn__hlds__hlds_pred__status_is_imported_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__status_is_imported_1_0);
	MR_init_label1(fn__hlds__hlds_pred__status_is_imported_1_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'status_is_imported'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__status_is_imported_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(1);
	MR_sv(1) = (MR_Word) MR_succip;
	MR_np_call_localret_ent(fn__hlds__hlds_pred__status_defined_in_this_module_1_0,
		fn__hlds__hlds_pred__status_is_imported_1_0_i2);
MR_def_label(fn__hlds__hlds_pred__status_is_imported_1_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(1);
	MR_decr_sp(1);
	MR_np_tailcall_ent(fn__bool__not_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(hlds__hlds_pred_module23)
	MR_init_entry1(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__status_defined_in_impl_section_1_0);
	MR_init_label10(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0,3,4,5,6,7,8,9,10,11,12)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'status_defined_in_impl_section'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__status_defined_in_impl_section_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,5)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0_i3);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0_i4);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,3)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0_i5);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,7)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0_i6);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,8)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0_i7);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,4)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0_i8);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0_i9);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,6)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0_i10);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0_i11);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0_i12);
	}
	MR_r1 = MR_tfield(1, MR_r1, 0);
	MR_np_localtailcall(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0);
MR_def_label(fn__hlds__hlds_pred__status_defined_in_impl_section_1_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(2, MR_r1, 0);
	MR_r1 = (MR_Integer) 1;
	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(list__member_2_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module24)
	MR_init_entry1(hlds__hlds_pred__check_marker_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__check_marker_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_marker'/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__hlds__hlds_pred__check_marker_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_r3 = MR_tempr1;
	MR_np_tailcall_ent(list__member_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(hlds__hlds_pred_module25)
	MR_init_entry1(fn__hlds__hlds_pred__calls_are_fully_qualified_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__calls_are_fully_qualified_1_0);
	MR_init_label2(fn__hlds__hlds_pred__calls_are_fully_qualified_1_0,3,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'calls_are_fully_qualified'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__calls_are_fully_qualified_1_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(hlds__hlds_pred, marker);
	MR_r2 = (MR_Integer) 20;
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(list__member_2_0,
		fn__hlds__hlds_pred__calls_are_fully_qualified_1_0_i3);
MR_def_label(fn__hlds__hlds_pred__calls_are_fully_qualified_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__calls_are_fully_qualified_1_0_i2);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(1);
MR_def_label(fn__hlds__hlds_pred__calls_are_fully_qualified_1_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(1);
#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__mdbcomp__prim_data__unqualify_name_1_0);
MR_decl_entry(mdbcomp__prim_data__sym_name_get_module_name_default_3_0);
MR_decl_entry(parse_tree__prog_type__type_vars_list_2_0);
MR_decl_entry(list__delete_elems_3_0);
MR_decl_entry(map__init_1_0);
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_data__type_ctor_info_assert_id_0;
MR_decl_entry(set__init_1_0);
MR_decl_entry(fn__hlds__inst_graph__inst_graph_info_init_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module26)
	MR_init_entry1(hlds__hlds_pred__pred_info_init_18_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_init_18_0);
	MR_init_label9(hlds__hlds_pred__pred_info_init_18_0,2,3,4,6,7,8,9,10,11)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_init'/18 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__hlds__hlds_pred__pred_info_init_18_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(23);
	MR_sv(23) = (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_sv(5) = MR_r5;
	MR_sv(6) = MR_r6;
	MR_sv(7) = MR_r7;
	MR_sv(8) = MR_r8;
	MR_sv(9) = MR_r9;
	MR_sv(10) = MR_r10;
	MR_sv(11) = MR_r11;
	MR_sv(12) = MR_r12;
	MR_sv(13) = MR_r13;
	MR_sv(14) = MR_r14;
	MR_sv(15) = MR_r15;
	MR_sv(16) = MR_r16;
	MR_sv(17) = MR_r17;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		hlds__hlds_pred__pred_info_init_18_0_i2);
MR_def_label(hlds__hlds_pred__pred_info_init_18_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r1 = MR_sv(2);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(mdbcomp__prim_data__sym_name_get_module_name_default_3_0,
		hlds__hlds_pred__pred_info_init_18_0_i3);
MR_def_label(hlds__hlds_pred__pred_info_init_18_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = MR_sv(10);
	MR_np_call_localret_ent(parse_tree__prog_type__type_vars_list_2_0,
		hlds__hlds_pred__pred_info_init_18_0_i4);
MR_def_label(hlds__hlds_pred__pred_info_init_18_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(19) = (MR_Word) MR_TAG_COMMON(0,1,0);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(19);
	MR_r2 = MR_tempr1;
	MR_r3 = MR_sv(12);
	}
	MR_np_call_localret_ent(list__delete_elems_3_0,
		hlds__hlds_pred__pred_info_init_18_0_i6);
MR_def_label(hlds__hlds_pred__pred_info_init_18_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(18) = MR_r1;
	MR_r1 = MR_sv(19);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, kind);
	MR_np_call_localret_ent(map__init_1_0,
		hlds__hlds_pred__pred_info_init_18_0_i7);
MR_def_label(hlds__hlds_pred__pred_info_init_18_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(19) = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,0);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_np_call_localret_ent(map__init_1_0,
		hlds__hlds_pred__pred_info_init_18_0_i8);
MR_def_label(hlds__hlds_pred__pred_info_init_18_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(20) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_data, assert_id);
	MR_np_call_localret_ent(set__init_1_0,
		hlds__hlds_pred__pred_info_init_18_0_i9);
MR_def_label(hlds__hlds_pred__pred_info_init_18_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(21) = MR_r1;
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_np_call_localret_ent(map__init_1_0,
		hlds__hlds_pred__pred_info_init_18_0_i10);
MR_def_label(hlds__hlds_pred__pred_info_init_18_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(22) = MR_r1;
	MR_np_call_localret_ent(fn__hlds__inst_graph__inst_graph_info_init_0_0,
		hlds__hlds_pred__pred_info_init_18_0_i11);
MR_def_label(hlds__hlds_pred__pred_info_init_18_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 13);
	MR_tfield(0, MR_r2, 0) = MR_sv(5);
	MR_tfield(0, MR_r2, 1) = MR_sv(8);
	MR_tfield(0, MR_r2, 2) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 3) = MR_sv(19);
	MR_tfield(0, MR_r2, 4) = MR_sv(20);
	MR_tfield(0, MR_r2, 5) = MR_sv(18);
	MR_tfield(0, MR_r2, 6) = MR_sv(14);
	MR_tfield(0, MR_r2, 7) = MR_sv(15);
	MR_tfield(0, MR_r2, 8) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 9) = MR_r1;
	MR_tfield(0, MR_r2, 10) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 11) = MR_sv(17);
	MR_tfield(0, MR_r2, 12) = MR_sv(21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	MR_tfield(0, MR_r1, 0) = MR_sv(2);
	MR_tfield(0, MR_r1, 1) = MR_sv(1);
	MR_tfield(0, MR_r1, 2) = MR_sv(3);
	MR_tfield(0, MR_r1, 3) = MR_sv(4);
	MR_tfield(0, MR_r1, 4) = MR_sv(6);
	MR_tfield(0, MR_r1, 5) = MR_sv(7);
	MR_tfield(0, MR_r1, 6) = MR_sv(9);
	MR_tfield(0, MR_r1, 7) = MR_sv(10);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(11);
	MR_tfield(0, MR_r1, 8) = MR_tempr1;
	MR_tfield(0, MR_r1, 9) = MR_tempr1;
	MR_tfield(0, MR_r1, 10) = MR_sv(12);
	MR_tfield(0, MR_r1, 11) = MR_sv(13);
	MR_tfield(0, MR_r1, 12) = MR_sv(16);
	MR_tfield(0, MR_r1, 13) = MR_sv(22);
	MR_tfield(0, MR_r1, 14) = MR_r2;
	MR_decr_sp_and_return(23);
	}
#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(hlds__hlds_pred_module27)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_varset_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_varset_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_varset'/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__hlds__hlds_pred__proc_info_get_varset_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 1);
	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(hlds__hlds_pred_module28)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_vartypes_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_vartypes_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_vartypes'/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__hlds__hlds_pred__proc_info_get_vartypes_2_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_BEGIN_MODULE(hlds__hlds_pred_module29)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_headvars_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_headvars_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_headvars'/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__hlds__hlds_pred__proc_info_get_headvars_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 3);
	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(hlds__hlds_pred_module30)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_rtti_varmaps_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_rtti_varmaps_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_rtti_varmaps'/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__hlds__hlds_pred__proc_info_get_rtti_varmaps_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 14);
	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__hlds__hlds_clauses__init_clauses_rep_0_0);
extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_string_0;
MR_decl_entry(fn__hlds__hlds_args__proc_arg_vector_init_2_0);
MR_decl_entry(fn__hlds__hlds_clauses__init_clause_item_numbers_user_0_0);
MR_decl_entry(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_101_116_95_105_110_115_101_114_116_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_4_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module31)
	MR_init_entry1(hlds__hlds_pred__pred_info_create_16_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_create_16_0);
	MR_init_label10(hlds__hlds_pred__pred_info_create_16_0,2,3,4,5,6,7,8,10,11,12)
	MR_init_label9(hlds__hlds_pred__pred_info_create_16_0,13,14,15,17,18,20,21,22,23)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_create'/16 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__hlds__hlds_pred__pred_info_create_16_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(27);
	MR_sv(27) = (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_sv(5) = MR_r5;
	MR_sv(6) = MR_r6;
	MR_sv(7) = MR_r7;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r8;
	MR_sv(8) = MR_tempr1;
	MR_sv(9) = MR_r9;
	MR_sv(10) = MR_r10;
	MR_sv(11) = MR_r11;
	MR_sv(12) = MR_r12;
	MR_sv(13) = MR_r13;
	MR_sv(14) = MR_r14;
	MR_sv(22) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r1 = MR_sv(22);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(list__length_2_0,
		hlds__hlds_pred__pred_info_create_16_0_i2);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(15) = MR_r1;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(14);
	MR_sv(16) = MR_tfield(0, MR_tempr1, 1);
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_vartypes_2_0,
		hlds__hlds_pred__pred_info_create_16_0_i3);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(17) = MR_r1;
	MR_r1 = MR_sv(14);
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_headvars_2_0,
		hlds__hlds_pred__pred_info_create_16_0_i4);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(2);
	MR_sv(2) = MR_r1;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(fn__mdbcomp__prim_data__unqualify_name_1_0,
		hlds__hlds_pred__pred_info_create_16_0_i5);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(18) = MR_r1;
	MR_sv(19) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_constraint);
	MR_r1 = MR_sv(19);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_data, constraint_proof);
	MR_np_call_localret_ent(map__init_1_0,
		hlds__hlds_pred__pred_info_create_16_0_i6);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(19) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_data, constraint_id);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_constraint);
	MR_np_call_localret_ent(map__init_1_0,
		hlds__hlds_pred__pred_info_create_16_0_i7);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(20) = MR_r1;
	MR_r1 = MR_sv(8);
	MR_np_call_localret_ent(parse_tree__prog_type__type_vars_list_2_0,
		hlds__hlds_pred__pred_info_create_16_0_i8);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(26) = (MR_Word) MR_CTOR1_ADDR(term, var);
	MR_sv(24) = (MR_Word) MR_TAG_COMMON(0,1,0);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(24);
	MR_r2 = MR_tempr1;
	MR_r3 = MR_sv(10);
	}
	MR_np_call_localret_ent(list__delete_elems_3_0,
		hlds__hlds_pred__pred_info_create_16_0_i10);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(21) = MR_r1;
	MR_r1 = MR_sv(24);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, kind);
	MR_np_call_localret_ent(map__init_1_0,
		hlds__hlds_pred__pred_info_create_16_0_i11);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(22) = MR_r1;
	MR_r1 = MR_sv(24);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_np_call_localret_ent(map__init_1_0,
		hlds__hlds_pred__pred_info_create_16_0_i12);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(23) = MR_r1;
	MR_np_call_localret_ent(fn__hlds__hlds_clauses__init_clauses_rep_0_0,
		hlds__hlds_pred__pred_info_create_16_0_i13);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(24) = MR_r1;
	MR_r1 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,1,0);
	MR_np_call_localret_ent(map__init_1_0,
		hlds__hlds_pred__pred_info_create_16_0_i14);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(25) = MR_r1;
	MR_r1 = MR_sv(14);
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_rtti_varmaps_2_0,
		hlds__hlds_pred__pred_info_create_16_0_i15);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__hlds__hlds_args__proc_arg_vector_init_2_0,
		hlds__hlds_pred__pred_info_create_16_0_i17);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(26) = MR_r1;
	MR_np_call_localret_ent(fn__hlds__hlds_clauses__init_clause_item_numbers_user_0_0,
		hlds__hlds_pred__pred_info_create_16_0_i18);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 9);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(16);
	MR_tempr2 = MR_sv(17);
	MR_tfield(0, MR_tempr1, 1) = MR_tempr2;
	MR_tfield(0, MR_tempr1, 2) = MR_sv(25);
	MR_tfield(0, MR_tempr1, 3) = MR_tempr2;
	MR_tfield(0, MR_tempr1, 4) = MR_sv(26);
	MR_tfield(0, MR_tempr1, 5) = MR_sv(24);
	MR_tfield(0, MR_tempr1, 6) = MR_r1;
	MR_tfield(0, MR_tempr1, 7) = MR_sv(2);
	MR_tfield(0, MR_tempr1, 8) = (MR_Integer) 0;
	MR_sv(16) = MR_tempr1;
	MR_sv(17) = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = MR_sv(17);
	}
	MR_np_call_localret_ent(map__init_1_0,
		hlds__hlds_pred__pred_info_create_16_0_i20);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_np_call_localret_ent(hlds__hlds_pred__next_mode_id_2_0,
		hlds__hlds_pred__pred_info_create_16_0_i21);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,21)
	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(17);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(14);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_101_116_95_105_110_115_101_114_116_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_4_0,
		hlds__hlds_pred__pred_info_create_16_0_i22);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(14) = MR_r1;
	MR_np_call_localret_ent(fn__hlds__inst_graph__inst_graph_info_init_0_0,
		hlds__hlds_pred__pred_info_create_16_0_i23);
MR_def_label(hlds__hlds_pred__pred_info_create_16_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 13);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(4);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr1, 3) = MR_sv(22);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(23);
	MR_tfield(0, MR_tempr1, 5) = MR_sv(21);
	MR_tfield(0, MR_tempr1, 6) = MR_sv(19);
	MR_tfield(0, MR_tempr1, 7) = MR_sv(20);
	MR_tfield(0, MR_tempr1, 8) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr1, 9) = MR_r1;
	MR_tfield(0, MR_tempr1, 10) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr1, 11) = MR_sv(13);
	MR_tfield(0, MR_tempr1, 12) = MR_sv(12);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 15);
	MR_tfield(0, MR_r2, 0) = MR_sv(1);
	MR_tfield(0, MR_r2, 1) = MR_sv(18);
	MR_tfield(0, MR_r2, 2) = MR_sv(15);
	MR_tfield(0, MR_r2, 3) = MR_sv(3);
	MR_tfield(0, MR_r2, 4) = MR_sv(5);
	MR_tfield(0, MR_r2, 5) = MR_sv(6);
	MR_tfield(0, MR_r2, 6) = MR_sv(7);
	MR_tfield(0, MR_r2, 7) = MR_sv(8);
	MR_tempr2 = MR_sv(9);
	MR_tfield(0, MR_r2, 8) = MR_tempr2;
	MR_tfield(0, MR_r2, 9) = MR_tempr2;
	MR_tfield(0, MR_r2, 10) = MR_sv(10);
	MR_tfield(0, MR_r2, 11) = MR_sv(11);
	MR_tfield(0, MR_r2, 12) = MR_sv(16);
	MR_tfield(0, MR_r2, 13) = MR_sv(14);
	MR_tfield(0, MR_r2, 14) = MR_tempr1;
	MR_r1 = MR_sv(2);
	MR_decr_sp_and_return(27);
	}
#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(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_108_111_111_107_117_112_95_95_91_75_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_0);
MR_decl_entry(hlds__instmap__instmap_lookup_var_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module32)
	MR_init_entry1(hlds__hlds_pred__compute_arg_types_modes_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__compute_arg_types_modes_6_0);
	MR_init_label5(hlds__hlds_pred__compute_arg_types_modes_6_0,22,5,6,7,9)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'compute_arg_types_modes'/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(hlds__hlds_pred__compute_arg_types_modes_6_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__compute_arg_types_modes_6_0_i22);
	}
	MR_r1 = (MR_Word) MR_tbmkword(0, 0);
	MR_r2 = (MR_Word) MR_tbmkword(0, 0);
	MR_proceed();
MR_def_label(hlds__hlds_pred__compute_arg_types_modes_6_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(7);
	MR_sv(7) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r2;
	MR_sv(2) = MR_r3;
	MR_sv(3) = MR_r4;
	MR_sv(4) = MR_tfield(1, MR_r1, 0);
	MR_sv(5) = MR_tfield(1, MR_r1, 1);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r4 = MR_sv(1);
	MR_r5 = MR_sv(4);
	MR_np_call_localret_ent(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_108_111_111_107_117_112_95_95_91_75_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_0,
		hlds__hlds_pred__compute_arg_types_modes_6_0_i5);
MR_def_label(hlds__hlds_pred__compute_arg_types_modes_6_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(6) = MR_r1;
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(4);
	MR_np_call_localret_ent(hlds__instmap__instmap_lookup_var_3_0,
		hlds__hlds_pred__compute_arg_types_modes_6_0_i6);
MR_def_label(hlds__hlds_pred__compute_arg_types_modes_6_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(4);
	MR_sv(4) = MR_r1;
	MR_r1 = MR_sv(3);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(hlds__instmap__instmap_lookup_var_3_0,
		hlds__hlds_pred__compute_arg_types_modes_6_0_i7);
MR_def_label(hlds__hlds_pred__compute_arg_types_modes_6_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(4);
	MR_tfield(0, MR_tempr1, 1) = MR_r1;
	MR_tempr2 = MR_sv(1);
	MR_sv(1) = MR_tempr1;
	MR_r1 = MR_sv(5);
	MR_r2 = MR_tempr2;
	MR_r3 = MR_sv(2);
	MR_r4 = MR_sv(3);
	}
	MR_np_localcall_lab(hlds__hlds_pred__compute_arg_types_modes_6_0,
		hlds__hlds_pred__compute_arg_types_modes_6_0_i9);
MR_def_label(hlds__hlds_pred__compute_arg_types_modes_6_0,9)
	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_sv(6);
	MR_tfield(1, MR_tempr1, 1) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = MR_sv(1);
	MR_tfield(1, MR_tempr2, 1) = MR_r2;
	MR_r1 = MR_tempr1;
	MR_r2 = MR_tempr2;
	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(hlds__hlds_pred_module33)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_maybe_termination_info_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_maybe_termination_info_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_maybe_termination_info'/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__hlds__hlds_pred__proc_info_set_maybe_termination_info_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_r1;
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(libs__globals__lookup_bool_option_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module34)
	MR_init_entry1(hlds__hlds_pred__non_special_body_should_use_typeinfo_liveness_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__non_special_body_should_use_typeinfo_liveness_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'non_special_body_should_use_typeinfo_liveness'/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__hlds__hlds_pred__non_special_body_should_use_typeinfo_liveness_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = (MR_Integer) 255;
	MR_np_tailcall_ent(libs__globals__lookup_bool_option_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(libs__globals__lookup_bool_option_3_1);

MR_BEGIN_MODULE(hlds__hlds_pred_module35)
	MR_init_entry1(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0);
	MR_init_label5(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0,10,13,15,3,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'non_special_interface_should_use_typeinfo_liveness'/4 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	MR_sv(2) = (MR_Word) MR_succip;
	if (MR_INT_EQ(MR_r2,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0_i3);
	}
	if (MR_LTAGS_TESTR(MR_r1,0,8)) {
		MR_GOTO_LAB(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0_i3);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r3;
	MR_sv(1) = MR_tempr1;
	MR_r1 = MR_tempr1;
	MR_r2 = (MR_Integer) 202;
	MR_r3 = (MR_Integer) 1;
	}
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_1,
		hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0_i10);
MR_def_label(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_r1) {
		MR_GOTO_LAB(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0_i3);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Integer) 203;
	MR_r3 = (MR_Integer) 1;
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_1,
		hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0_i13);
MR_def_label(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_r1) {
		MR_GOTO_LAB(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0_i3);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Integer) 255;
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0_i15);
MR_def_label(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (((MR_Integer) 1 != (MR_Integer) MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0_i2);
	}
MR_def_label(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(2);
MR_def_label(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	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(fn__transform_hlds__term_constr_main__term2_info_init_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module36)
	MR_init_entry1(hlds__hlds_pred__proc_info_create_with_declared_detism_14_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_create_with_declared_detism_14_0);
	MR_init_label3(hlds__hlds_pred__proc_info_create_with_declared_detism_14_0,3,4,5)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_create_with_declared_detism'/14 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(hlds__hlds_pred__proc_info_create_with_declared_detism_14_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(16);
	MR_sv(16) = (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_sv(5) = MR_r5;
	MR_sv(6) = MR_r6;
	MR_sv(7) = MR_r7;
	MR_sv(8) = MR_r8;
	MR_sv(9) = MR_r9;
	MR_sv(10) = MR_r10;
	MR_sv(11) = MR_r11;
	MR_sv(12) = MR_r12;
	MR_sv(13) = MR_r13;
	MR_sv(14) = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r1 = MR_sv(14);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_llds, stack_slot);
	MR_np_call_localret_ent(map__init_1_0,
		hlds__hlds_pred__proc_info_create_with_declared_detism_14_0_i3);
MR_def_label(hlds__hlds_pred__proc_info_create_with_declared_detism_14_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(14) = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_np_call_localret_ent(set__init_1_0,
		hlds__hlds_pred__proc_info_create_with_declared_detism_14_0_i4);
MR_def_label(hlds__hlds_pred__proc_info_create_with_declared_detism_14_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(15) = MR_r1;
	MR_np_call_localret_ent(fn__transform_hlds__term_constr_main__term2_info_init_0_0,
		hlds__hlds_pred__proc_info_create_with_declared_detism_14_0_i5);
MR_def_label(hlds__hlds_pred__proc_info_create_with_declared_detism_14_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 22);
	MR_tfield(0, MR_r2, 0) = MR_sv(7);
	MR_tfield(0, MR_r2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 2) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 3) = MR_r1;
	MR_tfield(0, MR_r2, 4) = MR_sv(12);
	MR_tfield(0, MR_r2, 5) = MR_sv(14);
	MR_tfield(0, MR_r2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 7) = MR_sv(15);
	MR_tfield(0, MR_r2, 8) = (MR_Integer) 0;
	MR_tfield(0, MR_r2, 9) = (MR_Integer) 0;
	MR_tfield(0, MR_r2, 10) = (MR_Integer) 0;
	MR_tfield(0, MR_r2, 11) = (MR_Integer) 1;
	MR_tfield(0, MR_r2, 12) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 13) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 14) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 15) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 16) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 17) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 18) = MR_sv(13);
	MR_tfield(0, MR_r2, 19) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 20) = (MR_Word) MR_TAG_COMMON(0,1,2);
	MR_tfield(0, MR_r2, 21) = (MR_Word) MR_TAG_COMMON(0,1,2);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	MR_tfield(0, MR_r1, 0) = MR_sv(1);
	MR_tfield(0, MR_r1, 1) = MR_sv(2);
	MR_tfield(0, MR_r1, 2) = MR_sv(3);
	MR_tfield(0, MR_r1, 3) = MR_sv(4);
	MR_tfield(0, MR_r1, 4) = MR_sv(5);
	MR_tfield(0, MR_r1, 5) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 6) = MR_sv(6);
	MR_tfield(0, MR_r1, 7) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 8) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 9) = MR_sv(8);
	MR_tfield(0, MR_r1, 10) = MR_sv(9);
	MR_tfield(0, MR_r1, 11) = MR_sv(10);
	MR_tfield(0, MR_r1, 12) = (MR_Integer) 1;
	MR_tfield(0, MR_r1, 13) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 14) = MR_sv(11);
	MR_tfield(0, MR_r1, 15) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 16) = MR_r2;
	MR_decr_sp_and_return(16);
#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_goal__goal_info_get_instmap_delta_1_0);
MR_decl_entry(hlds__instmap__apply_instmap_delta_3_0);
MR_decl_entry(hlds__hlds_module__module_info_get_globals_2_0);
MR_decl_entry(fn__hlds__hlds_goal__goal_info_get_nonlocals_1_0);
MR_decl_entry(hlds__goal_util__extra_nonlocal_typeinfos_5_0);
MR_decl_entry(set__delete_list_3_0);
MR_decl_entry(set__to_sorted_list_2_0);
MR_decl_entry(list__append_3_1);
MR_decl_entry(fn__hlds__hlds_goal__goal_info_get_context_1_0);
MR_decl_entry(fn__hlds__hlds_goal__goal_info_get_determinism_1_0);
MR_decl_entry(hlds__hlds_module__module_info_get_name_2_0);
MR_decl_entry(hlds__goal_util__goal_vars_2_0);
MR_decl_entry(f_115_101_116_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_105_110_115_101_114_116_95_108_105_115_116_95_95_91_84_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_0);
MR_decl_entry(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_101_108_101_99_116_95_95_91_75_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_0);
MR_decl_entry(varset__select_3_0);
MR_decl_entry(hlds__goal_form__goal_cannot_loop_2_0);
MR_decl_entry(hlds__hlds_module__module_info_get_predicate_table_2_0);
MR_decl_entry(hlds__pred_table__predicate_table_insert_4_0);
MR_decl_entry(hlds__hlds_module__module_info_set_predicate_table_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module37)
	MR_init_entry1(hlds__hlds_pred__define_new_pred_19_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__define_new_pred_19_0);
	MR_init_label10(hlds__hlds_pred__define_new_pred_19_0,2,3,4,5,7,8,9,11,12,13)
	MR_init_label10(hlds__hlds_pred__define_new_pred_19_0,6,14,15,16,17,18,19,21,22,23)
	MR_init_label10(hlds__hlds_pred__define_new_pred_19_0,26,24,30,31,32,33,34,35,36,37)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'define_new_pred'/19 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__hlds__hlds_pred__define_new_pred_19_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(25);
	MR_sv(25) = (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_sv(5) = MR_r5;
	MR_sv(6) = MR_r6;
	MR_sv(7) = MR_r7;
	MR_sv(8) = MR_r8;
	MR_sv(9) = MR_r9;
	MR_sv(10) = MR_r10;
	MR_sv(11) = MR_r11;
	MR_sv(12) = MR_r12;
	MR_sv(13) = MR_r13;
	MR_sv(14) = MR_r14;
	MR_sv(15) = MR_r15;
	MR_sv(16) = MR_tfield(0, MR_r2, 1);
	MR_r1 = MR_sv(16);
	MR_np_call_localret_ent(fn__hlds__hlds_goal__goal_info_get_instmap_delta_1_0,
		hlds__hlds_pred__define_new_pred_19_0_i2);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,2)
	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(hlds__instmap__apply_instmap_delta_3_0,
		hlds__hlds_pred__define_new_pred_19_0_i3);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(17) = MR_r1;
	MR_r1 = MR_sv(15);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_globals_2_0,
		hlds__hlds_pred__define_new_pred_19_0_i4);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(18) = (MR_Word) MR_tbmkword(0, 8);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(18);
	MR_r2 = MR_sv(13);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_4_0,
		hlds__hlds_pred__define_new_pred_19_0_i5);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__define_new_pred_19_0_i7);
	}
	MR_sv(19) = MR_sv(3);
	MR_sv(3) = (MR_Word) MR_tbmkword(0, 0);
	MR_r1 = MR_sv(16);
	MR_GOTO_LAB(hlds__hlds_pred__define_new_pred_19_0_i6);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(16);
	MR_np_call_localret_ent(fn__hlds__hlds_goal__goal_info_get_nonlocals_1_0,
		hlds__hlds_pred__define_new_pred_19_0_i8);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(9);
	MR_r2 = MR_sv(7);
	MR_r3 = (MR_Word) MR_tbmkword(0, 0);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(hlds__goal_util__extra_nonlocal_typeinfos_5_0,
		hlds__hlds_pred__define_new_pred_19_0_i9);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(19) = (MR_Word) MR_TAG_COMMON(0,1,1);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(19);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(set__delete_list_3_0,
		hlds__hlds_pred__define_new_pred_19_0_i11);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(19);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(set__to_sorted_list_2_0,
		hlds__hlds_pred__define_new_pred_19_0_i12);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_sv(3) = MR_r1;
	MR_r1 = MR_sv(19);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(list__append_3_1,
		hlds__hlds_pred__define_new_pred_19_0_i13);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(19) = MR_r1;
	MR_r1 = MR_sv(16);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(16) = MR_r1;
	MR_np_call_localret_ent(fn__hlds__hlds_goal__goal_info_get_context_1_0,
		hlds__hlds_pred__define_new_pred_19_0_i14);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(20) = MR_r1;
	MR_r1 = MR_sv(16);
	MR_np_call_localret_ent(fn__hlds__hlds_goal__goal_info_get_determinism_1_0,
		hlds__hlds_pred__define_new_pred_19_0_i15);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(4);
	MR_sv(4) = MR_r1;
	MR_r1 = MR_sv(19);
	MR_r2 = MR_sv(7);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_sv(17);
	}
	MR_np_call_localret_ent(hlds__hlds_pred__compute_arg_types_modes_6_0,
		hlds__hlds_pred__define_new_pred_19_0_i16);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(17) = MR_r1;
	MR_sv(21) = MR_r2;
	MR_r1 = MR_sv(15);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_name_2_0,
		hlds__hlds_pred__define_new_pred_19_0_i17);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,17)
	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(mdbcomp__prim_data__sym_name_get_module_name_default_3_0,
		hlds__hlds_pred__define_new_pred_19_0_i18);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(22) = MR_r1;
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(hlds__goal_util__goal_vars_2_0,
		hlds__hlds_pred__define_new_pred_19_0_i19);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(23) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_sv(24) = (MR_Word) MR_TAG_COMMON(0,1,1);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(23);
	MR_r2 = MR_sv(24);
	MR_r3 = MR_sv(19);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(f_115_101_116_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_105_110_115_101_114_116_95_108_105_115_116_95_95_91_84_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_0,
		hlds__hlds_pred__define_new_pred_19_0_i21);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(7);
	MR_sv(7) = MR_r1;
	MR_r1 = MR_sv(23);
	MR_r2 = MR_sv(24);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_sv(7);
	}
	MR_np_call_localret_ent(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_101_108_101_99_116_95_95_91_75_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_0,
		hlds__hlds_pred__define_new_pred_19_0_i22);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(7);
	MR_sv(7) = MR_r1;
	MR_r1 = MR_sv(23);
	MR_r2 = MR_tempr1;
	MR_r3 = MR_sv(10);
	}
	MR_np_call_localret_ent(varset__select_3_0,
		hlds__hlds_pred__define_new_pred_19_0_i23);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(10) = MR_r1;
	MR_r1 = MR_sv(15);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(hlds__goal_form__goal_cannot_loop_2_0,
		hlds__hlds_pred__define_new_pred_19_0_i26);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__define_new_pred_19_0_i24);
	}
	MR_r10 = MR_sv(2);
	MR_r11 = MR_sv(9);
	MR_r5 = MR_sv(11);
	MR_r12 = MR_sv(13);
	MR_r13 = MR_sv(14);
	MR_r4 = MR_sv(19);
	MR_r1 = MR_sv(20);
	MR_r9 = MR_sv(4);
	MR_r6 = MR_sv(21);
	MR_r3 = MR_sv(7);
	MR_r2 = MR_sv(10);
	MR_sv(2) = (MR_Word) MR_TAG_COMMON(1,3,0);
	MR_r8 = (MR_Word) MR_tbmkword(0, 0);
	MR_r7 = (MR_Integer) 2;
	MR_GOTO_LAB(hlds__hlds_pred__define_new_pred_19_0_i30);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(10);
	MR_r10 = MR_sv(2);
	MR_r11 = MR_sv(9);
	MR_r5 = MR_sv(11);
	MR_r12 = MR_sv(13);
	MR_r13 = MR_sv(14);
	MR_r4 = MR_sv(19);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(20);
	MR_r9 = MR_sv(4);
	MR_r6 = MR_sv(21);
	MR_r3 = MR_sv(7);
	MR_r2 = MR_tempr1;
	MR_sv(2) = (MR_Word) MR_tbmkword(0, 0);
	MR_r8 = (MR_Word) MR_tbmkword(0, 0);
	MR_r7 = (MR_Integer) 2;
	}
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(14) = MR_r13;
	MR_sv(19) = MR_r4;
	MR_sv(20) = MR_r1;
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_create_with_declared_detism_14_0,
		hlds__hlds_pred__define_new_pred_19_0_i31);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,31)
	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(hlds__hlds_pred__proc_info_set_maybe_termination_info_3_0,
		hlds__hlds_pred__define_new_pred_19_0_i32);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_data, assert_id);
	MR_np_call_localret_ent(set__init_1_0,
		hlds__hlds_pred__define_new_pred_19_0_i33);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(22);
	MR_r2 = MR_sv(5);
	MR_r3 = (MR_Integer) 0;
	MR_r4 = MR_sv(20);
	MR_r5 = MR_sv(1);
	MR_r6 = MR_sv(18);
	MR_r7 = MR_sv(12);
	MR_r8 = MR_sv(17);
	MR_r9 = MR_sv(6);
	MR_r10 = (MR_Word) MR_tbmkword(0, 0);
	MR_r11 = MR_sv(8);
	MR_r12 = MR_tempr1;
	MR_r13 = MR_sv(14);
	MR_r14 = MR_sv(2);
	}
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_create_16_0,
		hlds__hlds_pred__define_new_pred_19_0_i34);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_r1 = MR_sv(15);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_predicate_table_2_0,
		hlds__hlds_pred__define_new_pred_19_0_i35);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,35)
	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(hlds__pred_table__predicate_table_insert_4_0,
		hlds__hlds_pred__define_new_pred_19_0_i36);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,36)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = MR_r2;
	MR_r2 = MR_sv(15);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_set_predicate_table_3_0,
		hlds__hlds_pred__define_new_pred_19_0_i37);
MR_def_label(hlds__hlds_pred__define_new_pred_19_0,37)
	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, 1, (MR_Integer) 6);
	MR_tempr4 = MR_sv(2);
	MR_tfield(1, MR_tempr1, 0) = MR_tempr4;
	MR_tempr5 = MR_sv(1);
	MR_tfield(1, MR_tempr1, 1) = MR_tempr5;
	MR_tfield(1, MR_tempr1, 2) = MR_sv(19);
	MR_tfield(1, MR_tempr1, 3) = (MR_Integer) 2;
	MR_tfield(1, MR_tempr1, 4) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(1, MR_tempr1, 5) = MR_sv(5);
	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_sv(16);
	MR_tag_alloc_heap(MR_tempr3, 0, (MR_Integer) 2);
	MR_r4 = MR_tempr3;
	MR_tfield(0, MR_tempr3, 0) = MR_tempr4;
	MR_tfield(0, MR_tempr3, 1) = MR_tempr5;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_tempr2;
	MR_r2 = MR_sv(3);
	MR_r3 = MR_tempr1;
	MR_decr_sp_and_return(25);
	}
#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(hlds__hlds_pred_module38)
	MR_init_entry1(fn__hlds__hlds_pred__pred_info_module_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__pred_info_module_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_module'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__pred_info_module_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 0);
	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(hlds__hlds_pred_module39)
	MR_init_entry1(fn__hlds__hlds_pred__pred_info_name_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__pred_info_name_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_name'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__pred_info_name_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 1);
	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(hlds__hlds_pred_module40)
	MR_init_entry1(fn__hlds__hlds_pred__pred_info_orig_arity_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__pred_info_orig_arity_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_orig_arity'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__pred_info_orig_arity_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_BEGIN_MODULE(hlds__hlds_pred_module41)
	MR_init_entry1(fn__hlds__hlds_pred__pred_info_is_pred_or_func_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__pred_info_is_pred_or_func_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_is_pred_or_func'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__pred_info_is_pred_or_func_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 3);
	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(hlds__hlds_pred_module42)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_context_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_context_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_context'/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__hlds__hlds_pred__pred_info_get_context_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 0);
	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(hlds__hlds_pred_module43)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_origin_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_origin_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_origin'/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__hlds__hlds_pred__pred_info_get_origin_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 4);
	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(hlds__hlds_pred_module44)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_import_status_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_import_status_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_import_status'/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__hlds__hlds_pred__pred_info_get_import_status_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 5);
	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(hlds__hlds_pred_module45)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_goal_type_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_goal_type_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_goal_type'/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__hlds__hlds_pred__pred_info_get_goal_type_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 1);
	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(hlds__hlds_pred_module46)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_markers_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_markers_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_markers'/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__hlds__hlds_pred__pred_info_get_markers_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 6);
	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(hlds__hlds_pred_module47)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_attributes_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_attributes_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_attributes'/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__hlds__hlds_pred__pred_info_get_attributes_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 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_BEGIN_MODULE(hlds__hlds_pred_module48)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_arg_types_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_arg_types_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_arg_types'/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__hlds__hlds_pred__pred_info_get_arg_types_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 7);
	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(hlds__hlds_pred_module49)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_typevarset_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_typevarset_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_typevarset'/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__hlds__hlds_pred__pred_info_get_typevarset_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 9);
	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(hlds__hlds_pred_module50)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_tvar_kinds_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_tvar_kinds_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_tvar_kinds'/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__hlds__hlds_pred__pred_info_get_tvar_kinds_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 3);
	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(hlds__hlds_pred_module51)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_exist_quant_tvars_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_exist_quant_tvars_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_exist_quant_tvars'/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__hlds__hlds_pred__pred_info_get_exist_quant_tvars_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 10);
	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(hlds__hlds_pred_module52)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_existq_tvar_binding_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_existq_tvar_binding_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_existq_tvar_binding'/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__hlds__hlds_pred__pred_info_get_existq_tvar_binding_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 4);
	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(hlds__hlds_pred_module53)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_head_type_params_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_head_type_params_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_head_type_params'/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__hlds__hlds_pred__pred_info_get_head_type_params_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 5);
	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(hlds__hlds_pred_module54)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_class_context_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_class_context_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_class_context'/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__hlds__hlds_pred__pred_info_get_class_context_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 11);
	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(hlds__hlds_pred_module55)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_constraint_proofs_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_constraint_proofs_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_constraint_proofs'/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__hlds__hlds_pred__pred_info_get_constraint_proofs_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 6);
	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(hlds__hlds_pred_module56)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_constraint_map_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_constraint_map_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_constraint_map'/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__hlds__hlds_pred__pred_info_get_constraint_map_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 7);
	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(hlds__hlds_pred_module57)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_unproven_body_constraints_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_unproven_body_constraints_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_unproven_body_constraints'/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__hlds__hlds_pred__pred_info_get_unproven_body_constraints_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 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_BEGIN_MODULE(hlds__hlds_pred_module58)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_inst_graph_info_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_inst_graph_info_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_inst_graph_info'/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__hlds__hlds_pred__pred_info_get_inst_graph_info_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 9);
	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(hlds__hlds_pred_module59)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_arg_modes_maps_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_arg_modes_maps_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_arg_modes_maps'/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__hlds__hlds_pred__pred_info_get_arg_modes_maps_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 10);
	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(hlds__hlds_pred_module60)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_var_name_remap_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_var_name_remap_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_var_name_remap'/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__hlds__hlds_pred__pred_info_get_var_name_remap_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 11);
	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(hlds__hlds_pred_module61)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_assertions_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_assertions_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_assertions'/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__hlds__hlds_pred__pred_info_get_assertions_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 12);
	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(hlds__hlds_pred_module62)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_clauses_info_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_clauses_info_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_clauses_info'/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__hlds__hlds_pred__pred_info_get_clauses_info_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 12);
	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(hlds__hlds_pred_module63)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_procedures_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_procedures_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_procedures'/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__hlds__hlds_pred__pred_info_get_procedures_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 13);
	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(hlds__hlds_pred_module64)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_name_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_name_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_name'/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__hlds__hlds_pred__pred_info_set_name_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 15);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_r2, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_r1;
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module65)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_orig_arity_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_orig_arity_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_orig_arity'/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__hlds__hlds_pred__pred_info_set_orig_arity_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 15);
	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_r1;
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module66)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_is_pred_or_func_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_is_pred_or_func_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_is_pred_or_func'/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__hlds__hlds_pred__pred_info_set_is_pred_or_func_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 15);
	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_r1;
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module67)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_origin_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_origin_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_origin'/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__hlds__hlds_pred__pred_info_set_origin_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 15);
	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_r1;
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_r2, 5);
	MR_tfield(0, MR_tempr1, 6) = MR_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module68)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_import_status_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_import_status_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_import_status'/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__hlds__hlds_pred__pred_info_set_import_status_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 15);
	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_r1;
	MR_tfield(0, MR_tempr1, 6) = MR_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module69)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_goal_type_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_goal_type_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_goal_type'/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__hlds__hlds_pred__pred_info_set_goal_type_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 13);
	MR_tempr2 = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr2, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_r1;
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tempr1;
	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(hlds__hlds_pred_module70)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_markers_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_markers_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_markers'/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__hlds__hlds_pred__pred_info_set_markers_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 15);
	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_r1;
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module71)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_attributes_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_attributes_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_attributes'/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__hlds__hlds_pred__pred_info_set_attributes_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 13);
	MR_tempr2 = MR_tfield(0, MR_r2, 14);
	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_r1;
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tempr1;
	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(hlds__hlds_pred_module72)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_typevarset_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_typevarset_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_typevarset'/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__hlds__hlds_pred__pred_info_set_typevarset_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_r1;
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module73)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_tvar_kinds_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_tvar_kinds_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_tvar_kinds'/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__hlds__hlds_pred__pred_info_set_tvar_kinds_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 13);
	MR_tempr2 = MR_tfield(0, MR_r2, 14);
	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_r1;
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tempr1;
	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(hlds__hlds_pred_module74)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_existq_tvar_binding_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_existq_tvar_binding_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_existq_tvar_binding'/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__hlds__hlds_pred__pred_info_set_existq_tvar_binding_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 13);
	MR_tempr2 = MR_tfield(0, MR_r2, 14);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tempr1;
	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(hlds__hlds_pred_module75)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_head_type_params_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_head_type_params_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_head_type_params'/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__hlds__hlds_pred__pred_info_set_head_type_params_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 13);
	MR_tempr2 = MR_tfield(0, MR_r2, 14);
	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_r1;
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tempr1;
	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(hlds__hlds_pred_module76)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_class_context_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_class_context_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_class_context'/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__hlds__hlds_pred__pred_info_set_class_context_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_r1;
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module77)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_constraint_proofs_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_constraint_proofs_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_constraint_proofs'/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__hlds__hlds_pred__pred_info_set_constraint_proofs_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 13);
	MR_tempr2 = MR_tfield(0, MR_r2, 14);
	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_r1;
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tempr1;
	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(hlds__hlds_pred_module78)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_constraint_map_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_constraint_map_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_constraint_map'/3 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__hlds__hlds_pred__pred_info_set_constraint_map_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 13);
	MR_tempr2 = MR_tfield(0, MR_r2, 14);
	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_tfield(0, MR_tempr2, 6);
	MR_tfield(0, MR_tempr1, 7) = MR_r1;
	MR_tfield(0, MR_tempr1, 8) = MR_tfield(0, MR_tempr2, 8);
	MR_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tempr1;
	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(hlds__hlds_pred_module79)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_unproven_body_constraints_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_unproven_body_constraints_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_unproven_body_constraints'/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__hlds__hlds_pred__pred_info_set_unproven_body_constraints_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 13);
	MR_tempr2 = MR_tfield(0, MR_r2, 14);
	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_tfield(0, MR_tempr2, 6);
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_tempr2, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_r1;
	MR_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tempr1;
	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(hlds__hlds_pred_module80)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_inst_graph_info_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_inst_graph_info_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_inst_graph_info'/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__hlds__hlds_pred__pred_info_set_inst_graph_info_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 13);
	MR_tempr2 = MR_tfield(0, MR_r2, 14);
	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_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_tfield(0, MR_tempr1, 9) = MR_r1;
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tempr1;
	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(hlds__hlds_pred_module81)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_arg_modes_maps_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_arg_modes_maps_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_arg_modes_maps'/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__hlds__hlds_pred__pred_info_set_arg_modes_maps_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 13);
	MR_tempr2 = MR_tfield(0, MR_r2, 14);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_r1;
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tempr1;
	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(hlds__hlds_pred_module82)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_var_name_remap_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_var_name_remap_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_var_name_remap'/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__hlds__hlds_pred__pred_info_set_var_name_remap_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 13);
	MR_tempr2 = MR_tfield(0, MR_r2, 14);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_r1;
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tempr1;
	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(hlds__hlds_pred_module83)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_assertions_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_assertions_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_assertions'/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__hlds__hlds_pred__pred_info_set_assertions_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 13);
	MR_tempr2 = MR_tfield(0, MR_r2, 14);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_r1;
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tempr1;
	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(hlds__hlds_pred_module84)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_clauses_info_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_clauses_info_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_clauses_info'/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__hlds__hlds_pred__pred_info_set_clauses_info_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_r1;
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module85)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_procedures_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_procedures_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_procedures'/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__hlds__hlds_pred__pred_info_set_procedures_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 15);
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_r1;
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_r1 = MR_tempr1;
	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(map__keys_2_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module86)
	MR_init_entry1(fn__hlds__hlds_pred__pred_info_all_procids_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__pred_info_all_procids_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_all_procids'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__pred_info_all_procids_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_r3 = MR_tfield(0, MR_tempr1, 13);
	MR_np_tailcall_ent(map__keys_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(list__filter_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module87)
	MR_init_entry1(fn__hlds__hlds_pred__pred_info_procids_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__pred_info_procids_1_0);
	MR_init_label1(fn__hlds__hlds_pred__pred_info_procids_1_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_procids'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__pred_info_procids_1_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_INT_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_r3 = MR_tfield(0, MR_sv(1), 13);
	MR_np_call_localret_ent(map__keys_2_0,
		fn__hlds__hlds_pred__pred_info_procids_1_0_i2);
MR_def_label(fn__hlds__hlds_pred__pred_info_procids_1_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 4);
	MR_tfield(0, MR_r2, 0) = (MR_Word) MR_COMMON(4,0);
	MR_tfield(0, MR_r2, 1) = (MR_Word) MR_ENTRY_AP(hlds__hlds_pred__IntroducedFrom__pred__pred_info_procids__1342__1_2_0);
	MR_tfield(0, MR_r2, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_r2, 3) = MR_tfield(0, MR_sv(1), 13);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r3 = MR_tempr1;
	MR_succip_word = MR_sv(2);
	MR_decr_sp(2);
	MR_np_tailcall_ent(list__filter_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(list__delete_all_3_1);

MR_BEGIN_MODULE(hlds__hlds_pred_module88)
	MR_init_entry1(fn__hlds__hlds_pred__pred_info_non_imported_procids_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__pred_info_non_imported_procids_1_0);
	MR_init_label3(fn__hlds__hlds_pred__pred_info_non_imported_procids_1_0,4,3,26)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_non_imported_procids'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__pred_info_non_imported_procids_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 5);
	if (MR_LTAGS_TESTR(MR_r2,0,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__pred_info_non_imported_procids_1_0_i3);
	}
	MR_incr_sp(1);
	MR_sv(1) = (MR_Word) MR_succip;
	MR_np_call_localret_ent(fn__hlds__hlds_pred__pred_info_procids_1_0,
		fn__hlds__hlds_pred__pred_info_non_imported_procids_1_0_i4);
MR_def_label(fn__hlds__hlds_pred__pred_info_non_imported_procids_1_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = MR_tempr1;
	MR_r3 = (MR_Integer) 0;
	MR_succip_word = MR_sv(1);
	MR_decr_sp(1);
	MR_np_tailcall_ent(list__delete_all_3_1);
	}
MR_def_label(fn__hlds__hlds_pred__pred_info_non_imported_procids_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(((MR_tag(MR_r2) == MR_mktag((MR_Integer) 1)) || (MR_tag(MR_r2) == MR_mktag((MR_Integer) 2))))) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__pred_info_non_imported_procids_1_0_i26);
	}
	MR_r1 = (MR_Word) MR_tbmkword(0, 0);
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__pred_info_non_imported_procids_1_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(fn__hlds__hlds_pred__pred_info_procids_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(hlds__hlds_pred_module89)
	MR_init_entry1(fn__hlds__hlds_pred__pred_info_all_non_imported_procids_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__pred_info_all_non_imported_procids_1_0);
	MR_init_label3(fn__hlds__hlds_pred__pred_info_all_non_imported_procids_1_0,4,3,26)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_all_non_imported_procids'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__pred_info_all_non_imported_procids_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 5);
	if (MR_LTAGS_TESTR(MR_r2,0,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__pred_info_all_non_imported_procids_1_0_i3);
	}
	MR_incr_sp(1);
	MR_sv(1) = (MR_Word) MR_succip;
	MR_np_call_localret_ent(fn__hlds__hlds_pred__pred_info_procids_1_0,
		fn__hlds__hlds_pred__pred_info_all_non_imported_procids_1_0_i4);
MR_def_label(fn__hlds__hlds_pred__pred_info_all_non_imported_procids_1_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = MR_tempr1;
	MR_r3 = (MR_Integer) 0;
	MR_succip_word = MR_sv(1);
	MR_decr_sp(1);
	MR_np_tailcall_ent(list__delete_all_3_1);
	}
MR_def_label(fn__hlds__hlds_pred__pred_info_all_non_imported_procids_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(((MR_tag(MR_r2) == MR_mktag((MR_Integer) 1)) || (MR_tag(MR_r2) == MR_mktag((MR_Integer) 2))))) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__pred_info_all_non_imported_procids_1_0_i26);
	}
	MR_r1 = (MR_Word) MR_tbmkword(0, 0);
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__pred_info_all_non_imported_procids_1_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(fn__hlds__hlds_pred__pred_info_procids_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(hlds__hlds_pred_module90)
	MR_init_entry1(fn__hlds__hlds_pred__pred_info_exported_procids_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__pred_info_exported_procids_1_0);
	MR_init_label2(fn__hlds__hlds_pred__pred_info_exported_procids_1_0,3,5)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_exported_procids'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__pred_info_exported_procids_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 5);
	if (MR_LTAGS_TESTR(MR_r2,0,6)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__pred_info_exported_procids_1_0_i3);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(1,5,0);
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__pred_info_exported_procids_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(((((MR_Integer) MR_r2 == (MR_Integer) MR_tbmkword(0, 3)) || ((MR_Integer) MR_r2 == (MR_Integer) MR_tbmkword(0, 7))) || ((MR_Integer) MR_r2 == (MR_Integer) MR_tbmkword(0, 4))))) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__pred_info_exported_procids_1_0_i5);
	}
	MR_np_tailcall_ent(fn__hlds__hlds_pred__pred_info_procids_1_0);
MR_def_label(fn__hlds__hlds_pred__pred_info_exported_procids_1_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_tbmkword(0, 0);
	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(map__delete_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module91)
	MR_init_entry1(hlds__hlds_pred__pred_info_remove_procid_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_remove_procid_3_0);
	MR_init_label1(hlds__hlds_pred__pred_info_remove_procid_3_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_remove_procid'/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__hlds__hlds_pred__pred_info_remove_procid_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	MR_sv(2) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r2;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_tfield(0, MR_sv(1), 13);
	}
	MR_np_call_localret_ent(map__delete_3_0,
		hlds__hlds_pred__pred_info_remove_procid_3_0_i2);
MR_def_label(hlds__hlds_pred__pred_info_remove_procid_3_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 15);
	{
	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_tfield(0, MR_tempr1, 3);
	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_tfield(0, MR_r2, 9) = MR_tfield(0, MR_tempr1, 9);
	MR_tfield(0, MR_r2, 10) = MR_tfield(0, MR_tempr1, 10);
	MR_tfield(0, MR_r2, 11) = MR_tfield(0, MR_tempr1, 11);
	MR_tfield(0, MR_r2, 12) = MR_tfield(0, MR_tempr1, 12);
	MR_tfield(0, MR_r2, 13) = MR_r1;
	MR_tfield(0, MR_r2, 14) = MR_tfield(0, MR_tempr1, 14);
	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_BEGIN_MODULE(hlds__hlds_pred_module92)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_arg_types_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_arg_types_4_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_arg_types'/4 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__hlds__hlds_pred__pred_info_get_arg_types_4_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_tfield(0, MR_r1, 8);
	MR_r2 = MR_tfield(0, MR_tempr1, 10);
	MR_r3 = MR_tfield(0, MR_tempr1, 7);
	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(hlds__hlds_pred_module93)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_arg_types_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_arg_types_5_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_arg_types'/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_define_entry(mercury__hlds__hlds_pred__pred_info_set_arg_types_5_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 15);
	MR_tempr2 = MR_r4;
	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_tfield(0, MR_tempr2, 6);
	MR_tfield(0, MR_tempr1, 7) = MR_r3;
	MR_tfield(0, MR_tempr1, 8) = MR_r1;
	MR_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_r2;
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_r1 = MR_tempr1;
	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(f_108_105_115_116_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_111_114_116_95_97_110_100_95_114_101_109_111_118_101_95_100_117_112_115_95_95_91_84_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_2_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module94)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_univ_quant_tvars_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_univ_quant_tvars_2_0);
	MR_init_label2(hlds__hlds_pred__pred_info_get_univ_quant_tvars_2_0,2,4)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_univ_quant_tvars'/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__hlds__hlds_pred__pred_info_get_univ_quant_tvars_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_r1 = MR_tfield(0, MR_r1, 7);
	MR_np_call_localret_ent(parse_tree__prog_type__type_vars_list_2_0,
		hlds__hlds_pred__pred_info_get_univ_quant_tvars_2_0_i2);
MR_def_label(hlds__hlds_pred__pred_info_get_univ_quant_tvars_2_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = (MR_Word) MR_TAG_COMMON(0,1,0);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, tvar_type);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(f_108_105_115_116_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_111_114_116_95_97_110_100_95_114_101_109_111_118_101_95_100_117_112_115_95_95_91_84_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_2_0,
		hlds__hlds_pred__pred_info_get_univ_quant_tvars_2_0_i4);
MR_def_label(hlds__hlds_pred__pred_info_get_univ_quant_tvars_2_0,4)
	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_r3 = MR_tfield(0, MR_sv(1), 10);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(list__delete_elems_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(fn__f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_108_111_111_107_117_112_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_2_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module95)
	MR_init_entry1(hlds__hlds_pred__pred_info_proc_info_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_proc_info_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_proc_info'/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__hlds__hlds_pred__pred_info_proc_info_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tfield(0, MR_tempr1, 13);
	MR_r3 = MR_tempr2;
	MR_np_tailcall_ent(fn__f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_108_111_111_107_117_112_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_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__map__set_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module96)
	MR_init_entry1(hlds__hlds_pred__pred_info_set_proc_info_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_set_proc_info_4_0);
	MR_init_label1(hlds__hlds_pred__pred_info_set_proc_info_4_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_set_proc_info'/4 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__hlds__hlds_pred__pred_info_set_proc_info_4_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	MR_sv(2) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r3;
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_tempr2 = MR_r2;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_r3 = MR_tfield(0, MR_r3, 13);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_tempr2;
	}
	MR_np_call_localret_ent(fn__map__set_3_0,
		hlds__hlds_pred__pred_info_set_proc_info_4_0_i2);
MR_def_label(hlds__hlds_pred__pred_info_set_proc_info_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 15);
	{
	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_tfield(0, MR_tempr1, 3);
	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_tfield(0, MR_r2, 9) = MR_tfield(0, MR_tempr1, 9);
	MR_tfield(0, MR_r2, 10) = MR_tfield(0, MR_tempr1, 10);
	MR_tfield(0, MR_r2, 11) = MR_tfield(0, MR_tempr1, 11);
	MR_tfield(0, MR_r2, 12) = MR_tfield(0, MR_tempr1, 12);
	MR_tfield(0, MR_r2, 13) = MR_r1;
	MR_tfield(0, MR_r2, 14) = MR_tfield(0, MR_tempr1, 14);
	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_BEGIN_MODULE(hlds__hlds_pred_module97)
	MR_init_entry1(hlds__hlds_pred__pred_info_is_imported_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_is_imported_1_0);
	MR_init_label1(hlds__hlds_pred__pred_info_is_imported_1_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_is_imported'/1 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__hlds__hlds_pred__pred_info_is_imported_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 5);
	if (MR_PTAG_TEST(MR_r2,1)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_is_imported_1_0_i2);
	}
	MR_r1 = (MR_tag(MR_r2) == MR_mktag((MR_Integer) 2));
	MR_proceed();
MR_def_label(hlds__hlds_pred__pred_info_is_imported_1_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module98)
	MR_init_entry1(hlds__hlds_pred__pred_info_is_imported_not_external_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_is_imported_not_external_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_is_imported_not_external'/1 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__hlds__hlds_pred__pred_info_is_imported_not_external_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 5);
	MR_r1 = (MR_tag(MR_r2) == MR_mktag((MR_Integer) 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_BEGIN_MODULE(hlds__hlds_pred_module99)
	MR_init_entry1(hlds__hlds_pred__pred_info_is_pseudo_imported_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_is_pseudo_imported_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_is_pseudo_imported'/1 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__hlds__hlds_pred__pred_info_is_pseudo_imported_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 5);
	MR_r1 = ((MR_Integer) MR_r2 == (MR_Integer) MR_tbmkword(0, 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_BEGIN_MODULE(hlds__hlds_pred_module100)
	MR_init_entry1(hlds__hlds_pred__pred_info_is_exported_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_is_exported_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_is_exported'/1 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__hlds__hlds_pred__pred_info_is_exported_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 5);
	MR_r1 = ((MR_Integer) MR_r2 == (MR_Integer) MR_tbmkword(0, 3));
	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(hlds__hlds_pred_module101)
	MR_init_entry1(hlds__hlds_pred__pred_info_is_opt_exported_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_is_opt_exported_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_is_opt_exported'/1 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__hlds__hlds_pred__pred_info_is_opt_exported_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 5);
	MR_r1 = ((MR_Integer) MR_r2 == (MR_Integer) MR_tbmkword(0, 4));
	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(hlds__hlds_pred_module102)
	MR_init_entry1(hlds__hlds_pred__pred_info_is_exported_to_submodules_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_is_exported_to_submodules_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_is_exported_to_submodules'/1 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__hlds__hlds_pred__pred_info_is_exported_to_submodules_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 5);
	MR_r1 = ((MR_Integer) MR_r2 == (MR_Integer) MR_tbmkword(0, 7));
	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(hlds__hlds_pred_module103)
	MR_init_entry1(hlds__hlds_pred__pred_info_is_pseudo_exported_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_is_pseudo_exported_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_is_pseudo_exported'/1 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__hlds__hlds_pred__pred_info_is_pseudo_exported_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 5);
	MR_r1 = ((MR_Integer) MR_r2 == (MR_Integer) MR_tbmkword(0, 6));
	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(hlds__hlds_module__module_info_get_type_table_2_0);
MR_decl_entry(hlds__hlds_data__search_type_ctor_defn_3_0);
MR_decl_entry(hlds__hlds_data__get_type_defn_in_exported_eqv_2_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module104)
	MR_init_entry1(hlds__hlds_pred__procedure_is_exported_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__procedure_is_exported_3_0);
	MR_init_label10(hlds__hlds_pred__procedure_is_exported_3_0,9,12,14,11,16,18,19,21,35,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'procedure_is_exported'/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__hlds__hlds_pred__procedure_is_exported_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(4);
	MR_sv(4) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(0, MR_r2, 5);
	if (MR_LTAGS_TEST(MR_tempr1,0,3)) {
		MR_GOTO_LAB(hlds__hlds_pred__procedure_is_exported_3_0_i35);
	}
	if (MR_LTAGS_TEST(MR_tempr1,0,4)) {
		MR_GOTO_LAB(hlds__hlds_pred__procedure_is_exported_3_0_i35);
	}
	if (MR_LTAGS_TEST(MR_tempr1,0,7)) {
		MR_GOTO_LAB(hlds__hlds_pred__procedure_is_exported_3_0_i35);
	}
	if (MR_INT_NE(MR_r3,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__procedure_is_exported_3_0_i9);
	}
	if (MR_LTAGS_TEST(MR_tempr1,0,6)) {
		MR_GOTO_LAB(hlds__hlds_pred__procedure_is_exported_3_0_i35);
	}
	}
MR_def_label(hlds__hlds_pred__procedure_is_exported_3_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_get_import_status_2_0,
		hlds__hlds_pred__procedure_is_exported_3_0_i12);
MR_def_label(hlds__hlds_pred__procedure_is_exported_3_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,1)) {
		MR_GOTO_LAB(hlds__hlds_pred__procedure_is_exported_3_0_i11);
	}
	MR_r1 = MR_tfield(1, MR_r1, 0);
	MR_np_call_localret_ent(fn__hlds__hlds_pred__status_is_exported_1_0,
		hlds__hlds_pred__procedure_is_exported_3_0_i14);
MR_def_label(hlds__hlds_pred__procedure_is_exported_3_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_EQ(MR_r1,1)) {
		MR_GOTO_LAB(hlds__hlds_pred__procedure_is_exported_3_0_i35);
	}
MR_def_label(hlds__hlds_pred__procedure_is_exported_3_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_get_origin_2_0,
		hlds__hlds_pred__procedure_is_exported_3_0_i16);
MR_def_label(hlds__hlds_pred__procedure_is_exported_3_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__procedure_is_exported_3_0_i1);
	}
	MR_r2 = MR_sv(1);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(0, MR_r1, 0);
	MR_sv(1) = MR_tfield(0, MR_tempr1, 0);
	MR_sv(2) = MR_tfield(0, MR_tempr1, 1);
	MR_r1 = MR_r2;
	}
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_type_table_2_0,
		hlds__hlds_pred__procedure_is_exported_3_0_i18);
MR_def_label(hlds__hlds_pred__procedure_is_exported_3_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(hlds__hlds_data__search_type_ctor_defn_3_0,
		hlds__hlds_pred__procedure_is_exported_3_0_i19);
MR_def_label(hlds__hlds_pred__procedure_is_exported_3_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__procedure_is_exported_3_0_i1);
	}
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(hlds__hlds_data__get_type_defn_in_exported_eqv_2_0,
		hlds__hlds_pred__procedure_is_exported_3_0_i21);
MR_def_label(hlds__hlds_pred__procedure_is_exported_3_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (((MR_Integer) 1 != (MR_Integer) MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__procedure_is_exported_3_0_i1);
	}
	if (MR_INT_EQ(MR_sv(1),2)) {
		MR_GOTO_LAB(hlds__hlds_pred__procedure_is_exported_3_0_i35);
	}
	if (MR_INT_NE(MR_sv(1),0)) {
		MR_GOTO_LAB(hlds__hlds_pred__procedure_is_exported_3_0_i1);
	}
	MR_r1 = ((MR_Integer) MR_sv(3) == (MR_Integer) 0);
	MR_decr_sp_and_return(4);
MR_def_label(hlds__hlds_pred__procedure_is_exported_3_0,35)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(hlds__hlds_pred__procedure_is_exported_3_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	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_BEGIN_MODULE(hlds__hlds_pred_module105)
	MR_init_entry1(hlds__hlds_pred__pred_info_mark_as_external_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_mark_as_external_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_mark_as_external'/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__hlds__hlds_pred__pred_info_mark_as_external_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 1, (MR_Integer) 1);
	MR_tfield(1, MR_r2, 0) = MR_tfield(0, MR_r1, 5);
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 15);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_r1, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_r1, 1);
	MR_tfield(0, MR_tempr1, 2) = MR_tfield(0, MR_r1, 2);
	MR_tfield(0, MR_tempr1, 3) = MR_tfield(0, MR_r1, 3);
	MR_tfield(0, MR_tempr1, 4) = MR_tfield(0, MR_r1, 4);
	MR_tfield(0, MR_tempr1, 5) = MR_r2;
	MR_tfield(0, MR_tempr1, 6) = MR_tfield(0, MR_r1, 6);
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_r1, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_tfield(0, MR_r1, 8);
	MR_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r1, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r1, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r1, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r1, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r1, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r1, 14);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module106)
	MR_init_entry1(hlds__hlds_pred__pred_info_clause_goal_type_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_clause_goal_type_1_0);
	MR_init_label1(hlds__hlds_pred__pred_info_clause_goal_type_1_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_clause_goal_type'/1 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__hlds__hlds_pred__pred_info_clause_goal_type_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 1);
	if (MR_LTAGS_TEST(MR_r2,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_clause_goal_type_1_0_i2);
	}
	MR_r1 = ((MR_Integer) MR_r2 == (MR_Integer) MR_tbmkword(0, 2));
	MR_proceed();
MR_def_label(hlds__hlds_pred__pred_info_clause_goal_type_1_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module107)
	MR_init_entry1(hlds__hlds_pred__pred_info_pragma_goal_type_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_pragma_goal_type_1_0);
	MR_init_label1(hlds__hlds_pred__pred_info_pragma_goal_type_1_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_pragma_goal_type'/1 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__hlds__hlds_pred__pred_info_pragma_goal_type_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_tfield(0, MR_r1, 14), 1);
	if (MR_LTAGS_TEST(MR_r2,0,2)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_pragma_goal_type_1_0_i2);
	}
	MR_r1 = ((MR_Integer) MR_r2 == (MR_Integer) MR_tbmkword(0, 1));
	MR_proceed();
MR_def_label(hlds__hlds_pred__pred_info_pragma_goal_type_1_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(require__unexpected_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module108)
	MR_init_entry1(hlds__hlds_pred__pred_info_update_goal_type_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_update_goal_type_3_0);
	MR_init_label10(hlds__hlds_pred__pred_info_update_goal_type_3_0,6,4,3,9,13,12,11,10,16,2)
	MR_init_label2(hlds__hlds_pred__pred_info_update_goal_type_3_0,20,18)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_update_goal_type'/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__hlds__hlds_pred__pred_info_update_goal_type_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(0, MR_tfield(0, MR_r2, 14), 1);
	MR_r3 = MR_tempr1;
	if (MR_LTAGS_TESTR(MR_tempr1,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i3);
	}
	if (MR_LTAGS_TESTR(MR_r1,0,2)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i6);
	}
	MR_sv(2) = MR_r2;
	MR_r2 = MR_tempr1;
	MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i12);
	}
MR_def_label(hlds__hlds_pred__pred_info_update_goal_type_3_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i4);
	}
	MR_sv(2) = MR_r2;
	MR_r2 = MR_r3;
	MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i12);
MR_def_label(hlds__hlds_pred__pred_info_update_goal_type_3_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r2;
	MR_r2 = MR_r3;
	MR_r1 = (MR_Word) MR_tbmkword(0, 0);
	MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i2);
MR_def_label(hlds__hlds_pred__pred_info_update_goal_type_3_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r3,0,2)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i9);
	}
	MR_sv(2) = MR_r2;
	MR_r2 = MR_r3;
	MR_r1 = MR_r2;
	MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i2);
MR_def_label(hlds__hlds_pred__pred_info_update_goal_type_3_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r3,0,1)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i10);
	}
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i13);
	}
	MR_sv(2) = MR_r2;
	MR_r2 = MR_r3;
	MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i12);
MR_def_label(hlds__hlds_pred__pred_info_update_goal_type_3_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,2)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i11);
	}
	MR_sv(2) = MR_r2;
	MR_r2 = MR_r3;
MR_def_label(hlds__hlds_pred__pred_info_update_goal_type_3_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_tbmkword(0, 2);
	MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i2);
MR_def_label(hlds__hlds_pred__pred_info_update_goal_type_3_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r2;
	MR_r2 = MR_r3;
	MR_r1 = (MR_Word) MR_tbmkword(0, 1);
	MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i2);
MR_def_label(hlds__hlds_pred__pred_info_update_goal_type_3_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r3,0,3)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i16);
	}
	MR_sv(2) = MR_r2;
	MR_r2 = MR_r3;
	MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i2);
MR_def_label(hlds__hlds_pred__pred_info_update_goal_type_3_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("hlds.hlds_pred", 14);
	MR_sv(2) = MR_r2;
	MR_r2 = (MR_Word) MR_string_const("predicate \140hlds.hlds_pred.pred_info_update_goal_type\'/3", 55);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r3;
	MR_r3 = (MR_Word) MR_string_const("promise", 7);
	}
	MR_np_call_localret_ent(require__unexpected_3_0,
		hlds__hlds_pred__pred_info_update_goal_type_3_0_i2);
MR_def_label(hlds__hlds_pred__pred_info_update_goal_type_3_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_np_call_localret_ent(__Unify___hlds__hlds_pred__goal_type_0_0,
		hlds__hlds_pred__pred_info_update_goal_type_3_0_i20);
MR_def_label(hlds__hlds_pred__pred_info_update_goal_type_3_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_update_goal_type_3_0_i18);
	}
	MR_r1 = MR_sv(2);
	MR_decr_sp_and_return(3);
MR_def_label(hlds__hlds_pred__pred_info_update_goal_type_3_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 13);
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr2 = MR_sv(2);
	MR_tempr1 = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_r2, 0) = MR_tfield(0, MR_tempr1, 0);
	MR_tfield(0, MR_r2, 1) = MR_r1;
	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_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_tfield(0, MR_r2, 9) = MR_tfield(0, MR_tempr1, 9);
	MR_tfield(0, MR_r2, 10) = MR_tfield(0, MR_tempr1, 10);
	MR_tfield(0, MR_r2, 11) = MR_tfield(0, MR_tempr1, 11);
	MR_tfield(0, MR_r2, 12) = MR_tfield(0, MR_tempr1, 12);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 15);
	MR_tfield(0, MR_r1, 0) = MR_tfield(0, MR_tempr2, 0);
	MR_tfield(0, MR_r1, 1) = MR_tfield(0, MR_tempr2, 1);
	MR_tfield(0, MR_r1, 2) = MR_tfield(0, MR_tempr2, 2);
	MR_tfield(0, MR_r1, 3) = MR_tfield(0, MR_tempr2, 3);
	MR_tfield(0, MR_r1, 4) = MR_tfield(0, MR_tempr2, 4);
	MR_tfield(0, MR_r1, 5) = MR_tfield(0, MR_tempr2, 5);
	MR_tfield(0, MR_r1, 6) = MR_tfield(0, MR_tempr2, 6);
	MR_tfield(0, MR_r1, 7) = MR_tfield(0, MR_tempr2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_tempr2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_r1, 14) = MR_r2;
	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(hlds__hlds_pred_module109)
	MR_init_entry1(hlds__hlds_pred__pred_info_requested_inlining_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_requested_inlining_1_0);
	MR_init_label2(hlds__hlds_pred__pred_info_requested_inlining_1_0,4,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_requested_inlining'/1 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__hlds__hlds_pred__pred_info_requested_inlining_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	MR_sv(2) = (MR_Word) MR_succip;
	MR_r3 = MR_tfield(0, MR_r1, 6);
	MR_sv(1) = MR_r3;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_r2 = (MR_Integer) 6;
	MR_np_call_localret_ent(list__member_2_0,
		hlds__hlds_pred__pred_info_requested_inlining_1_0_i4);
MR_def_label(hlds__hlds_pred__pred_info_requested_inlining_1_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_r1) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_requested_inlining_1_0_i2);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_r2 = (MR_Integer) 8;
	MR_r3 = MR_sv(1);
	MR_succip_word = MR_sv(2);
	MR_decr_sp(2);
	MR_np_tailcall_ent(list__member_2_0);
MR_def_label(hlds__hlds_pred__pred_info_requested_inlining_1_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(2);
	MR_decr_sp(2);
	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_BEGIN_MODULE(hlds__hlds_pred_module110)
	MR_init_entry1(hlds__hlds_pred__pred_info_requested_no_inlining_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_requested_no_inlining_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_requested_no_inlining'/1 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__hlds__hlds_pred__pred_info_requested_no_inlining_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_r2 = (MR_Integer) 7;
	MR_r3 = MR_tfield(0, MR_tempr1, 6);
	MR_np_tailcall_ent(list__member_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(hlds__hlds_pred_module111)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_purity_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_purity_2_0);
	MR_init_label4(hlds__hlds_pred__pred_info_get_purity_2_0,3,2,6,5)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_purity'/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__hlds__hlds_pred__pred_info_get_purity_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	MR_sv(2) = (MR_Word) MR_succip;
	MR_r3 = MR_tfield(0, MR_r1, 6);
	MR_sv(1) = MR_r3;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_r2 = (MR_Integer) 12;
	MR_np_call_localret_ent(list__member_2_0,
		hlds__hlds_pred__pred_info_get_purity_2_0_i3);
MR_def_label(hlds__hlds_pred__pred_info_get_purity_2_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_get_purity_2_0_i2);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(2);
MR_def_label(hlds__hlds_pred__pred_info_get_purity_2_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_r2 = (MR_Integer) 13;
	MR_r3 = MR_sv(1);
	MR_np_call_localret_ent(list__member_2_0,
		hlds__hlds_pred__pred_info_get_purity_2_0_i6);
MR_def_label(hlds__hlds_pred__pred_info_get_purity_2_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_get_purity_2_0_i5);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(2);
MR_def_label(hlds__hlds_pred__pred_info_get_purity_2_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	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(hlds__hlds_pred_module112)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_promised_purity_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_promised_purity_2_0);
	MR_init_label4(hlds__hlds_pred__pred_info_get_promised_purity_2_0,3,2,6,5)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_promised_purity'/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__hlds__hlds_pred__pred_info_get_promised_purity_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	MR_sv(2) = (MR_Word) MR_succip;
	MR_r3 = MR_tfield(0, MR_r1, 6);
	MR_sv(1) = MR_r3;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_r2 = (MR_Integer) 14;
	MR_np_call_localret_ent(list__member_2_0,
		hlds__hlds_pred__pred_info_get_promised_purity_2_0_i3);
MR_def_label(hlds__hlds_pred__pred_info_get_promised_purity_2_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_get_promised_purity_2_0_i2);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(2);
MR_def_label(hlds__hlds_pred__pred_info_get_promised_purity_2_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_r2 = (MR_Integer) 15;
	MR_r3 = MR_sv(1);
	MR_np_call_localret_ent(list__member_2_0,
		hlds__hlds_pred__pred_info_get_promised_purity_2_0_i6);
MR_def_label(hlds__hlds_pred__pred_info_get_promised_purity_2_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_get_promised_purity_2_0_i5);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(2);
MR_def_label(hlds__hlds_pred__pred_info_get_promised_purity_2_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 2;
	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(hlds__hlds_pred_module113)
	MR_init_entry1(hlds__hlds_pred__pred_info_infer_modes_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_infer_modes_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_infer_modes'/1 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__hlds__hlds_pred__pred_info_infer_modes_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_r2 = (MR_Integer) 3;
	MR_r3 = MR_tfield(0, MR_tempr1, 6);
	MR_np_tailcall_ent(list__member_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(hlds__hlds_pred_module114)
	MR_init_entry1(hlds__hlds_pred__purity_to_markers_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__purity_to_markers_2_0);
	MR_init_label2(hlds__hlds_pred__purity_to_markers_2_0,3,5)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'purity_to_markers'/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__hlds__hlds_pred__purity_to_markers_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,2)) {
		MR_GOTO_LAB(hlds__hlds_pred__purity_to_markers_2_0_i3);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(1,5,1);
	MR_proceed();
MR_def_label(hlds__hlds_pred__purity_to_markers_2_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__purity_to_markers_2_0_i5);
	}
	MR_r1 = (MR_Word) MR_tbmkword(0, 0);
	MR_proceed();
MR_def_label(hlds__hlds_pred__purity_to_markers_2_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_TAG_COMMON(1,5,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_BEGIN_MODULE(hlds__hlds_pred_module115)
	MR_init_entry1(hlds__hlds_pred__terminates_to_markers_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__terminates_to_markers_2_0);
	MR_init_label2(hlds__hlds_pred__terminates_to_markers_2_0,3,4)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'terminates_to_markers'/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__hlds__hlds_pred__terminates_to_markers_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,2)) {
		MR_GOTO_LAB(hlds__hlds_pred__terminates_to_markers_2_0_i3);
	}
	MR_r1 = (MR_Word) MR_tbmkword(0, 0);
	MR_proceed();
MR_def_label(hlds__hlds_pred__terminates_to_markers_2_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,1)) {
		MR_GOTO_LAB(hlds__hlds_pred__terminates_to_markers_2_0_i4);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(1,5,3);
	MR_proceed();
MR_def_label(hlds__hlds_pred__terminates_to_markers_2_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_TAG_COMMON(1,5,4);
	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(hlds__hlds_pred_module116)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_sym_name_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_sym_name_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_sym_name'/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__hlds__hlds_pred__pred_info_get_sym_name_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_r2, 0) = MR_tfield(0, MR_r1, 0);
	MR_tfield(1, MR_r2, 1) = MR_tfield(0, MR_r1, 1);
	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(hlds__hlds_pred_module117)
	MR_init_entry1(hlds__hlds_pred__pred_info_get_call_id_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_get_call_id_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_get_call_id'/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__hlds__hlds_pred__pred_info_get_call_id_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_r2, 0) = MR_tfield(0, MR_r1, 0);
	MR_tfield(1, MR_r2, 1) = MR_tfield(0, MR_r1, 1);
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_r1, 3);
	MR_tfield(0, MR_tempr1, 1) = MR_r2;
	MR_tfield(0, MR_tempr1, 2) = MR_tfield(0, MR_r1, 2);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module118)
	MR_init_entry1(hlds__hlds_pred__init_markers_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__init_markers_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'init_markers'/1 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__hlds__hlds_pred__init_markers_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_tbmkword(0, 0);
	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(hlds__hlds_pred_module119)
	MR_init_entry1(hlds__hlds_pred__add_marker_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__add_marker_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'add_marker'/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__hlds__hlds_pred__add_marker_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r1;
	MR_tfield(1, MR_tempr1, 1) = MR_r2;
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module120)
	MR_init_entry1(hlds__hlds_pred__remove_marker_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__remove_marker_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'remove_marker'/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__hlds__hlds_pred__remove_marker_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_r3 = MR_tempr1;
	MR_np_tailcall_ent(list__delete_all_3_1);
	}
#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(hlds__hlds_pred_module121)
	MR_init_entry1(hlds__hlds_pred__markers_to_marker_list_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__markers_to_marker_list_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'markers_to_marker_list'/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__hlds__hlds_pred__markers_to_marker_list_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module122)
	MR_init_entry1(hlds__hlds_pred__marker_list_to_markers_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__marker_list_to_markers_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'marker_list_to_markers'/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__hlds__hlds_pred__marker_list_to_markers_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module123)
	MR_init_entry1(hlds__hlds_pred__init_attributes_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__init_attributes_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'init_attributes'/1 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__hlds__hlds_pred__init_attributes_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_tbmkword(0, 0);
	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(hlds__hlds_pred_module124)
	MR_init_entry1(hlds__hlds_pred__check_attribute_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__check_attribute_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'check_attribute'/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__hlds__hlds_pred__check_attribute_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, attribute);
	MR_r3 = MR_tempr1;
	MR_np_tailcall_ent(list__member_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(hlds__hlds_pred_module125)
	MR_init_entry1(hlds__hlds_pred__add_attribute_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__add_attribute_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'add_attribute'/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__hlds__hlds_pred__add_attribute_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r1;
	MR_tfield(1, MR_tempr1, 1) = MR_r2;
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module126)
	MR_init_entry1(hlds__hlds_pred__remove_attribute_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__remove_attribute_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'remove_attribute'/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__hlds__hlds_pred__remove_attribute_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, attribute);
	MR_r3 = MR_tempr1;
	MR_np_tailcall_ent(list__delete_all_3_1);
	}
#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(hlds__hlds_pred_module127)
	MR_init_entry1(hlds__hlds_pred__attributes_to_attribute_list_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__attributes_to_attribute_list_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'attributes_to_attribute_list'/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__hlds__hlds_pred__attributes_to_attribute_list_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module128)
	MR_init_entry1(hlds__hlds_pred__attribute_list_to_attributes_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__attribute_list_to_attributes_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'attribute_list_to_attributes'/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__hlds__hlds_pred__attribute_list_to_attributes_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_pred_module129)
	MR_init_entry1(fn__hlds__hlds_pred__table_step_stats_kind_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__table_step_stats_kind_1_0);
	MR_init_label5(fn__hlds__hlds_pred__table_step_stats_kind_1_0,3,4,13,7,9)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'table_step_stats_kind'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__table_step_stats_kind_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!((((MR_Integer) MR_r1 == (MR_Integer) MR_tbmkword(0, 0)) || ((MR_Integer) MR_r1 == (MR_Integer) MR_tbmkword(0, 8))))) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__table_step_stats_kind_1_0_i3);
	}
	MR_r1 = (MR_Word) MR_string_const("MR_TABLE_STATS_DETAIL_NONE", 26);
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__table_step_stats_kind_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__table_step_stats_kind_1_0_i4);
	}
	MR_r1 = (MR_Word) MR_string_const("MR_TABLE_STATS_DETAIL_ENUM", 26);
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__table_step_stats_kind_1_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__table_step_stats_kind_1_0_i13);
	}
	MR_r2 = MR_tfield(2, MR_r1, 2);
	if (MR_INT_NE(MR_r2,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__table_step_stats_kind_1_0_i7);
	}
MR_def_label(fn__hlds__hlds_pred__table_step_stats_kind_1_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("MR_TABLE_STATS_DETAIL_HASH", 26);
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__table_step_stats_kind_1_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(2, MR_r1, 1);
	if (MR_INT_NE(MR_r2,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__table_step_stats_kind_1_0_i9);
	}
	MR_r1 = (MR_Word) MR_string_const("MR_TABLE_STATS_DETAIL_DU", 24);
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__table_step_stats_kind_1_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("MR_TABLE_STATS_DETAIL_POLY", 26);
	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__varset__init_0_0);
MR_decl_entry(parse_tree__prog_util__make_n_fresh_vars_5_0);
MR_decl_entry(varset__init_1_0);
MR_decl_entry(map__from_corresponding_lists_3_0);
MR_decl_entry(hlds__hlds_goal__goal_info_init_1_0);
MR_decl_entry(hlds__hlds_rtti__rtti_varmaps_init_1_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module130)
	MR_init_entry1(hlds__hlds_pred__proc_info_init_11_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_init_11_0);
	MR_init_label9(hlds__hlds_pred__proc_info_init_11_0,2,3,4,6,7,8,9,12,13)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_init'/11 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__hlds__hlds_pred__proc_info_init_11_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(17);
	MR_sv(17) = (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_sv(5) = MR_r5;
	MR_sv(6) = MR_r6;
	MR_sv(7) = MR_r7;
	MR_sv(8) = MR_r8;
	MR_sv(9) = MR_r9;
	MR_sv(10) = MR_r10;
	MR_sv(12) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_r1 = MR_sv(12);
	MR_np_call_localret_ent(fn__varset__init_0_0,
		hlds__hlds_pred__proc_info_init_11_0_i2);
MR_def_label(hlds__hlds_pred__proc_info_init_11_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(12);
	MR_r2 = (MR_Word) MR_string_const("HeadVar__", 9);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(parse_tree__prog_util__make_n_fresh_vars_5_0,
		hlds__hlds_pred__proc_info_init_11_0_i3);
MR_def_label(hlds__hlds_pred__proc_info_init_11_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_sv(11) = MR_r2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, inst_var_type);
	MR_np_call_localret_ent(varset__init_1_0,
		hlds__hlds_pred__proc_info_init_11_0_i4);
MR_def_label(hlds__hlds_pred__proc_info_init_11_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_sv(3) = MR_r1;
	MR_sv(13) = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r1 = MR_sv(13);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(map__from_corresponding_lists_3_0,
		hlds__hlds_pred__proc_info_init_11_0_i6);
MR_def_label(hlds__hlds_pred__proc_info_init_11_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(12) = MR_r1;
	MR_r1 = MR_sv(13);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_llds, stack_slot);
	MR_np_call_localret_ent(map__init_1_0,
		hlds__hlds_pred__proc_info_init_11_0_i7);
MR_def_label(hlds__hlds_pred__proc_info_init_11_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(13) = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_np_call_localret_ent(set__init_1_0,
		hlds__hlds_pred__proc_info_init_11_0_i8);
MR_def_label(hlds__hlds_pred__proc_info_init_11_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(14) = MR_r1;
	MR_np_call_localret_ent(hlds__hlds_goal__goal_info_init_1_0,
		hlds__hlds_pred__proc_info_init_11_0_i9);
MR_def_label(hlds__hlds_pred__proc_info_init_11_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_sv(15) = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_TAG_COMMON(3,6,0);
	MR_tfield(0, MR_tempr1, 1) = MR_r1;
	}
	MR_np_call_localret_ent(hlds__hlds_rtti__rtti_varmaps_init_1_0,
		hlds__hlds_pred__proc_info_init_11_0_i12);
MR_def_label(hlds__hlds_pred__proc_info_init_11_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(16) = MR_r1;
	MR_np_call_localret_ent(fn__transform_hlds__term_constr_main__term2_info_init_0_0,
		hlds__hlds_pred__proc_info_init_11_0_i13);
MR_def_label(hlds__hlds_pred__proc_info_init_11_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 22);
	MR_tfield(0, MR_r2, 0) = MR_sv(7);
	MR_tfield(0, MR_r2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 2) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 3) = MR_r1;
	MR_tfield(0, MR_r2, 4) = MR_sv(9);
	MR_tfield(0, MR_r2, 5) = MR_sv(13);
	MR_tfield(0, MR_r2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 7) = MR_sv(14);
	MR_tfield(0, MR_r2, 8) = (MR_Integer) 0;
	MR_tfield(0, MR_r2, 9) = (MR_Integer) 0;
	MR_tfield(0, MR_r2, 10) = (MR_Integer) 0;
	MR_tfield(0, MR_r2, 11) = (MR_Integer) 1;
	MR_tfield(0, MR_r2, 12) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 13) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 14) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 15) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 16) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 17) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 18) = MR_sv(10);
	MR_tfield(0, MR_r2, 19) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 20) = (MR_Word) MR_TAG_COMMON(0,1,2);
	MR_tfield(0, MR_r2, 21) = (MR_Word) MR_TAG_COMMON(0,1,2);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	MR_tfield(0, MR_r1, 0) = MR_sv(1);
	MR_tfield(0, MR_r1, 1) = MR_sv(11);
	MR_tfield(0, MR_r1, 2) = MR_sv(12);
	MR_tfield(0, MR_r1, 3) = MR_sv(2);
	MR_tfield(0, MR_r1, 4) = MR_sv(3);
	MR_tfield(0, MR_r1, 5) = MR_sv(4);
	MR_tfield(0, MR_r1, 6) = MR_sv(5);
	MR_tfield(0, MR_r1, 7) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 8) = MR_sv(6);
	MR_tfield(0, MR_r1, 9) = MR_sv(8);
	MR_tfield(0, MR_r1, 10) = (MR_Integer) 6;
	MR_tfield(0, MR_r1, 11) = MR_sv(15);
	MR_tfield(0, MR_r1, 12) = (MR_Integer) 1;
	MR_tfield(0, MR_r1, 13) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 14) = MR_sv(16);
	MR_tfield(0, MR_r1, 15) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 16) = MR_r2;
	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(hlds__hlds_pred_module131)
	MR_init_entry1(hlds__hlds_pred__proc_info_create_13_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_create_13_0);
	MR_init_label3(hlds__hlds_pred__proc_info_create_13_0,4,5,6)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_create'/13 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__hlds__hlds_pred__proc_info_create_13_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(16);
	MR_sv(16) = (MR_Word) MR_succip;
	MR_tag_alloc_heap(MR_sv(13), 1, (MR_Integer) 1);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r8;
	MR_tfield(1, MR_sv(13), 0) = MR_tempr1;
	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_r7;
	MR_sv(8) = MR_tempr1;
	MR_sv(9) = MR_r9;
	MR_sv(10) = MR_r10;
	MR_sv(11) = MR_r11;
	MR_sv(12) = MR_r12;
	MR_sv(14) = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r1 = MR_sv(14);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_llds, stack_slot);
	}
	MR_np_call_localret_ent(map__init_1_0,
		hlds__hlds_pred__proc_info_create_13_0_i4);
MR_def_label(hlds__hlds_pred__proc_info_create_13_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(14) = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_np_call_localret_ent(set__init_1_0,
		hlds__hlds_pred__proc_info_create_13_0_i5);
MR_def_label(hlds__hlds_pred__proc_info_create_13_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(15) = MR_r1;
	MR_np_call_localret_ent(fn__transform_hlds__term_constr_main__term2_info_init_0_0,
		hlds__hlds_pred__proc_info_create_13_0_i6);
MR_def_label(hlds__hlds_pred__proc_info_create_13_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 22);
	MR_tfield(0, MR_r2, 0) = MR_sv(7);
	MR_tfield(0, MR_r2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 2) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 3) = MR_r1;
	MR_tfield(0, MR_r2, 4) = MR_sv(11);
	MR_tfield(0, MR_r2, 5) = MR_sv(14);
	MR_tfield(0, MR_r2, 6) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 7) = MR_sv(15);
	MR_tfield(0, MR_r2, 8) = (MR_Integer) 0;
	MR_tfield(0, MR_r2, 9) = (MR_Integer) 0;
	MR_tfield(0, MR_r2, 10) = (MR_Integer) 0;
	MR_tfield(0, MR_r2, 11) = (MR_Integer) 1;
	MR_tfield(0, MR_r2, 12) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 13) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 14) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 15) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 16) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 17) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 18) = MR_sv(12);
	MR_tfield(0, MR_r2, 19) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 20) = (MR_Word) MR_TAG_COMMON(0,1,2);
	MR_tfield(0, MR_r2, 21) = (MR_Word) MR_TAG_COMMON(0,1,2);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	MR_tfield(0, MR_r1, 0) = MR_sv(1);
	MR_tfield(0, MR_r1, 1) = MR_sv(2);
	MR_tfield(0, MR_r1, 2) = MR_sv(3);
	MR_tfield(0, MR_r1, 3) = MR_sv(4);
	MR_tfield(0, MR_r1, 4) = MR_sv(5);
	MR_tfield(0, MR_r1, 5) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 6) = MR_sv(6);
	MR_tfield(0, MR_r1, 7) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 8) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 9) = MR_sv(13);
	MR_tfield(0, MR_r1, 10) = MR_sv(8);
	MR_tfield(0, MR_r1, 11) = MR_sv(9);
	MR_tfield(0, MR_r1, 12) = (MR_Integer) 1;
	MR_tfield(0, MR_r1, 13) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 14) = MR_sv(10);
	MR_tfield(0, MR_r1, 15) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r1, 16) = MR_r2;
	MR_decr_sp_and_return(16);
#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(hlds__hlds_pred_module132)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_body_7_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_body_7_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_body'/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_define_entry(mercury__hlds__hlds_pred__proc_info_set_body_7_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	MR_tempr2 = MR_r6;
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr2, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_r1;
	MR_tfield(0, MR_tempr1, 2) = MR_r2;
	MR_tfield(0, MR_tempr1, 3) = MR_r3;
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_r4;
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_r5;
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module133)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_context_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_context_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_context'/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__hlds__hlds_pred__proc_info_get_context_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 0);
	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(hlds__hlds_pred_module134)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_inst_varset_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_inst_varset_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_inst_varset'/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__hlds__hlds_pred__proc_info_get_inst_varset_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 4);
	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(hlds__hlds_pred_module135)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_maybe_declared_argmodes_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_maybe_declared_argmodes_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_maybe_declared_argmodes'/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__hlds__hlds_pred__proc_info_get_maybe_declared_argmodes_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 5);
	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(hlds__hlds_pred_module136)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_argmodes_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_argmodes_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_argmodes'/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__hlds__hlds_pred__proc_info_get_argmodes_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 6);
	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(hlds__hlds_pred_module137)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_maybe_arglives_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_maybe_arglives_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_maybe_arglives'/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__hlds__hlds_pred__proc_info_get_maybe_arglives_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 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_BEGIN_MODULE(hlds__hlds_pred_module138)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_declared_determinism_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_declared_determinism_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_declared_determinism'/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__hlds__hlds_pred__proc_info_get_declared_determinism_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 9);
	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(hlds__hlds_pred_module139)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_inferred_determinism_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_inferred_determinism_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_inferred_determinism'/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__hlds__hlds_pred__proc_info_get_inferred_determinism_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 10);
	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(hlds__hlds_pred_module140)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_detism_decl_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_detism_decl_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_detism_decl'/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__hlds__hlds_pred__proc_info_get_detism_decl_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 0);
	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(hlds__hlds_pred_module141)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_goal_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_goal_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_goal'/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__hlds__hlds_pred__proc_info_get_goal_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 11);
	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(hlds__hlds_pred_module142)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_can_process_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_can_process_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_can_process'/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__hlds__hlds_pred__proc_info_get_can_process_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 12);
	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(hlds__hlds_pred_module143)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_eval_method_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_eval_method_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_eval_method'/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__hlds__hlds_pred__proc_info_get_eval_method_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 15);
	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(hlds__hlds_pred_module144)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_maybe_arg_size_info_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_maybe_arg_size_info_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_maybe_arg_size_info'/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__hlds__hlds_pred__proc_info_get_maybe_arg_size_info_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 1);
	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(hlds__hlds_pred_module145)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_maybe_termination_info_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_maybe_termination_info_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_maybe_termination_info'/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__hlds__hlds_pred__proc_info_get_maybe_termination_info_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 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_BEGIN_MODULE(hlds__hlds_pred_module146)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_is_address_taken_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_is_address_taken_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_is_address_taken'/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__hlds__hlds_pred__proc_info_get_is_address_taken_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 4);
	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(hlds__hlds_pred_module147)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_stack_slots_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_stack_slots_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_stack_slots'/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__hlds__hlds_pred__proc_info_get_stack_slots_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 5);
	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(hlds__hlds_pred_module148)
	MR_init_entry1(hlds__hlds_pred__proc_info_maybe_arg_info_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_maybe_arg_info_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_maybe_arg_info'/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__hlds__hlds_pred__proc_info_maybe_arg_info_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 6);
	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(hlds__hlds_pred_module149)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_liveness_info_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_liveness_info_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_liveness_info'/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__hlds__hlds_pred__proc_info_get_liveness_info_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 7);
	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(hlds__hlds_pred_module150)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_need_maxfr_slot_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_need_maxfr_slot_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_need_maxfr_slot'/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__hlds__hlds_pred__proc_info_get_need_maxfr_slot_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 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_BEGIN_MODULE(hlds__hlds_pred_module151)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_has_user_event_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_has_user_event_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_has_user_event'/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__hlds__hlds_pred__proc_info_get_has_user_event_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 9);
	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(hlds__hlds_pred_module152)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_has_parallel_conj_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_has_parallel_conj_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_has_parallel_conj'/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__hlds__hlds_pred__proc_info_get_has_parallel_conj_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 10);
	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(hlds__hlds_pred_module153)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_has_tail_call_events_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_has_tail_call_events_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_has_tail_call_events'/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__hlds__hlds_pred__proc_info_get_has_tail_call_events_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 11);
	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(hlds__hlds_pred_module154)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_call_table_tip_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_call_table_tip_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_call_table_tip'/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__hlds__hlds_pred__proc_info_get_call_table_tip_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 12);
	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(hlds__hlds_pred_module155)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_maybe_proc_table_io_info_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_maybe_proc_table_io_info_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_maybe_proc_table_io_info'/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__hlds__hlds_pred__proc_info_get_maybe_proc_table_io_info_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 13);
	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(hlds__hlds_pred_module156)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_table_attributes_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_table_attributes_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_table_attributes'/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__hlds__hlds_pred__proc_info_get_table_attributes_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 14);
	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(hlds__hlds_pred_module157)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_maybe_special_return_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_maybe_special_return_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_maybe_special_return'/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__hlds__hlds_pred__proc_info_get_maybe_special_return_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 15);
	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(hlds__hlds_pred_module158)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_maybe_deep_profile_info_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_maybe_deep_profile_info_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_maybe_deep_profile_info'/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__hlds__hlds_pred__proc_info_get_maybe_deep_profile_info_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 16);
	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(hlds__hlds_pred_module159)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_maybe_untuple_info_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_maybe_untuple_info_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_maybe_untuple_info'/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__hlds__hlds_pred__proc_info_get_maybe_untuple_info_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 17);
	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(hlds__hlds_pred_module160)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_var_name_remap_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_var_name_remap_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_var_name_remap'/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__hlds__hlds_pred__proc_info_get_var_name_remap_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 18);
	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(hlds__hlds_pred_module161)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_statevar_warnings_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_statevar_warnings_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_statevar_warnings'/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__hlds__hlds_pred__proc_info_get_statevar_warnings_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 19);
	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(hlds__hlds_pred_module162)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_varset_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_varset_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_varset'/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__hlds__hlds_pred__proc_info_set_varset_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_r2, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_r1;
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_r2, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module163)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_vartypes_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_vartypes_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_vartypes'/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__hlds__hlds_pred__proc_info_set_vartypes_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	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_r1;
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_r2, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module164)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_headvars_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_headvars_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_headvars'/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__hlds__hlds_pred__proc_info_set_headvars_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	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_r1;
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_r2, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module165)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_inst_varset_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_inst_varset_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_inst_varset'/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__hlds__hlds_pred__proc_info_set_inst_varset_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	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_r1;
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_r2, 5);
	MR_tfield(0, MR_tempr1, 6) = MR_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_r2, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module166)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_maybe_declared_argmodes_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_maybe_declared_argmodes_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_maybe_declared_argmodes'/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__hlds__hlds_pred__proc_info_set_maybe_declared_argmodes_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	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_r1;
	MR_tfield(0, MR_tempr1, 6) = MR_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_r2, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module167)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_argmodes_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_argmodes_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_argmodes'/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__hlds__hlds_pred__proc_info_set_argmodes_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	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_r1;
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_r2, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module168)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_maybe_arglives_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_maybe_arglives_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_maybe_arglives'/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__hlds__hlds_pred__proc_info_set_maybe_arglives_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 6);
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_r1;
	MR_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_r2, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module169)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_inferred_determinism_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_inferred_determinism_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_inferred_determinism'/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__hlds__hlds_pred__proc_info_set_inferred_determinism_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_r1;
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_r2, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module170)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_detism_decl_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_detism_decl_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_detism_decl'/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__hlds__hlds_pred__proc_info_set_detism_decl_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module171)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_goal_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_goal_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_goal'/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__hlds__hlds_pred__proc_info_set_goal_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_r1;
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_r2, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module172)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_can_process_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_can_process_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_can_process'/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__hlds__hlds_pred__proc_info_set_can_process_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_r1;
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_r2, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module173)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_rtti_varmaps_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_rtti_varmaps_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_rtti_varmaps'/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__hlds__hlds_pred__proc_info_set_rtti_varmaps_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_r1;
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_r2, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module174)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_eval_method_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_eval_method_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_eval_method'/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__hlds__hlds_pred__proc_info_set_eval_method_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 6);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_r1;
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_r2, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module175)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_maybe_arg_size_info_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_maybe_arg_size_info_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_maybe_arg_size_info'/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__hlds__hlds_pred__proc_info_set_maybe_arg_size_info_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_tempr2, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_r1;
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module176)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_address_taken_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_address_taken_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_address_taken'/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__hlds__hlds_pred__proc_info_set_address_taken_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module177)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_stack_slots_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_stack_slots_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_stack_slots'/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__hlds__hlds_pred__proc_info_set_stack_slots_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_r1;
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module178)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_arg_info_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_arg_info_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_arg_info'/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__hlds__hlds_pred__proc_info_set_arg_info_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 1);
	MR_tfield(1, MR_tempr1, 0) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 22);
	MR_tempr3 = MR_tfield(0, MR_r2, 16);
	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_tempr1;
	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_tfield(0, MR_tempr2, 9) = MR_tfield(0, MR_tempr3, 9);
	MR_tfield(0, MR_tempr2, 10) = MR_tfield(0, MR_tempr3, 10);
	MR_tfield(0, MR_tempr2, 11) = MR_tfield(0, MR_tempr3, 11);
	MR_tfield(0, MR_tempr2, 12) = MR_tfield(0, MR_tempr3, 12);
	MR_tfield(0, MR_tempr2, 13) = MR_tfield(0, MR_tempr3, 13);
	MR_tfield(0, MR_tempr2, 14) = MR_tfield(0, MR_tempr3, 14);
	MR_tfield(0, MR_tempr2, 15) = MR_tfield(0, MR_tempr3, 15);
	MR_tfield(0, MR_tempr2, 16) = MR_tfield(0, MR_tempr3, 16);
	MR_tfield(0, MR_tempr2, 17) = MR_tfield(0, MR_tempr3, 17);
	MR_tfield(0, MR_tempr2, 18) = MR_tfield(0, MR_tempr3, 18);
	MR_tfield(0, MR_tempr2, 19) = MR_tfield(0, MR_tempr3, 19);
	MR_tfield(0, MR_tempr2, 20) = MR_tfield(0, MR_tempr3, 20);
	MR_tfield(0, MR_tempr2, 21) = MR_tfield(0, MR_tempr3, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr2;
	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(hlds__hlds_pred_module179)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_liveness_info_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_liveness_info_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_liveness_info'/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__hlds__hlds_pred__proc_info_set_liveness_info_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_tfield(0, MR_tempr2, 6);
	MR_tfield(0, MR_tempr1, 7) = MR_r1;
	MR_tfield(0, MR_tempr1, 8) = MR_tfield(0, MR_tempr2, 8);
	MR_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module180)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_need_maxfr_slot_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_need_maxfr_slot_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_need_maxfr_slot'/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__hlds__hlds_pred__proc_info_set_need_maxfr_slot_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_tfield(0, MR_tempr2, 6);
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_tempr2, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_r1;
	MR_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module181)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_has_user_event_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_has_user_event_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_has_user_event'/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__hlds__hlds_pred__proc_info_set_has_user_event_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_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_tfield(0, MR_tempr1, 9) = MR_r1;
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module182)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_has_parallel_conj_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_has_parallel_conj_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_has_parallel_conj'/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__hlds__hlds_pred__proc_info_set_has_parallel_conj_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_r1;
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module183)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_has_tail_call_events_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_has_tail_call_events_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_has_tail_call_events'/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__hlds__hlds_pred__proc_info_set_has_tail_call_events_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_r1;
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module184)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_call_table_tip_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_call_table_tip_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_call_table_tip'/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__hlds__hlds_pred__proc_info_set_call_table_tip_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_r1;
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module185)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_maybe_proc_table_io_info_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_maybe_proc_table_io_info_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_maybe_proc_table_io_info'/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__hlds__hlds_pred__proc_info_set_maybe_proc_table_io_info_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_r1;
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module186)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_table_attributes_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_table_attributes_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_table_attributes'/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__hlds__hlds_pred__proc_info_set_table_attributes_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_r1;
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module187)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_maybe_special_return_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_maybe_special_return_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_maybe_special_return'/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__hlds__hlds_pred__proc_info_set_maybe_special_return_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_r1;
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module188)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_maybe_deep_profile_info_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_maybe_deep_profile_info_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_maybe_deep_profile_info'/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__hlds__hlds_pred__proc_info_set_maybe_deep_profile_info_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_r1;
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module189)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_maybe_untuple_info_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_maybe_untuple_info_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_maybe_untuple_info'/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__hlds__hlds_pred__proc_info_set_maybe_untuple_info_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_r1;
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module190)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_var_name_remap_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_var_name_remap_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_var_name_remap'/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__hlds__hlds_pred__proc_info_set_var_name_remap_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_r1;
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module191)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_statevar_warnings_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_statevar_warnings_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_statevar_warnings'/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__hlds__hlds_pred__proc_info_set_statevar_warnings_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_r1;
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module192)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_termination2_info_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_termination2_info_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_termination2_info'/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__hlds__hlds_pred__proc_info_get_termination2_info_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 3);
	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(hlds__hlds_pred_module193)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_termination2_info_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_termination2_info_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_termination2_info'/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__hlds__hlds_pred__proc_info_set_termination2_info_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	MR_tempr2 = MR_tfield(0, MR_r2, 16);
	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_r1;
	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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr2, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr2, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr2, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr2, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr2, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr2, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr2, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr2, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr2, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr2, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr2, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr2, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr2, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module194)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_structure_sharing_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_structure_sharing_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_structure_sharing'/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__hlds__hlds_pred__proc_info_get_structure_sharing_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_tfield(0, MR_r1, 16), 20), 0);
	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(hlds__hlds_pred_module195)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_structure_sharing_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_structure_sharing_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_structure_sharing'/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__hlds__hlds_pred__proc_info_set_structure_sharing_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 1);
	MR_tfield(1, MR_tempr1, 0) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr2, 0) = MR_tempr1;
	MR_tempr3 = MR_tfield(0, MR_r2, 16);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tfield(0, MR_tempr3, 20), 1);
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	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_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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr3, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr3, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr3, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr3, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr3, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr3, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr3, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr3, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr3, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr3, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr3, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tempr2;
	MR_tfield(0, MR_tempr1, 21) = MR_tfield(0, MR_tempr3, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module196)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_imported_structure_sharing_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_imported_structure_sharing_4_0);
	MR_init_label1(hlds__hlds_pred__proc_info_get_imported_structure_sharing_4_0,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_imported_structure_sharing'/4 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__hlds__hlds_pred__proc_info_get_imported_structure_sharing_4_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(0, MR_tfield(0, MR_tfield(0, MR_r1, 16), 20), 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_get_imported_structure_sharing_4_0_i1);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	MR_r3 = MR_tfield(0, MR_tempr2, 1);
	MR_r4 = MR_tfield(0, MR_tempr2, 2);
	MR_r1 = MR_TRUE;
	MR_proceed();
	}
MR_def_label(hlds__hlds_pred__proc_info_get_imported_structure_sharing_4_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module197)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_imported_structure_sharing_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_imported_structure_sharing_5_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_imported_structure_sharing'/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_define_entry(mercury__hlds__hlds_pred__proc_info_set_imported_structure_sharing_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) 3);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tfield(0, MR_tempr1, 1) = MR_r2;
	MR_tfield(0, MR_tempr1, 2) = MR_r3;
	MR_tag_alloc_heap(MR_r2, 1, (MR_Integer) 1);
	MR_tfield(1, MR_r2, 0) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 2);
	MR_tempr3 = MR_r4;
	MR_tempr1 = MR_tfield(0, MR_tempr3, 16);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tfield(0, MR_tempr1, 20), 0);
	MR_tfield(0, MR_tempr2, 1) = MR_r2;
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 22);
	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_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_tfield(0, MR_r2, 9) = MR_tfield(0, MR_tempr1, 9);
	MR_tfield(0, MR_r2, 10) = MR_tfield(0, MR_tempr1, 10);
	MR_tfield(0, MR_r2, 11) = MR_tfield(0, MR_tempr1, 11);
	MR_tfield(0, MR_r2, 12) = MR_tfield(0, MR_tempr1, 12);
	MR_tfield(0, MR_r2, 13) = MR_tfield(0, MR_tempr1, 13);
	MR_tfield(0, MR_r2, 14) = MR_tfield(0, MR_tempr1, 14);
	MR_tfield(0, MR_r2, 15) = MR_tfield(0, MR_tempr1, 15);
	MR_tfield(0, MR_r2, 16) = MR_tfield(0, MR_tempr1, 16);
	MR_tfield(0, MR_r2, 17) = MR_tfield(0, MR_tempr1, 17);
	MR_tfield(0, MR_r2, 18) = MR_tfield(0, MR_tempr1, 18);
	MR_tfield(0, MR_r2, 19) = MR_tfield(0, MR_tempr1, 19);
	MR_tfield(0, MR_r2, 20) = MR_tempr2;
	MR_tfield(0, MR_r2, 21) = MR_tfield(0, MR_tempr1, 21);
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	MR_tfield(0, MR_r1, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_r1, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_r1, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_r1, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_r1, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_r1, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_r1, 6) = MR_tfield(0, MR_tempr3, 6);
	MR_tfield(0, MR_r1, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_tempr3, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_tempr3, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_tempr3, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_tempr3, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_tempr3, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_tempr3, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_tempr3, 15);
	MR_tfield(0, MR_r1, 16) = 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(hlds__hlds_pred_module198)
	MR_init_entry1(hlds__hlds_pred__proc_info_reset_imported_structure_sharing_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_reset_imported_structure_sharing_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_reset_imported_structure_sharing'/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__hlds__hlds_pred__proc_info_reset_imported_structure_sharing_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(0, MR_r1, 16);
	MR_tfield(0, MR_r2, 0) = MR_tfield(0, MR_tfield(0, MR_tempr1, 20), 0);
	MR_tfield(0, MR_r2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 22);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr1, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr1, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr1, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr1, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr1, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr1, 5);
	MR_tfield(0, MR_tempr2, 6) = MR_tfield(0, MR_tempr1, 6);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr1, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr1, 8);
	MR_tfield(0, MR_tempr2, 9) = MR_tfield(0, MR_tempr1, 9);
	MR_tfield(0, MR_tempr2, 10) = MR_tfield(0, MR_tempr1, 10);
	MR_tfield(0, MR_tempr2, 11) = MR_tfield(0, MR_tempr1, 11);
	MR_tfield(0, MR_tempr2, 12) = MR_tfield(0, MR_tempr1, 12);
	MR_tfield(0, MR_tempr2, 13) = MR_tfield(0, MR_tempr1, 13);
	MR_tfield(0, MR_tempr2, 14) = MR_tfield(0, MR_tempr1, 14);
	MR_tfield(0, MR_tempr2, 15) = MR_tfield(0, MR_tempr1, 15);
	MR_tfield(0, MR_tempr2, 16) = MR_tfield(0, MR_tempr1, 16);
	MR_tfield(0, MR_tempr2, 17) = MR_tfield(0, MR_tempr1, 17);
	MR_tfield(0, MR_tempr2, 18) = MR_tfield(0, MR_tempr1, 18);
	MR_tfield(0, MR_tempr2, 19) = MR_tfield(0, MR_tempr1, 19);
	MR_tfield(0, MR_tempr2, 20) = MR_r2;
	MR_tfield(0, MR_tempr2, 21) = MR_tfield(0, MR_tempr1, 21);
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 17);
	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_tfield(0, MR_r1, 6);
	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_tfield(0, MR_r2, 9) = MR_tfield(0, MR_r1, 9);
	MR_tfield(0, MR_r2, 10) = MR_tfield(0, MR_r1, 10);
	MR_tfield(0, MR_r2, 11) = MR_tfield(0, MR_r1, 11);
	MR_tfield(0, MR_r2, 12) = MR_tfield(0, MR_r1, 12);
	MR_tfield(0, MR_r2, 13) = MR_tfield(0, MR_r1, 13);
	MR_tfield(0, MR_r2, 14) = MR_tfield(0, MR_r1, 14);
	MR_tfield(0, MR_r2, 15) = MR_tfield(0, MR_r1, 15);
	MR_tfield(0, MR_r2, 16) = 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(hlds__hlds_pred_module199)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_structure_reuse_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_structure_reuse_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_structure_reuse'/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__hlds__hlds_pred__proc_info_get_structure_reuse_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_tfield(0, MR_tfield(0, MR_r1, 16), 21), 0);
	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(hlds__hlds_pred_module200)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_structure_reuse_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_structure_reuse_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_structure_reuse'/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__hlds__hlds_pred__proc_info_set_structure_reuse_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 1);
	MR_tfield(1, MR_tempr1, 0) = MR_r1;
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr2, 0) = MR_tempr1;
	MR_tempr3 = MR_tfield(0, MR_r2, 16);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tfield(0, MR_tempr3, 21), 1);
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 22);
	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_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_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_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_tempr3, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_tempr3, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_tempr3, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_tempr3, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_tfield(0, MR_tempr3, 13);
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_tempr3, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_tempr3, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_tempr3, 16);
	MR_tfield(0, MR_tempr1, 17) = MR_tfield(0, MR_tempr3, 17);
	MR_tfield(0, MR_tempr1, 18) = MR_tfield(0, MR_tempr3, 18);
	MR_tfield(0, MR_tempr1, 19) = MR_tfield(0, MR_tempr3, 19);
	MR_tfield(0, MR_tempr1, 20) = MR_tfield(0, MR_tempr3, 20);
	MR_tfield(0, MR_tempr1, 21) = MR_tempr2;
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tempr1;
	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(hlds__hlds_pred_module201)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_imported_structure_reuse_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_imported_structure_reuse_4_0);
	MR_init_label1(hlds__hlds_pred__proc_info_get_imported_structure_reuse_4_0,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_imported_structure_reuse'/4 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__hlds__hlds_pred__proc_info_get_imported_structure_reuse_4_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(0, MR_tfield(0, MR_tfield(0, MR_r1, 16), 21), 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_get_imported_structure_reuse_4_0_i1);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	MR_r3 = MR_tfield(0, MR_tempr2, 1);
	MR_r4 = MR_tfield(0, MR_tempr2, 2);
	MR_r1 = MR_TRUE;
	MR_proceed();
	}
MR_def_label(hlds__hlds_pred__proc_info_get_imported_structure_reuse_4_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module202)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_imported_structure_reuse_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_imported_structure_reuse_5_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_imported_structure_reuse'/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_define_entry(mercury__hlds__hlds_pred__proc_info_set_imported_structure_reuse_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) 3);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tfield(0, MR_tempr1, 1) = MR_r2;
	MR_tfield(0, MR_tempr1, 2) = MR_r3;
	MR_tag_alloc_heap(MR_r2, 1, (MR_Integer) 1);
	MR_tfield(1, MR_r2, 0) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 2);
	MR_tempr3 = MR_r4;
	MR_tempr1 = MR_tfield(0, MR_tempr3, 16);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tfield(0, MR_tempr1, 21), 0);
	MR_tfield(0, MR_tempr2, 1) = MR_r2;
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 22);
	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_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_tfield(0, MR_r2, 9) = MR_tfield(0, MR_tempr1, 9);
	MR_tfield(0, MR_r2, 10) = MR_tfield(0, MR_tempr1, 10);
	MR_tfield(0, MR_r2, 11) = MR_tfield(0, MR_tempr1, 11);
	MR_tfield(0, MR_r2, 12) = MR_tfield(0, MR_tempr1, 12);
	MR_tfield(0, MR_r2, 13) = MR_tfield(0, MR_tempr1, 13);
	MR_tfield(0, MR_r2, 14) = MR_tfield(0, MR_tempr1, 14);
	MR_tfield(0, MR_r2, 15) = MR_tfield(0, MR_tempr1, 15);
	MR_tfield(0, MR_r2, 16) = MR_tfield(0, MR_tempr1, 16);
	MR_tfield(0, MR_r2, 17) = MR_tfield(0, MR_tempr1, 17);
	MR_tfield(0, MR_r2, 18) = MR_tfield(0, MR_tempr1, 18);
	MR_tfield(0, MR_r2, 19) = MR_tfield(0, MR_tempr1, 19);
	MR_tfield(0, MR_r2, 20) = MR_tfield(0, MR_tempr1, 20);
	MR_tfield(0, MR_r2, 21) = MR_tempr2;
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	MR_tfield(0, MR_r1, 0) = MR_tfield(0, MR_tempr3, 0);
	MR_tfield(0, MR_r1, 1) = MR_tfield(0, MR_tempr3, 1);
	MR_tfield(0, MR_r1, 2) = MR_tfield(0, MR_tempr3, 2);
	MR_tfield(0, MR_r1, 3) = MR_tfield(0, MR_tempr3, 3);
	MR_tfield(0, MR_r1, 4) = MR_tfield(0, MR_tempr3, 4);
	MR_tfield(0, MR_r1, 5) = MR_tfield(0, MR_tempr3, 5);
	MR_tfield(0, MR_r1, 6) = MR_tfield(0, MR_tempr3, 6);
	MR_tfield(0, MR_r1, 7) = MR_tfield(0, MR_tempr3, 7);
	MR_tfield(0, MR_r1, 8) = MR_tfield(0, MR_tempr3, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_tempr3, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_tempr3, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_tempr3, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_tempr3, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_tempr3, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_tempr3, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_tempr3, 15);
	MR_tfield(0, MR_r1, 16) = 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(hlds__hlds_pred_module203)
	MR_init_entry1(hlds__hlds_pred__proc_info_reset_imported_structure_reuse_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_reset_imported_structure_reuse_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_reset_imported_structure_reuse'/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__hlds__hlds_pred__proc_info_reset_imported_structure_reuse_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(0, MR_r1, 16);
	MR_tfield(0, MR_r2, 0) = MR_tfield(0, MR_tfield(0, MR_tempr1, 21), 0);
	MR_tfield(0, MR_r2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_tempr2, 0, (MR_Integer) 22);
	MR_tfield(0, MR_tempr2, 0) = MR_tfield(0, MR_tempr1, 0);
	MR_tfield(0, MR_tempr2, 1) = MR_tfield(0, MR_tempr1, 1);
	MR_tfield(0, MR_tempr2, 2) = MR_tfield(0, MR_tempr1, 2);
	MR_tfield(0, MR_tempr2, 3) = MR_tfield(0, MR_tempr1, 3);
	MR_tfield(0, MR_tempr2, 4) = MR_tfield(0, MR_tempr1, 4);
	MR_tfield(0, MR_tempr2, 5) = MR_tfield(0, MR_tempr1, 5);
	MR_tfield(0, MR_tempr2, 6) = MR_tfield(0, MR_tempr1, 6);
	MR_tfield(0, MR_tempr2, 7) = MR_tfield(0, MR_tempr1, 7);
	MR_tfield(0, MR_tempr2, 8) = MR_tfield(0, MR_tempr1, 8);
	MR_tfield(0, MR_tempr2, 9) = MR_tfield(0, MR_tempr1, 9);
	MR_tfield(0, MR_tempr2, 10) = MR_tfield(0, MR_tempr1, 10);
	MR_tfield(0, MR_tempr2, 11) = MR_tfield(0, MR_tempr1, 11);
	MR_tfield(0, MR_tempr2, 12) = MR_tfield(0, MR_tempr1, 12);
	MR_tfield(0, MR_tempr2, 13) = MR_tfield(0, MR_tempr1, 13);
	MR_tfield(0, MR_tempr2, 14) = MR_tfield(0, MR_tempr1, 14);
	MR_tfield(0, MR_tempr2, 15) = MR_tfield(0, MR_tempr1, 15);
	MR_tfield(0, MR_tempr2, 16) = MR_tfield(0, MR_tempr1, 16);
	MR_tfield(0, MR_tempr2, 17) = MR_tfield(0, MR_tempr1, 17);
	MR_tfield(0, MR_tempr2, 18) = MR_tfield(0, MR_tempr1, 18);
	MR_tfield(0, MR_tempr2, 19) = MR_tfield(0, MR_tempr1, 19);
	MR_tfield(0, MR_tempr2, 20) = MR_tfield(0, MR_tempr1, 20);
	MR_tfield(0, MR_tempr2, 21) = MR_r2;
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 17);
	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_tfield(0, MR_r1, 6);
	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_tfield(0, MR_r2, 9) = MR_tfield(0, MR_r1, 9);
	MR_tfield(0, MR_r2, 10) = MR_tfield(0, MR_r1, 10);
	MR_tfield(0, MR_r2, 11) = MR_tfield(0, MR_r1, 11);
	MR_tfield(0, MR_r2, 12) = MR_tfield(0, MR_r1, 12);
	MR_tfield(0, MR_r2, 13) = MR_tfield(0, MR_r1, 13);
	MR_tfield(0, MR_r2, 14) = MR_tfield(0, MR_r1, 14);
	MR_tfield(0, MR_r2, 15) = MR_tfield(0, MR_r1, 15);
	MR_tfield(0, MR_r2, 16) = 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(hlds__hlds_pred_module204)
	MR_init_entry1(hlds__hlds_pred__proc_info_head_modes_constraint_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_head_modes_constraint_2_0);
	MR_init_label1(hlds__hlds_pred__proc_info_head_modes_constraint_2_0,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_head_modes_constraint'/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__hlds__hlds_pred__proc_info_head_modes_constraint_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(0, MR_r1, 7);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_head_modes_constraint_2_0_i3);
	}
	MR_r1 = MR_tfield(1, MR_tempr1, 0);
	MR_proceed();
	}
MR_def_label(hlds__hlds_pred__proc_info_head_modes_constraint_2_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("hlds.hlds_pred", 14);
	MR_r2 = (MR_Word) MR_string_const("predicate \140hlds.hlds_pred.proc_info_head_modes_constraint\'/2", 60);
	MR_r3 = (MR_Word) MR_string_const("no constraint", 13);
	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(hlds__hlds_pred_module205)
	MR_init_entry1(hlds__hlds_pred__proc_info_set_head_modes_constraint_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_set_head_modes_constraint_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_set_head_modes_constraint'/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__hlds__hlds_pred__proc_info_set_head_modes_constraint_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 1);
	MR_tfield(1, MR_tempr1, 0) = MR_r1;
	MR_tag_alloc_heap(MR_r1, 0, (MR_Integer) 17);
	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_tfield(0, MR_r2, 8);
	MR_tfield(0, MR_r1, 9) = MR_tfield(0, MR_r2, 9);
	MR_tfield(0, MR_r1, 10) = MR_tfield(0, MR_r2, 10);
	MR_tfield(0, MR_r1, 11) = MR_tfield(0, MR_r2, 11);
	MR_tfield(0, MR_r1, 12) = MR_tfield(0, MR_r2, 12);
	MR_tfield(0, MR_r1, 13) = MR_tfield(0, MR_r2, 13);
	MR_tfield(0, MR_r1, 14) = MR_tfield(0, MR_r2, 14);
	MR_tfield(0, MR_r1, 15) = MR_tfield(0, MR_r2, 15);
	MR_tfield(0, MR_r1, 16) = MR_tfield(0, MR_r2, 16);
	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(hlds__hlds_pred_module206)
	MR_init_entry1(hlds__hlds_pred__proc_info_interface_determinism_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_interface_determinism_2_0);
	MR_init_label1(hlds__hlds_pred__proc_info_interface_determinism_2_0,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_interface_determinism'/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__hlds__hlds_pred__proc_info_interface_determinism_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 9);
	if (MR_LTAGS_TESTR(MR_r2,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_interface_determinism_2_0_i3);
	}
	MR_r1 = MR_tfield(0, MR_r1, 10);
	MR_proceed();
MR_def_label(hlds__hlds_pred__proc_info_interface_determinism_2_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(1, MR_r2, 0);
	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__prog_data__determinism_components_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module207)
	MR_init_entry1(hlds__hlds_pred__proc_info_never_succeeds_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_never_succeeds_2_0);
	MR_init_label3(hlds__hlds_pred__proc_info_never_succeeds_2_0,7,3,4)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_never_succeeds'/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__hlds__hlds_pred__proc_info_never_succeeds_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(1);
	MR_sv(1) = (MR_Word) MR_succip;
	MR_r2 = MR_tfield(0, MR_r1, 9);
	if (MR_LTAGS_TESTR(MR_r2,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_never_succeeds_2_0_i3);
	}
MR_def_label(hlds__hlds_pred__proc_info_never_succeeds_2_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(1);
MR_def_label(hlds__hlds_pred__proc_info_never_succeeds_2_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(1, MR_r2, 0);
	MR_np_call_localret_ent(parse_tree__prog_data__determinism_components_3_0,
		hlds__hlds_pred__proc_info_never_succeeds_2_0_i4);
MR_def_label(hlds__hlds_pred__proc_info_never_succeeds_2_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r2,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_never_succeeds_2_0_i7);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(1);
#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(hlds__hlds_pred_module208)
	MR_init_entry1(hlds__hlds_pred__proc_info_declared_argmodes_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_declared_argmodes_2_0);
	MR_init_label1(hlds__hlds_pred__proc_info_declared_argmodes_2_0,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_declared_argmodes'/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__hlds__hlds_pred__proc_info_declared_argmodes_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 5);
	if (MR_LTAGS_TESTR(MR_r2,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_declared_argmodes_2_0_i3);
	}
	MR_r1 = MR_tfield(0, MR_r1, 6);
	MR_proceed();
MR_def_label(hlds__hlds_pred__proc_info_declared_argmodes_2_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(1, MR_r2, 0);
	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(check_hlds__mode_util__get_arg_lives_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module209)
	MR_init_entry1(hlds__hlds_pred__proc_info_arglives_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_arglives_3_0);
	MR_init_label1(hlds__hlds_pred__proc_info_arglives_3_0,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_arglives'/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__hlds__hlds_pred__proc_info_arglives_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_tfield(0, MR_r1, 8);
	if (MR_LTAGS_TESTR(MR_r3,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_arglives_3_0_i3);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_r2;
	MR_r2 = MR_tfield(0, MR_tempr1, 6);
	MR_np_tailcall_ent(check_hlds__mode_util__get_arg_lives_3_0);
	}
MR_def_label(hlds__hlds_pred__proc_info_arglives_3_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(1, MR_r3, 0);
	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(hlds__hlds_pred_module210)
	MR_init_entry1(hlds__hlds_pred__proc_info_arg_info_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_arg_info_2_0);
	MR_init_label1(hlds__hlds_pred__proc_info_arg_info_2_0,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_arg_info'/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__hlds__hlds_pred__proc_info_arg_info_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(0, MR_tfield(0, MR_r1, 16), 6);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_arg_info_2_0_i3);
	}
	MR_r1 = MR_tfield(1, MR_tempr1, 0);
	MR_proceed();
	}
MR_def_label(hlds__hlds_pred__proc_info_arg_info_2_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("hlds.hlds_pred", 14);
	MR_r2 = (MR_Word) MR_string_const("predicate \140hlds.hlds_pred.proc_info_arg_info\'/2", 47);
	MR_r3 = (MR_Word) MR_string_const("arg_pass_info not set", 21);
	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_decl_entry(check_hlds__mode_util__mode_list_get_initial_insts_3_0);
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_mer_inst_0;
MR_decl_entry(assoc_list__from_corresponding_lists_3_0);
MR_decl_entry(fn__hlds__instmap__instmap_from_assoc_list_1_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module211)
	MR_init_entry1(hlds__hlds_pred__proc_info_get_initial_instmap_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_get_initial_instmap_3_0);
	MR_init_label2(hlds__hlds_pred__proc_info_get_initial_instmap_3_0,2,4)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_get_initial_instmap'/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__hlds__hlds_pred__proc_info_get_initial_instmap_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	MR_sv(2) = (MR_Word) MR_succip;
	MR_sv(1) = MR_tfield(0, MR_r1, 3);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_r2;
	MR_r2 = MR_tfield(0, MR_tempr1, 6);
	}
	MR_np_call_localret_ent(check_hlds__mode_util__mode_list_get_initial_insts_3_0,
		hlds__hlds_pred__proc_info_get_initial_instmap_3_0_i2);
MR_def_label(hlds__hlds_pred__proc_info_get_initial_instmap_3_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_inst);
	MR_r3 = MR_sv(1);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(assoc_list__from_corresponding_lists_3_0,
		hlds__hlds_pred__proc_info_get_initial_instmap_3_0_i4);
MR_def_label(hlds__hlds_pred__proc_info_get_initial_instmap_3_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(2);
	MR_decr_sp(2);
	MR_np_tailcall_ent(fn__hlds__instmap__instmap_from_assoc_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_decl_entry(varset__ensure_unique_names_4_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module212)
	MR_init_entry1(hlds__hlds_pred__proc_info_ensure_unique_names_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_ensure_unique_names_2_0);
	MR_init_label2(hlds__hlds_pred__proc_info_ensure_unique_names_2_0,3,4)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_ensure_unique_names'/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__hlds__hlds_pred__proc_info_ensure_unique_names_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r3 = MR_tfield(0, MR_sv(1), 2);
	MR_np_call_localret_ent(map__keys_2_0,
		hlds__hlds_pred__proc_info_ensure_unique_names_2_0_i3);
MR_def_label(hlds__hlds_pred__proc_info_ensure_unique_names_2_0,3)
	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_r3 = (MR_Word) MR_string_const("p", 1);
	MR_r4 = MR_tfield(0, MR_sv(1), 1);
	}
	MR_np_call_localret_ent(varset__ensure_unique_names_4_0,
		hlds__hlds_pred__proc_info_ensure_unique_names_2_0_i4);
MR_def_label(hlds__hlds_pred__proc_info_ensure_unique_names_2_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 17);
	{
	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_r1;
	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_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_tfield(0, MR_r2, 9) = MR_tfield(0, MR_tempr1, 9);
	MR_tfield(0, MR_r2, 10) = MR_tfield(0, MR_tempr1, 10);
	MR_tfield(0, MR_r2, 11) = MR_tfield(0, MR_tempr1, 11);
	MR_tfield(0, MR_r2, 12) = MR_tfield(0, MR_tempr1, 12);
	MR_tfield(0, MR_r2, 13) = MR_tfield(0, MR_tempr1, 13);
	MR_tfield(0, MR_r2, 14) = MR_tfield(0, MR_tempr1, 14);
	MR_tfield(0, MR_r2, 15) = MR_tfield(0, MR_tempr1, 15);
	MR_tfield(0, MR_r2, 16) = MR_tfield(0, MR_tempr1, 16);
	MR_r1 = MR_r2;
	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(varset__new_maybe_named_var_4_0);
MR_decl_entry(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_101_116_95_105_110_115_101_114_116_95_95_91_75_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_4_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module213)
	MR_init_entry1(hlds__hlds_pred__proc_info_create_var_from_type_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_create_var_from_type_5_0);
	MR_init_label3(hlds__hlds_pred__proc_info_create_var_from_type_5_0,2,4,6)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_create_var_from_type'/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_define_entry(mercury__hlds__hlds_pred__proc_info_create_var_from_type_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_Word MR_tempr1;
	MR_tempr1 = MR_r3;
	MR_sv(2) = MR_tfield(0, MR_tempr1, 2);
	MR_sv(3) = MR_tempr1;
	MR_sv(4) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_r1 = MR_sv(4);
	MR_r3 = MR_tfield(0, MR_r3, 1);
	}
	MR_np_call_localret_ent(varset__new_maybe_named_var_4_0,
		hlds__hlds_pred__proc_info_create_var_from_type_5_0_i2);
MR_def_label(hlds__hlds_pred__proc_info_create_var_from_type_5_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_tempr2 = MR_sv(2);
	MR_sv(2) = MR_r2;
	MR_r1 = MR_sv(4);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r4 = MR_sv(1);
	MR_r5 = MR_tempr1;
	MR_r6 = MR_tempr2;
	}
	MR_np_call_localret_ent(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_101_116_95_105_110_115_101_114_116_95_95_91_75_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_4_0,
		hlds__hlds_pred__proc_info_create_var_from_type_5_0_i4);
MR_def_label(hlds__hlds_pred__proc_info_create_var_from_type_5_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 17);
	{
	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_sv(2);
	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_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_tfield(0, MR_r2, 9) = MR_tfield(0, MR_tempr1, 9);
	MR_tfield(0, MR_r2, 10) = MR_tfield(0, MR_tempr1, 10);
	MR_tfield(0, MR_r2, 11) = MR_tfield(0, MR_tempr1, 11);
	MR_tfield(0, MR_r2, 12) = MR_tfield(0, MR_tempr1, 12);
	MR_tfield(0, MR_r2, 13) = MR_tfield(0, MR_tempr1, 13);
	MR_tfield(0, MR_r2, 14) = MR_tfield(0, MR_tempr1, 14);
	MR_tfield(0, MR_r2, 15) = MR_tfield(0, MR_tempr1, 15);
	MR_tfield(0, MR_r2, 16) = MR_tfield(0, MR_tempr1, 16);
	}
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_set_vartypes_3_0,
		hlds__hlds_pred__proc_info_create_var_from_type_5_0_i6);
MR_def_label(hlds__hlds_pred__proc_info_create_var_from_type_5_0,6)
	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_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(varset__new_vars_4_0);
MR_decl_entry(map__det_insert_from_corresponding_lists_4_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module214)
	MR_init_entry1(hlds__hlds_pred__proc_info_create_vars_from_types_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_create_vars_from_types_4_0);
	MR_init_label4(hlds__hlds_pred__proc_info_create_vars_from_types_4_0,2,3,5,7)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_create_vars_from_types'/4 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__hlds__hlds_pred__proc_info_create_vars_from_types_4_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(6);
	MR_sv(6) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(3) = MR_r2;
	MR_sv(4) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(list__length_2_0,
		hlds__hlds_pred__proc_info_create_vars_from_types_4_0_i2);
MR_def_label(hlds__hlds_pred__proc_info_create_vars_from_types_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr2 = MR_sv(3);
	MR_sv(2) = MR_tfield(0, MR_tempr2, 2);
	MR_sv(5) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(5);
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tfield(0, MR_tempr2, 1);
	}
	MR_np_call_localret_ent(varset__new_vars_4_0,
		hlds__hlds_pred__proc_info_create_vars_from_types_4_0_i3);
MR_def_label(hlds__hlds_pred__proc_info_create_vars_from_types_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_tempr2 = MR_sv(2);
	MR_sv(2) = MR_r2;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(1);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_tempr2;
	}
	MR_np_call_localret_ent(map__det_insert_from_corresponding_lists_4_0,
		hlds__hlds_pred__proc_info_create_vars_from_types_4_0_i5);
MR_def_label(hlds__hlds_pred__proc_info_create_vars_from_types_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 17);
	{
	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_sv(2);
	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_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_tfield(0, MR_r2, 9) = MR_tfield(0, MR_tempr1, 9);
	MR_tfield(0, MR_r2, 10) = MR_tfield(0, MR_tempr1, 10);
	MR_tfield(0, MR_r2, 11) = MR_tfield(0, MR_tempr1, 11);
	MR_tfield(0, MR_r2, 12) = MR_tfield(0, MR_tempr1, 12);
	MR_tfield(0, MR_r2, 13) = MR_tfield(0, MR_tempr1, 13);
	MR_tfield(0, MR_r2, 14) = MR_tfield(0, MR_tempr1, 14);
	MR_tfield(0, MR_r2, 15) = MR_tfield(0, MR_tempr1, 15);
	MR_tfield(0, MR_r2, 16) = MR_tfield(0, MR_tempr1, 16);
	}
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_set_vartypes_3_0,
		hlds__hlds_pred__proc_info_create_vars_from_types_4_0_i7);
MR_def_label(hlds__hlds_pred__proc_info_create_vars_from_types_4_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_tempr1;
	MR_decr_sp_and_return(6);
	}
#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__filter_map_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module215)
	MR_init_entry1(hlds__hlds_pred__proc_info_instantiated_head_vars_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_instantiated_head_vars_3_0);
	MR_init_label1(hlds__hlds_pred__proc_info_instantiated_head_vars_3_0,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_instantiated_head_vars'/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__hlds__hlds_pred__proc_info_instantiated_head_vars_3_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_tfield(0, MR_r2, 2);
	MR_sv(3) = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_sv(4) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_mode);
	MR_r1 = MR_sv(3);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r2;
	MR_r2 = MR_sv(4);
	MR_r3 = MR_tfield(0, MR_tempr1, 3);
	MR_r4 = MR_tfield(0, MR_tempr1, 6);
	}
	MR_np_call_localret_ent(assoc_list__from_corresponding_lists_3_0,
		hlds__hlds_pred__proc_info_instantiated_head_vars_3_0_i3);
MR_def_label(hlds__hlds_pred__proc_info_instantiated_head_vars_3_0,3)
	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(7,0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_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_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,4);
	MR_r2 = MR_sv(3);
	MR_r4 = MR_tempr2;
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(list__filter_map_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(hlds__hlds_pred_module216)
	MR_init_entry1(hlds__hlds_pred__proc_info_uninstantiated_head_vars_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_uninstantiated_head_vars_3_0);
	MR_init_label1(hlds__hlds_pred__proc_info_uninstantiated_head_vars_3_0,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_uninstantiated_head_vars'/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__hlds__hlds_pred__proc_info_uninstantiated_head_vars_3_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_tfield(0, MR_r2, 2);
	MR_sv(3) = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_sv(4) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_mode);
	MR_r1 = MR_sv(3);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r2;
	MR_r2 = MR_sv(4);
	MR_r3 = MR_tfield(0, MR_tempr1, 3);
	MR_r4 = MR_tfield(0, MR_tempr1, 6);
	}
	MR_np_call_localret_ent(assoc_list__from_corresponding_lists_3_0,
		hlds__hlds_pred__proc_info_uninstantiated_head_vars_3_0_i3);
MR_def_label(hlds__hlds_pred__proc_info_uninstantiated_head_vars_3_0,3)
	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(7,1);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_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_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,4);
	MR_r2 = MR_sv(3);
	MR_r4 = MR_tempr2;
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(list__filter_map_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(mdbcomp__program_representation__no_type_info_builtin_3_0);
MR_decl_entry(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_108_111_111_107_117_112_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module217)
	MR_init_entry1(hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_0);
	MR_init_label4(hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_0,4,2,6,7)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_interface_should_use_typeinfo_liveness'/4 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(4);
	MR_sv(4) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_sv(1) = MR_tempr1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_r1 = MR_tfield(0, MR_r1, 0);
	MR_r2 = MR_tfield(0, MR_tempr1, 1);
	MR_r3 = MR_tfield(0, MR_tempr1, 2);
	}
	MR_np_call_localret_ent(mdbcomp__program_representation__no_type_info_builtin_3_0,
		hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_0_i4);
MR_def_label(hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_0_i2);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(4);
MR_def_label(hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(3);
	MR_sv(1) = MR_tfield(0, MR_r1, 5);
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tfield(0, MR_tempr1, 13);
	MR_r3 = MR_tempr2;
	}
	MR_np_call_localret_ent(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_108_111_111_107_117_112_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_3_0,
		hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_0_i6);
MR_def_label(hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_is_address_taken_2_0,
		hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_0_i7);
MR_def_label(hlds__hlds_pred__proc_interface_should_use_typeinfo_liveness_4_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_tempr1;
	MR_r3 = MR_sv(3);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(hlds__hlds_pred__non_special_interface_should_use_typeinfo_liveness_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(hlds__hlds_pred_module218)
	MR_init_entry1(hlds__hlds_pred__body_should_use_typeinfo_liveness_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__body_should_use_typeinfo_liveness_3_0);
	MR_init_label2(hlds__hlds_pred__body_should_use_typeinfo_liveness_3_0,4,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'body_should_use_typeinfo_liveness'/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__hlds__hlds_pred__body_should_use_typeinfo_liveness_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	MR_sv(2) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r2;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_tfield(0, MR_r1, 0);
	MR_r2 = MR_tfield(0, MR_tempr1, 1);
	MR_r3 = MR_tfield(0, MR_tempr1, 2);
	}
	MR_np_call_localret_ent(mdbcomp__program_representation__no_type_info_builtin_3_0,
		hlds__hlds_pred__body_should_use_typeinfo_liveness_3_0_i4);
MR_def_label(hlds__hlds_pred__body_should_use_typeinfo_liveness_3_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__body_should_use_typeinfo_liveness_3_0_i2);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(2);
MR_def_label(hlds__hlds_pred__body_should_use_typeinfo_liveness_3_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_r1 = MR_r2;
	MR_r2 = (MR_Integer) 255;
	MR_succip_word = MR_sv(2);
	MR_decr_sp(2);
	MR_np_tailcall_ent(libs__globals__lookup_bool_option_3_0);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(parse_tree__prog_type__type_is_io_state_1_0);
MR_decl_entry(check_hlds__mode_util__mode_is_fully_input_2_0);
MR_decl_entry(check_hlds__mode_util__mode_is_fully_output_2_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module219)
	MR_init_entry1(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0);
	MR_init_label9(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0,61,3,6,7,11,10,15,4,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_has_io_state_pair_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(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(8);
	MR_sv(8) = (MR_Word) MR_succip;
MR_def_label(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0,61)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0_i3);
	}
	MR_r2 = MR_r5;
	MR_r3 = MR_r6;
	MR_r1 = MR_TRUE;
	MR_decr_sp_and_return(8);
MR_def_label(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(7) = MR_tfield(1, MR_r1, 1);
	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_Word MR_tempr1;
	MR_tempr1 = MR_tfield(1, MR_r1, 0);
	MR_sv(6) = MR_tfield(0, MR_tempr1, 1);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r4 = MR_sv(2);
	MR_r5 = MR_tfield(0, MR_tempr1, 0);
	}
	MR_np_call_localret_ent(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_108_111_111_107_117_112_95_95_91_75_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_0,
		hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0_i6);
MR_def_label(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(parse_tree__prog_type__type_is_io_state_1_0,
		hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0_i7);
MR_def_label(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0_i4);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(6);
	MR_np_call_localret_ent(check_hlds__mode_util__mode_is_fully_input_2_0,
		hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0_i11);
MR_def_label(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0_i10);
	}
	if (MR_LTAGS_TESTR(MR_sv(4),0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0_i1);
	}
	MR_tag_alloc_heap(MR_r5, 1, (MR_Integer) 1);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_tfield(1, MR_r5, 0) = MR_tempr1;
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_r1 = MR_sv(7);
	MR_r6 = MR_sv(5);
	MR_r4 = ((MR_Integer) MR_tempr1 + (MR_Integer) 1);
	MR_succip_word = MR_sv(8);
	MR_GOTO_LAB(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0_i61);
	}
MR_def_label(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(6);
	MR_np_call_localret_ent(check_hlds__mode_util__mode_is_fully_output_2_0,
		hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0_i15);
MR_def_label(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0_i1);
	}
	if (MR_LTAGS_TESTR(MR_sv(5),0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0_i1);
	}
	MR_tag_alloc_heap(MR_r6, 1, (MR_Integer) 1);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_tfield(1, MR_r6, 0) = MR_tempr1;
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_r1 = MR_sv(7);
	MR_r5 = MR_sv(4);
	MR_r4 = ((MR_Integer) MR_tempr1 + (MR_Integer) 1);
	MR_succip_word = MR_sv(8);
	MR_GOTO_LAB(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0_i61);
	}
MR_def_label(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_r1 = MR_sv(7);
	MR_r5 = MR_sv(4);
	MR_r6 = MR_sv(5);
	MR_r4 = ((MR_Integer) MR_sv(3) + (MR_Integer) 1);
	MR_succip_word = MR_sv(8);
	MR_GOTO_LAB(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0_i61);
MR_def_label(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	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(hlds__hlds_pred_module220)
	MR_init_entry1(hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0);
	MR_init_label3(hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0,3,4,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_has_io_state_pair_from_details'/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_define_entry(mercury__hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r4;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r2;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_mode);
	MR_tempr2 = MR_r3;
	MR_r3 = MR_tempr1;
	MR_r4 = MR_tempr2;
	}
	MR_np_call_localret_ent(assoc_list__from_corresponding_lists_3_0,
		hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0_i3);
MR_def_label(hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_r4 = (MR_Integer) 1;
	MR_r5 = (MR_Word) MR_tbmkword(0, 0);
	MR_r6 = (MR_Word) MR_tbmkword(0, 0);
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_has_io_state_pair_2_8_0,
		hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0_i4);
MR_def_label(hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0_i1);
	}
	if (MR_LTAGS_TEST(MR_r2,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0_i1);
	}
	if (MR_LTAGS_TEST(MR_r3,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0_i1);
	}
	MR_r2 = MR_tfield(1, MR_r2, 0);
	MR_r3 = MR_tfield(1, MR_r3, 0);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(hlds__hlds_pred__proc_info_has_io_state_pair_from_details_6_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	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_BEGIN_MODULE(hlds__hlds_pred_module221)
	MR_init_entry1(hlds__hlds_pred__proc_info_has_io_state_pair_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_has_io_state_pair_4_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_has_io_state_pair'/4 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__hlds__hlds_pred__proc_info_has_io_state_pair_4_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r2;
	MR_r2 = MR_tfield(0, MR_r2, 3);
	MR_r3 = MR_tfield(0, MR_tempr1, 6);
	MR_r4 = MR_tfield(0, MR_tempr1, 2);
	MR_np_tailcall_ent(hlds__hlds_pred__proc_info_has_io_state_pair_from_details_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(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_101_97_114_99_104_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module222)
	MR_init_entry1(hlds__hlds_pred__find_lowest_unused_proc_id_2_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__find_lowest_unused_proc_id_2_3_0);
	MR_init_label3(hlds__hlds_pred__find_lowest_unused_proc_id_2_3_0,12,3,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'find_lowest_unused_proc_id_2'/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(hlds__hlds_pred__find_lowest_unused_proc_id_2_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
MR_def_label(hlds__hlds_pred__find_lowest_unused_proc_id_2_3_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_r3 = MR_sv(1);
	MR_np_call_localret_ent(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_115_101_97_114_99_104_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_3_0,
		hlds__hlds_pred__find_lowest_unused_proc_id_2_3_0_i3);
MR_def_label(hlds__hlds_pred__find_lowest_unused_proc_id_2_3_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__find_lowest_unused_proc_id_2_3_0_i2);
	}
	MR_r1 = ((MR_Integer) MR_sv(1) + (MR_Integer) 1);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_GOTO_LAB(hlds__hlds_pred__find_lowest_unused_proc_id_2_3_0_i12);
MR_def_label(hlds__hlds_pred__find_lowest_unused_proc_id_2_3_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_decr_sp_and_return(3);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE


MR_BEGIN_MODULE(hlds__hlds_pred_module223)
	MR_init_entry1(hlds__hlds_pred__clone_proc_id_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__clone_proc_id_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'clone_proc_id'/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__hlds__hlds_pred__clone_proc_id_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(f_104_108_100_115_95_95_104_108_100_115_95_112_114_101_100_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_99_108_111_110_101_95_112_114_111_99_95_105_100_95_95_91_50_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_BEGIN_MODULE(hlds__hlds_pred_module224)
	MR_init_entry1(fn__hlds__hlds_pred__mode_errors_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__mode_errors_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'mode_errors'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__mode_errors_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 13);
	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(hlds__hlds_pred_module225)
	MR_init_entry1(fn__f_104_108_100_115_95_95_104_108_100_115_95_112_114_101_100_95_95_109_111_100_101_95_101_114_114_111_114_115_32_58_61_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__f_104_108_100_115_95_95_104_108_100_115_95_112_114_101_100_95_95_109_111_100_101_95_101_114_114_111_114_115_32_58_61_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'mode_errors :='/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__fn__f_104_108_100_115_95_95_104_108_100_115_95_112_114_101_100_95_95_109_111_100_101_95_101_114_114_111_114_115_32_58_61_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 17);
	MR_tfield(0, MR_tempr1, 0) = MR_tfield(0, MR_r1, 0);
	MR_tfield(0, MR_tempr1, 1) = MR_tfield(0, MR_r1, 1);
	MR_tfield(0, MR_tempr1, 2) = MR_tfield(0, MR_r1, 2);
	MR_tfield(0, MR_tempr1, 3) = MR_tfield(0, MR_r1, 3);
	MR_tfield(0, MR_tempr1, 4) = MR_tfield(0, MR_r1, 4);
	MR_tfield(0, MR_tempr1, 5) = MR_tfield(0, MR_r1, 5);
	MR_tfield(0, MR_tempr1, 6) = MR_tfield(0, MR_r1, 6);
	MR_tfield(0, MR_tempr1, 7) = MR_tfield(0, MR_r1, 7);
	MR_tfield(0, MR_tempr1, 8) = MR_tfield(0, MR_r1, 8);
	MR_tfield(0, MR_tempr1, 9) = MR_tfield(0, MR_r1, 9);
	MR_tfield(0, MR_tempr1, 10) = MR_tfield(0, MR_r1, 10);
	MR_tfield(0, MR_tempr1, 11) = MR_tfield(0, MR_r1, 11);
	MR_tfield(0, MR_tempr1, 12) = MR_tfield(0, MR_r1, 12);
	MR_tfield(0, MR_tempr1, 13) = MR_r2;
	MR_tfield(0, MR_tempr1, 14) = MR_tfield(0, MR_r1, 14);
	MR_tfield(0, MR_tempr1, 15) = MR_tfield(0, MR_r1, 15);
	MR_tfield(0, MR_tempr1, 16) = MR_tfield(0, MR_r1, 16);
	MR_r1 = MR_tempr1;
	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(hlds__hlds_pred_module226)
	MR_init_entry1(hlds__hlds_pred__proc_info_is_valid_mode_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__proc_info_is_valid_mode_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'proc_info_is_valid_mode'/1 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__hlds__hlds_pred__proc_info_is_valid_mode_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 13);
	MR_r1 = ((MR_Integer) MR_r2 == (MR_Integer) MR_tbmkword(0, 0));
	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(varset__search_name_3_0);
MR_decl_entry(fn__string__int_to_string_1_0);
MR_decl_entry(fn__f_115_116_114_105_110_103_95_95_43_43_2_0);
MR_decl_entry(varset__name_var_4_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module227)
	MR_init_entry1(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0);
	MR_init_label7(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0,21,3,5,4,7,8,9)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ensure_all_headvars_are_named_2'/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(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
MR_def_label(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0_i3);
	}
	MR_r1 = MR_r3;
	MR_decr_sp_and_return(5);
MR_def_label(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_tfield(1, MR_r1, 1);
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(1, MR_r1, 0);
	MR_sv(1) = MR_r2;
	MR_tempr2 = MR_r3;
	MR_sv(2) = MR_tempr2;
	MR_sv(3) = MR_tempr1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_r2 = MR_tempr2;
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(varset__search_name_3_0,
		hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0_i5);
MR_def_label(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0_i4);
	}
	MR_r1 = MR_sv(4);
	MR_r3 = MR_sv(2);
	MR_r2 = ((MR_Integer) MR_sv(1) + (MR_Integer) 1);
	MR_succip_word = MR_sv(5);
	MR_GOTO_LAB(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0_i21);
MR_def_label(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(fn__string__int_to_string_1_0,
		hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0_i7);
MR_def_label(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_string_const("HeadVar__", 9);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__f_115_116_114_105_110_103_95_95_43_43_2_0,
		hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0_i8);
MR_def_label(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_sv(2);
	}
	MR_np_call_localret_ent(varset__name_var_4_0,
		hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0_i9);
MR_def_label(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r3 = MR_tempr1;
	MR_r2 = ((MR_Integer) MR_sv(1) + (MR_Integer) 1);
	MR_succip_word = MR_sv(5);
	MR_GOTO_LAB(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0_i21);
	}
#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(hlds__hlds_pred_module228)
	MR_init_entry1(hlds__hlds_pred__ensure_all_headvars_are_named_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__ensure_all_headvars_are_named_2_0);
	MR_init_label1(hlds__hlds_pred__ensure_all_headvars_are_named_2_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ensure_all_headvars_are_named'/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__hlds__hlds_pred__ensure_all_headvars_are_named_2_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_tfield(0, MR_r1, 3);
	MR_r2 = (MR_Integer) 1;
	MR_r3 = MR_tfield(0, MR_sv(1), 1);
	MR_np_call_localret_ent(hlds__hlds_pred__ensure_all_headvars_are_named_2_4_0,
		hlds__hlds_pred__ensure_all_headvars_are_named_2_0_i2);
MR_def_label(hlds__hlds_pred__ensure_all_headvars_are_named_2_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 17);
	{
	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_r1;
	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_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_tfield(0, MR_r2, 9) = MR_tfield(0, MR_tempr1, 9);
	MR_tfield(0, MR_r2, 10) = MR_tfield(0, MR_tempr1, 10);
	MR_tfield(0, MR_r2, 11) = MR_tfield(0, MR_tempr1, 11);
	MR_tfield(0, MR_r2, 12) = MR_tfield(0, MR_tempr1, 12);
	MR_tfield(0, MR_r2, 13) = MR_tfield(0, MR_tempr1, 13);
	MR_tfield(0, MR_r2, 14) = MR_tfield(0, MR_tempr1, 14);
	MR_tfield(0, MR_r2, 15) = MR_tfield(0, MR_tempr1, 15);
	MR_tfield(0, MR_r2, 16) = MR_tfield(0, MR_tempr1, 16);
	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(fn__check_hlds__type_util__check_dummy_type_2_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module229)
	MR_init_entry1(hlds__hlds_pred__var_is_of_dummy_type_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__var_is_of_dummy_type_3_0);
	MR_init_label3(hlds__hlds_pred__var_is_of_dummy_type_3_0,3,4,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'var_is_of_dummy_type'/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__hlds__hlds_pred__var_is_of_dummy_type_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(parse_tree__prog_data, prog_var_type);
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r2;
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_tempr2 = MR_r3;
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_tempr2;
	}
	MR_np_call_localret_ent(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_108_111_111_107_117_112_95_95_91_75_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_0,
		hlds__hlds_pred__var_is_of_dummy_type_3_0_i3);
MR_def_label(hlds__hlds_pred__var_is_of_dummy_type_3_0,3)
	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__check_hlds__type_util__check_dummy_type_2_0,
		hlds__hlds_pred__var_is_of_dummy_type_3_0_i4);
MR_def_label(hlds__hlds_pred__var_is_of_dummy_type_3_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__var_is_of_dummy_type_3_0_i1);
	}
	MR_succip_word = MR_sv(2);
	MR_decr_sp(2);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(hlds__hlds_pred__var_is_of_dummy_type_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_BEGIN_MODULE(hlds__hlds_pred_module230)
	MR_init_entry1(hlds__hlds_pred__field_extraction_function_args_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__field_extraction_function_args_2_0);
	MR_init_label1(hlds__hlds_pred__field_extraction_function_args_2_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'field_extraction_function_args'/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__hlds__hlds_pred__field_extraction_function_args_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TEST(MR_r1,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__field_extraction_function_args_2_0_i2);
	}
	MR_r2 = MR_tfield(1, MR_r1, 1);
	if (MR_LTAGS_TESTR(MR_r2,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__field_extraction_function_args_2_0_i2);
	}
	MR_r1 = MR_tfield(1, MR_r1, 0);
	MR_proceed();
MR_def_label(hlds__hlds_pred__field_extraction_function_args_2_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("hlds.hlds_pred", 14);
	MR_r2 = (MR_Word) MR_string_const("predicate \140hlds.hlds_pred.field_extraction_function_args\'/2", 59);
	MR_r3 = (MR_Word) MR_string_const("num_args != 1", 13);
	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(hlds__hlds_pred_module231)
	MR_init_entry1(hlds__hlds_pred__field_update_function_args_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__field_update_function_args_3_0);
	MR_init_label1(hlds__hlds_pred__field_update_function_args_3_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'field_update_function_args'/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__hlds__hlds_pred__field_update_function_args_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TEST(MR_r1,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__field_update_function_args_3_0_i2);
	}
	{
	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(hlds__hlds_pred__field_update_function_args_3_0_i2);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 1);
	if (MR_LTAGS_TESTR(MR_tempr2,0,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__field_update_function_args_3_0_i2);
	}
	MR_r1 = MR_tfield(1, MR_r1, 0);
	MR_r2 = MR_tfield(1, MR_tempr1, 0);
	MR_proceed();
	}
MR_def_label(hlds__hlds_pred__field_update_function_args_3_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("hlds.hlds_pred", 14);
	MR_r2 = (MR_Word) MR_string_const("predicate \140hlds.hlds_pred.field_update_function_args\'/3", 55);
	MR_r3 = (MR_Word) MR_string_const("num_args != 2", 13);
	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_decl_entry(mdbcomp__prim_data__add_sym_name_suffix_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module232)
	MR_init_entry1(hlds__hlds_pred__field_access_function_name_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__field_access_function_name_3_0);
	MR_init_label1(hlds__hlds_pred__field_access_function_name_3_0,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'field_access_function_name'/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__hlds__hlds_pred__field_access_function_name_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(hlds__hlds_pred__field_access_function_name_3_0_i3);
	}
	MR_r1 = MR_r2;
	MR_proceed();
MR_def_label(hlds__hlds_pred__field_access_function_name_3_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r2;
	MR_r2 = (MR_Word) MR_string_const(" :=", 3);
	MR_np_tailcall_ent(mdbcomp__prim_data__add_sym_name_suffix_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(mdbcomp__prim_data__remove_sym_name_suffix_3_0);
MR_decl_entry(hlds__hlds_module__module_info_get_ctor_field_table_2_0);
MR_decl_entry(map__contains_2_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module233)
	MR_init_entry1(hlds__hlds_pred__is_field_access_function_name_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__is_field_access_function_name_5_0);
	MR_init_label5(hlds__hlds_pred__is_field_access_function_name_5_0,3,2,6,8,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'is_field_access_function_name'/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_define_entry(mercury__hlds__hlds_pred__is_field_access_function_name_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_r2;
	MR_r2 = (MR_Word) MR_string_const(" :=", 3);
	MR_np_call_localret_ent(mdbcomp__prim_data__remove_sym_name_suffix_3_0,
		hlds__hlds_pred__is_field_access_function_name_5_0_i3);
MR_def_label(hlds__hlds_pred__is_field_access_function_name_5_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__is_field_access_function_name_5_0_i2);
	}
	MR_r1 = MR_sv(1);
	MR_sv(1) = (MR_Integer) 2;
	MR_sv(2) = (MR_Integer) 1;
	MR_sv(3) = MR_r2;
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_ctor_field_table_2_0,
		hlds__hlds_pred__is_field_access_function_name_5_0_i6);
MR_def_label(hlds__hlds_pred__is_field_access_function_name_5_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_sv(1) = (MR_Integer) 1;
	MR_sv(3) = MR_sv(2);
	MR_sv(2) = (MR_Integer) 0;
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_ctor_field_table_2_0,
		hlds__hlds_pred__is_field_access_function_name_5_0_i6);
MR_def_label(hlds__hlds_pred__is_field_access_function_name_5_0,6)
	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,1,5);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_sv(3);
	}
	MR_np_call_localret_ent(map__contains_2_0,
		hlds__hlds_pred__is_field_access_function_name_5_0_i8);
MR_def_label(hlds__hlds_pred__is_field_access_function_name_5_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__is_field_access_function_name_5_0_i1);
	}
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_sv(3);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(hlds__hlds_pred__is_field_access_function_name_5_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	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(parse_tree__prog_util__adjust_func_arity_3_1);

MR_BEGIN_MODULE(hlds__hlds_pred_module234)
	MR_init_entry1(hlds__hlds_pred__pred_info_is_field_access_function_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_is_field_access_function_2_0);
	MR_init_label3(hlds__hlds_pred__pred_info_is_field_access_function_2_0,3,5,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_is_field_access_function'/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__hlds__hlds_pred__pred_info_is_field_access_function_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(4);
	MR_sv(4) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(0, MR_r2, 3);
	if (MR_INT_NE(MR_tempr1,1)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_is_field_access_function_2_0_i1);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_tfield(0, MR_r2, 0);
	MR_sv(3) = MR_tfield(0, MR_r2, 1);
	MR_r1 = (MR_Integer) 1;
	MR_r2 = MR_tfield(0, MR_r2, 2);
	}
	MR_np_call_localret_ent(parse_tree__prog_util__adjust_func_arity_3_1,
		hlds__hlds_pred__pred_info_is_field_access_function_2_0_i3);
MR_def_label(hlds__hlds_pred__pred_info_is_field_access_function_2_0,3)
	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_sv(3);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(hlds__hlds_pred__is_field_access_function_name_5_0,
		hlds__hlds_pred__pred_info_is_field_access_function_2_0_i5);
MR_def_label(hlds__hlds_pred__pred_info_is_field_access_function_2_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_is_field_access_function_2_0_i1);
	}
	MR_r1 = (MR_sv(1) == MR_r2);
	MR_decr_sp_and_return(4);
MR_def_label(hlds__hlds_pred__pred_info_is_field_access_function_2_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	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_BEGIN_MODULE(hlds__hlds_pred_module235)
	MR_init_entry1(hlds__hlds_pred__is_unify_or_compare_pred_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__is_unify_or_compare_pred_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'is_unify_or_compare_pred'/1 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__hlds__hlds_pred__is_unify_or_compare_pred_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 4);
	MR_r1 = (MR_tag(MR_r2) == MR_mktag((MR_Integer) 0));
	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(backend_libs__builtin_ops__translate_builtin_5_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module236)
	MR_init_entry1(hlds__hlds_pred__pred_info_is_builtin_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__pred_info_is_builtin_1_0);
	MR_init_label3(hlds__hlds_pred__pred_info_is_builtin_1_0,2,3,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'pred_info_is_builtin'/1 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__hlds__hlds_pred__pred_info_is_builtin_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 2);
	if (MR_INT_GT(MR_r2,3)) {
		MR_GOTO_LAB(hlds__hlds_pred__pred_info_is_builtin_1_0_i1);
	}
	MR_incr_sp(4);
	MR_sv(4) = (MR_Word) MR_succip;
	MR_sv(1) = MR_tfield(0, MR_r1, 0);
	MR_sv(2) = MR_tfield(0, MR_r1, 1);
	MR_sv(3) = MR_r2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_np_call_localret_ent(varset__init_1_0,
		hlds__hlds_pred__pred_info_is_builtin_1_0_i2);
MR_def_label(hlds__hlds_pred__pred_info_is_builtin_1_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(3);
	MR_sv(3) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_tempr2 = MR_r1;
	MR_r1 = MR_sv(3);
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	}
	MR_np_call_localret_ent(varset__new_vars_4_0,
		hlds__hlds_pred__pred_info_is_builtin_1_0_i3);
MR_def_label(hlds__hlds_pred__pred_info_is_builtin_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_r4 = (MR_Integer) 0;
	MR_r5 = MR_tempr1;
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(backend_libs__builtin_ops__translate_builtin_5_0);
	}
MR_def_label(hlds__hlds_pred__pred_info_is_builtin_1_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(hlds__hlds_module__module_info_pred_info_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module237)
	MR_init_entry1(fn__hlds__hlds_pred__builtin_state_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__builtin_state_4_0);
	MR_init_label10(fn__hlds__hlds_pred__builtin_state_4_0,2,3,4,5,8,7,11,12,14,6)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'builtin_state'/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_define_entry(mercury__fn__hlds__hlds_pred__builtin_state_4_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_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(hlds__hlds_module__module_info_pred_info_3_0,
		fn__hlds__hlds_pred__builtin_state_4_0_i2);
MR_def_label(fn__hlds__hlds_pred__builtin_state_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_sv(1) = MR_tfield(0, MR_r1, 0);
	MR_sv(5) = MR_tfield(0, MR_r1, 1);
	MR_sv(6) = MR_tfield(0, MR_r1, 2);
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_globals_2_0,
		fn__hlds__hlds_pred__builtin_state_4_0_i3);
MR_def_label(fn__hlds__hlds_pred__builtin_state_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(7) = MR_r1;
	MR_r2 = (MR_Integer) 322;
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		fn__hlds__hlds_pred__builtin_state_4_0_i4);
MR_def_label(fn__hlds__hlds_pred__builtin_state_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(7);
	MR_sv(7) = MR_r1;
	MR_r1 = MR_tempr1;
	MR_r2 = (MR_Integer) 325;
	}
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		fn__hlds__hlds_pred__builtin_state_4_0_i5);
MR_def_label(fn__hlds__hlds_pred__builtin_state_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_sv(7),1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__builtin_state_4_0_i8);
	}
	if (MR_INT_EQ(MR_r1,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__builtin_state_4_0_i7);
	}
MR_def_label(fn__hlds__hlds_pred__builtin_state_4_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_sv(2) != MR_sv(3))) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__builtin_state_4_0_i6);
	}
MR_def_label(fn__hlds__hlds_pred__builtin_state_4_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_GT(MR_sv(6),3)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__builtin_state_4_0_i6);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_np_call_localret_ent(varset__init_1_0,
		fn__hlds__hlds_pred__builtin_state_4_0_i11);
MR_def_label(fn__hlds__hlds_pred__builtin_state_4_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(varset__new_vars_4_0,
		fn__hlds__hlds_pred__builtin_state_4_0_i12);
MR_def_label(fn__hlds__hlds_pred__builtin_state_4_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(5);
	MR_r4 = MR_sv(4);
	MR_r5 = MR_tempr1;
	}
	MR_np_call_localret_ent(backend_libs__builtin_ops__translate_builtin_5_0,
		fn__hlds__hlds_pred__builtin_state_4_0_i14);
MR_def_label(fn__hlds__hlds_pred__builtin_state_4_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__builtin_state_4_0_i6);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(8);
MR_def_label(fn__hlds__hlds_pred__builtin_state_4_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 2;
	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(hlds__hlds_pred_module238)
	MR_init_entry1(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0);
	MR_init_label10(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,4,3,8,7,13,14,15,16,44,17)
	MR_init_label4(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,18,11,34,20)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'valid_determinism_for_eval_method'/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__fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i3);
	}
	MR_incr_sp(1);
	MR_sv(1) = (MR_Word) MR_succip;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(parse_tree__prog_data__determinism_components_3_0,
		fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i4);
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r2,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i34);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(1);
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i7);
	}
	MR_incr_sp(1);
	MR_sv(1) = (MR_Word) MR_succip;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(parse_tree__prog_data__determinism_components_3_0,
		fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i8);
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r2,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i34);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(1);
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i11);
	}
	if (MR_INT_NE(MR_r2,4)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i13);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r2,5)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i14);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r2,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i15);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r2,6)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i16);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r2,7)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i17);
	}
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,44)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r2,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i18);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r2,3)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i44);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0_i20);
	}
	MR_incr_sp(1);
	MR_sv(1) = (MR_Word) MR_succip;
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(1);
MR_def_label(fn__hlds__hlds_pred__valid_determinism_for_eval_method_2_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("hlds.hlds_pred", 14);
	MR_r2 = (MR_Word) MR_string_const("function \140hlds.hlds_pred.valid_determinism_for_eval_method\'/2", 61);
	MR_r3 = (MR_Word) MR_string_const("called after tabling phase", 26);
	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(hlds__hlds_pred_module239)
	MR_init_entry1(fn__hlds__hlds_pred__eval_method_needs_stratification_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__eval_method_needs_stratification_1_0);
	MR_init_label4(fn__hlds__hlds_pred__eval_method_needs_stratification_1_0,3,4,9,5)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'eval_method_needs_stratification'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__eval_method_needs_stratification_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_needs_stratification_1_0_i3);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_needs_stratification_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_needs_stratification_1_0_i4);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_needs_stratification_1_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_needs_stratification_1_0_i5);
	}
MR_def_label(fn__hlds__hlds_pred__eval_method_needs_stratification_1_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_needs_stratification_1_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_needs_stratification_1_0_i9);
	}
	MR_r1 = (MR_Integer) 1;
	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(hlds__hlds_pred_module240)
	MR_init_entry1(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0);
	MR_init_label5(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0,3,17,4,5,14)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'eval_method_has_per_proc_tabling_pointer'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0_i3);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0_i4);
	}
MR_def_label(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0_i5);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0_i14);
	}
	MR_r2 = MR_tfield(2, MR_r1, 0);
	if (MR_INT_NE(MR_r2,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0_i17);
	}
MR_def_label(fn__hlds__hlds_pred__eval_method_has_per_proc_tabling_pointer_1_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	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(hlds__hlds_pred_module241)
	MR_init_entry1(fn__hlds__hlds_pred__eval_method_requires_tabling_transform_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__eval_method_requires_tabling_transform_1_0);
	MR_init_label3(fn__hlds__hlds_pred__eval_method_requires_tabling_transform_1_0,3,12,4)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'eval_method_requires_tabling_transform'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__eval_method_requires_tabling_transform_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_requires_tabling_transform_1_0_i3);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_requires_tabling_transform_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_requires_tabling_transform_1_0_i4);
	}
MR_def_label(fn__hlds__hlds_pred__eval_method_requires_tabling_transform_1_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_requires_tabling_transform_1_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_requires_tabling_transform_1_0_i12);
	}
	MR_r1 = (MR_Integer) 0;
	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(hlds__hlds_pred_module242)
	MR_init_entry1(fn__hlds__hlds_pred__eval_method_requires_ground_args_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__eval_method_requires_ground_args_1_0);
	MR_init_label3(fn__hlds__hlds_pred__eval_method_requires_ground_args_1_0,3,12,4)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'eval_method_requires_ground_args'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__eval_method_requires_ground_args_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_requires_ground_args_1_0_i3);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_requires_ground_args_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_requires_ground_args_1_0_i4);
	}
MR_def_label(fn__hlds__hlds_pred__eval_method_requires_ground_args_1_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_requires_ground_args_1_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_requires_ground_args_1_0_i12);
	}
	MR_r1 = (MR_Integer) 0;
	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(hlds__hlds_pred_module243)
	MR_init_entry1(fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0);
	MR_init_label4(fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0,3,4,9,5)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'eval_method_destroys_uniqueness'/2 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_define_entry(mercury__fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0_i3);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0_i4);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0_i5);
	}
MR_def_label(fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_destroys_uniqueness_1_0_i9);
	}
	MR_r1 = (MR_Integer) 1;
	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__prog_data__det_conjunction_detism_3_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module244)
	MR_init_entry1(fn__hlds__hlds_pred__eval_method_change_determinism_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__hlds__hlds_pred__eval_method_change_determinism_2_0);
	MR_init_label4(fn__hlds__hlds_pred__eval_method_change_determinism_2_0,3,4,14,5)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'eval_method_change_determinism'/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__fn__hlds__hlds_pred__eval_method_change_determinism_2_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_change_determinism_2_0_i3);
	}
	MR_r1 = MR_r2;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_change_determinism_2_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_change_determinism_2_0_i4);
	}
	MR_r1 = MR_r2;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_change_determinism_2_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_change_determinism_2_0_i5);
	}
MR_def_label(fn__hlds__hlds_pred__eval_method_change_determinism_2_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r2;
	MR_proceed();
MR_def_label(fn__hlds__hlds_pred__eval_method_change_determinism_2_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(fn__hlds__hlds_pred__eval_method_change_determinism_2_0_i14);
	}
	MR_r1 = (MR_Integer) 1;
	MR_np_tailcall_ent(parse_tree__prog_data__det_conjunction_detism_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(hlds__hlds_pred_module245)
	MR_init_entry1(__Unify___hlds__hlds_pred__arg_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__arg_info_0_0);
	MR_init_label2(__Unify___hlds__hlds_pred__arg_info_0_0,4,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___hlds__hlds_pred__arg_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__arg_info_0_0_i4);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_sv(1) = MR_tempr1;
	MR_tempr2 = MR_r2;
	MR_sv(2) = MR_tempr2;
	MR_r1 = MR_tfield(0, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	if ((MR_r1 != MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__arg_info_0_0_i1);
	}
	MR_r1 = MR_tfield(0, MR_tempr1, 1);
	MR_r2 = MR_tfield(0, MR_tempr2, 1);
	MR_r1 = (MR_r1 == MR_r2);
	MR_decr_sp(2);
	MR_proceed();
	}
MR_def_label(__Unify___hlds__hlds_pred__arg_info_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp(2);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__arg_info_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(hlds__hlds_pred_module246)
	MR_init_entry1(__Compare___hlds__hlds_pred__arg_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__arg_info_0_0);
	MR_init_label4(__Compare___hlds__hlds_pred__arg_info_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_define_entry(mercury____Compare___hlds__hlds_pred__arg_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__arg_info_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___hlds__hlds_pred__arg_info_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__arg_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__arg_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_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(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__arg_info_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__arg_info_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__arg_info_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(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__arg_info_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_BEGIN_MODULE(hlds__hlds_pred_module247)
	MR_init_entry1(__Unify___hlds__hlds_pred__arg_loc_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__arg_loc_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___hlds__hlds_pred__arg_loc_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (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(hlds__hlds_pred_module248)
	MR_init_entry1(__Compare___hlds__hlds_pred__arg_loc_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__arg_loc_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___hlds__hlds_pred__arg_loc_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_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(hlds__hlds_pred_module249)
	MR_init_entry1(__Unify___hlds__hlds_pred__arg_mode_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__arg_mode_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___hlds__hlds_pred__arg_mode_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (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(hlds__hlds_pred_module250)
	MR_init_entry1(__Compare___hlds__hlds_pred__arg_mode_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__arg_mode_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___hlds__hlds_pred__arg_mode_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_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___pair__pair_2_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module251)
	MR_init_entry1(__Unify___hlds__hlds_pred__arg_modes_map_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__arg_modes_map_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___hlds__hlds_pred__arg_modes_map_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,5);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_r1;
	MR_r3 = MR_tempr1;
	MR_r4 = MR_tempr2;
	MR_np_tailcall_ent(__Unify___pair__pair_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(__Compare___pair__pair_2_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module252)
	MR_init_entry1(__Compare___hlds__hlds_pred__arg_modes_map_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__arg_modes_map_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___hlds__hlds_pred__arg_modes_map_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,5);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_r1;
	MR_r3 = MR_tempr1;
	MR_r4 = MR_tempr2;
	MR_np_tailcall_ent(__Compare___pair__pair_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(__Unify___parse_tree__prog_data__mer_type_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module253)
	MR_init_entry1(__Unify___hlds__hlds_pred__attribute_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__attribute_0_0);
	MR_init_label1(__Unify___hlds__hlds_pred__attribute_0_0,6)
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___hlds__hlds_pred__attribute_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__attribute_0_0_i6);
	}
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___parse_tree__prog_data__mer_type_0_0);
MR_def_label(__Unify___hlds__hlds_pred__attribute_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(__Compare___parse_tree__prog_data__mer_type_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module254)
	MR_init_entry1(__Compare___hlds__hlds_pred__attribute_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__attribute_0_0);
	MR_init_label2(__Compare___hlds__hlds_pred__attribute_0_0,3,2)
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___hlds__hlds_pred__attribute_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__attribute_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___hlds__hlds_pred__attribute_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__attribute_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__attribute_0_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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___parse_tree__prog_data__mer_type_0_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___parse_tree__prog_data__simple_call_id_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module255)
	MR_init_entry1(__Unify___hlds__hlds_pred__call_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__call_id_0_0);
	MR_init_label3(__Unify___hlds__hlds_pred__call_id_0_0,16,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___hlds__hlds_pred__call_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_id_0_0_i16);
	}
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_sv(1) = MR_tempr1;
	MR_tempr2 = MR_r2;
	MR_sv(2) = MR_tempr2;
	if (MR_PTAG_TESTR(MR_tempr1,1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_id_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_tempr2,1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_id_0_0_i1);
	}
	MR_r1 = MR_tfield(1, MR_tempr1, 0);
	MR_r2 = MR_tfield(1, MR_tempr2, 0);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___hlds__hlds_pred__generic_call_id_0_0);
	}
MR_def_label(__Unify___hlds__hlds_pred__call_id_0_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__call_id_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_id_0_0_i1);
	}
	MR_r1 = MR_tfield(0, MR_sv(1), 0);
	MR_r2 = MR_tfield(0, MR_sv(2), 0);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___parse_tree__prog_data__simple_call_id_0_0);
MR_def_label(__Unify___hlds__hlds_pred__call_id_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___parse_tree__prog_data__simple_call_id_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module256)
	MR_init_entry1(__Compare___hlds__hlds_pred__call_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__call_id_0_0);
	MR_init_label5(__Compare___hlds__hlds_pred__call_id_0_0,3,2,7,5,10)
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___hlds__hlds_pred__call_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_id_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___hlds__hlds_pred__call_id_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__call_id_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__call_id_0_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_id_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_id_0_0_i7);
	}
	MR_r1 = MR_tfield(1, MR_sv(1), 0);
	MR_r2 = MR_tfield(1, MR_sv(2), 0);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Compare___hlds__hlds_pred__generic_call_id_0_0);
MR_def_label(__Compare___hlds__hlds_pred__call_id_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__call_id_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_id_0_0_i10);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__call_id_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_sv(1), 0);
	MR_r2 = MR_tfield(0, MR_sv(2), 0);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Compare___parse_tree__prog_data__simple_call_id_0_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___mdbcomp__goal_path__forward_goal_path_0_0);
MR_decl_entry(__Unify___hlds__hlds_rtti__rtti_proc_label_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module257)
	MR_init_entry1(__Unify___hlds__hlds_pred__call_site_static_data_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__call_site_static_data_0_0);
	MR_init_label7(__Unify___hlds__hlds_pred__call_site_static_data_0_0,5,11,9,15,49,19,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___hlds__hlds_pred__call_site_static_data_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i49);
	}
	MR_incr_sp(9);
	MR_sv(9) = (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,2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_tempr2,2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	MR_tempr3 = MR_tfield(2, MR_tempr1, 0);
	MR_tempr4 = MR_tfield(2, MR_tempr2, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr3, (char *) (MR_Word *) MR_tempr4) != 0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	MR_tempr3 = MR_tfield(2, MR_tempr1, 1);
	MR_tempr4 = MR_tfield(2, MR_tempr2, 1);
	if ((MR_tempr3 != MR_tempr4)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	MR_r1 = MR_tfield(2, MR_tempr1, 2);
	MR_r2 = MR_tfield(2, MR_tempr2, 2);
	MR_decr_sp(9);
	MR_np_tailcall_ent(__Unify___mdbcomp__goal_path__forward_goal_path_0_0);
	}
MR_def_label(__Unify___hlds__hlds_pred__call_site_static_data_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i9);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	{
	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_tempr2, 1);
	MR_sv(6) = MR_tfield(0, MR_tempr2, 2);
	MR_sv(7) = MR_tfield(0, MR_tempr2, 3);
	MR_sv(8) = MR_tfield(0, MR_tempr2, 4);
	MR_r1 = MR_tfield(0, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___hlds__hlds_rtti__rtti_proc_label_0_0,
		__Unify___hlds__hlds_pred__call_site_static_data_0_0_i11);
MR_def_label(__Unify___hlds__hlds_pred__call_site_static_data_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	if ((strcmp((char *) (MR_Word *) MR_sv(1), (char *) (MR_Word *) MR_sv(5)) != 0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	if ((strcmp((char *) (MR_Word *) MR_sv(2), (char *) (MR_Word *) MR_sv(6)) != 0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	if ((MR_sv(3) != MR_sv(7))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(8);
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(__Unify___mdbcomp__goal_path__forward_goal_path_0_0);
MR_def_label(__Unify___hlds__hlds_pred__call_site_static_data_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i15);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tempr3 = MR_sv(1);
	MR_tempr1 = MR_tfield(1, MR_tempr3, 0);
	MR_tempr4 = MR_sv(2);
	MR_tempr2 = MR_tfield(1, MR_tempr4, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr1, (char *) (MR_Word *) MR_tempr2) != 0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	MR_tempr1 = MR_tfield(1, MR_tempr3, 1);
	MR_tempr2 = MR_tfield(1, MR_tempr4, 1);
	if ((MR_tempr1 != MR_tempr2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	MR_r1 = MR_tfield(1, MR_tempr3, 2);
	MR_r2 = MR_tfield(1, MR_tempr4, 2);
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(__Unify___mdbcomp__goal_path__forward_goal_path_0_0);
	}
MR_def_label(__Unify___hlds__hlds_pred__call_site_static_data_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i19);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tempr3 = MR_sv(1);
	MR_tempr1 = MR_tfield(3, MR_tempr3, 1);
	MR_tempr4 = MR_sv(2);
	MR_tempr2 = MR_tfield(3, MR_tempr4, 1);
	if ((strcmp((char *) (MR_Word *) MR_tempr1, (char *) (MR_Word *) MR_tempr2) != 0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	MR_tempr1 = MR_tfield(3, MR_tempr3, 2);
	MR_tempr2 = MR_tfield(3, MR_tempr4, 2);
	if ((MR_tempr1 != MR_tempr2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	MR_r1 = MR_tfield(3, MR_tempr3, 3);
	MR_r2 = MR_tfield(3, MR_tempr4, 3);
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(__Unify___mdbcomp__goal_path__forward_goal_path_0_0);
	}
MR_def_label(__Unify___hlds__hlds_pred__call_site_static_data_0_0,49)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__call_site_static_data_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tempr3 = MR_sv(1);
	MR_tempr1 = MR_tfield(3, MR_tempr3, 1);
	MR_tempr4 = MR_sv(2);
	MR_tempr2 = MR_tfield(3, MR_tempr4, 1);
	if ((strcmp((char *) (MR_Word *) MR_tempr1, (char *) (MR_Word *) MR_tempr2) != 0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	MR_tempr1 = MR_tfield(3, MR_tempr3, 2);
	MR_tempr2 = MR_tfield(3, MR_tempr4, 2);
	if ((MR_tempr1 != MR_tempr2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__call_site_static_data_0_0_i1);
	}
	MR_r1 = MR_tfield(3, MR_tempr3, 3);
	MR_r2 = MR_tfield(3, MR_tempr4, 3);
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(__Unify___mdbcomp__goal_path__forward_goal_path_0_0);
	}
MR_def_label(__Unify___hlds__hlds_pred__call_site_static_data_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	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(private_builtin__builtin_compare_string_3_0);
MR_decl_entry(__Compare___mdbcomp__goal_path__forward_goal_path_0_0);
MR_decl_entry(__Compare___hlds__hlds_rtti__rtti_proc_label_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module258)
	MR_init_entry1(__Compare___hlds__hlds_pred__call_site_static_data_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__call_site_static_data_0_0);
	MR_init_label10(__Compare___hlds__hlds_pred__call_site_static_data_0_0,3,2,9,13,7,19,20,5,24,27)
	MR_init_label10(__Compare___hlds__hlds_pred__call_site_static_data_0_0,31,35,39,25,47,22,51,52,55,59)
	MR_init_label10(__Compare___hlds__hlds_pred__call_site_static_data_0_0,53,49,68,69,70,73,77,66,84,85)
	MR_init_label7(__Compare___hlds__hlds_pred__call_site_static_data_0_0,133,86,134,87,89,93,266)
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___hlds__hlds_pred__call_site_static_data_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i3);
	}
	MR_incr_sp(9);
	MR_sv(9) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i7);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(1);
	MR_sv(4) = MR_tfield(2, MR_tempr5, 1);
	MR_sv(3) = MR_tfield(2, MR_tempr5, 2);
	MR_tempr6 = MR_sv(2);
	MR_tempr1 = MR_tfield(2, MR_tempr6, 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(private_builtin__builtin_compare_string_3_0,
		__Compare___hlds__hlds_pred__call_site_static_data_0_0_i9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i266);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__call_site_static_data_0_0_i13);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i266);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(__Compare___mdbcomp__goal_path__forward_goal_path_0_0);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i19);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i20);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i134);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i22);
	}
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i24);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i25);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(1);
	MR_sv(8) = MR_tfield(0, MR_tempr5, 1);
	MR_sv(7) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(6) = MR_tfield(0, MR_tempr5, 3);
	MR_sv(5) = MR_tfield(0, MR_tempr5, 4);
	MR_tempr6 = MR_sv(2);
	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_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(__Compare___hlds__hlds_rtti__rtti_proc_label_0_0,
		__Compare___hlds__hlds_pred__call_site_static_data_0_0_i27);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i266);
	}
	MR_r1 = MR_sv(8);
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(private_builtin__builtin_compare_string_3_0,
		__Compare___hlds__hlds_pred__call_site_static_data_0_0_i31);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i266);
	}
	MR_r1 = MR_sv(7);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(private_builtin__builtin_compare_string_3_0,
		__Compare___hlds__hlds_pred__call_site_static_data_0_0_i35);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,35)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i266);
	}
	MR_r1 = MR_sv(6);
	MR_r2 = MR_sv(3);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__call_site_static_data_0_0_i39);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,39)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i266);
	}
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(4);
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(__Compare___mdbcomp__goal_path__forward_goal_path_0_0);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i47);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,47)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i134);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i49);
	}
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i51);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,51)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i52);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,52)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i53);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(1);
	MR_sv(4) = MR_tfield(1, MR_tempr5, 1);
	MR_sv(3) = MR_tfield(1, MR_tempr5, 2);
	MR_tempr6 = MR_sv(2);
	MR_tempr1 = MR_tfield(1, MR_tempr6, 2);
	MR_tempr2 = MR_tfield(1, 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(1, MR_tempr3, 0);
	MR_r2 = MR_tfield(1, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(private_builtin__builtin_compare_string_3_0,
		__Compare___hlds__hlds_pred__call_site_static_data_0_0_i55);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,55)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i266);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__call_site_static_data_0_0_i59);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,59)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i266);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(__Compare___mdbcomp__goal_path__forward_goal_path_0_0);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,53)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i134);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,49)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i66);
	}
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i68);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,68)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i69);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,69)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i70);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,70)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i133);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(1);
	MR_sv(4) = MR_tfield(3, MR_tempr5, 2);
	MR_sv(3) = MR_tfield(3, MR_tempr5, 3);
	MR_tempr6 = MR_sv(2);
	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(private_builtin__builtin_compare_string_3_0,
		__Compare___hlds__hlds_pred__call_site_static_data_0_0_i73);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,73)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i266);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__call_site_static_data_0_0_i77);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,77)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i266);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(__Compare___mdbcomp__goal_path__forward_goal_path_0_0);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,66)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i84);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,84)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i85);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,85)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i86);
	}
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,133)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,86)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i87);
	}
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,134)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(9);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,87)
	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(1);
	MR_sv(4) = MR_tfield(3, MR_tempr5, 2);
	MR_sv(3) = MR_tfield(3, MR_tempr5, 3);
	MR_tempr6 = MR_sv(2);
	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(private_builtin__builtin_compare_string_3_0,
		__Compare___hlds__hlds_pred__call_site_static_data_0_0_i89);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,89)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i266);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__call_site_static_data_0_0_i93);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,93)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__call_site_static_data_0_0_i266);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(__Compare___mdbcomp__goal_path__forward_goal_path_0_0);
MR_def_label(__Compare___hlds__hlds_pred__call_site_static_data_0_0,266)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(__Unify___hlds__hlds_goal__hlds_goal_0_0);
MR_decl_entry(__Unify___list__list_1_0);
MR_decl_entry(__Unify___hlds__instmap__instmap_0_0);
MR_decl_entry(__Unify___tree234__tree234_2_0);
MR_decl_entry(__Unify___varset__varset_1_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module259)
	MR_init_entry1(__Unify___hlds__hlds_pred__deep_original_body_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__deep_original_body_0_0);
	MR_init_label6(__Unify___hlds__hlds_pred__deep_original_body_0_0,4,7,9,11,15,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___hlds__hlds_pred__deep_original_body_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_original_body_0_0_i15);
	}
	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_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_tempr2, 1);
	MR_sv(7) = MR_tfield(0, MR_tempr2, 2);
	MR_sv(8) = MR_tfield(0, MR_tempr2, 3);
	MR_sv(9) = MR_tfield(0, MR_tempr2, 4);
	MR_sv(10) = MR_tfield(0, MR_tempr2, 5);
	MR_r1 = MR_tfield(0, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___hlds__hlds_goal__hlds_goal_0_0,
		__Unify___hlds__hlds_pred__deep_original_body_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__deep_original_body_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_original_body_0_0_i1);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r1 = MR_sv(1);
	MR_r2 = MR_tempr1;
	MR_r3 = MR_sv(6);
	}
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__deep_original_body_0_0_i7);
MR_def_label(__Unify___hlds__hlds_pred__deep_original_body_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_original_body_0_0_i1);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(7);
	MR_np_call_localret_ent(__Unify___hlds__instmap__instmap_0_0,
		__Unify___hlds__hlds_pred__deep_original_body_0_0_i9);
MR_def_label(__Unify___hlds__hlds_pred__deep_original_body_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_original_body_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_sv(8);
	MR_np_call_localret_ent(__Unify___tree234__tree234_2_0,
		__Unify___hlds__hlds_pred__deep_original_body_0_0_i11);
MR_def_label(__Unify___hlds__hlds_pred__deep_original_body_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_original_body_0_0_i1);
	}
	if ((MR_sv(4) != MR_sv(9))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_original_body_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(10);
	MR_succip_word = MR_sv(11);
	MR_decr_sp(11);
	MR_np_tailcall_ent(__Unify___varset__varset_1_0);
MR_def_label(__Unify___hlds__hlds_pred__deep_original_body_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__deep_original_body_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	MR_decr_sp_and_return(11);
#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___hlds__hlds_goal__hlds_goal_0_0);
MR_decl_entry(__Compare___list__list_1_0);
MR_decl_entry(__Compare___hlds__instmap__instmap_0_0);
MR_decl_entry(__Compare___tree234__tree234_2_0);
MR_decl_entry(__Compare___varset__varset_1_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module260)
	MR_init_entry1(__Compare___hlds__hlds_pred__deep_original_body_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__deep_original_body_0_0);
	MR_init_label8(__Compare___hlds__hlds_pred__deep_original_body_0_0,3,2,5,10,14,19,23,73)
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___hlds__hlds_pred__deep_original_body_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_original_body_0_0_i3);
	}
	MR_incr_sp(11);
	MR_sv(11) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_original_body_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__deep_original_body_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__deep_original_body_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(10) = MR_tfield(0, MR_tempr5, 5);
	MR_sv(9) = MR_tfield(0, MR_tempr5, 4);
	MR_sv(8) = MR_tfield(0, MR_tempr5, 3);
	MR_sv(7) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(6) = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	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___hlds__hlds_goal__hlds_goal_0_0,
		__Compare___hlds__hlds_pred__deep_original_body_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__deep_original_body_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_original_body_0_0_i73);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(6);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__deep_original_body_0_0_i10);
MR_def_label(__Compare___hlds__hlds_pred__deep_original_body_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_original_body_0_0_i73);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(7);
	MR_np_call_localret_ent(__Compare___hlds__instmap__instmap_0_0,
		__Compare___hlds__hlds_pred__deep_original_body_0_0_i14);
MR_def_label(__Compare___hlds__hlds_pred__deep_original_body_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_original_body_0_0_i73);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_sv(8);
	MR_np_call_localret_ent(__Compare___tree234__tree234_2_0,
		__Compare___hlds__hlds_pred__deep_original_body_0_0_i19);
MR_def_label(__Compare___hlds__hlds_pred__deep_original_body_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_original_body_0_0_i73);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(9);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__deep_original_body_0_0_i23);
MR_def_label(__Compare___hlds__hlds_pred__deep_original_body_0_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_original_body_0_0_i73);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(10);
	MR_succip_word = MR_sv(11);
	MR_decr_sp(11);
	MR_np_tailcall_ent(__Compare___varset__varset_1_0);
MR_def_label(__Compare___hlds__hlds_pred__deep_original_body_0_0,73)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp_and_return(11);
#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___maybe__maybe_1_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module261)
	MR_init_entry1(__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__deep_profile_proc_info_0_0);
	MR_init_label4(__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0,4,6,10,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___hlds__hlds_pred__deep_profile_proc_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0_i10);
	}
	MR_incr_sp(5);
	MR_sv(5) = (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_tempr2, 1);
	MR_sv(4) = MR_tfield(0, MR_tempr2, 2);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, deep_recursion_info);
	MR_r2 = MR_tfield(0, MR_tempr1, 0);
	MR_r3 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, hlds_deep_layout);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(3);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0_i6);
MR_def_label(__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0_i1);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(4);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Unify___hlds__hlds_pred__deep_original_body_0_0);
MR_def_label(__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__deep_profile_proc_info_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	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(__Compare___maybe__maybe_1_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module262)
	MR_init_entry1(__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__deep_profile_proc_info_0_0);
	MR_init_label5(__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0,3,2,5,9,29)
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___hlds__hlds_pred__deep_profile_proc_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0_i3);
	}
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__deep_profile_proc_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(4) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(3) = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	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_Word) MR_CTOR0_ADDR(hlds__hlds_pred, deep_recursion_info);
	MR_r2 = MR_tfield(0, MR_tempr3, 0);
	MR_r3 = MR_tfield(0, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0_i29);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, hlds_deep_layout);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(3);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0_i9);
MR_def_label(__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0_i29);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(4);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Compare___hlds__hlds_pred__deep_original_body_0_0);
MR_def_label(__Compare___hlds__hlds_pred__deep_profile_proc_info_0_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module263)
	MR_init_entry1(__Unify___hlds__hlds_pred__deep_profile_role_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__deep_profile_role_0_0);
	MR_init_label3(__Unify___hlds__hlds_pred__deep_profile_role_0_0,16,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___hlds__hlds_pred__deep_profile_role_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_profile_role_0_0_i16);
	}
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1, MR_tempr2;
	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___hlds__hlds_pred__deep_profile_role_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_tempr2,0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_profile_role_0_0_i1);
	}
	MR_r1 = MR_tfield(0, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___hlds__hlds_pred__pred_proc_id_0_0);
	}
MR_def_label(__Unify___hlds__hlds_pred__deep_profile_role_0_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__deep_profile_role_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_profile_role_0_0_i1);
	}
	MR_r1 = MR_tfield(1, MR_sv(1), 0);
	MR_r2 = MR_tfield(1, MR_sv(2), 0);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___hlds__hlds_pred__pred_proc_id_0_0);
MR_def_label(__Unify___hlds__hlds_pred__deep_profile_role_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(hlds__hlds_pred_module264)
	MR_init_entry1(__Compare___hlds__hlds_pred__deep_profile_role_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__deep_profile_role_0_0);
	MR_init_label5(__Compare___hlds__hlds_pred__deep_profile_role_0_0,3,2,19,7,5)
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___hlds__hlds_pred__deep_profile_role_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_profile_role_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___hlds__hlds_pred__deep_profile_role_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__deep_profile_role_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__deep_profile_role_0_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_profile_role_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_profile_role_0_0_i7);
	}
MR_def_label(__Compare___hlds__hlds_pred__deep_profile_role_0_0,19)
	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(__Compare___hlds__hlds_pred__pred_proc_id_0_0);
MR_def_label(__Compare___hlds__hlds_pred__deep_profile_role_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___hlds__hlds_pred__deep_profile_role_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_profile_role_0_0_i19);
	}
	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_BEGIN_MODULE(hlds__hlds_pred_module265)
	MR_init_entry1(__Unify___hlds__hlds_pred__deep_recursion_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__deep_recursion_info_0_0);
	MR_init_label3(__Unify___hlds__hlds_pred__deep_recursion_info_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_define_entry(mercury____Unify___hlds__hlds_pred__deep_recursion_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_recursion_info_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___hlds__hlds_pred__deep_profile_role_0_0,
		__Unify___hlds__hlds_pred__deep_recursion_info_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__deep_recursion_info_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__deep_recursion_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, visible_scc_data);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
MR_def_label(__Unify___hlds__hlds_pred__deep_recursion_info_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__deep_recursion_info_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(hlds__hlds_pred_module266)
	MR_init_entry1(__Compare___hlds__hlds_pred__deep_recursion_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__deep_recursion_info_0_0);
	MR_init_label4(__Compare___hlds__hlds_pred__deep_recursion_info_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_define_entry(mercury____Compare___hlds__hlds_pred__deep_recursion_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_recursion_info_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___hlds__hlds_pred__deep_recursion_info_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__deep_recursion_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__deep_recursion_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_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___hlds__hlds_pred__deep_profile_role_0_0,
		__Compare___hlds__hlds_pred__deep_recursion_info_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__deep_recursion_info_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__deep_recursion_info_0_0_i21);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, visible_scc_data);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Compare___list__list_1_0);
MR_def_label(__Compare___hlds__hlds_pred__deep_recursion_info_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_BEGIN_MODULE(hlds__hlds_pred_module267)
	MR_init_entry1(__Unify___hlds__hlds_pred__detism_decl_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__detism_decl_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___hlds__hlds_pred__detism_decl_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (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(hlds__hlds_pred_module268)
	MR_init_entry1(__Compare___hlds__hlds_pred__detism_decl_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__detism_decl_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___hlds__hlds_pred__detism_decl_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_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___parse_tree__prog_data__class_id_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module269)
	MR_init_entry1(__Unify___hlds__hlds_pred__generic_call_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__generic_call_id_0_0);
	MR_init_label6(__Unify___hlds__hlds_pred__generic_call_id_0_0,5,9,7,27,13,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___hlds__hlds_pred__generic_call_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__generic_call_id_0_0_i27);
	}
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_sv(1) = MR_tempr1;
	MR_tempr2 = MR_r2;
	MR_sv(2) = MR_tempr2;
	if (MR_PTAG_TESTR(MR_tempr1,3)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__generic_call_id_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_tempr2,3)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__generic_call_id_0_0_i1);
	}
	MR_r1 = MR_tfield(3, MR_tempr1, 0);
	MR_r2 = MR_tfield(3, MR_tempr2, 0);
	MR_r1 = (MR_r1 == MR_r2);
	MR_decr_sp(3);
	MR_proceed();
	}
MR_def_label(__Unify___hlds__hlds_pred__generic_call_id_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__generic_call_id_0_0_i7);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__generic_call_id_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_tfield(1, MR_tempr1, 1);
	MR_tempr2 = MR_sv(2);
	MR_sv(2) = MR_tfield(1, MR_tempr2, 1);
	MR_r1 = MR_tfield(1, MR_tempr1, 0);
	MR_r2 = MR_tfield(1, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___parse_tree__prog_data__class_id_0_0,
		__Unify___hlds__hlds_pred__generic_call_id_0_0_i9);
MR_def_label(__Unify___hlds__hlds_pred__generic_call_id_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__generic_call_id_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___parse_tree__prog_data__simple_call_id_0_0);
MR_def_label(__Unify___hlds__hlds_pred__generic_call_id_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__generic_call_id_0_0_i13);
	}
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__generic_call_id_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(2, MR_sv(1), 0);
	MR_tempr2 = MR_tfield(2, MR_sv(2), 0);
	MR_r1 = (strcmp((char *) (MR_Word *) MR_tempr1, (char *) (MR_Word *) MR_tempr2) == 0);
	MR_decr_sp_and_return(3);
	}
MR_def_label(__Unify___hlds__hlds_pred__generic_call_id_0_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__generic_call_id_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__generic_call_id_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tempr3 = MR_sv(1);
	MR_tempr1 = MR_tfield(0, MR_tempr3, 0);
	MR_tempr4 = MR_sv(2);
	MR_tempr2 = MR_tfield(0, MR_tempr4, 0);
	if ((MR_tempr1 != MR_tempr2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__generic_call_id_0_0_i1);
	}
	MR_tempr1 = MR_tfield(0, MR_tempr3, 1);
	MR_tempr2 = MR_tfield(0, MR_tempr4, 1);
	if ((MR_tempr1 != MR_tempr2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__generic_call_id_0_0_i1);
	}
	MR_tempr1 = MR_tfield(0, MR_tempr3, 2);
	MR_tempr2 = MR_tfield(0, MR_tempr4, 2);
	MR_r1 = (MR_tempr1 == MR_tempr2);
	MR_decr_sp_and_return(3);
	}
MR_def_label(__Unify___hlds__hlds_pred__generic_call_id_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___parse_tree__prog_data__class_id_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module270)
	MR_init_entry1(__Compare___hlds__hlds_pred__generic_call_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__generic_call_id_0_0);
	MR_init_label10(__Compare___hlds__hlds_pred__generic_call_id_0_0,3,2,7,9,5,13,16,14,11,24)
	MR_init_label9(__Compare___hlds__hlds_pred__generic_call_id_0_0,75,25,22,29,30,31,33,37,152)
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___hlds__hlds_pred__generic_call_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i3);
	}
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_sv(2),3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i7);
	}
	MR_r1 = MR_tfield(3, MR_sv(1), 0);
	MR_r2 = MR_tfield(3, MR_sv(2), 0);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i9);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i75);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i11);
	}
	if (MR_PTAG_TESTR(MR_sv(2),3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i13);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i14);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(1);
	MR_tempr1 = MR_tfield(1, MR_tempr5, 1);
	MR_tempr6 = MR_sv(2);
	MR_tempr2 = MR_tfield(1, 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(1, MR_tempr3, 0);
	MR_r2 = MR_tfield(1, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Compare___parse_tree__prog_data__class_id_0_0,
		__Compare___hlds__hlds_pred__generic_call_id_0_0_i16);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i152);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(1);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Compare___parse_tree__prog_data__simple_call_id_0_0);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i75);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i22);
	}
	if (MR_PTAG_TESTR(MR_sv(2),3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i24);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i25);
	}
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,75)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i75);
	}
	MR_r1 = MR_tfield(2, MR_sv(1), 0);
	MR_r2 = MR_tfield(2, MR_sv(2), 0);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(private_builtin__builtin_compare_string_3_0);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i29);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i30);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i31);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,31)
	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(1);
	MR_sv(4) = MR_tfield(0, MR_tempr5, 1);
	MR_sv(3) = MR_tfield(0, MR_tempr5, 2);
	MR_tempr6 = MR_sv(2);
	MR_tempr1 = MR_tfield(0, MR_tempr6, 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_int_3_0,
		__Compare___hlds__hlds_pred__generic_call_id_0_0_i33);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i152);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__generic_call_id_0_0_i37);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,37)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__generic_call_id_0_0_i152);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__generic_call_id_0_0,152)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module271)
	MR_init_entry1(__Unify___hlds__hlds_pred__goal_type_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__goal_type_0_0);
	MR_init_label6(__Unify___hlds__hlds_pred__goal_type_0_0,5,6,7,19,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_define_entry(mercury____Unify___hlds__hlds_pred__goal_type_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__goal_type_0_0_i19);
	}
	{
	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___hlds__hlds_pred__goal_type_0_0_i5);
	}
	MR_r1 = (MR_sv(2) == MR_tempr1);
	MR_decr_sp(2);
	MR_proceed();
	}
MR_def_label(__Unify___hlds__hlds_pred__goal_type_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__goal_type_0_0_i6);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp(2);
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__goal_type_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__goal_type_0_0_i7);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp(2);
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__goal_type_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,3)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__goal_type_0_0_i8);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp(2);
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__goal_type_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp(2);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__goal_type_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__goal_type_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___hlds__hlds_pred__goal_type_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_BEGIN_MODULE(hlds__hlds_pred_module272)
	MR_init_entry1(__Compare___hlds__hlds_pred__goal_type_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__goal_type_0_0);
	MR_init_label10(__Compare___hlds__hlds_pred__goal_type_0_0,7,8,9,5,13,14,15,11,19,20)
	MR_init_label10(__Compare___hlds__hlds_pred__goal_type_0_0,21,17,25,26,27,81,23,30,31,59)
	MR_init_label3(__Compare___hlds__hlds_pred__goal_type_0_0,32,60,33)
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___hlds__hlds_pred__goal_type_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___hlds__hlds_pred__goal_type_0_0_i81);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	if (MR_LTAGS_TESTR(MR_sv(1),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i5);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i7);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp(3);
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i8);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i9);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i60);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i11);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i13);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i14);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i15);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i60);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i17);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i19);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i20);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i21);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i60);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i23);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i25);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i26);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i27);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i59);
	}
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,81)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i30);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i31);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i32);
	}
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,59)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__goal_type_0_0_i33);
	}
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,60)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__goal_type_0_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(1, MR_sv(1), 0);
	MR_r2 = MR_tfield(1, 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);
#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(hlds__hlds_pred_module273)
	MR_init_entry1(__Unify___hlds__hlds_pred__head_type_params_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__head_type_params_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___hlds__hlds_pred__head_type_params_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,0);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	MR_np_tailcall_ent(__Unify___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(hlds__hlds_pred_module274)
	MR_init_entry1(__Compare___hlds__hlds_pred__head_type_params_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__head_type_params_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___hlds__hlds_pred__head_type_params_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,0);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	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_decl_entry(__Unify___term__var_1_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module275)
	MR_init_entry1(__Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0);
	MR_init_label4(__Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0,5,7,11,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___hlds__hlds_pred__hlds_deep_excp_vars_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0_i11);
	}
	MR_incr_sp(7);
	MR_sv(7) = (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_tempr2, 1);
	MR_sv(4) = MR_tfield(0, MR_tempr2, 2);
	MR_sv(5) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_sv(6) = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r1 = MR_sv(5);
	MR_r2 = MR_tfield(0, MR_tempr1, 0);
	MR_r3 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___term__var_1_0,
		__Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0_i5);
MR_def_label(__Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0_i1);
	}
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(3);
	MR_np_call_localret_ent(__Unify___term__var_1_0,
		__Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0_i7);
MR_def_label(__Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0_i1);
	}
	MR_r1 = MR_sv(6);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(4);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Unify___maybe__maybe_1_0);
MR_def_label(__Unify___hlds__hlds_pred__hlds_deep_excp_vars_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__hlds_deep_excp_vars_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(__Compare___term__var_1_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module276)
	MR_init_entry1(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0);
	MR_init_label5(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0,3,2,5,9,39)
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___hlds__hlds_pred__hlds_deep_excp_vars_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0_i3);
	}
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_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(4) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(3) = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	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_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_r2 = MR_tfield(0, MR_tempr3, 0);
	MR_r3 = MR_tfield(0, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Compare___term__var_1_0,
		__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0_i39);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(3);
	MR_np_call_localret_ent(__Compare___term__var_1_0,
		__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0_i9);
MR_def_label(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0_i39);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(4);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Compare___maybe__maybe_1_0);
MR_def_label(__Compare___hlds__hlds_pred__hlds_deep_excp_vars_0_0,39)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module277)
	MR_init_entry1(__Unify___hlds__hlds_pred__hlds_deep_layout_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__hlds_deep_layout_0_0);
	MR_init_label3(__Unify___hlds__hlds_pred__hlds_deep_layout_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_define_entry(mercury____Unify___hlds__hlds_pred__hlds_deep_layout_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__hlds_deep_layout_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___hlds__hlds_pred__hlds_proc_static_0_0,
		__Unify___hlds__hlds_pred__hlds_deep_layout_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__hlds_deep_layout_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__hlds_deep_layout_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___hlds__hlds_pred__hlds_deep_excp_vars_0_0);
MR_def_label(__Unify___hlds__hlds_pred__hlds_deep_layout_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__hlds_deep_layout_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(hlds__hlds_pred_module278)
	MR_init_entry1(__Compare___hlds__hlds_pred__hlds_deep_layout_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__hlds_deep_layout_0_0);
	MR_init_label4(__Compare___hlds__hlds_pred__hlds_deep_layout_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_define_entry(mercury____Compare___hlds__hlds_pred__hlds_deep_layout_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__hlds_deep_layout_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___hlds__hlds_pred__hlds_deep_layout_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__hlds_deep_layout_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__hlds_deep_layout_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___hlds__hlds_pred__hlds_proc_static_0_0,
		__Compare___hlds__hlds_pred__hlds_deep_layout_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__hlds_deep_layout_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__hlds_deep_layout_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___hlds__hlds_pred__hlds_deep_excp_vars_0_0);
MR_def_label(__Compare___hlds__hlds_pred__hlds_deep_layout_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_BEGIN_MODULE(hlds__hlds_pred_module279)
	MR_init_entry1(__Unify___hlds__hlds_pred__hlds_proc_static_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__hlds_proc_static_0_0);
	MR_init_label3(__Unify___hlds__hlds_pred__hlds_proc_static_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_define_entry(mercury____Unify___hlds__hlds_pred__hlds_proc_static_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__hlds_proc_static_0_0_i8);
	}
	MR_incr_sp(3);
	MR_sv(3) = (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;
	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___hlds__hlds_pred__hlds_proc_static_0_0_i1);
	}
	MR_tempr3 = MR_tfield(0, MR_tempr1, 1);
	MR_tempr4 = MR_tfield(0, MR_tempr2, 1);
	if ((MR_tempr3 != MR_tempr4)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__hlds_proc_static_0_0_i1);
	}
	MR_tempr3 = MR_tfield(0, MR_tempr1, 2);
	MR_tempr4 = MR_tfield(0, MR_tempr2, 2);
	if ((MR_tempr3 != MR_tempr4)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__hlds_proc_static_0_0_i1);
	}
	MR_tempr3 = MR_tempr1;
	MR_sv(1) = MR_tfield(0, MR_tempr3, 4);
	MR_tempr4 = MR_tempr2;
	MR_sv(2) = MR_tfield(0, MR_tempr4, 4);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, call_site_static_data);
	MR_r2 = MR_tfield(0, MR_tempr3, 3);
	MR_r3 = MR_tfield(0, MR_tempr4, 3);
	}
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__hlds_proc_static_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__hlds_proc_static_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__hlds_proc_static_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__program_representation, coverage_point_info);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
MR_def_label(__Unify___hlds__hlds_pred__hlds_proc_static_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__hlds_proc_static_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(hlds__hlds_pred_module280)
	MR_init_entry1(__Compare___hlds__hlds_pred__hlds_proc_static_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__hlds_proc_static_0_0);
	MR_init_label7(__Compare___hlds__hlds_pred__hlds_proc_static_0_0,3,2,5,9,13,17,45)
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___hlds__hlds_pred__hlds_proc_static_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__hlds_proc_static_0_0_i3);
	}
	MR_incr_sp(9);
	MR_sv(9) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__hlds_proc_static_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__hlds_proc_static_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__hlds_proc_static_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(8) = MR_tfield(0, MR_tempr5, 4);
	MR_sv(7) = MR_tfield(0, MR_tempr5, 3);
	MR_sv(6) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(5) = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	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(private_builtin__builtin_compare_string_3_0,
		__Compare___hlds__hlds_pred__hlds_proc_static_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__hlds_proc_static_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__hlds_proc_static_0_0_i45);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(5);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__hlds_proc_static_0_0_i9);
MR_def_label(__Compare___hlds__hlds_pred__hlds_proc_static_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__hlds_proc_static_0_0_i45);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(6);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__hlds_proc_static_0_0_i13);
MR_def_label(__Compare___hlds__hlds_pred__hlds_proc_static_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__hlds_proc_static_0_0_i45);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, call_site_static_data);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_sv(7);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__hlds_proc_static_0_0_i17);
MR_def_label(__Compare___hlds__hlds_pred__hlds_proc_static_0_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__hlds_proc_static_0_0_i45);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__program_representation, coverage_point_info);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(8);
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(__Compare___list__list_1_0);
MR_def_label(__Compare___hlds__hlds_pred__hlds_proc_static_0_0,45)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module281)
	MR_init_entry1(__Unify___hlds__hlds_pred__implementation_language_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__implementation_language_0_0);
	MR_init_label3(__Unify___hlds__hlds_pred__implementation_language_0_0,10,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___hlds__hlds_pred__implementation_language_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__implementation_language_0_0_i10);
	}
	{
	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___hlds__hlds_pred__implementation_language_0_0_i5);
	}
	MR_r1 = (MR_sv(2) == MR_tempr1);
	MR_decr_sp(2);
	MR_proceed();
	}
MR_def_label(__Unify___hlds__hlds_pred__implementation_language_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp(2);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__implementation_language_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TEST(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__implementation_language_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___hlds__hlds_pred__implementation_language_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_BEGIN_MODULE(hlds__hlds_pred_module282)
	MR_init_entry1(__Compare___hlds__hlds_pred__implementation_language_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__implementation_language_0_0);
	MR_init_label4(__Compare___hlds__hlds_pred__implementation_language_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___hlds__hlds_pred__implementation_language_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___hlds__hlds_pred__implementation_language_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___hlds__hlds_pred__implementation_language_0_0_i5);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__implementation_language_0_0_i7);
	}
MR_def_label(__Compare___hlds__hlds_pred__implementation_language_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___hlds__hlds_pred__implementation_language_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___hlds__hlds_pred__implementation_language_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__implementation_language_0_0_i9);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__implementation_language_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(1, MR_sv(1), 0);
	MR_r2 = MR_tfield(1, 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);
#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(hlds__hlds_pred_module283)
	MR_init_entry1(__Unify___hlds__hlds_pred__import_status_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__import_status_0_0);
	MR_init_label10(__Unify___hlds__hlds_pred__import_status_0_0,83,5,6,7,8,9,10,11,12,13)
	MR_init_label3(__Unify___hlds__hlds_pred__import_status_0_0,41,14,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___hlds__hlds_pred__import_status_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
MR_def_label(__Unify___hlds__hlds_pred__import_status_0_0,83)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i41);
	}
	{
	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,5)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i5);
	}
	MR_r1 = (MR_sv(2) == MR_tempr1);
	MR_decr_sp_and_return(3);
	}
MR_def_label(__Unify___hlds__hlds_pred__import_status_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i6);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__import_status_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,3)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i7);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__import_status_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,7)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i8);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__import_status_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,8)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i9);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__import_status_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,4)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i10);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__import_status_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i11);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__import_status_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,6)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i12);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__import_status_0_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i13);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__import_status_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i14);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i1);
	}
	MR_r1 = MR_tfield(1, MR_sv(1), 0);
	MR_r2 = MR_tfield(1, MR_sv(2), 0);
	MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i83);
MR_def_label(__Unify___hlds__hlds_pred__import_status_0_0,41)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__import_status_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__import_status_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(2, MR_sv(1), 0);
	MR_tempr2 = MR_tfield(2, MR_sv(2), 0);
	MR_r1 = (MR_tempr1 == MR_tempr2);
	MR_decr_sp_and_return(3);
	}
MR_def_label(__Unify___hlds__hlds_pred__import_status_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(hlds__hlds_pred_module284)
	MR_init_entry1(__Compare___hlds__hlds_pred__import_status_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__import_status_0_0);
	MR_init_label10(__Compare___hlds__hlds_pred__import_status_0_0,734,7,8,9,10,11,12,13,14,15)
	MR_init_label10(__Compare___hlds__hlds_pred__import_status_0_0,5,19,20,21,22,23,24,25,26,27)
	MR_init_label10(__Compare___hlds__hlds_pred__import_status_0_0,17,31,32,33,34,35,36,37,38,39)
	MR_init_label10(__Compare___hlds__hlds_pred__import_status_0_0,29,43,44,45,46,47,48,49,50,51)
	MR_init_label10(__Compare___hlds__hlds_pred__import_status_0_0,41,55,56,57,58,59,60,61,62,63)
	MR_init_label10(__Compare___hlds__hlds_pred__import_status_0_0,53,67,68,69,70,71,72,73,74,75)
	MR_init_label10(__Compare___hlds__hlds_pred__import_status_0_0,65,79,80,81,82,83,84,85,86,87)
	MR_init_label10(__Compare___hlds__hlds_pred__import_status_0_0,77,91,92,93,94,95,96,97,98,99)
	MR_init_label10(__Compare___hlds__hlds_pred__import_status_0_0,89,103,104,105,106,107,108,109,110,358)
	MR_init_label10(__Compare___hlds__hlds_pred__import_status_0_0,111,101,115,116,117,118,119,120,121,122)
	MR_init_label10(__Compare___hlds__hlds_pred__import_status_0_0,123,113,127,128,129,130,131,132,133,134)
	MR_init_label4(__Compare___hlds__hlds_pred__import_status_0_0,258,135,259,136)
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___hlds__hlds_pred__import_status_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,734)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i358);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	if (MR_LTAGS_TESTR(MR_sv(1),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i5);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i7);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i8);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i9);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i10);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i11);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i12);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i13);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i14);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i15);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i259);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i17);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i19);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i20);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i21);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i22);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i23);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i24);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i25);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i26);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i27);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i259);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i29);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i31);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i32);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i33);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i34);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i35);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,35)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i36);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,36)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i37);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,37)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i38);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i39);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,39)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i259);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i41);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i43);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,43)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i44);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,44)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i45);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,45)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i46);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,46)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i47);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,47)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i48);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,48)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i49);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,49)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i50);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,50)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i51);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,51)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i259);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,41)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i53);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i55);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,55)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i56);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,56)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i57);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,57)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i58);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,58)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i59);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,59)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i60);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,60)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i61);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,61)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i62);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,62)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i63);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,63)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i259);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,53)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i65);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i67);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,67)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i68);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,68)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i69);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,69)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i70);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,70)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i71);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,71)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i72);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,72)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i73);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,73)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i74);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,74)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i75);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,75)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i259);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,65)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i77);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i79);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,79)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i80);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,80)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i81);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,81)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i82);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,82)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i83);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,83)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i84);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,84)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i85);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,85)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i86);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,86)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i87);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,87)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i259);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,77)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i89);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i91);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,91)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i92);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,92)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i93);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,93)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i94);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,94)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i95);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,95)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i96);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,96)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i97);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,97)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i98);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,98)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i99);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,99)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i259);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,89)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i101);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i103);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,103)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i104);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,104)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i105);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,105)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i106);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,106)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i107);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,107)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i108);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,108)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i109);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,109)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i110);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,110)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i111);
	}
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,358)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,111)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i259);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,101)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i113);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i115);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,115)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i116);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,116)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i117);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,117)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i118);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,118)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i119);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,119)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i120);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,120)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i121);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,121)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i122);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,122)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i123);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,123)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i258);
	}
	MR_r1 = MR_tfield(1, MR_sv(1), 0);
	MR_r2 = MR_tfield(1, MR_sv(2), 0);
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i734);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,113)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i127);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,127)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i128);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,128)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i129);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,129)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i130);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,130)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i131);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,131)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i132);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,132)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i133);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,133)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i134);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,134)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i135);
	}
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,258)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,135)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__import_status_0_0_i136);
	}
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,259)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__import_status_0_0,136)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(2, MR_sv(1), 0);
	MR_r2 = MR_tfield(2, 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);
#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___parse_tree__prog_data__structure_reuse_domain_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module285)
	MR_init_entry1(__Unify___hlds__hlds_pred__imported_reuse_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__imported_reuse_0_0);
	MR_init_label4(__Unify___hlds__hlds_pred__imported_reuse_0_0,5,7,11,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___hlds__hlds_pred__imported_reuse_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__imported_reuse_0_0_i11);
	}
	MR_incr_sp(5);
	MR_sv(5) = (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_tempr2, 1);
	MR_sv(4) = MR_tfield(0, MR_tempr2, 2);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = MR_tfield(0, MR_tempr1, 0);
	MR_r3 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__imported_reuse_0_0_i5);
MR_def_label(__Unify___hlds__hlds_pred__imported_reuse_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__imported_reuse_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(3);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__imported_reuse_0_0_i7);
MR_def_label(__Unify___hlds__hlds_pred__imported_reuse_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__imported_reuse_0_0_i1);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(4);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Unify___parse_tree__prog_data__structure_reuse_domain_0_0);
MR_def_label(__Unify___hlds__hlds_pred__imported_reuse_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__imported_reuse_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	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(__Compare___parse_tree__prog_data__structure_reuse_domain_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module286)
	MR_init_entry1(__Compare___hlds__hlds_pred__imported_reuse_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__imported_reuse_0_0);
	MR_init_label5(__Compare___hlds__hlds_pred__imported_reuse_0_0,3,2,6,10,39)
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___hlds__hlds_pred__imported_reuse_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__imported_reuse_0_0_i3);
	}
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__imported_reuse_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__imported_reuse_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__imported_reuse_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(4) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(3) = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	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_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = MR_tfield(0, MR_tempr3, 0);
	MR_r3 = MR_tfield(0, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__imported_reuse_0_0_i6);
MR_def_label(__Compare___hlds__hlds_pred__imported_reuse_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__imported_reuse_0_0_i39);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(3);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__imported_reuse_0_0_i10);
MR_def_label(__Compare___hlds__hlds_pred__imported_reuse_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__imported_reuse_0_0_i39);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(4);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Compare___parse_tree__prog_data__structure_reuse_domain_0_0);
MR_def_label(__Compare___hlds__hlds_pred__imported_reuse_0_0,39)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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(__Unify___parse_tree__prog_data__structure_sharing_domain_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module287)
	MR_init_entry1(__Unify___hlds__hlds_pred__imported_sharing_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__imported_sharing_0_0);
	MR_init_label4(__Unify___hlds__hlds_pred__imported_sharing_0_0,5,7,11,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___hlds__hlds_pred__imported_sharing_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__imported_sharing_0_0_i11);
	}
	MR_incr_sp(5);
	MR_sv(5) = (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_tempr2, 1);
	MR_sv(4) = MR_tfield(0, MR_tempr2, 2);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = MR_tfield(0, MR_tempr1, 0);
	MR_r3 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__imported_sharing_0_0_i5);
MR_def_label(__Unify___hlds__hlds_pred__imported_sharing_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__imported_sharing_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(3);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__imported_sharing_0_0_i7);
MR_def_label(__Unify___hlds__hlds_pred__imported_sharing_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__imported_sharing_0_0_i1);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(4);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Unify___parse_tree__prog_data__structure_sharing_domain_0_0);
MR_def_label(__Unify___hlds__hlds_pred__imported_sharing_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__imported_sharing_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	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(__Compare___parse_tree__prog_data__structure_sharing_domain_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module288)
	MR_init_entry1(__Compare___hlds__hlds_pred__imported_sharing_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__imported_sharing_0_0);
	MR_init_label5(__Compare___hlds__hlds_pred__imported_sharing_0_0,3,2,6,10,39)
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___hlds__hlds_pred__imported_sharing_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__imported_sharing_0_0_i3);
	}
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__imported_sharing_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__imported_sharing_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__imported_sharing_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(4) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(3) = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	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_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = MR_tfield(0, MR_tempr3, 0);
	MR_r3 = MR_tfield(0, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__imported_sharing_0_0_i6);
MR_def_label(__Compare___hlds__hlds_pred__imported_sharing_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__imported_sharing_0_0_i39);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(3);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__imported_sharing_0_0_i10);
MR_def_label(__Compare___hlds__hlds_pred__imported_sharing_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__imported_sharing_0_0_i39);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(4);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Compare___parse_tree__prog_data__structure_sharing_domain_0_0);
MR_def_label(__Compare___hlds__hlds_pred__imported_sharing_0_0,39)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module289)
	MR_init_entry1(__Unify___hlds__hlds_pred__is_address_taken_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__is_address_taken_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___hlds__hlds_pred__is_address_taken_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (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(hlds__hlds_pred_module290)
	MR_init_entry1(__Compare___hlds__hlds_pred__is_address_taken_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__is_address_taken_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___hlds__hlds_pred__is_address_taken_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_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___set_ordlist__set_ordlist_1_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module291)
	MR_init_entry1(__Unify___hlds__hlds_pred__liveness_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__liveness_info_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___hlds__hlds_pred__liveness_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	MR_np_tailcall_ent(__Unify___set_ordlist__set_ordlist_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(__Compare___set_ordlist__set_ordlist_1_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module292)
	MR_init_entry1(__Compare___hlds__hlds_pred__liveness_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__liveness_info_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___hlds__hlds_pred__liveness_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	MR_np_tailcall_ent(__Compare___set_ordlist__set_ordlist_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(hlds__hlds_pred_module293)
	MR_init_entry1(__Unify___hlds__hlds_pred__marker_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__marker_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___hlds__hlds_pred__marker_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (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(hlds__hlds_pred_module294)
	MR_init_entry1(__Compare___hlds__hlds_pred__marker_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__marker_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___hlds__hlds_pred__marker_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_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(hlds__hlds_pred_module295)
	MR_init_entry1(__Unify___hlds__hlds_pred__need_to_requantify_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__need_to_requantify_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___hlds__hlds_pred__need_to_requantify_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (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(hlds__hlds_pred_module296)
	MR_init_entry1(__Compare___hlds__hlds_pred__need_to_requantify_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__need_to_requantify_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___hlds__hlds_pred__need_to_requantify_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_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(hlds__hlds_pred_module297)
	MR_init_entry1(__Unify___hlds__hlds_pred__pred_attributes_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__pred_attributes_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___hlds__hlds_pred__pred_attributes_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, attribute);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	MR_np_tailcall_ent(__Unify___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(hlds__hlds_pred_module298)
	MR_init_entry1(__Compare___hlds__hlds_pred__pred_attributes_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__pred_attributes_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___hlds__hlds_pred__pred_attributes_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, attribute);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	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(hlds__hlds_pred_module299)
	MR_init_entry1(__Unify___hlds__hlds_pred__pred_creation_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__pred_creation_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___hlds__hlds_pred__pred_creation_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (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(hlds__hlds_pred_module300)
	MR_init_entry1(__Compare___hlds__hlds_pred__pred_creation_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__pred_creation_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___hlds__hlds_pred__pred_creation_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_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(hlds__hlds_pred_module301)
	MR_init_entry1(__Unify___hlds__hlds_pred__pred_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__pred_id_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___hlds__hlds_pred__pred_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (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(hlds__hlds_pred_module302)
	MR_init_entry1(__Compare___hlds__hlds_pred__pred_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__pred_id_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___hlds__hlds_pred__pred_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_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___mdbcomp__prim_data__sym_name_0_0);
MR_decl_entry(__Unify___parse_tree__prog_data__prog_constraints_0_0);
MR_decl_entry(__Unify___hlds__hlds_clauses__clauses_info_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module303)
	MR_init_entry1(__Unify___hlds__hlds_pred__pred_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__pred_info_0_0);
	MR_init_label10(__Unify___hlds__hlds_pred__pred_info_0_0,4,6,8,10,12,14,16,19,21,23)
	MR_init_label3(__Unify___hlds__hlds_pred__pred_info_0_0,25,29,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___hlds__hlds_pred__pred_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i29);
	}
	MR_incr_sp(29);
	MR_sv(29) = (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_tempr1, 9);
	MR_sv(10) = MR_tfield(0, MR_tempr1, 10);
	MR_sv(11) = MR_tfield(0, MR_tempr1, 11);
	MR_sv(12) = MR_tfield(0, MR_tempr1, 12);
	MR_sv(13) = MR_tfield(0, MR_tempr1, 13);
	MR_sv(14) = MR_tfield(0, MR_tempr1, 14);
	MR_sv(15) = MR_tfield(0, MR_tempr2, 1);
	MR_sv(16) = MR_tfield(0, MR_tempr2, 2);
	MR_sv(17) = MR_tfield(0, MR_tempr2, 3);
	MR_sv(18) = MR_tfield(0, MR_tempr2, 4);
	MR_sv(19) = MR_tfield(0, MR_tempr2, 5);
	MR_sv(20) = MR_tfield(0, MR_tempr2, 6);
	MR_sv(21) = MR_tfield(0, MR_tempr2, 7);
	MR_sv(22) = MR_tfield(0, MR_tempr2, 8);
	MR_sv(23) = MR_tfield(0, MR_tempr2, 9);
	MR_sv(24) = MR_tfield(0, MR_tempr2, 10);
	MR_sv(25) = MR_tfield(0, MR_tempr2, 11);
	MR_sv(26) = MR_tfield(0, MR_tempr2, 12);
	MR_sv(27) = MR_tfield(0, MR_tempr2, 13);
	MR_sv(28) = MR_tfield(0, MR_tempr2, 14);
	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___hlds__hlds_pred__pred_info_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__pred_info_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	if ((strcmp((char *) (MR_Word *) MR_sv(1), (char *) (MR_Word *) MR_sv(15)) != 0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	if ((MR_sv(2) != MR_sv(16))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	if ((MR_sv(3) != MR_sv(17))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(18);
	MR_np_call_localret_ent(__Unify___hlds__hlds_pred__pred_origin_0_0,
		__Unify___hlds__hlds_pred__pred_info_0_0_i6);
MR_def_label(__Unify___hlds__hlds_pred__pred_info_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(19);
	MR_np_call_localret_ent(__Unify___hlds__hlds_pred__import_status_0_0,
		__Unify___hlds__hlds_pred__pred_info_0_0_i8);
MR_def_label(__Unify___hlds__hlds_pred__pred_info_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(20);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__pred_info_0_0_i10);
MR_def_label(__Unify___hlds__hlds_pred__pred_info_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r2 = MR_sv(7);
	MR_r3 = MR_sv(21);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__pred_info_0_0_i12);
MR_def_label(__Unify___hlds__hlds_pred__pred_info_0_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	MR_sv(1) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, tvar_type);
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(8);
	MR_r3 = MR_sv(22);
	MR_np_call_localret_ent(__Unify___varset__varset_1_0,
		__Unify___hlds__hlds_pred__pred_info_0_0_i14);
MR_def_label(__Unify___hlds__hlds_pred__pred_info_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(9);
	MR_r3 = MR_sv(23);
	MR_np_call_localret_ent(__Unify___varset__varset_1_0,
		__Unify___hlds__hlds_pred__pred_info_0_0_i16);
MR_def_label(__Unify___hlds__hlds_pred__pred_info_0_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,0);
	MR_r2 = MR_sv(10);
	MR_r3 = MR_sv(24);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__pred_info_0_0_i19);
MR_def_label(__Unify___hlds__hlds_pred__pred_info_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	MR_r1 = MR_sv(11);
	MR_r2 = MR_sv(25);
	MR_np_call_localret_ent(__Unify___parse_tree__prog_data__prog_constraints_0_0,
		__Unify___hlds__hlds_pred__pred_info_0_0_i21);
MR_def_label(__Unify___hlds__hlds_pred__pred_info_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	MR_r1 = MR_sv(12);
	MR_r2 = MR_sv(26);
	MR_np_call_localret_ent(__Unify___hlds__hlds_clauses__clauses_info_0_0,
		__Unify___hlds__hlds_pred__pred_info_0_0_i23);
MR_def_label(__Unify___hlds__hlds_pred__pred_info_0_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_r3 = MR_sv(13);
	MR_r4 = MR_sv(27);
	MR_np_call_localret_ent(__Unify___tree234__tree234_2_0,
		__Unify___hlds__hlds_pred__pred_info_0_0_i25);
MR_def_label(__Unify___hlds__hlds_pred__pred_info_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_info_0_0_i1);
	}
	MR_r1 = MR_sv(14);
	MR_r2 = MR_sv(28);
	MR_succip_word = MR_sv(29);
	MR_decr_sp(29);
	MR_np_tailcall_ent(__Unify___hlds__hlds_pred__pred_sub_info_0_0);
MR_def_label(__Unify___hlds__hlds_pred__pred_info_0_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__pred_info_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	MR_decr_sp_and_return(29);
#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___parse_tree__prog_data__prog_constraints_0_0);
MR_decl_entry(__Compare___hlds__hlds_clauses__clauses_info_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module304)
	MR_init_entry1(__Compare___hlds__hlds_pred__pred_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__pred_info_0_0);
	MR_init_label10(__Compare___hlds__hlds_pred__pred_info_0_0,3,2,5,9,13,17,21,25,29,33)
	MR_init_label7(__Compare___hlds__hlds_pred__pred_info_0_0,37,41,46,50,54,58,171)
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___hlds__hlds_pred__pred_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i3);
	}
	MR_incr_sp(29);
	MR_sv(29) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__pred_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(28) = MR_tfield(0, MR_tempr5, 14);
	MR_sv(27) = MR_tfield(0, MR_tempr5, 13);
	MR_sv(26) = MR_tfield(0, MR_tempr5, 12);
	MR_sv(25) = MR_tfield(0, MR_tempr5, 11);
	MR_sv(24) = MR_tfield(0, MR_tempr5, 10);
	MR_sv(23) = MR_tfield(0, MR_tempr5, 9);
	MR_sv(22) = MR_tfield(0, MR_tempr5, 8);
	MR_sv(21) = MR_tfield(0, MR_tempr5, 7);
	MR_sv(20) = MR_tfield(0, MR_tempr5, 6);
	MR_sv(19) = MR_tfield(0, MR_tempr5, 5);
	MR_sv(18) = MR_tfield(0, MR_tempr5, 4);
	MR_sv(17) = MR_tfield(0, MR_tempr5, 3);
	MR_sv(16) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(15) = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	MR_sv(14) = MR_tfield(0, MR_tempr6, 14);
	MR_sv(13) = MR_tfield(0, MR_tempr6, 13);
	MR_sv(12) = MR_tfield(0, MR_tempr6, 12);
	MR_sv(11) = MR_tfield(0, MR_tempr6, 11);
	MR_sv(10) = MR_tfield(0, MR_tempr6, 10);
	MR_sv(9) = MR_tfield(0, MR_tempr6, 9);
	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___hlds__hlds_pred__pred_info_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(15);
	MR_np_call_localret_ent(private_builtin__builtin_compare_string_3_0,
		__Compare___hlds__hlds_pred__pred_info_0_0_i9);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(16);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__pred_info_0_0_i13);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(17);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__pred_info_0_0_i17);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(18);
	MR_np_call_localret_ent(__Compare___hlds__hlds_pred__pred_origin_0_0,
		__Compare___hlds__hlds_pred__pred_info_0_0_i21);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(19);
	MR_np_call_localret_ent(__Compare___hlds__hlds_pred__import_status_0_0,
		__Compare___hlds__hlds_pred__pred_info_0_0_i25);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(20);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__pred_info_0_0_i29);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r2 = MR_sv(7);
	MR_r3 = MR_sv(21);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__pred_info_0_0_i33);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, tvar_type);
	MR_r2 = MR_sv(8);
	MR_r3 = MR_sv(22);
	MR_np_call_localret_ent(__Compare___varset__varset_1_0,
		__Compare___hlds__hlds_pred__pred_info_0_0_i37);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,37)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, tvar_type);
	MR_r2 = MR_sv(9);
	MR_r3 = MR_sv(23);
	MR_np_call_localret_ent(__Compare___varset__varset_1_0,
		__Compare___hlds__hlds_pred__pred_info_0_0_i41);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,41)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,0);
	MR_r2 = MR_sv(10);
	MR_r3 = MR_sv(24);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__pred_info_0_0_i46);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,46)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = MR_sv(11);
	MR_r2 = MR_sv(25);
	MR_np_call_localret_ent(__Compare___parse_tree__prog_data__prog_constraints_0_0,
		__Compare___hlds__hlds_pred__pred_info_0_0_i50);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,50)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = MR_sv(12);
	MR_r2 = MR_sv(26);
	MR_np_call_localret_ent(__Compare___hlds__hlds_clauses__clauses_info_0_0,
		__Compare___hlds__hlds_pred__pred_info_0_0_i54);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,54)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_r3 = MR_sv(13);
	MR_r4 = MR_sv(27);
	MR_np_call_localret_ent(__Compare___tree234__tree234_2_0,
		__Compare___hlds__hlds_pred__pred_info_0_0_i58);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,58)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_info_0_0_i171);
	}
	MR_r1 = MR_sv(14);
	MR_r2 = MR_sv(28);
	MR_succip_word = MR_sv(29);
	MR_decr_sp(29);
	MR_np_tailcall_ent(__Compare___hlds__hlds_pred__pred_sub_info_0_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_info_0_0,171)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp_and_return(29);
#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(hlds__hlds_pred_module305)
	MR_init_entry1(__Unify___hlds__hlds_pred__pred_markers_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__pred_markers_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___hlds__hlds_pred__pred_markers_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	MR_np_tailcall_ent(__Unify___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(hlds__hlds_pred_module306)
	MR_init_entry1(__Compare___hlds__hlds_pred__pred_markers_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__pred_markers_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___hlds__hlds_pred__pred_markers_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, marker);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	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_decl_entry(__Unify___hlds__hlds_rtti__instance_method_constraints_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module307)
	MR_init_entry1(__Unify___hlds__hlds_pred__pred_origin_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__pred_origin_0_0);
	MR_init_label10(__Unify___hlds__hlds_pred__pred_origin_0_0,7,5,11,17,19,15,21,23,55,25)
	MR_init_label1(__Unify___hlds__hlds_pred__pred_origin_0_0,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___hlds__hlds_pred__pred_origin_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i55);
	}
	MR_incr_sp(5);
	MR_sv(5) = (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,1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_tempr2,1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i1);
	}
	MR_tempr3 = MR_tempr1;
	MR_sv(1) = MR_tfield(1, MR_tempr3, 1);
	MR_tempr4 = MR_tempr2;
	MR_sv(2) = MR_tfield(1, MR_tempr4, 1);
	MR_r1 = MR_tfield(1, MR_tempr3, 0);
	MR_r2 = MR_tfield(1, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Unify___mdbcomp__prim_data__sym_name_0_0,
		__Unify___hlds__hlds_pred__pred_origin_0_0_i7);
MR_def_label(__Unify___hlds__hlds_pred__pred_origin_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Unify___hlds__hlds_rtti__instance_method_constraints_0_0);
MR_def_label(__Unify___hlds__hlds_pred__pred_origin_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i11);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, special_pred_id);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, type_ctor);
	MR_r3 = MR_tfield(0, MR_sv(1), 0);
	MR_r4 = MR_tfield(0, MR_sv(2), 0);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Unify___pair__pair_2_0);
MR_def_label(__Unify___hlds__hlds_pred__pred_origin_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i15);
	}
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_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_tempr1, 2);
	MR_sv(3) = MR_tfield(2, MR_tempr2, 1);
	MR_sv(4) = MR_tfield(2, MR_tempr2, 2);
	MR_r1 = MR_tfield(2, MR_tempr1, 0);
	MR_r2 = MR_tfield(2, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___hlds__hlds_pred__pred_transformation_0_0,
		__Unify___hlds__hlds_pred__pred_origin_0_0_i17);
MR_def_label(__Unify___hlds__hlds_pred__pred_origin_0_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(3);
	MR_np_localcall_lab(__Unify___hlds__hlds_pred__pred_origin_0_0,
		__Unify___hlds__hlds_pred__pred_origin_0_0_i19);
MR_def_label(__Unify___hlds__hlds_pred__pred_origin_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i1);
	}
	MR_r1 = (MR_sv(2) == MR_sv(4));
	MR_decr_sp_and_return(5);
MR_def_label(__Unify___hlds__hlds_pred__pred_origin_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i21);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_r1 = MR_tfield(3, MR_tempr1, 1);
	MR_tempr2 = MR_sv(2);
	MR_r2 = MR_tfield(3, MR_tempr2, 1);
	if ((strcmp((char *) (MR_Word *) MR_r1, (char *) (MR_Word *) MR_r2) != 0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i1);
	}
	MR_r1 = MR_tfield(3, MR_tempr1, 2);
	MR_r2 = MR_tfield(3, MR_tempr2, 2);
	MR_r1 = (MR_r1 == MR_r2);
	MR_decr_sp_and_return(5);
	}
MR_def_label(__Unify___hlds__hlds_pred__pred_origin_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i23);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i1);
	}
	MR_r1 = MR_tfield(3, MR_sv(1), 1);
	MR_r2 = MR_tfield(3, MR_sv(2), 1);
	MR_r1 = (MR_r1 == MR_r2);
	MR_decr_sp_and_return(5);
MR_def_label(__Unify___hlds__hlds_pred__pred_origin_0_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i25);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tempr3 = MR_sv(1);
	MR_tempr1 = MR_tfield(3, MR_tempr3, 1);
	MR_tempr4 = MR_sv(2);
	MR_tempr2 = MR_tfield(3, MR_tempr4, 1);
	if ((strcmp((char *) (MR_Word *) MR_tempr1, (char *) (MR_Word *) MR_tempr2) != 0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i1);
	}
	MR_tempr1 = MR_tfield(3, MR_tempr3, 2);
	MR_tempr2 = MR_tfield(3, MR_tempr4, 2);
	if ((MR_tempr1 != MR_tempr2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_0_0_i1);
	}
	MR_tempr1 = MR_tfield(3, MR_tempr3, 3);
	MR_tempr2 = MR_tfield(3, MR_tempr4, 3);
	MR_r1 = (MR_tempr1 == MR_tempr2);
	MR_decr_sp_and_return(5);
	}
MR_def_label(__Unify___hlds__hlds_pred__pred_origin_0_0,55)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__pred_origin_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_origin_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(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Unify___mdbcomp__prim_data__sym_name_0_0);
MR_def_label(__Unify___hlds__hlds_pred__pred_origin_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	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(__Compare___hlds__hlds_rtti__instance_method_constraints_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module308)
	MR_init_entry1(__Compare___hlds__hlds_pred__pred_origin_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__pred_origin_0_0);
	MR_init_label10(__Compare___hlds__hlds_pred__pred_origin_0_0,3,2,9,7,14,15,16,17,5,21)
	MR_init_label10(__Compare___hlds__hlds_pred__pred_origin_0_0,22,24,25,26,19,30,31,34,38,32)
	MR_init_label10(__Compare___hlds__hlds_pred__pred_origin_0_0,44,45,28,49,50,51,54,52,59,47)
	MR_init_label10(__Compare___hlds__hlds_pred__pred_origin_0_0,63,64,65,299,66,61,72,73,74,75)
	MR_init_label10(__Compare___hlds__hlds_pred__pred_origin_0_0,76,79,83,70,90,91,92,93,94,95)
	MR_init_label1(__Compare___hlds__hlds_pred__pred_origin_0_0,467)
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___hlds__hlds_pred__pred_origin_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i3);
	}
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_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(1, MR_tempr5, 1);
	MR_tempr6 = MR_sv(2);
	MR_tempr2 = MR_tfield(1, 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(1, MR_tempr3, 0);
	MR_r2 = MR_tfield(1, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Compare___mdbcomp__prim_data__sym_name_0_0,
		__Compare___hlds__hlds_pred__pred_origin_0_0_i9);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i467);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(1);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Compare___hlds__hlds_rtti__instance_method_constraints_0_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i14);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i15);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i16);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i17);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i299);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i19);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i21);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i22);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(mdbcomp__prim_data, special_pred_id);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, type_ctor);
	MR_r3 = MR_tfield(0, MR_sv(1), 0);
	MR_r4 = MR_tfield(0, MR_sv(2), 0);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Compare___pair__pair_2_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i24);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i25);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i26);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i299);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i28);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i30);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i31);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i32);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(1);
	MR_sv(4) = MR_tfield(2, MR_tempr5, 1);
	MR_sv(3) = MR_tfield(2, MR_tempr5, 2);
	MR_tempr6 = MR_sv(2);
	MR_tempr1 = MR_tfield(2, MR_tempr6, 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___hlds__hlds_pred__pred_transformation_0_0,
		__Compare___hlds__hlds_pred__pred_origin_0_0_i34);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i467);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(1);
	MR_np_localcall_lab(__Compare___hlds__hlds_pred__pred_origin_0_0,
		__Compare___hlds__hlds_pred__pred_origin_0_0_i38);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i467);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i44);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,44)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i45);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,45)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i299);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i47);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i49);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,49)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i50);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,50)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i51);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,51)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i52);
	}
	{
	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(private_builtin__builtin_compare_string_3_0,
		__Compare___hlds__hlds_pred__pred_origin_0_0_i54);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,54)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i467);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(1);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,52)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i59);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,59)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i299);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,47)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i61);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i63);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,63)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i64);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,64)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i65);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,65)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i66);
	}
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,299)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,66)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i299);
	}
	MR_r1 = MR_tfield(3, MR_sv(1), 1);
	MR_r2 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,61)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i70);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i72);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,72)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i73);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,73)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i74);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,74)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i75);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,75)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i76);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,76)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i299);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(1);
	MR_sv(4) = MR_tfield(3, MR_tempr5, 2);
	MR_sv(3) = MR_tfield(3, MR_tempr5, 3);
	MR_tempr6 = MR_sv(2);
	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(private_builtin__builtin_compare_string_3_0,
		__Compare___hlds__hlds_pred__pred_origin_0_0_i79);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,79)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i467);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__pred_origin_0_0_i83);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,83)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i467);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,70)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i90);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,90)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i91);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,91)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i92);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,92)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i93);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,93)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i94);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,94)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_origin_0_0_i95);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,95)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(3, MR_sv(1), 1);
	MR_r2 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Compare___mdbcomp__prim_data__sym_name_0_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_origin_0_0,467)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module309)
	MR_init_entry1(__Unify___hlds__hlds_pred__pred_proc_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__pred_proc_id_0_0);
	MR_init_label2(__Unify___hlds__hlds_pred__pred_proc_id_0_0,4,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___hlds__hlds_pred__pred_proc_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_proc_id_0_0_i4);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_sv(1) = MR_tempr1;
	MR_tempr2 = MR_r2;
	MR_sv(2) = MR_tempr2;
	MR_r1 = MR_tfield(0, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	if ((MR_r1 != MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_proc_id_0_0_i1);
	}
	MR_r1 = MR_tfield(0, MR_tempr1, 1);
	MR_r2 = MR_tfield(0, MR_tempr2, 1);
	MR_r1 = (MR_r1 == MR_r2);
	MR_decr_sp(2);
	MR_proceed();
	}
MR_def_label(__Unify___hlds__hlds_pred__pred_proc_id_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp(2);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__pred_proc_id_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_BEGIN_MODULE(hlds__hlds_pred_module310)
	MR_init_entry1(__Compare___hlds__hlds_pred__pred_proc_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__pred_proc_id_0_0);
	MR_init_label4(__Compare___hlds__hlds_pred__pred_proc_id_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_define_entry(mercury____Compare___hlds__hlds_pred__pred_proc_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_proc_id_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___hlds__hlds_pred__pred_proc_id_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__pred_proc_id_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__pred_proc_id_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(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__pred_proc_id_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__pred_proc_id_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_proc_id_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(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_proc_id_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_BEGIN_MODULE(hlds__hlds_pred_module311)
	MR_init_entry1(__Unify___hlds__hlds_pred__pred_proc_list_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__pred_proc_list_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___hlds__hlds_pred__pred_proc_list_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	MR_np_tailcall_ent(__Unify___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(hlds__hlds_pred_module312)
	MR_init_entry1(__Compare___hlds__hlds_pred__pred_proc_list_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__pred_proc_list_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___hlds__hlds_pred__pred_proc_list_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	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_decl_entry(__Unify___term__context_0_0);
MR_decl_entry(__Unify___hlds__inst_graph__inst_graph_info_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module313)
	MR_init_entry1(__Unify___hlds__hlds_pred__pred_sub_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__pred_sub_info_0_0);
	MR_init_label10(__Unify___hlds__hlds_pred__pred_sub_info_0_0,4,6,8,11,13,15,17,19,21,23)
	MR_init_label4(__Unify___hlds__hlds_pred__pred_sub_info_0_0,28,30,34,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___hlds__hlds_pred__pred_sub_info_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_sub_info_0_0_i34);
	}
	MR_incr_sp(25);
	MR_sv(25) = (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_tempr1, 9);
	MR_sv(10) = MR_tfield(0, MR_tempr1, 10);
	MR_sv(11) = MR_tfield(0, MR_tempr1, 11);
	MR_sv(12) = MR_tfield(0, MR_tempr1, 12);
	MR_sv(13) = MR_tfield(0, MR_tempr2, 1);
	MR_sv(14) = MR_tfield(0, MR_tempr2, 2);
	MR_sv(15) = MR_tfield(0, MR_tempr2, 3);
	MR_sv(16) = MR_tfield(0, MR_tempr2, 4);
	MR_sv(17) = MR_tfield(0, MR_tempr2, 5);
	MR_sv(18) = MR_tfield(0, MR_tempr2, 6);
	MR_sv(19) = MR_tfield(0, MR_tempr2, 7);
	MR_sv(20) = MR_tfield(0, MR_tempr2, 8);
	MR_sv(21) = MR_tfield(0, MR_tempr2, 9);
	MR_sv(22) = MR_tfield(0, MR_tempr2, 10);
	MR_sv(23) = MR_tfield(0, MR_tempr2, 11);
	MR_sv(24) = MR_tfield(0, MR_tempr2, 12);
	MR_r1 = MR_tfield(0, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___term__context_0_0,
		__Unify___hlds__hlds_pred__pred_sub_info_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_sub_info_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(13);
	MR_np_call_localret_ent(__Unify___hlds__hlds_pred__goal_type_0_0,
		__Unify___hlds__hlds_pred__pred_sub_info_0_0_i6);
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_sub_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, attribute);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(14);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__pred_sub_info_0_0_i8);
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_sub_info_0_0_i1);
	}
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,1,0);
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, kind);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_sv(15);
	MR_np_call_localret_ent(__Unify___tree234__tree234_2_0,
		__Unify___hlds__hlds_pred__pred_sub_info_0_0_i11);
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_sub_info_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r3 = MR_sv(4);
	MR_r4 = MR_sv(16);
	MR_np_call_localret_ent(__Unify___tree234__tree234_2_0,
		__Unify___hlds__hlds_pred__pred_sub_info_0_0_i13);
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_sub_info_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(17);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__pred_sub_info_0_0_i15);
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_sub_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_constraint);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_data, constraint_proof);
	MR_r3 = MR_sv(6);
	MR_r4 = MR_sv(18);
	MR_np_call_localret_ent(__Unify___tree234__tree234_2_0,
		__Unify___hlds__hlds_pred__pred_sub_info_0_0_i17);
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_sub_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_data, constraint_id);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_constraint);
	MR_r3 = MR_sv(7);
	MR_r4 = MR_sv(19);
	MR_np_call_localret_ent(__Unify___tree234__tree234_2_0,
		__Unify___hlds__hlds_pred__pred_sub_info_0_0_i19);
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_sub_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_constraint);
	MR_r2 = MR_sv(8);
	MR_r3 = MR_sv(20);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__pred_sub_info_0_0_i21);
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_sub_info_0_0_i1);
	}
	MR_r1 = MR_sv(9);
	MR_r2 = MR_sv(21);
	MR_np_call_localret_ent(__Unify___hlds__inst_graph__inst_graph_info_0_0,
		__Unify___hlds__hlds_pred__pred_sub_info_0_0_i23);
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_sub_info_0_0_i1);
	}
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,6);
	MR_r2 = MR_sv(10);
	MR_r3 = MR_sv(22);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__pred_sub_info_0_0_i28);
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_sub_info_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r3 = MR_sv(11);
	MR_r4 = MR_sv(23);
	MR_np_call_localret_ent(__Unify___tree234__tree234_2_0,
		__Unify___hlds__hlds_pred__pred_sub_info_0_0_i30);
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_sub_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_data, assert_id);
	MR_r2 = MR_sv(12);
	MR_r3 = MR_sv(24);
	MR_succip_word = MR_sv(25);
	MR_decr_sp(25);
	MR_np_tailcall_ent(__Unify___set_ordlist__set_ordlist_1_0);
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__pred_sub_info_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	MR_decr_sp_and_return(25);
#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___term__context_0_0);
MR_decl_entry(__Compare___hlds__inst_graph__inst_graph_info_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module314)
	MR_init_entry1(__Compare___hlds__hlds_pred__pred_sub_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__pred_sub_info_0_0);
	MR_init_label10(__Compare___hlds__hlds_pred__pred_sub_info_0_0,3,2,5,9,13,18,23,28,32,36)
	MR_init_label5(__Compare___hlds__hlds_pred__pred_sub_info_0_0,40,44,51,56,155)
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___hlds__hlds_pred__pred_sub_info_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i3);
	}
	MR_incr_sp(25);
	MR_sv(25) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_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(24) = MR_tfield(0, MR_tempr5, 12);
	MR_sv(23) = MR_tfield(0, MR_tempr5, 11);
	MR_sv(22) = MR_tfield(0, MR_tempr5, 10);
	MR_sv(21) = MR_tfield(0, MR_tempr5, 9);
	MR_sv(20) = MR_tfield(0, MR_tempr5, 8);
	MR_sv(19) = MR_tfield(0, MR_tempr5, 7);
	MR_sv(18) = MR_tfield(0, MR_tempr5, 6);
	MR_sv(17) = MR_tfield(0, MR_tempr5, 5);
	MR_sv(16) = MR_tfield(0, MR_tempr5, 4);
	MR_sv(15) = MR_tfield(0, MR_tempr5, 3);
	MR_sv(14) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(13) = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	MR_sv(12) = MR_tfield(0, MR_tempr6, 12);
	MR_sv(11) = MR_tfield(0, MR_tempr6, 11);
	MR_sv(10) = MR_tfield(0, MR_tempr6, 10);
	MR_sv(9) = MR_tfield(0, MR_tempr6, 9);
	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___term__context_0_0,
		__Compare___hlds__hlds_pred__pred_sub_info_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i155);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(13);
	MR_np_call_localret_ent(__Compare___hlds__hlds_pred__goal_type_0_0,
		__Compare___hlds__hlds_pred__pred_sub_info_0_0_i9);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i155);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, attribute);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(14);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__pred_sub_info_0_0_i13);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i155);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,0);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, kind);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_sv(15);
	MR_np_call_localret_ent(__Compare___tree234__tree234_2_0,
		__Compare___hlds__hlds_pred__pred_sub_info_0_0_i18);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i155);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,0);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r3 = MR_sv(4);
	MR_r4 = MR_sv(16);
	MR_np_call_localret_ent(__Compare___tree234__tree234_2_0,
		__Compare___hlds__hlds_pred__pred_sub_info_0_0_i23);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i155);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,0);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(17);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__pred_sub_info_0_0_i28);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i155);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_constraint);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_data, constraint_proof);
	MR_r3 = MR_sv(6);
	MR_r4 = MR_sv(18);
	MR_np_call_localret_ent(__Compare___tree234__tree234_2_0,
		__Compare___hlds__hlds_pred__pred_sub_info_0_0_i32);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i155);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_data, constraint_id);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_constraint);
	MR_r3 = MR_sv(7);
	MR_r4 = MR_sv(19);
	MR_np_call_localret_ent(__Compare___tree234__tree234_2_0,
		__Compare___hlds__hlds_pred__pred_sub_info_0_0_i36);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,36)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i155);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_constraint);
	MR_r2 = MR_sv(8);
	MR_r3 = MR_sv(20);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__pred_sub_info_0_0_i40);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,40)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i155);
	}
	MR_r1 = MR_sv(9);
	MR_r2 = MR_sv(21);
	MR_np_call_localret_ent(__Compare___hlds__inst_graph__inst_graph_info_0_0,
		__Compare___hlds__hlds_pred__pred_sub_info_0_0_i44);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,44)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i155);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,6);
	MR_r2 = MR_sv(10);
	MR_r3 = MR_sv(22);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__pred_sub_info_0_0_i51);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,51)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i155);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r3 = MR_sv(11);
	MR_r4 = MR_sv(23);
	MR_np_call_localret_ent(__Compare___tree234__tree234_2_0,
		__Compare___hlds__hlds_pred__pred_sub_info_0_0_i56);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,56)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_sub_info_0_0_i155);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_data, assert_id);
	MR_r2 = MR_sv(12);
	MR_r3 = MR_sv(24);
	MR_succip_word = MR_sv(25);
	MR_decr_sp(25);
	MR_np_tailcall_ent(__Compare___set_ordlist__set_ordlist_1_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_sub_info_0_0,155)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp_and_return(25);
#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(hlds__hlds_pred_module315)
	MR_init_entry1(__Unify___hlds__hlds_pred__pred_transformation_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__pred_transformation_0_0);
	MR_init_label10(__Unify___hlds__hlds_pred__pred_transformation_0_0,5,6,7,8,9,10,12,14,18,20)
	MR_init_label6(__Unify___hlds__hlds_pred__pred_transformation_0_0,22,26,28,77,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_define_entry(mercury____Unify___hlds__hlds_pred__pred_transformation_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i77);
	}
	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___hlds__hlds_pred__pred_transformation_0_0_i5);
	}
	MR_r1 = (MR_sv(2) == MR_tempr1);
	MR_decr_sp(3);
	MR_proceed();
	}
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,4)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i6);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i7);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,3)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i8);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i9);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i10);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_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 = (MR_tempr1 == MR_tempr2);
	MR_decr_sp_and_return(3);
	}
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i12);
	}
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(2, MR_sv(1), 0);
	MR_tempr2 = MR_tfield(2, MR_sv(2), 0);
	MR_r1 = (MR_tempr1 == MR_tempr2);
	MR_decr_sp_and_return(3);
	}
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i14);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = MR_tfield(3, MR_sv(1), 1);
	MR_r3 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,7)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i18);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_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 = (MR_tempr1 == MR_tempr2);
	MR_decr_sp_and_return(3);
	}
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,3)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i20);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_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 = (MR_tempr1 == MR_tempr2);
	MR_decr_sp_and_return(3);
	}
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,6)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i22);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tempr3 = MR_sv(1);
	MR_tempr1 = MR_tfield(3, MR_tempr3, 1);
	MR_tempr4 = MR_sv(2);
	MR_tempr2 = MR_tfield(3, MR_tempr4, 1);
	if ((MR_tempr1 != MR_tempr2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = MR_tfield(3, MR_tempr3, 2);
	MR_r3 = MR_tfield(3, MR_tempr4, 2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
	}
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,4)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i26);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_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 = (MR_tempr1 == MR_tempr2);
	MR_decr_sp_and_return(3);
	}
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i28);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,7);
	MR_r2 = MR_tfield(3, MR_sv(1), 1);
	MR_r3 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,5)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i33);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_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 = (MR_tempr1 == MR_tempr2);
	MR_decr_sp_and_return(3);
	}
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,77)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_0_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__pred_transformation_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = MR_tfield(3, MR_sv(1), 1);
	MR_r3 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
MR_def_label(__Unify___hlds__hlds_pred__pred_transformation_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(hlds__hlds_pred_module316)
	MR_init_entry1(__Index___hlds__hlds_pred__pred_transformation_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Index___hlds__hlds_pred__pred_transformation_0_0);
	MR_init_label10(__Index___hlds__hlds_pred__pred_transformation_0_0,3,4,5,6,7,8,9,10,11,12)
	MR_init_label4(__Index___hlds__hlds_pred__pred_transformation_0_0,13,14,15,16)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for '__Index__'/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____Index___hlds__hlds_pred__pred_transformation_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i3);
	}
	MR_r1 = (MR_Integer) 8;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,4)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i4);
	}
	MR_r1 = (MR_Integer) 14;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,2)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i5);
	}
	MR_r1 = (MR_Integer) 11;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,3)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i6);
	}
	MR_r1 = (MR_Integer) 13;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i7);
	}
	MR_r1 = (MR_Integer) 10;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,1)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i8);
	}
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i9);
	}
	MR_r1 = (MR_Integer) 1;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r1,3,2)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i10);
	}
	MR_r1 = (MR_Integer) 4;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r1,3,7)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i11);
	}
	MR_r1 = (MR_Integer) 12;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r1,3,3)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i12);
	}
	MR_r1 = (MR_Integer) 5;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r1,3,6)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i13);
	}
	MR_r1 = (MR_Integer) 9;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r1,3,4)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i14);
	}
	MR_r1 = (MR_Integer) 6;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r1,3,0)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i15);
	}
	MR_r1 = (MR_Integer) 2;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_r1,3,5)) {
		MR_GOTO_LAB(__Index___hlds__hlds_pred__pred_transformation_0_0_i16);
	}
	MR_r1 = (MR_Integer) 7;
	MR_proceed();
MR_def_label(__Index___hlds__hlds_pred__pred_transformation_0_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 3;
	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__compare_error_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module317)
	MR_init_entry1(__Compare___hlds__hlds_pred__pred_transformation_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__pred_transformation_0_0);
	MR_init_label10(__Compare___hlds__hlds_pred__pred_transformation_0_0,4,5,6,7,10,11,12,13,90,14)
	MR_init_label10(__Compare___hlds__hlds_pred__pred_transformation_0_0,15,18,21,24,27,33,30,38,41,45)
	MR_init_label2(__Compare___hlds__hlds_pred__pred_transformation_0_0,8,54)
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___hlds__hlds_pred__pred_transformation_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(4);
	MR_sv(4) = (MR_Word) MR_succip;
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i90);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_np_call_localret_ent(__Index___hlds__hlds_pred__pred_transformation_0_0,
		__Compare___hlds__hlds_pred__pred_transformation_0_0_i4);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(__Index___hlds__hlds_pred__pred_transformation_0_0,
		__Compare___hlds__hlds_pred__pred_transformation_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (((MR_Integer) MR_sv(3) >= (MR_Integer) MR_r1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i6);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(4);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (((MR_Integer) MR_sv(3) <= (MR_Integer) MR_r1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i7);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(4);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i10);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(4);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i11);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(4);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i12);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(4);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i13);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(4);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i14);
	}
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,90)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(4);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i15);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i8);
	}
	MR_r1 = MR_tfield(1, MR_sv(1), 0);
	MR_r2 = MR_tfield(1, MR_sv(2), 0);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i18);
	}
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i8);
	}
	MR_r1 = MR_tfield(2, MR_sv(1), 0);
	MR_r2 = MR_tfield(2, MR_sv(2), 0);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i21);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i8);
	}
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = MR_tfield(3, MR_sv(1), 1);
	MR_r3 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(__Compare___list__list_1_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i24);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i8);
	}
	MR_r1 = MR_tfield(3, MR_sv(1), 1);
	MR_r2 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i27);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i8);
	}
	MR_r1 = MR_tfield(3, MR_sv(1), 1);
	MR_r2 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i30);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i8);
	}
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4, MR_tempr5, MR_tempr6;
	MR_tempr5 = MR_sv(2);
	MR_tempr1 = MR_tfield(3, MR_tempr5, 2);
	MR_tempr6 = MR_sv(1);
	MR_tempr2 = MR_tfield(3, MR_tempr6, 2);
	MR_tempr3 = MR_tempr6;
	MR_sv(1) = MR_tempr2;
	MR_tempr4 = MR_tempr5;
	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(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__pred_transformation_0_0_i33);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i54);
	}
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(__Compare___list__list_1_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i38);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i8);
	}
	MR_r1 = MR_tfield(3, MR_sv(1), 1);
	MR_r2 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i41);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i8);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,7);
	MR_r2 = MR_tfield(3, MR_sv(1), 1);
	MR_r3 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(__Compare___list__list_1_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,41)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(1),3,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i45);
	}
	if (MR_RTAGS_TESTR(MR_sv(2),3,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i8);
	}
	MR_r1 = MR_tfield(3, MR_sv(1), 1);
	MR_r2 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,45)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_RTAGS_TESTR(MR_sv(2),3,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__pred_transformation_0_0_i8);
	}
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = MR_tfield(3, MR_sv(1), 1);
	MR_r3 = MR_tfield(3, MR_sv(2), 1);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(__Compare___list__list_1_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(private_builtin__compare_error_0_0);
MR_def_label(__Compare___hlds__hlds_pred__pred_transformation_0_0,54)
	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(hlds__hlds_pred_module318)
	MR_init_entry1(__Unify___hlds__hlds_pred__proc_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__proc_id_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___hlds__hlds_pred__proc_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (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(hlds__hlds_pred_module319)
	MR_init_entry1(__Compare___hlds__hlds_pred__proc_id_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__proc_id_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___hlds__hlds_pred__proc_id_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_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___hlds__hlds_rtti__rtti_varmaps_0_0);
MR_decl_entry(__Unify___parse_tree__prog_data__eval_method_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module320)
	MR_init_entry1(__Unify___hlds__hlds_pred__proc_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__proc_info_0_0);
	MR_init_label10(__Unify___hlds__hlds_pred__proc_info_0_0,4,6,9,11,13,16,18,21,24,26)
	MR_init_label6(__Unify___hlds__hlds_pred__proc_info_0_0,28,30,32,34,38,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___hlds__hlds_pred__proc_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i38);
	}
	MR_incr_sp(33);
	MR_sv(33) = (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_tempr1, 9);
	MR_sv(10) = MR_tfield(0, MR_tempr1, 10);
	MR_sv(11) = MR_tfield(0, MR_tempr1, 11);
	MR_sv(12) = MR_tfield(0, MR_tempr1, 12);
	MR_sv(13) = MR_tfield(0, MR_tempr1, 13);
	MR_sv(14) = MR_tfield(0, MR_tempr1, 14);
	MR_sv(15) = MR_tfield(0, MR_tempr1, 15);
	MR_sv(16) = MR_tfield(0, MR_tempr1, 16);
	MR_sv(17) = MR_tfield(0, MR_tempr2, 1);
	MR_sv(18) = MR_tfield(0, MR_tempr2, 2);
	MR_sv(19) = MR_tfield(0, MR_tempr2, 3);
	MR_sv(20) = MR_tfield(0, MR_tempr2, 4);
	MR_sv(21) = MR_tfield(0, MR_tempr2, 5);
	MR_sv(22) = MR_tfield(0, MR_tempr2, 6);
	MR_sv(23) = MR_tfield(0, MR_tempr2, 7);
	MR_sv(24) = MR_tfield(0, MR_tempr2, 8);
	MR_sv(25) = MR_tfield(0, MR_tempr2, 9);
	MR_sv(26) = MR_tfield(0, MR_tempr2, 10);
	MR_sv(27) = MR_tfield(0, MR_tempr2, 11);
	MR_sv(28) = MR_tfield(0, MR_tempr2, 12);
	MR_sv(29) = MR_tfield(0, MR_tempr2, 13);
	MR_sv(30) = MR_tfield(0, MR_tempr2, 14);
	MR_sv(31) = MR_tfield(0, MR_tempr2, 15);
	MR_sv(32) = MR_tfield(0, MR_tempr2, 16);
	MR_r1 = MR_tfield(0, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___term__context_0_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(17);
	MR_np_call_localret_ent(__Unify___varset__varset_1_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i6);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_sv(18);
	MR_np_call_localret_ent(__Unify___tree234__tree234_2_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i9);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_sv(19);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i11);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, inst_var_type);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(20);
	MR_np_call_localret_ent(__Unify___varset__varset_1_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i13);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_sv(1) = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_mode);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,6);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(21);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i16);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(22);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i18);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,7);
	MR_r2 = MR_sv(7);
	MR_r3 = MR_sv(23);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i21);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,8);
	MR_r2 = MR_sv(8);
	MR_r3 = MR_sv(24);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i24);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, determinism);
	MR_r2 = MR_sv(9);
	MR_r3 = MR_sv(25);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i26);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	if ((MR_sv(10) != MR_sv(26))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_r1 = MR_sv(11);
	MR_r2 = MR_sv(27);
	MR_np_call_localret_ent(__Unify___hlds__hlds_goal__hlds_goal_0_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i28);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	if ((MR_sv(12) != MR_sv(28))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(check_hlds__mode_errors, mode_error_info);
	MR_r2 = MR_sv(13);
	MR_r3 = MR_sv(29);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i30);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_r1 = MR_sv(14);
	MR_r2 = MR_sv(30);
	MR_np_call_localret_ent(__Unify___hlds__hlds_rtti__rtti_varmaps_0_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i32);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_r1 = MR_sv(15);
	MR_r2 = MR_sv(31);
	MR_np_call_localret_ent(__Unify___parse_tree__prog_data__eval_method_0_0,
		__Unify___hlds__hlds_pred__proc_info_0_0_i34);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_info_0_0_i1);
	}
	MR_r1 = MR_sv(16);
	MR_r2 = MR_sv(32);
	MR_succip_word = MR_sv(33);
	MR_decr_sp(33);
	MR_np_tailcall_ent(__Unify___hlds__hlds_pred__proc_sub_info_0_0);
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__proc_info_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	MR_decr_sp_and_return(33);
#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___hlds__hlds_rtti__rtti_varmaps_0_0);
MR_decl_entry(__Compare___parse_tree__prog_data__eval_method_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module321)
	MR_init_entry1(__Compare___hlds__hlds_pred__proc_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__proc_info_0_0);
	MR_init_label10(__Compare___hlds__hlds_pred__proc_info_0_0,3,2,5,9,14,19,23,28,32,37)
	MR_init_label9(__Compare___hlds__hlds_pred__proc_info_0_0,42,46,50,54,58,62,66,70,197)
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___hlds__hlds_pred__proc_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i3);
	}
	MR_incr_sp(33);
	MR_sv(33) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__proc_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(32) = MR_tfield(0, MR_tempr5, 16);
	MR_sv(31) = MR_tfield(0, MR_tempr5, 15);
	MR_sv(30) = MR_tfield(0, MR_tempr5, 14);
	MR_sv(29) = MR_tfield(0, MR_tempr5, 13);
	MR_sv(28) = MR_tfield(0, MR_tempr5, 12);
	MR_sv(27) = MR_tfield(0, MR_tempr5, 11);
	MR_sv(26) = MR_tfield(0, MR_tempr5, 10);
	MR_sv(25) = MR_tfield(0, MR_tempr5, 9);
	MR_sv(24) = MR_tfield(0, MR_tempr5, 8);
	MR_sv(23) = MR_tfield(0, MR_tempr5, 7);
	MR_sv(22) = MR_tfield(0, MR_tempr5, 6);
	MR_sv(21) = MR_tfield(0, MR_tempr5, 5);
	MR_sv(20) = MR_tfield(0, MR_tempr5, 4);
	MR_sv(19) = MR_tfield(0, MR_tempr5, 3);
	MR_sv(18) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(17) = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	MR_sv(16) = MR_tfield(0, MR_tempr6, 16);
	MR_sv(15) = MR_tfield(0, MR_tempr6, 15);
	MR_sv(14) = MR_tfield(0, MR_tempr6, 14);
	MR_sv(13) = MR_tfield(0, MR_tempr6, 13);
	MR_sv(12) = MR_tfield(0, MR_tempr6, 12);
	MR_sv(11) = MR_tfield(0, MR_tempr6, 11);
	MR_sv(10) = MR_tfield(0, MR_tempr6, 10);
	MR_sv(9) = MR_tfield(0, MR_tempr6, 9);
	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___term__context_0_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(17);
	MR_np_call_localret_ent(__Compare___varset__varset_1_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i9);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_sv(18);
	MR_np_call_localret_ent(__Compare___tree234__tree234_2_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i14);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_sv(19);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i19);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, inst_var_type);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(20);
	MR_np_call_localret_ent(__Compare___varset__varset_1_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i23);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,6);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(21);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i28);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_mode);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(22);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i32);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,7);
	MR_r2 = MR_sv(7);
	MR_r3 = MR_sv(23);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i37);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,37)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,8);
	MR_r2 = MR_sv(8);
	MR_r3 = MR_sv(24);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i42);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,42)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, determinism);
	MR_r2 = MR_sv(9);
	MR_r3 = MR_sv(25);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i46);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,46)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = MR_sv(10);
	MR_r2 = MR_sv(26);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i50);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,50)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = MR_sv(11);
	MR_r2 = MR_sv(27);
	MR_np_call_localret_ent(__Compare___hlds__hlds_goal__hlds_goal_0_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i54);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,54)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = MR_sv(12);
	MR_r2 = MR_sv(28);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i58);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,58)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(check_hlds__mode_errors, mode_error_info);
	MR_r2 = MR_sv(13);
	MR_r3 = MR_sv(29);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i62);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,62)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = MR_sv(14);
	MR_r2 = MR_sv(30);
	MR_np_call_localret_ent(__Compare___hlds__hlds_rtti__rtti_varmaps_0_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i66);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,66)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = MR_sv(15);
	MR_r2 = MR_sv(31);
	MR_np_call_localret_ent(__Compare___parse_tree__prog_data__eval_method_0_0,
		__Compare___hlds__hlds_pred__proc_info_0_0_i70);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,70)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_info_0_0_i197);
	}
	MR_r1 = MR_sv(16);
	MR_r2 = MR_sv(32);
	MR_succip_word = MR_sv(33);
	MR_decr_sp(33);
	MR_np_tailcall_ent(__Compare___hlds__hlds_pred__proc_sub_info_0_0);
MR_def_label(__Compare___hlds__hlds_pred__proc_info_0_0,197)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp_and_return(33);
#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___transform_hlds__term_constr_main__termination2_info_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module322)
	MR_init_entry1(__Unify___hlds__hlds_pred__proc_sub_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__proc_sub_info_0_0);
	MR_init_label10(__Unify___hlds__hlds_pred__proc_sub_info_0_0,6,9,11,14,17,19,21,23,25,27)
	MR_init_label7(__Unify___hlds__hlds_pred__proc_sub_info_0_0,29,31,33,35,37,41,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___hlds__hlds_pred__proc_sub_info_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i41);
	}
	MR_incr_sp(42);
	MR_sv(42) = (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;
	MR_tempr3 = MR_tfield(0, MR_tempr1, 0);
	MR_tempr4 = MR_tfield(0, MR_tempr2, 0);
	if ((MR_tempr3 != MR_tempr4)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_tempr3 = MR_tempr1;
	MR_sv(1) = MR_tfield(0, MR_tempr3, 2);
	MR_tempr4 = MR_tempr2;
	MR_sv(2) = MR_tfield(0, MR_tempr3, 3);
	MR_sv(3) = MR_tfield(0, MR_tempr3, 4);
	MR_sv(4) = MR_tfield(0, MR_tempr3, 5);
	MR_sv(5) = MR_tfield(0, MR_tempr3, 6);
	MR_sv(6) = MR_tfield(0, MR_tempr3, 7);
	MR_sv(7) = MR_tfield(0, MR_tempr3, 8);
	MR_sv(8) = MR_tfield(0, MR_tempr3, 9);
	MR_sv(9) = MR_tfield(0, MR_tempr3, 10);
	MR_sv(10) = MR_tfield(0, MR_tempr3, 11);
	MR_sv(11) = MR_tfield(0, MR_tempr3, 12);
	MR_sv(12) = MR_tfield(0, MR_tempr3, 13);
	MR_sv(13) = MR_tfield(0, MR_tempr3, 14);
	MR_sv(14) = MR_tfield(0, MR_tempr3, 15);
	MR_sv(15) = MR_tfield(0, MR_tempr3, 16);
	MR_sv(16) = MR_tfield(0, MR_tempr3, 17);
	MR_sv(17) = MR_tfield(0, MR_tempr3, 18);
	MR_sv(18) = MR_tfield(0, MR_tempr3, 19);
	MR_sv(19) = MR_tfield(0, MR_tempr3, 20);
	MR_sv(20) = MR_tfield(0, MR_tempr3, 21);
	MR_sv(21) = MR_tfield(0, MR_tempr4, 2);
	MR_sv(22) = MR_tfield(0, MR_tempr4, 3);
	MR_sv(23) = MR_tfield(0, MR_tempr4, 4);
	MR_sv(24) = MR_tfield(0, MR_tempr4, 5);
	MR_sv(25) = MR_tfield(0, MR_tempr4, 6);
	MR_sv(26) = MR_tfield(0, MR_tempr4, 7);
	MR_sv(27) = MR_tfield(0, MR_tempr4, 8);
	MR_sv(28) = MR_tfield(0, MR_tempr4, 9);
	MR_sv(29) = MR_tfield(0, MR_tempr4, 10);
	MR_sv(30) = MR_tfield(0, MR_tempr4, 11);
	MR_sv(31) = MR_tfield(0, MR_tempr4, 12);
	MR_sv(32) = MR_tfield(0, MR_tempr4, 13);
	MR_sv(33) = MR_tfield(0, MR_tempr4, 14);
	MR_sv(34) = MR_tfield(0, MR_tempr4, 15);
	MR_sv(35) = MR_tfield(0, MR_tempr4, 16);
	MR_sv(36) = MR_tfield(0, MR_tempr4, 17);
	MR_sv(37) = MR_tfield(0, MR_tempr4, 18);
	MR_sv(38) = MR_tfield(0, MR_tempr4, 19);
	MR_sv(39) = MR_tfield(0, MR_tempr4, 20);
	MR_sv(40) = MR_tfield(0, MR_tempr4, 21);
	MR_sv(41) = (MR_Word) MR_TAG_COMMON(0,1,9);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,10);
	MR_r2 = MR_tfield(0, MR_tempr3, 1);
	MR_r3 = MR_tfield(0, MR_tempr4, 1);
	}
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i6);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,8);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(21);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i9);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(22);
	MR_np_call_localret_ent(__Unify___transform_hlds__term_constr_main__termination2_info_0_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i11);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	if ((MR_sv(3) != MR_sv(23))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_llds, stack_slot);
	MR_r3 = MR_sv(4);
	MR_r4 = MR_sv(24);
	MR_np_call_localret_ent(__Unify___tree234__tree234_2_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i14);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,11);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(25);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i17);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(26);
	MR_np_call_localret_ent(__Unify___set_ordlist__set_ordlist_1_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i19);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	if ((MR_sv(7) != MR_sv(27))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	if ((MR_sv(8) != MR_sv(28))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	if ((MR_sv(9) != MR_sv(29))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	if ((MR_sv(10) != MR_sv(30))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(11);
	MR_r3 = MR_sv(31);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i21);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_table_io_info);
	MR_r2 = MR_sv(12);
	MR_r3 = MR_sv(32);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i23);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, table_attributes);
	MR_r2 = MR_sv(13);
	MR_r3 = MR_sv(33);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i25);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, special_proc_return);
	MR_r2 = MR_sv(14);
	MR_r3 = MR_sv(34);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i27);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, deep_profile_proc_info);
	MR_r2 = MR_sv(15);
	MR_r3 = MR_sv(35);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i29);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, untuple_proc_info);
	MR_r2 = MR_sv(16);
	MR_r3 = MR_sv(36);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i31);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r3 = MR_sv(17);
	MR_r4 = MR_sv(37);
	MR_np_call_localret_ent(__Unify___tree234__tree234_2_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i33);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, error_spec);
	MR_r2 = MR_sv(18);
	MR_r3 = MR_sv(38);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i35);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,35)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = MR_sv(19);
	MR_r2 = MR_sv(39);
	MR_np_call_localret_ent(__Unify___hlds__hlds_pred__structure_sharing_info_0_0,
		__Unify___hlds__hlds_pred__proc_sub_info_0_0_i37);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,37)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_sub_info_0_0_i1);
	}
	MR_r1 = MR_sv(20);
	MR_r2 = MR_sv(40);
	MR_succip_word = MR_sv(42);
	MR_decr_sp(42);
	MR_np_tailcall_ent(__Unify___hlds__hlds_pred__structure_reuse_info_0_0);
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,41)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__proc_sub_info_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	MR_decr_sp_and_return(42);
#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___transform_hlds__term_constr_main__termination2_info_0_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module323)
	MR_init_entry1(__Compare___hlds__hlds_pred__proc_sub_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__proc_sub_info_0_0);
	MR_init_label10(__Compare___hlds__hlds_pred__proc_sub_info_0_0,3,2,5,11,17,21,25,30,35,40)
	MR_init_label10(__Compare___hlds__hlds_pred__proc_sub_info_0_0,44,48,52,56,61,65,69,73,77,81)
	MR_init_label4(__Compare___hlds__hlds_pred__proc_sub_info_0_0,86,90,94,256)
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___hlds__hlds_pred__proc_sub_info_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i3);
	}
	MR_incr_sp(43);
	MR_sv(43) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_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(42) = MR_tfield(0, MR_tempr5, 21);
	MR_sv(41) = MR_tfield(0, MR_tempr5, 20);
	MR_sv(40) = MR_tfield(0, MR_tempr5, 19);
	MR_sv(39) = MR_tfield(0, MR_tempr5, 18);
	MR_sv(38) = MR_tfield(0, MR_tempr5, 17);
	MR_sv(37) = MR_tfield(0, MR_tempr5, 16);
	MR_sv(36) = MR_tfield(0, MR_tempr5, 15);
	MR_sv(35) = MR_tfield(0, MR_tempr5, 14);
	MR_sv(34) = MR_tfield(0, MR_tempr5, 13);
	MR_sv(33) = MR_tfield(0, MR_tempr5, 12);
	MR_sv(32) = MR_tfield(0, MR_tempr5, 11);
	MR_sv(31) = MR_tfield(0, MR_tempr5, 10);
	MR_sv(30) = MR_tfield(0, MR_tempr5, 9);
	MR_sv(29) = MR_tfield(0, MR_tempr5, 8);
	MR_sv(28) = MR_tfield(0, MR_tempr5, 7);
	MR_sv(27) = MR_tfield(0, MR_tempr5, 6);
	MR_sv(26) = MR_tfield(0, MR_tempr5, 5);
	MR_sv(25) = MR_tfield(0, MR_tempr5, 4);
	MR_sv(24) = MR_tfield(0, MR_tempr5, 3);
	MR_sv(23) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(22) = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	MR_sv(21) = MR_tfield(0, MR_tempr6, 21);
	MR_sv(20) = MR_tfield(0, MR_tempr6, 20);
	MR_sv(19) = MR_tfield(0, MR_tempr6, 19);
	MR_sv(18) = MR_tfield(0, MR_tempr6, 18);
	MR_sv(17) = MR_tfield(0, MR_tempr6, 17);
	MR_sv(16) = MR_tfield(0, MR_tempr6, 16);
	MR_sv(15) = MR_tfield(0, MR_tempr6, 15);
	MR_sv(14) = MR_tfield(0, MR_tempr6, 14);
	MR_sv(13) = MR_tfield(0, MR_tempr6, 13);
	MR_sv(12) = MR_tfield(0, MR_tempr6, 12);
	MR_sv(11) = MR_tfield(0, MR_tempr6, 11);
	MR_sv(10) = MR_tfield(0, MR_tempr6, 10);
	MR_sv(9) = MR_tfield(0, MR_tempr6, 9);
	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(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,10);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(22);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i11);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,0,8);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(23);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i17);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(24);
	MR_np_call_localret_ent(__Compare___transform_hlds__term_constr_main__termination2_info_0_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i21);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(25);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i25);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_llds, stack_slot);
	MR_r3 = MR_sv(5);
	MR_r4 = MR_sv(26);
	MR_np_call_localret_ent(__Compare___tree234__tree234_2_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i30);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,11);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(27);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i35);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,35)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = MR_sv(7);
	MR_r3 = MR_sv(28);
	MR_np_call_localret_ent(__Compare___set_ordlist__set_ordlist_1_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i40);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,40)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = MR_sv(8);
	MR_r2 = MR_sv(29);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i44);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,44)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = MR_sv(9);
	MR_r2 = MR_sv(30);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i48);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,48)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = MR_sv(10);
	MR_r2 = MR_sv(31);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i52);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,52)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = MR_sv(11);
	MR_r2 = MR_sv(32);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i56);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,56)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = MR_sv(12);
	MR_r3 = MR_sv(33);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i61);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,61)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_table_io_info);
	MR_r2 = MR_sv(13);
	MR_r3 = MR_sv(34);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i65);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,65)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, table_attributes);
	MR_r2 = MR_sv(14);
	MR_r3 = MR_sv(35);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i69);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,69)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, special_proc_return);
	MR_r2 = MR_sv(15);
	MR_r3 = MR_sv(36);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i73);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,73)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, deep_profile_proc_info);
	MR_r2 = MR_sv(16);
	MR_r3 = MR_sv(37);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i77);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,77)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, untuple_proc_info);
	MR_r2 = MR_sv(17);
	MR_r3 = MR_sv(38);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i81);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,81)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = (MR_Word) MR_STRING_CTOR_ADDR;
	MR_r3 = MR_sv(18);
	MR_r4 = MR_sv(39);
	MR_np_call_localret_ent(__Compare___tree234__tree234_2_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i86);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,86)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__error_util, error_spec);
	MR_r2 = MR_sv(19);
	MR_r3 = MR_sv(40);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i90);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,90)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = MR_sv(20);
	MR_r2 = MR_sv(41);
	MR_np_call_localret_ent(__Compare___hlds__hlds_pred__structure_sharing_info_0_0,
		__Compare___hlds__hlds_pred__proc_sub_info_0_0_i94);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,94)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_sub_info_0_0_i256);
	}
	MR_r1 = MR_sv(21);
	MR_r2 = MR_sv(42);
	MR_succip_word = MR_sv(43);
	MR_decr_sp(43);
	MR_np_tailcall_ent(__Compare___hlds__hlds_pred__structure_reuse_info_0_0);
MR_def_label(__Compare___hlds__hlds_pred__proc_sub_info_0_0,256)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp_and_return(43);
#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(hlds__hlds_pred_module324)
	MR_init_entry1(__Unify___hlds__hlds_pred__proc_table_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__proc_table_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___hlds__hlds_pred__proc_table_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_tempr2 = MR_r2;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_tempr2;
	MR_np_tailcall_ent(__Unify___tree234__tree234_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(hlds__hlds_pred_module325)
	MR_init_entry1(__Compare___hlds__hlds_pred__proc_table_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__proc_table_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___hlds__hlds_pred__proc_table_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_tempr2 = MR_r2;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_tempr2;
	MR_np_tailcall_ent(__Compare___tree234__tree234_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(hlds__hlds_pred_module326)
	MR_init_entry1(__Unify___hlds__hlds_pred__proc_table_io_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__proc_table_io_info_0_0);
	MR_init_label1(__Unify___hlds__hlds_pred__proc_table_io_info_0_0,6)
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___hlds__hlds_pred__proc_table_io_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_table_io_info_0_0_i6);
	}
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___hlds__hlds_pred__table_arg_infos_0_0);
MR_def_label(__Unify___hlds__hlds_pred__proc_table_io_info_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module327)
	MR_init_entry1(__Compare___hlds__hlds_pred__proc_table_io_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__proc_table_io_info_0_0);
	MR_init_label2(__Compare___hlds__hlds_pred__proc_table_io_info_0_0,3,2)
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___hlds__hlds_pred__proc_table_io_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_table_io_info_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___hlds__hlds_pred__proc_table_io_info_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__proc_table_io_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__proc_table_io_info_0_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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___hlds__hlds_pred__table_arg_infos_0_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(hlds__hlds_pred_module328)
	MR_init_entry1(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__proc_table_struct_info_0_0);
	MR_init_label8(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0,4,6,8,11,13,15,19,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___hlds__hlds_pred__proc_table_struct_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i19);
	}
	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___hlds__hlds_rtti__rtti_proc_label_0_0,
		__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, tvar_type);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(9);
	MR_np_call_localret_ent(__Unify___varset__varset_1_0,
		__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i6);
MR_def_label(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i1);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(10);
	MR_np_call_localret_ent(__Unify___term__context_0_0,
		__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i8);
MR_def_label(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i1);
	}
	if ((MR_sv(3) != MR_sv(11))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i1);
	}
	if ((MR_sv(4) != MR_sv(12))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i1);
	}
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,1,12);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, table_step_desc);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(13);
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i11);
MR_def_label(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(14);
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i13);
MR_def_label(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i1);
	}
	MR_r1 = MR_sv(7);
	MR_r2 = MR_sv(15);
	MR_np_call_localret_ent(__Unify___hlds__hlds_pred__table_arg_infos_0_0,
		__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i15);
MR_def_label(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0_i1);
	}
	MR_r1 = MR_sv(8);
	MR_r2 = MR_sv(16);
	MR_succip_word = MR_sv(17);
	MR_decr_sp(17);
	MR_np_tailcall_ent(__Unify___parse_tree__prog_data__eval_method_0_0);
MR_def_label(__Unify___hlds__hlds_pred__proc_table_struct_info_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__proc_table_struct_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_BEGIN_MODULE(hlds__hlds_pred_module329)
	MR_init_entry1(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__proc_table_struct_info_0_0);
	MR_init_label10(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0,3,2,5,9,13,17,21,25,30,34)
	MR_init_label1(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0,105)
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___hlds__hlds_pred__proc_table_struct_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_table_struct_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___hlds__hlds_pred__proc_table_struct_info_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__proc_table_struct_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___hlds__hlds_rtti__rtti_proc_label_0_0,
		__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i105);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, tvar_type);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(9);
	MR_np_call_localret_ent(__Compare___varset__varset_1_0,
		__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i9);
MR_def_label(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i105);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(10);
	MR_np_call_localret_ent(__Compare___term__context_0_0,
		__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i13);
MR_def_label(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i105);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(11);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i17);
MR_def_label(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i105);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(12);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i21);
MR_def_label(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i105);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, table_step_desc);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(13);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i25);
MR_def_label(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i105);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,12);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(14);
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i30);
MR_def_label(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i105);
	}
	MR_r1 = MR_sv(7);
	MR_r2 = MR_sv(15);
	MR_np_call_localret_ent(__Compare___hlds__hlds_pred__table_arg_infos_0_0,
		__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i34);
MR_def_label(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0_i105);
	}
	MR_r1 = MR_sv(8);
	MR_r2 = MR_sv(16);
	MR_succip_word = MR_sv(17);
	MR_decr_sp(17);
	MR_np_tailcall_ent(__Compare___parse_tree__prog_data__eval_method_0_0);
MR_def_label(__Compare___hlds__hlds_pred__proc_table_struct_info_0_0,105)
	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(hlds__hlds_pred_module330)
	MR_init_entry1(__Unify___hlds__hlds_pred__special_proc_return_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__special_proc_return_0_0);
	MR_init_label2(__Unify___hlds__hlds_pred__special_proc_return_0_0,4,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___hlds__hlds_pred__special_proc_return_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__special_proc_return_0_0_i4);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_sv(1) = MR_tempr1;
	MR_tempr2 = MR_r2;
	MR_sv(2) = MR_tempr2;
	MR_r1 = MR_tfield(0, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	if ((strcmp((char *) (MR_Word *) MR_r1, (char *) (MR_Word *) MR_r2) != 0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__special_proc_return_0_0_i1);
	}
	MR_r1 = MR_tfield(0, MR_tempr1, 1);
	MR_r2 = MR_tfield(0, MR_tempr2, 1);
	MR_r1 = (strcmp((char *) (MR_Word *) MR_r1, (char *) (MR_Word *) MR_r2) == 0);
	MR_decr_sp(2);
	MR_proceed();
	}
MR_def_label(__Unify___hlds__hlds_pred__special_proc_return_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp(2);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__special_proc_return_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_BEGIN_MODULE(hlds__hlds_pred_module331)
	MR_init_entry1(__Compare___hlds__hlds_pred__special_proc_return_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__special_proc_return_0_0);
	MR_init_label4(__Compare___hlds__hlds_pred__special_proc_return_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_define_entry(mercury____Compare___hlds__hlds_pred__special_proc_return_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__special_proc_return_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___hlds__hlds_pred__special_proc_return_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__special_proc_return_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__special_proc_return_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(private_builtin__builtin_compare_string_3_0,
		__Compare___hlds__hlds_pred__special_proc_return_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__special_proc_return_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__special_proc_return_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(private_builtin__builtin_compare_string_3_0);
MR_def_label(__Compare___hlds__hlds_pred__special_proc_return_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_BEGIN_MODULE(hlds__hlds_pred_module332)
	MR_init_entry1(__Unify___hlds__hlds_pred__structure_reuse_domain_and_status_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__structure_reuse_domain_and_status_0_0);
	MR_init_label3(__Unify___hlds__hlds_pred__structure_reuse_domain_and_status_0_0,4,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_define_entry(mercury____Unify___hlds__hlds_pred__structure_reuse_domain_and_status_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__structure_reuse_domain_and_status_0_0_i6);
	}
	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___parse_tree__prog_data__structure_reuse_domain_0_0,
		__Unify___hlds__hlds_pred__structure_reuse_domain_and_status_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__structure_reuse_domain_and_status_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__structure_reuse_domain_and_status_0_0_i1);
	}
	MR_r1 = (MR_sv(1) == MR_sv(2));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__structure_reuse_domain_and_status_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__structure_reuse_domain_and_status_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(hlds__hlds_pred_module333)
	MR_init_entry1(__Compare___hlds__hlds_pred__structure_reuse_domain_and_status_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__structure_reuse_domain_and_status_0_0);
	MR_init_label4(__Compare___hlds__hlds_pred__structure_reuse_domain_and_status_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_define_entry(mercury____Compare___hlds__hlds_pred__structure_reuse_domain_and_status_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__structure_reuse_domain_and_status_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___hlds__hlds_pred__structure_reuse_domain_and_status_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__structure_reuse_domain_and_status_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__structure_reuse_domain_and_status_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___parse_tree__prog_data__structure_reuse_domain_0_0,
		__Compare___hlds__hlds_pred__structure_reuse_domain_and_status_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__structure_reuse_domain_and_status_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__structure_reuse_domain_and_status_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(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__structure_reuse_domain_and_status_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_BEGIN_MODULE(hlds__hlds_pred_module334)
	MR_init_entry1(__Unify___hlds__hlds_pred__structure_reuse_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__structure_reuse_info_0_0);
	MR_init_label3(__Unify___hlds__hlds_pred__structure_reuse_info_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___hlds__hlds_pred__structure_reuse_info_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__structure_reuse_info_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_Word) MR_CTOR0_ADDR(hlds__hlds_pred, structure_reuse_domain_and_status);
	MR_r2 = MR_tfield(0, MR_tempr1, 0);
	MR_r3 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__structure_reuse_info_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__structure_reuse_info_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__structure_reuse_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, imported_reuse);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___maybe__maybe_1_0);
MR_def_label(__Unify___hlds__hlds_pred__structure_reuse_info_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__structure_reuse_info_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(hlds__hlds_pred_module335)
	MR_init_entry1(__Compare___hlds__hlds_pred__structure_reuse_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__structure_reuse_info_0_0);
	MR_init_label4(__Compare___hlds__hlds_pred__structure_reuse_info_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___hlds__hlds_pred__structure_reuse_info_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__structure_reuse_info_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___hlds__hlds_pred__structure_reuse_info_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__structure_reuse_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__structure_reuse_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_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_Word) MR_CTOR0_ADDR(hlds__hlds_pred, structure_reuse_domain_and_status);
	MR_r2 = MR_tfield(0, MR_tempr3, 0);
	MR_r3 = MR_tfield(0, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__structure_reuse_info_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__structure_reuse_info_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__structure_reuse_info_0_0_i21);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, imported_reuse);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Compare___maybe__maybe_1_0);
MR_def_label(__Compare___hlds__hlds_pred__structure_reuse_info_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_BEGIN_MODULE(hlds__hlds_pred_module336)
	MR_init_entry1(__Unify___hlds__hlds_pred__structure_sharing_domain_and_status_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__structure_sharing_domain_and_status_0_0);
	MR_init_label3(__Unify___hlds__hlds_pred__structure_sharing_domain_and_status_0_0,4,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_define_entry(mercury____Unify___hlds__hlds_pred__structure_sharing_domain_and_status_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__structure_sharing_domain_and_status_0_0_i6);
	}
	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___parse_tree__prog_data__structure_sharing_domain_0_0,
		__Unify___hlds__hlds_pred__structure_sharing_domain_and_status_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__structure_sharing_domain_and_status_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__structure_sharing_domain_and_status_0_0_i1);
	}
	MR_r1 = (MR_sv(1) == MR_sv(2));
	MR_decr_sp_and_return(3);
MR_def_label(__Unify___hlds__hlds_pred__structure_sharing_domain_and_status_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__structure_sharing_domain_and_status_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(hlds__hlds_pred_module337)
	MR_init_entry1(__Compare___hlds__hlds_pred__structure_sharing_domain_and_status_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__structure_sharing_domain_and_status_0_0);
	MR_init_label4(__Compare___hlds__hlds_pred__structure_sharing_domain_and_status_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_define_entry(mercury____Compare___hlds__hlds_pred__structure_sharing_domain_and_status_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__structure_sharing_domain_and_status_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___hlds__hlds_pred__structure_sharing_domain_and_status_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__structure_sharing_domain_and_status_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__structure_sharing_domain_and_status_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___parse_tree__prog_data__structure_sharing_domain_0_0,
		__Compare___hlds__hlds_pred__structure_sharing_domain_and_status_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__structure_sharing_domain_and_status_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__structure_sharing_domain_and_status_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(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__structure_sharing_domain_and_status_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_BEGIN_MODULE(hlds__hlds_pred_module338)
	MR_init_entry1(__Unify___hlds__hlds_pred__structure_sharing_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__structure_sharing_info_0_0);
	MR_init_label3(__Unify___hlds__hlds_pred__structure_sharing_info_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___hlds__hlds_pred__structure_sharing_info_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__structure_sharing_info_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_Word) MR_CTOR0_ADDR(hlds__hlds_pred, structure_sharing_domain_and_status);
	MR_r2 = MR_tfield(0, MR_tempr1, 0);
	MR_r3 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___maybe__maybe_1_0,
		__Unify___hlds__hlds_pred__structure_sharing_info_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__structure_sharing_info_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__structure_sharing_info_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, imported_sharing);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___maybe__maybe_1_0);
MR_def_label(__Unify___hlds__hlds_pred__structure_sharing_info_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__structure_sharing_info_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(hlds__hlds_pred_module339)
	MR_init_entry1(__Compare___hlds__hlds_pred__structure_sharing_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__structure_sharing_info_0_0);
	MR_init_label4(__Compare___hlds__hlds_pred__structure_sharing_info_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___hlds__hlds_pred__structure_sharing_info_0_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__structure_sharing_info_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___hlds__hlds_pred__structure_sharing_info_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__structure_sharing_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__structure_sharing_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_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_Word) MR_CTOR0_ADDR(hlds__hlds_pred, structure_sharing_domain_and_status);
	MR_r2 = MR_tfield(0, MR_tempr3, 0);
	MR_r3 = MR_tfield(0, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Compare___maybe__maybe_1_0,
		__Compare___hlds__hlds_pred__structure_sharing_info_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__structure_sharing_info_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__structure_sharing_info_0_0_i21);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, imported_sharing);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Compare___maybe__maybe_1_0);
MR_def_label(__Compare___hlds__hlds_pred__structure_sharing_info_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_BEGIN_MODULE(hlds__hlds_pred_module340)
	MR_init_entry1(__Unify___hlds__hlds_pred__table_arg_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__table_arg_info_0_0);
	MR_init_label2(__Unify___hlds__hlds_pred__table_arg_info_0_0,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_define_entry(mercury____Unify___hlds__hlds_pred__table_arg_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_arg_info_0_0_i6);
	}
	MR_incr_sp(3);
	MR_sv(3) = (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;
	MR_tempr3 = MR_tfield(0, MR_tempr1, 0);
	MR_tempr4 = MR_tfield(0, MR_tempr2, 0);
	if ((MR_tempr3 != MR_tempr4)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_arg_info_0_0_i1);
	}
	MR_tempr3 = MR_tfield(0, MR_tempr1, 1);
	MR_tempr4 = MR_tfield(0, MR_tempr2, 1);
	if ((strcmp((char *) (MR_Word *) MR_tempr3, (char *) (MR_Word *) MR_tempr4) != 0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_arg_info_0_0_i1);
	}
	MR_tempr3 = MR_tfield(0, MR_tempr1, 2);
	MR_tempr4 = MR_tfield(0, MR_tempr2, 2);
	if ((MR_tempr3 != MR_tempr4)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_arg_info_0_0_i1);
	}
	MR_r1 = MR_tfield(0, MR_tempr1, 3);
	MR_r2 = MR_tfield(0, MR_tempr2, 3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___parse_tree__prog_data__mer_type_0_0);
	}
MR_def_label(__Unify___hlds__hlds_pred__table_arg_info_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__table_arg_info_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(hlds__hlds_pred_module341)
	MR_init_entry1(__Compare___hlds__hlds_pred__table_arg_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__table_arg_info_0_0);
	MR_init_label6(__Compare___hlds__hlds_pred__table_arg_info_0_0,3,2,5,9,13,37)
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___hlds__hlds_pred__table_arg_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_arg_info_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___hlds__hlds_pred__table_arg_info_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__table_arg_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__table_arg_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(6) = MR_tfield(0, MR_tempr5, 3);
	MR_sv(5) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(4) = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	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(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__table_arg_info_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__table_arg_info_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_arg_info_0_0_i37);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(4);
	MR_np_call_localret_ent(private_builtin__builtin_compare_string_3_0,
		__Compare___hlds__hlds_pred__table_arg_info_0_0_i9);
MR_def_label(__Compare___hlds__hlds_pred__table_arg_info_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_arg_info_0_0_i37);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(5);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__table_arg_info_0_0_i13);
MR_def_label(__Compare___hlds__hlds_pred__table_arg_info_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_arg_info_0_0_i37);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(6);
	MR_succip_word = MR_sv(7);
	MR_decr_sp(7);
	MR_np_tailcall_ent(__Compare___parse_tree__prog_data__mer_type_0_0);
MR_def_label(__Compare___hlds__hlds_pred__table_arg_info_0_0,37)
	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(hlds__hlds_pred_module342)
	MR_init_entry1(__Unify___hlds__hlds_pred__table_arg_infos_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__table_arg_infos_0_0);
	MR_init_label3(__Unify___hlds__hlds_pred__table_arg_infos_0_0,4,9,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___hlds__hlds_pred__table_arg_infos_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_arg_infos_0_0_i9);
	}
	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_Word) MR_CTOR0_ADDR(hlds__hlds_pred, table_arg_info);
	MR_r2 = MR_tfield(0, MR_tempr1, 0);
	MR_r3 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___hlds__hlds_pred__table_arg_infos_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__table_arg_infos_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_arg_infos_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,0);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, table_locn);
	MR_r3 = MR_sv(1);
	MR_r4 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___tree234__tree234_2_0);
MR_def_label(__Unify___hlds__hlds_pred__table_arg_infos_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__table_arg_infos_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(hlds__hlds_pred_module343)
	MR_init_entry1(__Compare___hlds__hlds_pred__table_arg_infos_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__table_arg_infos_0_0);
	MR_init_label4(__Compare___hlds__hlds_pred__table_arg_infos_0_0,3,2,5,28)
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___hlds__hlds_pred__table_arg_infos_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_arg_infos_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___hlds__hlds_pred__table_arg_infos_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__table_arg_infos_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__table_arg_infos_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_Word) MR_CTOR0_ADDR(hlds__hlds_pred, table_arg_info);
	MR_r2 = MR_tfield(0, MR_tempr3, 0);
	MR_r3 = MR_tfield(0, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___hlds__hlds_pred__table_arg_infos_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__table_arg_infos_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_arg_infos_0_0_i28);
	}
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,0);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, table_locn);
	MR_r3 = MR_sv(1);
	MR_r4 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Compare___tree234__tree234_2_0);
MR_def_label(__Compare___hlds__hlds_pred__table_arg_infos_0_0,28)
	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_BEGIN_MODULE(hlds__hlds_pred_module344)
	MR_init_entry1(__Unify___hlds__hlds_pred__table_is_poly_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__table_is_poly_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___hlds__hlds_pred__table_is_poly_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (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(hlds__hlds_pred_module345)
	MR_init_entry1(__Compare___hlds__hlds_pred__table_is_poly_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__table_is_poly_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___hlds__hlds_pred__table_is_poly_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_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(hlds__hlds_pred_module346)
	MR_init_entry1(__Unify___hlds__hlds_pred__table_locn_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__table_locn_0_0);
	MR_init_label3(__Unify___hlds__hlds_pred__table_locn_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___hlds__hlds_pred__table_locn_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_locn_0_0_i12);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	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___hlds__hlds_pred__table_locn_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_tempr2,0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_locn_0_0_i1);
	}
	MR_r1 = MR_tfield(0, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	MR_r1 = (MR_r1 == MR_r2);
	MR_decr_sp(2);
	MR_proceed();
	}
MR_def_label(__Unify___hlds__hlds_pred__table_locn_0_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp(2);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__table_locn_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_locn_0_0_i1);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_r1 = MR_tfield(1, MR_tempr1, 0);
	MR_tempr2 = MR_sv(2);
	MR_r2 = MR_tfield(1, MR_tempr2, 0);
	if ((MR_r1 != MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_locn_0_0_i1);
	}
	MR_r1 = MR_tfield(1, MR_tempr1, 1);
	MR_r2 = MR_tfield(1, MR_tempr2, 1);
	MR_r1 = (MR_r1 == MR_r2);
	MR_decr_sp(2);
	MR_proceed();
	}
MR_def_label(__Unify___hlds__hlds_pred__table_locn_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_BEGIN_MODULE(hlds__hlds_pred_module347)
	MR_init_entry1(__Compare___hlds__hlds_pred__table_locn_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__table_locn_0_0);
	MR_init_label7(__Compare___hlds__hlds_pred__table_locn_0_0,3,2,7,5,10,12,45)
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___hlds__hlds_pred__table_locn_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_locn_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___hlds__hlds_pred__table_locn_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__table_locn_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__table_locn_0_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_locn_0_0_i5);
	}
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_locn_0_0_i7);
	}
	MR_r1 = MR_tfield(0, MR_sv(1), 0);
	MR_r2 = MR_tfield(0, 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___hlds__hlds_pred__table_locn_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___hlds__hlds_pred__table_locn_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_locn_0_0_i10);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(3);
MR_def_label(__Compare___hlds__hlds_pred__table_locn_0_0,10)
	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(1);
	MR_tempr1 = MR_tfield(1, MR_tempr5, 1);
	MR_tempr6 = MR_sv(2);
	MR_tempr2 = MR_tfield(1, 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(1, MR_tempr3, 0);
	MR_r2 = MR_tfield(1, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__table_locn_0_0_i12);
MR_def_label(__Compare___hlds__hlds_pred__table_locn_0_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_locn_0_0_i45);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(1);
	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___hlds__hlds_pred__table_locn_0_0,45)
	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_BEGIN_MODULE(hlds__hlds_pred_module348)
	MR_init_entry1(__Unify___hlds__hlds_pred__table_step_desc_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__table_step_desc_0_0);
	MR_init_label2(__Unify___hlds__hlds_pred__table_step_desc_0_0,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_define_entry(mercury____Unify___hlds__hlds_pred__table_step_desc_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_step_desc_0_0_i6);
	}
	MR_incr_sp(3);
	MR_sv(3) = (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;
	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___hlds__hlds_pred__table_step_desc_0_0_i1);
	}
	MR_r1 = MR_tfield(0, MR_tempr1, 1);
	MR_r2 = MR_tfield(0, MR_tempr2, 1);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___hlds__hlds_pred__table_trie_step_0_0);
	}
MR_def_label(__Unify___hlds__hlds_pred__table_step_desc_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__table_step_desc_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(hlds__hlds_pred_module349)
	MR_init_entry1(__Compare___hlds__hlds_pred__table_step_desc_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__table_step_desc_0_0);
	MR_init_label4(__Compare___hlds__hlds_pred__table_step_desc_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_define_entry(mercury____Compare___hlds__hlds_pred__table_step_desc_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_step_desc_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___hlds__hlds_pred__table_step_desc_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__table_step_desc_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__table_step_desc_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(private_builtin__builtin_compare_string_3_0,
		__Compare___hlds__hlds_pred__table_step_desc_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__table_step_desc_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_step_desc_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___hlds__hlds_pred__table_trie_step_0_0);
MR_def_label(__Compare___hlds__hlds_pred__table_step_desc_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_BEGIN_MODULE(hlds__hlds_pred_module350)
	MR_init_entry1(__Unify___hlds__hlds_pred__table_trie_step_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__table_trie_step_0_0);
	MR_init_label10(__Unify___hlds__hlds_pred__table_trie_step_0_0,5,6,7,8,9,10,11,12,13,41)
	MR_init_label3(__Unify___hlds__hlds_pred__table_trie_step_0_0,14,17,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___hlds__hlds_pred__table_trie_step_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_0_0_i41);
	}
	MR_incr_sp(5);
	MR_sv(5) = (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,2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_0_0_i5);
	}
	MR_r1 = (MR_sv(2) == MR_tempr1);
	MR_decr_sp(5);
	MR_proceed();
	}
MR_def_label(__Unify___hlds__hlds_pred__table_trie_step_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,0)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_0_0_i6);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(5);
MR_def_label(__Unify___hlds__hlds_pred__table_trie_step_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,4)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_0_0_i7);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(5);
MR_def_label(__Unify___hlds__hlds_pred__table_trie_step_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,5)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_0_0_i8);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(5);
MR_def_label(__Unify___hlds__hlds_pred__table_trie_step_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_0_0_i9);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(5);
MR_def_label(__Unify___hlds__hlds_pred__table_trie_step_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,8)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_0_0_i10);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(5);
MR_def_label(__Unify___hlds__hlds_pred__table_trie_step_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,3)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_0_0_i11);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(5);
MR_def_label(__Unify___hlds__hlds_pred__table_trie_step_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,7)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_0_0_i12);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(5);
MR_def_label(__Unify___hlds__hlds_pred__table_trie_step_0_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,6)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_0_0_i13);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(5);
MR_def_label(__Unify___hlds__hlds_pred__table_trie_step_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_0_0_i14);
	}
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_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_and_return(5);
MR_def_label(__Unify___hlds__hlds_pred__table_trie_step_0_0,41)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__table_trie_step_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_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_tempr1, 2);
	MR_sv(3) = MR_tfield(2, MR_tempr2, 1);
	MR_sv(4) = MR_tfield(2, MR_tempr2, 2);
	MR_r1 = MR_tfield(2, MR_tempr1, 0);
	MR_r2 = MR_tfield(2, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___parse_tree__prog_data__mer_type_0_0,
		__Unify___hlds__hlds_pred__table_trie_step_0_0_i17);
MR_def_label(__Unify___hlds__hlds_pred__table_trie_step_0_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_0_0_i1);
	}
	if ((MR_sv(1) != MR_sv(3))) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__table_trie_step_0_0_i1);
	}
	MR_r1 = (MR_sv(2) == MR_sv(4));
	MR_decr_sp_and_return(5);
MR_def_label(__Unify___hlds__hlds_pred__table_trie_step_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	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_BEGIN_MODULE(hlds__hlds_pred_module351)
	MR_init_entry1(__Compare___hlds__hlds_pred__table_trie_step_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__table_trie_step_0_0);
	MR_init_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0,7,8,9,10,11,12,13,14,15,5)
	MR_init_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0,19,20,21,22,23,24,25,26,27,17)
	MR_init_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0,31,32,33,34,35,36,37,38,39,29)
	MR_init_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0,43,44,45,46,47,48,49,50,51,41)
	MR_init_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0,55,56,57,58,59,60,61,62,63,53)
	MR_init_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0,67,68,69,70,71,72,73,74,75,65)
	MR_init_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0,79,80,81,82,83,84,85,86,87,77)
	MR_init_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0,91,92,93,94,95,96,97,98,99,89)
	MR_init_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0,103,104,105,106,107,108,109,110,370,111)
	MR_init_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0,101,115,116,117,118,119,120,121,122,123)
	MR_init_label10(__Compare___hlds__hlds_pred__table_trie_step_0_0,113,127,128,129,130,131,132,133,134,268)
	MR_init_label6(__Compare___hlds__hlds_pred__table_trie_step_0_0,135,269,136,138,142,148)
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___hlds__hlds_pred__table_trie_step_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i370);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	if (MR_LTAGS_TESTR(MR_sv(1),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i5);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i7);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp(5);
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i8);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i9);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i10);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i11);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i12);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i13);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i14);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i15);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i268);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i17);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i19);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i20);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i21);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i22);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i23);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i24);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i25);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i26);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i27);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i268);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i29);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i31);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i32);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i33);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i34);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i35);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,35)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i36);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,36)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i37);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,37)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i38);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i39);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,39)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i268);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i41);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i43);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,43)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i44);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,44)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i45);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,45)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i46);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,46)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i47);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,47)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i48);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,48)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i49);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,49)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i50);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,50)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i51);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,51)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i268);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,41)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i53);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i55);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,55)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i56);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,56)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i57);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,57)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i58);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,58)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i59);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,59)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i60);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,60)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i61);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,61)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i62);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,62)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i63);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,63)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i268);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,53)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i65);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i67);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,67)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i68);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,68)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i69);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,69)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i70);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,70)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i71);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,71)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i72);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,72)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i73);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,73)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i74);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,74)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i75);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,75)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i269);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,65)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i77);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i79);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,79)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i80);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,80)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i81);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,81)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i82);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,82)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i83);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,83)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i84);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,84)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i85);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,85)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i86);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,86)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i87);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,87)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i268);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,77)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i89);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i91);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,91)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i92);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,92)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i93);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,93)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i94);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,94)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i95);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,95)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i96);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,96)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i97);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,97)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i98);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,98)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i99);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,99)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i269);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,89)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i101);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i103);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,103)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i104);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,104)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i105);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,105)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i106);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,106)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i107);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,107)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i108);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,108)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i109);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,109)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i110);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,110)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i111);
	}
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,370)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,111)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i269);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,101)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(1),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i113);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i115);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,115)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i116);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,116)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i117);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,117)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i118);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,118)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i119);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,119)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i120);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,120)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i121);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,121)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i122);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,122)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i123);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,123)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i268);
	}
	MR_r1 = MR_tfield(1, MR_sv(1), 0);
	MR_r2 = MR_tfield(1, MR_sv(2), 0);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,113)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i127);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,127)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i128);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,128)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,4)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i129);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,129)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,5)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i130);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,130)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i131);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,131)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,8)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i132);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,132)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,3)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i133);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,133)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,7)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i134);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,134)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,6)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i135);
	}
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,268)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,135)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i136);
	}
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,269)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,136)
	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(1);
	MR_sv(4) = MR_tfield(2, MR_tempr5, 1);
	MR_sv(3) = MR_tfield(2, MR_tempr5, 2);
	MR_tempr6 = MR_sv(2);
	MR_tempr1 = MR_tfield(2, MR_tempr6, 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___parse_tree__prog_data__mer_type_0_0,
		__Compare___hlds__hlds_pred__table_trie_step_0_0_i138);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,138)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i148);
	}
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(private_builtin__builtin_compare_int_3_0,
		__Compare___hlds__hlds_pred__table_trie_step_0_0_i142);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,142)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__table_trie_step_0_0_i148);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(2);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_3_0);
MR_def_label(__Compare___hlds__hlds_pred__table_trie_step_0_0,148)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module352)
	MR_init_entry1(__Unify___hlds__hlds_pred__table_value_or_addr_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__table_value_or_addr_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___hlds__hlds_pred__table_value_or_addr_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (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(hlds__hlds_pred_module353)
	MR_init_entry1(__Compare___hlds__hlds_pred__table_value_or_addr_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__table_value_or_addr_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___hlds__hlds_pred__table_value_or_addr_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_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(hlds__hlds_pred_module354)
	MR_init_entry1(__Unify___hlds__hlds_pred__tail_call_events_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__tail_call_events_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___hlds__hlds_pred__tail_call_events_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (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(hlds__hlds_pred_module355)
	MR_init_entry1(__Compare___hlds__hlds_pred__tail_call_events_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__tail_call_events_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___hlds__hlds_pred__tail_call_events_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(private_builtin__builtin_compare_int_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(hlds__hlds_pred_module356)
	MR_init_entry1(__Unify___hlds__hlds_pred__untuple_proc_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__untuple_proc_info_0_0);
	MR_init_label1(__Unify___hlds__hlds_pred__untuple_proc_info_0_0,8)
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___hlds__hlds_pred__untuple_proc_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__untuple_proc_info_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_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,1,13);
	MR_r3 = MR_sv(1);
	MR_r4 = MR_sv(2);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___tree234__tree234_2_0);
MR_def_label(__Unify___hlds__hlds_pred__untuple_proc_info_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module357)
	MR_init_entry1(__Compare___hlds__hlds_pred__untuple_proc_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__untuple_proc_info_0_0);
	MR_init_label2(__Compare___hlds__hlds_pred__untuple_proc_info_0_0,3,2)
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___hlds__hlds_pred__untuple_proc_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__untuple_proc_info_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___hlds__hlds_pred__untuple_proc_info_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__untuple_proc_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__untuple_proc_info_0_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,1,13);
	MR_r3 = MR_sv(1);
	MR_r4 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Compare___tree234__tree234_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(hlds__hlds_pred_module358)
	MR_init_entry1(__Unify___hlds__hlds_pred__visible_scc_data_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___hlds__hlds_pred__visible_scc_data_0_0);
	MR_init_label4(__Unify___hlds__hlds_pred__visible_scc_data_0_0,4,6,10,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___hlds__hlds_pred__visible_scc_data_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__visible_scc_data_0_0_i10);
	}
	MR_incr_sp(5);
	MR_sv(5) = (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_tempr2, 1);
	MR_sv(4) = MR_tfield(0, MR_tempr2, 2);
	MR_r1 = MR_tfield(0, MR_tempr1, 0);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___hlds__hlds_pred__pred_proc_id_0_0,
		__Unify___hlds__hlds_pred__visible_scc_data_0_0_i4);
MR_def_label(__Unify___hlds__hlds_pred__visible_scc_data_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__visible_scc_data_0_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(3);
	MR_np_call_localret_ent(__Unify___hlds__hlds_pred__pred_proc_id_0_0,
		__Unify___hlds__hlds_pred__visible_scc_data_0_0_i6);
MR_def_label(__Unify___hlds__hlds_pred__visible_scc_data_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___hlds__hlds_pred__visible_scc_data_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(4);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
MR_def_label(__Unify___hlds__hlds_pred__visible_scc_data_0_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___hlds__hlds_pred__visible_scc_data_0_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	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_BEGIN_MODULE(hlds__hlds_pred_module359)
	MR_init_entry1(__Compare___hlds__hlds_pred__visible_scc_data_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___hlds__hlds_pred__visible_scc_data_0_0);
	MR_init_label5(__Compare___hlds__hlds_pred__visible_scc_data_0_0,3,2,5,9,29)
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___hlds__hlds_pred__visible_scc_data_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__visible_scc_data_0_0_i3);
	}
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_GOTO_LAB(__Compare___hlds__hlds_pred__visible_scc_data_0_0_i2);
MR_def_label(__Compare___hlds__hlds_pred__visible_scc_data_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___hlds__hlds_pred__visible_scc_data_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(4) = MR_tfield(0, MR_tempr5, 2);
	MR_sv(3) = MR_tfield(0, MR_tempr5, 1);
	MR_tempr6 = MR_sv(1);
	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___hlds__hlds_pred__pred_proc_id_0_0,
		__Compare___hlds__hlds_pred__visible_scc_data_0_0_i5);
MR_def_label(__Compare___hlds__hlds_pred__visible_scc_data_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__visible_scc_data_0_0_i29);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(3);
	MR_np_call_localret_ent(__Compare___hlds__hlds_pred__pred_proc_id_0_0,
		__Compare___hlds__hlds_pred__visible_scc_data_0_0_i9);
MR_def_label(__Compare___hlds__hlds_pred__visible_scc_data_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___hlds__hlds_pred__visible_scc_data_0_0_i29);
	}
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(4);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Compare___list__list_1_0);
MR_def_label(__Compare___hlds__hlds_pred__visible_scc_data_0_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	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_BEGIN_MODULE(hlds__hlds_pred_module360)
	MR_init_entry1(hlds__hlds_pred__IntroducedFrom__pred__pred_info_procids__1342__1_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__IntroducedFrom__pred__pred_info_procids__1342__1_2_0);
	MR_init_label1(hlds__hlds_pred__IntroducedFrom__pred__pred_info_procids__1342__1_2_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'IntroducedFrom__pred__pred_info_procids__1342__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(hlds__hlds_pred__IntroducedFrom__pred__pred_info_procids__1342__1_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_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	}
	MR_np_call_localret_ent(fn__f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_108_111_111_107_117_112_95_95_91_75_32_61_32_105_110_116_93_95_48_95_49_2_0,
		hlds__hlds_pred__IntroducedFrom__pred__pred_info_procids__1342__1_2_0_i2);
MR_def_label(hlds__hlds_pred__IntroducedFrom__pred__pred_info_procids__1342__1_2_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_tfield(0, MR_r1, 13);
	MR_r1 = ((MR_Integer) MR_r2 == (MR_Integer) MR_tbmkword(0, 0));
	MR_decr_sp_and_return(1);
#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(check_hlds__mode_util__mode_get_insts_4_0);
MR_decl_entry(check_hlds__inst_match__inst_matches_binding_4_0);

MR_BEGIN_MODULE(hlds__hlds_pred_module361)
	MR_init_entry1(hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_0);
	MR_init_label4(hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_0,3,4,7,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1'/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(hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_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_Word MR_tempr1, MR_tempr2;
	MR_tempr2 = MR_r3;
	MR_sv(2) = MR_tfield(0, MR_tempr2, 1);
	MR_sv(3) = MR_tfield(0, MR_tempr2, 0);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_tempr1 = MR_r2;
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_sv(3);
	}
	MR_np_call_localret_ent(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_108_111_111_107_117_112_95_95_91_75_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_0,
		hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_0_i3);
MR_def_label(hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_0,3)
	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_np_call_localret_ent(check_hlds__mode_util__mode_get_insts_4_0,
		hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_0_i4);
MR_def_label(hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_sv(2);
	MR_r4 = MR_sv(1);
	MR_np_call_localret_ent(check_hlds__inst_match__inst_matches_binding_4_0,
		hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_0_i7);
MR_def_label(hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_r1) {
		MR_GOTO_LAB(hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_0_i1);
	}
	MR_r2 = MR_sv(3);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(hlds__hlds_pred__IntroducedFrom__pred__proc_info_instantiated_head_vars__2864__1_4_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	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_BEGIN_MODULE(hlds__hlds_pred_module362)
	MR_init_entry1(hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_0);
	MR_init_label4(hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_0,3,4,5,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1'/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(hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_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_Word MR_tempr1, MR_tempr2;
	MR_tempr2 = MR_r3;
	MR_sv(2) = MR_tfield(0, MR_tempr2, 1);
	MR_sv(3) = MR_tfield(0, MR_tempr2, 0);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, prog_var_type);
	MR_tempr1 = MR_r2;
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_sv(3);
	}
	MR_np_call_localret_ent(f_109_97_112_95_95_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_108_111_111_107_117_112_95_95_91_75_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_0,
		hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_0_i3);
MR_def_label(hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_0,3)
	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_np_call_localret_ent(check_hlds__mode_util__mode_get_insts_4_0,
		hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_0_i4);
MR_def_label(hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_sv(2);
	MR_r4 = MR_sv(1);
	MR_np_call_localret_ent(check_hlds__inst_match__inst_matches_binding_4_0,
		hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_0_i5);
MR_def_label(hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_0_i1);
	}
	MR_r2 = MR_sv(3);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(hlds__hlds_pred__IntroducedFrom__pred__proc_info_uninstantiated_head_vars__2878__1_4_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	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_BEGIN_MODULE(hlds__hlds_pred_module363)
	MR_init_entry1(f_104_108_100_115_95_95_104_108_100_115_95_112_114_101_100_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_99_108_111_110_101_95_112_114_111_99_95_105_100_95_95_91_50_93_95_48_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__f_104_108_100_115_95_95_104_108_100_115_95_112_114_101_100_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_99_108_111_110_101_95_112_114_111_99_95_105_100_95_95_91_50_93_95_48_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__pred__clone_proc_id__[2]_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_define_entry(mercury__f_104_108_100_115_95_95_104_108_100_115_95_112_114_101_100_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_99_108_111_110_101_95_112_114_111_99_95_105_100_95_95_91_50_93_95_48_3_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Integer) 0;
	MR_r2 = MR_tempr1;
	MR_np_tailcall_ent(hlds__hlds_pred__find_lowest_unused_proc_id_2_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

static void mercury__hlds__hlds_pred_maybe_bunch_0(void)
{
	hlds__hlds_pred_module0();
	hlds__hlds_pred_module1();
	hlds__hlds_pred_module2();
	hlds__hlds_pred_module3();
	hlds__hlds_pred_module4();
	hlds__hlds_pred_module5();
	hlds__hlds_pred_module6();
	hlds__hlds_pred_module7();
	hlds__hlds_pred_module8();
	hlds__hlds_pred_module9();
	hlds__hlds_pred_module10();
	hlds__hlds_pred_module11();
	hlds__hlds_pred_module12();
	hlds__hlds_pred_module13();
	hlds__hlds_pred_module14();
	hlds__hlds_pred_module15();
	hlds__hlds_pred_module16();
	hlds__hlds_pred_module17();
	hlds__hlds_pred_module18();
	hlds__hlds_pred_module19();
	hlds__hlds_pred_module20();
	hlds__hlds_pred_module21();
	hlds__hlds_pred_module22();
	hlds__hlds_pred_module23();
	hlds__hlds_pred_module24();
	hlds__hlds_pred_module25();
	hlds__hlds_pred_module26();
	hlds__hlds_pred_module27();
	hlds__hlds_pred_module28();
	hlds__hlds_pred_module29();
	hlds__hlds_pred_module30();
	hlds__hlds_pred_module31();
	hlds__hlds_pred_module32();
	hlds__hlds_pred_module33();
	hlds__hlds_pred_module34();
	hlds__hlds_pred_module35();
	hlds__hlds_pred_module36();
	hlds__hlds_pred_module37();
	hlds__hlds_pred_module38();
	hlds__hlds_pred_module39();
}

static void mercury__hlds__hlds_pred_maybe_bunch_1(void)
{
	hlds__hlds_pred_module40();
	hlds__hlds_pred_module41();
	hlds__hlds_pred_module42();
	hlds__hlds_pred_module43();
	hlds__hlds_pred_module44();
	hlds__hlds_pred_module45();
	hlds__hlds_pred_module46();
	hlds__hlds_pred_module47();
	hlds__hlds_pred_module48();
	hlds__hlds_pred_module49();
	hlds__hlds_pred_module50();
	hlds__hlds_pred_module51();
	hlds__hlds_pred_module52();
	hlds__hlds_pred_module53();
	hlds__hlds_pred_module54();
	hlds__hlds_pred_module55();
	hlds__hlds_pred_module56();
	hlds__hlds_pred_module57();
	hlds__hlds_pred_module58();
	hlds__hlds_pred_module59();
	hlds__hlds_pred_module60();
	hlds__hlds_pred_module61();
	hlds__hlds_pred_module62();
	hlds__hlds_pred_module63();
	hlds__hlds_pred_module64();
	hlds__hlds_pred_module65();
	hlds__hlds_pred_module66();
	hlds__hlds_pred_module67();
	hlds__hlds_pred_module68();
	hlds__hlds_pred_module69();
	hlds__hlds_pred_module70();
	hlds__hlds_pred_module71();
	hlds__hlds_pred_module72();
	hlds__hlds_pred_module73();
	hlds__hlds_pred_module74();
	hlds__hlds_pred_module75();
	hlds__hlds_pred_module76();
	hlds__hlds_pred_module77();
	hlds__hlds_pred_module78();
	hlds__hlds_pred_module79();
}

static void mercury__hlds__hlds_pred_maybe_bunch_2(void)
{
	hlds__hlds_pred_module80();
	hlds__hlds_pred_module81();
	hlds__hlds_pred_module82();
	hlds__hlds_pred_module83();
	hlds__hlds_pred_module84();
	hlds__hlds_pred_module85();
	hlds__hlds_pred_module86();
	hlds__hlds_pred_module87();
	hlds__hlds_pred_module88();
	hlds__hlds_pred_module89();
	hlds__hlds_pred_module90();
	hlds__hlds_pred_module91();
	hlds__hlds_pred_module92();
	hlds__hlds_pred_module93();
	hlds__hlds_pred_module94();
	hlds__hlds_pred_module95();
	hlds__hlds_pred_module96();
	hlds__hlds_pred_module97();
	hlds__hlds_pred_module98();
	hlds__hlds_pred_module99();
	hlds__hlds_pred_module100();
	hlds__hlds_pred_module101();
	hlds__hlds_pred_module102();
	hlds__hlds_pred_module103();
	hlds__hlds_pred_module104();
	hlds__hlds_pred_module105();
	hlds__hlds_pred_module106();
	hlds__hlds_pred_module107();
	hlds__hlds_pred_module108();
	hlds__hlds_pred_module109();
	hlds__hlds_pred_module110();
	hlds__hlds_pred_module111();
	hlds__hlds_pred_module112();
	hlds__hlds_pred_module113();
	hlds__hlds_pred_module114();
	hlds__hlds_pred_module115();
	hlds__hlds_pred_module116();
	hlds__hlds_pred_module117();
	hlds__hlds_pred_module118();
	hlds__hlds_pred_module119();
}

static void mercury__hlds__hlds_pred_maybe_bunch_3(void)
{
	hlds__hlds_pred_module120();
	hlds__hlds_pred_module121();
	hlds__hlds_pred_module122();
	hlds__hlds_pred_module123();
	hlds__hlds_pred_module124();
	hlds__hlds_pred_module125();
	hlds__hlds_pred_module126();
	hlds__hlds_pred_module127();
	hlds__hlds_pred_module128();
	hlds__hlds_pred_module129();
	hlds__hlds_pred_module130();
	hlds__hlds_pred_module131();
	hlds__hlds_pred_module132();
	hlds__hlds_pred_module133();
	hlds__hlds_pred_module134();
	hlds__hlds_pred_module135();
	hlds__hlds_pred_module136();
	hlds__hlds_pred_module137();
	hlds__hlds_pred_module138();
	hlds__hlds_pred_module139();
	hlds__hlds_pred_module140();
	hlds__hlds_pred_module141();
	hlds__hlds_pred_module142();
	hlds__hlds_pred_module143();
	hlds__hlds_pred_module144();
	hlds__hlds_pred_module145();
	hlds__hlds_pred_module146();
	hlds__hlds_pred_module147();
	hlds__hlds_pred_module148();
	hlds__hlds_pred_module149();
	hlds__hlds_pred_module150();
	hlds__hlds_pred_module151();
	hlds__hlds_pred_module152();
	hlds__hlds_pred_module153();
	hlds__hlds_pred_module154();
	hlds__hlds_pred_module155();
	hlds__hlds_pred_module156();
	hlds__hlds_pred_module157();
	hlds__hlds_pred_module158();
	hlds__hlds_pred_module159();
}

static void mercury__hlds__hlds_pred_maybe_bunch_4(void)
{
	hlds__hlds_pred_module160();
	hlds__hlds_pred_module161();
	hlds__hlds_pred_module162();
	hlds__hlds_pred_module163();
	hlds__hlds_pred_module164();
	hlds__hlds_pred_module165();
	hlds__hlds_pred_module166();
	hlds__hlds_pred_module167();
	hlds__hlds_pred_module168();
	hlds__hlds_pred_module169();
	hlds__hlds_pred_module170();
	hlds__hlds_pred_module171();
	hlds__hlds_pred_module172();
	hlds__hlds_pred_module173();
	hlds__hlds_pred_module174();
	hlds__hlds_pred_module175();
	hlds__hlds_pred_module176();
	hlds__hlds_pred_module177();
	hlds__hlds_pred_module178();
	hlds__hlds_pred_module179();
	hlds__hlds_pred_module180();
	hlds__hlds_pred_module181();
	hlds__hlds_pred_module182();
	hlds__hlds_pred_module183();
	hlds__hlds_pred_module184();
	hlds__hlds_pred_module185();
	hlds__hlds_pred_module186();
	hlds__hlds_pred_module187();
	hlds__hlds_pred_module188();
	hlds__hlds_pred_module189();
	hlds__hlds_pred_module190();
	hlds__hlds_pred_module191();
	hlds__hlds_pred_module192();
	hlds__hlds_pred_module193();
	hlds__hlds_pred_module194();
	hlds__hlds_pred_module195();
	hlds__hlds_pred_module196();
	hlds__hlds_pred_module197();
	hlds__hlds_pred_module198();
	hlds__hlds_pred_module199();
}

static void mercury__hlds__hlds_pred_maybe_bunch_5(void)
{
	hlds__hlds_pred_module200();
	hlds__hlds_pred_module201();
	hlds__hlds_pred_module202();
	hlds__hlds_pred_module203();
	hlds__hlds_pred_module204();
	hlds__hlds_pred_module205();
	hlds__hlds_pred_module206();
	hlds__hlds_pred_module207();
	hlds__hlds_pred_module208();
	hlds__hlds_pred_module209();
	hlds__hlds_pred_module210();
	hlds__hlds_pred_module211();
	hlds__hlds_pred_module212();
	hlds__hlds_pred_module213();
	hlds__hlds_pred_module214();
	hlds__hlds_pred_module215();
	hlds__hlds_pred_module216();
	hlds__hlds_pred_module217();
	hlds__hlds_pred_module218();
	hlds__hlds_pred_module219();
	hlds__hlds_pred_module220();
	hlds__hlds_pred_module221();
	hlds__hlds_pred_module222();
	hlds__hlds_pred_module223();
	hlds__hlds_pred_module224();
	hlds__hlds_pred_module225();
	hlds__hlds_pred_module226();
	hlds__hlds_pred_module227();
	hlds__hlds_pred_module228();
	hlds__hlds_pred_module229();
	hlds__hlds_pred_module230();
	hlds__hlds_pred_module231();
	hlds__hlds_pred_module232();
	hlds__hlds_pred_module233();
	hlds__hlds_pred_module234();
	hlds__hlds_pred_module235();
	hlds__hlds_pred_module236();
	hlds__hlds_pred_module237();
	hlds__hlds_pred_module238();
	hlds__hlds_pred_module239();
}

static void mercury__hlds__hlds_pred_maybe_bunch_6(void)
{
	hlds__hlds_pred_module240();
	hlds__hlds_pred_module241();
	hlds__hlds_pred_module242();
	hlds__hlds_pred_module243();
	hlds__hlds_pred_module244();
	hlds__hlds_pred_module245();
	hlds__hlds_pred_module246();
	hlds__hlds_pred_module247();
	hlds__hlds_pred_module248();
	hlds__hlds_pred_module249();
	hlds__hlds_pred_module250();
	hlds__hlds_pred_module251();
	hlds__hlds_pred_module252();
	hlds__hlds_pred_module253();
	hlds__hlds_pred_module254();
	hlds__hlds_pred_module255();
	hlds__hlds_pred_module256();
	hlds__hlds_pred_module257();
	hlds__hlds_pred_module258();
	hlds__hlds_pred_module259();
	hlds__hlds_pred_module260();
	hlds__hlds_pred_module261();
	hlds__hlds_pred_module262();
	hlds__hlds_pred_module263();
	hlds__hlds_pred_module264();
	hlds__hlds_pred_module265();
	hlds__hlds_pred_module266();
	hlds__hlds_pred_module267();
	hlds__hlds_pred_module268();
	hlds__hlds_pred_module269();
	hlds__hlds_pred_module270();
	hlds__hlds_pred_module271();
	hlds__hlds_pred_module272();
	hlds__hlds_pred_module273();
	hlds__hlds_pred_module274();
	hlds__hlds_pred_module275();
	hlds__hlds_pred_module276();
	hlds__hlds_pred_module277();
	hlds__hlds_pred_module278();
	hlds__hlds_pred_module279();
}

static void mercury__hlds__hlds_pred_maybe_bunch_7(void)
{
	hlds__hlds_pred_module280();
	hlds__hlds_pred_module281();
	hlds__hlds_pred_module282();
	hlds__hlds_pred_module283();
	hlds__hlds_pred_module284();
	hlds__hlds_pred_module285();
	hlds__hlds_pred_module286();
	hlds__hlds_pred_module287();
	hlds__hlds_pred_module288();
	hlds__hlds_pred_module289();
	hlds__hlds_pred_module290();
	hlds__hlds_pred_module291();
	hlds__hlds_pred_module292();
	hlds__hlds_pred_module293();
	hlds__hlds_pred_module294();
	hlds__hlds_pred_module295();
	hlds__hlds_pred_module296();
	hlds__hlds_pred_module297();
	hlds__hlds_pred_module298();
	hlds__hlds_pred_module299();
	hlds__hlds_pred_module300();
	hlds__hlds_pred_module301();
	hlds__hlds_pred_module302();
	hlds__hlds_pred_module303();
	hlds__hlds_pred_module304();
	hlds__hlds_pred_module305();
	hlds__hlds_pred_module306();
	hlds__hlds_pred_module307();
	hlds__hlds_pred_module308();
	hlds__hlds_pred_module309();
	hlds__hlds_pred_module310();
	hlds__hlds_pred_module311();
	hlds__hlds_pred_module312();
	hlds__hlds_pred_module313();
	hlds__hlds_pred_module314();
	hlds__hlds_pred_module315();
	hlds__hlds_pred_module316();
	hlds__hlds_pred_module317();
	hlds__hlds_pred_module318();
	hlds__hlds_pred_module319();
}

static void mercury__hlds__hlds_pred_maybe_bunch_8(void)
{
	hlds__hlds_pred_module320();
	hlds__hlds_pred_module321();
	hlds__hlds_pred_module322();
	hlds__hlds_pred_module323();
	hlds__hlds_pred_module324();
	hlds__hlds_pred_module325();
	hlds__hlds_pred_module326();
	hlds__hlds_pred_module327();
	hlds__hlds_pred_module328();
	hlds__hlds_pred_module329();
	hlds__hlds_pred_module330();
	hlds__hlds_pred_module331();
	hlds__hlds_pred_module332();
	hlds__hlds_pred_module333();
	hlds__hlds_pred_module334();
	hlds__hlds_pred_module335();
	hlds__hlds_pred_module336();
	hlds__hlds_pred_module337();
	hlds__hlds_pred_module338();
	hlds__hlds_pred_module339();
	hlds__hlds_pred_module340();
	hlds__hlds_pred_module341();
	hlds__hlds_pred_module342();
	hlds__hlds_pred_module343();
	hlds__hlds_pred_module344();
	hlds__hlds_pred_module345();
	hlds__hlds_pred_module346();
	hlds__hlds_pred_module347();
	hlds__hlds_pred_module348();
	hlds__hlds_pred_module349();
	hlds__hlds_pred_module350();
	hlds__hlds_pred_module351();
	hlds__hlds_pred_module352();
	hlds__hlds_pred_module353();
	hlds__hlds_pred_module354();
	hlds__hlds_pred_module355();
	hlds__hlds_pred_module356();
	hlds__hlds_pred_module357();
	hlds__hlds_pred_module358();
	hlds__hlds_pred_module359();
}

static void mercury__hlds__hlds_pred_maybe_bunch_9(void)
{
	hlds__hlds_pred_module360();
	hlds__hlds_pred_module361();
	hlds__hlds_pred_module362();
	hlds__hlds_pred_module363();
}

/* suppress gcc -Wmissing-decls warnings */
void mercury__hlds__hlds_pred__init(void);
void mercury__hlds__hlds_pred__init_type_tables(void);
void mercury__hlds__hlds_pred__init_debugger(void);
#ifdef MR_DEEP_PROFILING
void mercury__hlds__hlds_pred__write_out_proc_statics(FILE *deep_fp, FILE *procrep_fp);
#endif
#ifdef MR_RECORD_TERM_SIZES
void mercury__hlds__hlds_pred__init_complexity_procs(void);
#endif
#ifdef MR_THREADSCOPE
void mercury__hlds__hlds_pred__init_threadscope_string_table(void);
#endif

void mercury__hlds__hlds_pred__init(void)
{
	static MR_bool done = MR_FALSE;
	if (done) {
		return;
	}
	done = MR_TRUE;
	mercury__hlds__hlds_pred_maybe_bunch_0();
	mercury__hlds__hlds_pred_maybe_bunch_1();
	mercury__hlds__hlds_pred_maybe_bunch_2();
	mercury__hlds__hlds_pred_maybe_bunch_3();
	mercury__hlds__hlds_pred_maybe_bunch_4();
	mercury__hlds__hlds_pred_maybe_bunch_5();
	mercury__hlds__hlds_pred_maybe_bunch_6();
	mercury__hlds__hlds_pred_maybe_bunch_7();
	mercury__hlds__hlds_pred_maybe_bunch_8();
	mercury__hlds__hlds_pred_maybe_bunch_9();
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_arg_info_0,
		hlds__hlds_pred__arg_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_arg_loc_0,
		hlds__hlds_pred__arg_loc_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_arg_mode_0,
		hlds__hlds_pred__arg_mode_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_arg_modes_map_0,
		hlds__hlds_pred__arg_modes_map_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_attribute_0,
		hlds__hlds_pred__attribute_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_call_id_0,
		hlds__hlds_pred__call_id_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_call_site_static_data_0,
		hlds__hlds_pred__call_site_static_data_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_deep_original_body_0,
		hlds__hlds_pred__deep_original_body_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_deep_profile_proc_info_0,
		hlds__hlds_pred__deep_profile_proc_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_deep_profile_role_0,
		hlds__hlds_pred__deep_profile_role_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_deep_recursion_info_0,
		hlds__hlds_pred__deep_recursion_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_detism_decl_0,
		hlds__hlds_pred__detism_decl_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_generic_call_id_0,
		hlds__hlds_pred__generic_call_id_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_goal_type_0,
		hlds__hlds_pred__goal_type_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_head_type_params_0,
		hlds__hlds_pred__head_type_params_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_hlds_deep_excp_vars_0,
		hlds__hlds_pred__hlds_deep_excp_vars_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_hlds_deep_layout_0,
		hlds__hlds_pred__hlds_deep_layout_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_hlds_proc_static_0,
		hlds__hlds_pred__hlds_proc_static_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_implementation_language_0,
		hlds__hlds_pred__implementation_language_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_import_status_0,
		hlds__hlds_pred__import_status_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_imported_reuse_0,
		hlds__hlds_pred__imported_reuse_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_imported_sharing_0,
		hlds__hlds_pred__imported_sharing_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_is_address_taken_0,
		hlds__hlds_pred__is_address_taken_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_liveness_info_0,
		hlds__hlds_pred__liveness_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_marker_0,
		hlds__hlds_pred__marker_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_need_to_requantify_0,
		hlds__hlds_pred__need_to_requantify_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_pred_attributes_0,
		hlds__hlds_pred__pred_attributes_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_pred_creation_0,
		hlds__hlds_pred__pred_creation_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_pred_id_0,
		hlds__hlds_pred__pred_id_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_pred_info_0,
		hlds__hlds_pred__pred_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_pred_markers_0,
		hlds__hlds_pred__pred_markers_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_pred_origin_0,
		hlds__hlds_pred__pred_origin_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_id_0,
		hlds__hlds_pred__pred_proc_id_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_list_0,
		hlds__hlds_pred__pred_proc_list_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_pred_sub_info_0,
		hlds__hlds_pred__pred_sub_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_pred_transformation_0,
		hlds__hlds_pred__pred_transformation_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_proc_id_0,
		hlds__hlds_pred__proc_id_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_proc_info_0,
		hlds__hlds_pred__proc_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_proc_sub_info_0,
		hlds__hlds_pred__proc_sub_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_0,
		hlds__hlds_pred__proc_table_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_io_info_0,
		hlds__hlds_pred__proc_table_io_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_struct_info_0,
		hlds__hlds_pred__proc_table_struct_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_special_proc_return_0,
		hlds__hlds_pred__special_proc_return_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_structure_reuse_domain_and_status_0,
		hlds__hlds_pred__structure_reuse_domain_and_status_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_structure_reuse_info_0,
		hlds__hlds_pred__structure_reuse_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_structure_sharing_domain_and_status_0,
		hlds__hlds_pred__structure_sharing_domain_and_status_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_structure_sharing_info_0,
		hlds__hlds_pred__structure_sharing_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_table_arg_info_0,
		hlds__hlds_pred__table_arg_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_table_arg_infos_0,
		hlds__hlds_pred__table_arg_infos_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_table_is_poly_0,
		hlds__hlds_pred__table_is_poly_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_table_locn_0,
		hlds__hlds_pred__table_locn_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_table_step_desc_0,
		hlds__hlds_pred__table_step_desc_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_table_trie_step_0,
		hlds__hlds_pred__table_trie_step_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_table_value_or_addr_0,
		hlds__hlds_pred__table_value_or_addr_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_tail_call_events_0,
		hlds__hlds_pred__tail_call_events_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_untuple_proc_info_0,
		hlds__hlds_pred__untuple_proc_info_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_hlds__hlds_pred__type_ctor_info_visible_scc_data_0,
		hlds__hlds_pred__visible_scc_data_0_0);
	mercury__hlds__hlds_pred__init_debugger();
}

void mercury__hlds__hlds_pred__init_type_tables(void)
{
	static MR_bool done = MR_FALSE;
	if (done) {
		return;
	}
	done = MR_TRUE;
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_arg_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_arg_loc_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_arg_mode_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_arg_modes_map_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_attribute_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_call_id_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_call_site_static_data_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_deep_original_body_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_deep_profile_proc_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_deep_profile_role_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_deep_recursion_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_detism_decl_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_generic_call_id_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_goal_type_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_head_type_params_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_hlds_deep_excp_vars_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_hlds_deep_layout_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_hlds_proc_static_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_implementation_language_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_import_status_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_imported_reuse_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_imported_sharing_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_is_address_taken_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_liveness_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_marker_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_need_to_requantify_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_pred_attributes_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_pred_creation_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_pred_id_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_pred_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_pred_markers_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_pred_origin_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_id_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_list_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_pred_sub_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_pred_transformation_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_proc_id_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_proc_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_proc_sub_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_io_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_proc_table_struct_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_special_proc_return_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_structure_reuse_domain_and_status_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_structure_reuse_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_structure_sharing_domain_and_status_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_structure_sharing_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_table_arg_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_table_arg_infos_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_table_is_poly_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_table_locn_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_table_step_desc_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_table_trie_step_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_table_value_or_addr_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_tail_call_events_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_untuple_proc_info_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_hlds__hlds_pred__type_ctor_info_visible_scc_data_0);
	}
}


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

#ifdef MR_DEEP_PROFILING

void mercury__hlds__hlds_pred__write_out_proc_statics(FILE *deep_fp, FILE *procrep_fp)
{
	MR_write_out_module_proc_reps_start(procrep_fp, &mercury_data__module_common_layout__hlds__hlds_pred);
	MR_write_out_module_proc_reps_end(procrep_fp);
}

#endif

#ifdef MR_RECORD_TERM_SIZES

void mercury__hlds__hlds_pred__init_complexity_procs(void)
{
}

#endif

#ifdef MR_THREADSCOPE

void mercury__hlds__hlds_pred__init_threadscope_string_table(void)
{
}

#endif

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