/*
** Automatically generated from `structure_reuse.analysis.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__transform_hlds__ctgc__structure_reuse__analysis__init
ENDINIT
*/

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

#line 28 "transform_hlds.ctgc.structure_reuse.analysis.c"
#line 536 "../library/io.int"
#include "time.mh"

#line 32 "transform_hlds.ctgc.structure_reuse.analysis.c"
#line 537 "../library/io.int"
#include "string.mh"

#line 36 "transform_hlds.ctgc.structure_reuse.analysis.c"
#line 31 "../library/bitmap.int2"
#include "bitmap.mh"

#line 40 "transform_hlds.ctgc.structure_reuse.analysis.c"
#line 33 "../library/array.int2"
#include "array.mh"

#line 44 "transform_hlds.ctgc.structure_reuse.analysis.c"
#line 39 "../mdbcomp/mdbcomp.rtti_access.int2"
#include "mdbcomp.rtti_access.mh"

#line 48 "transform_hlds.ctgc.structure_reuse.analysis.c"
#line 49 "transform_hlds.ctgc.structure_reuse.analysis.c"
#include "transform_hlds.ctgc.structure_reuse.analysis.mh"

#line 52 "transform_hlds.ctgc.structure_reuse.analysis.c"
#line 53 "transform_hlds.ctgc.structure_reuse.analysis.c"
#ifndef TRANSFORM_HLDS__CTGC__STRUCTURE_REUSE__ANALYSIS_DECL_GUARD
#define TRANSFORM_HLDS__CTGC__STRUCTURE_REUSE__ANALYSIS_DECL_GUARD

#line 57 "transform_hlds.ctgc.structure_reuse.analysis.c"
#line 58 "transform_hlds.ctgc.structure_reuse.analysis.c"

#endif
#line 61 "transform_hlds.ctgc.structure_reuse.analysis.c"

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

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

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

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

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

struct mercury_type_4 {
	MR_Word * f1[2];
};
MR_STATIC_LINKAGE const struct mercury_type_4 mercury_common_4[];

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

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

struct mercury_type_7 {
	MR_Word * f1;
};
MR_STATIC_LINKAGE const struct mercury_type_7 mercury_common_7[];

struct mercury_type_8 {
	MR_Word * f1[3];
};
MR_STATIC_LINKAGE const struct mercury_type_8 mercury_common_8[];

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

struct mercury_type_10 {
	MR_Word * f1[2];
	MR_Integer f2;
	MR_Word * f3[11];
};
MR_STATIC_LINKAGE const struct mercury_type_10 mercury_common_10[];

struct mercury_type_11 {
	MR_Word * f1[5];
};
MR_STATIC_LINKAGE const struct mercury_type_11 mercury_common_11[];

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

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

struct mercury_type_14 {
	MR_String f1;
};
MR_STATIC_LINKAGE const struct mercury_type_14 mercury_common_14[];

extern const MR_BaseTypeclassInfo
	mercury_data_base_typeclass_info_analysis__to_term__arity1__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__[],
	mercury_data_base_typeclass_info_analysis__to_term__arity1__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__[],
	mercury_data_base_typeclass_info_analysis__partial_order__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__[],
	mercury_data_base_typeclass_info_analysis__partial_order__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__[],
	mercury_data_base_typeclass_info_analysis__call_pattern__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__[],
	mercury_data_base_typeclass_info_analysis__answer_pattern__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__[],
	mercury_data_base_typeclass_info_analysis__analysis__arity3__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__[];

extern const MR_TypeCtorInfo_Struct
	mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_should_write_for_0,
	mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_answer_0,
	mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_call_0,
	mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_func_info_0;
MR_decl_label1(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__get_func_info_6_6_0, 2)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0, 5,9,10,12,13,14,15,16,17,2)
MR_decl_label1(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0, 1)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0, 24,60,9,10,12,13,14,15,16,17)
MR_decl_label2(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0, 21,1)
MR_decl_label7(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0, 7,103,15,18,21,102,1)
MR_decl_label2(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_103_101_116_95_102_117_110_99_95_105_110_102_111_95_54_95_95_91_52_44_32_53_93_95_48_6_0, 2,3)
MR_decl_label2(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_109_111_114_101_95_112_114_101_99_105_115_101_95_116_104_97_110_95_51_95_95_91_49_93_95_48_3_0, 2,3)
MR_decl_label7(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0, 2,5,17,8,9,10,4)
MR_decl_label1(transform_hlds__ctgc__structure_reuse__analysis__add_reuse_request_4_0, 3)
MR_decl_label2(transform_hlds__ctgc__structure_reuse__analysis__annotate_in_use_information_3_0, 2,3)
MR_decl_label5(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0, 31,3,7,6,5)
MR_decl_label3(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0, 2,10,11)
MR_decl_label1(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_11_0, 2)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0, 2,3,4,6,7,8,9,10,11,12)
MR_decl_label5(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0, 13,16,18,15,19)
MR_decl_label8(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0, 2,3,4,5,7,8,9,10)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0, 2,3,4,5,6,7,8,9,10,11)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0, 14,15,20,21,13,22,23,25,26,27)
MR_decl_label1(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0, 28)
MR_decl_label3(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0, 3,5,2)
MR_decl_label7(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0, 2,3,5,7,9,11,4)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0, 2,3,4,5,8,9,7,10,6,11)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0, 14,15,16,17,19,20,21,22,23,24)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0, 25,26,27,28,29,30,31,32,35,34)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0, 38,33,40,41,45,42,47,49,50,52)
MR_decl_label7(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0, 54,56,48,58,60,61,62)
MR_decl_label1(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_2_0, 2)
MR_decl_label7(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0, 2,3,4,5,8,9,10)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0, 2,5,7,8,10,12,14,13,17,19)
MR_decl_label2(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0, 20,4)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0, 3,4,5,8,13,16,17,18,19,25)
MR_decl_label4(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0, 27,29,36,30)
MR_decl_label8(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0, 2,3,4,8,7,9,10,11)
MR_decl_label4(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0, 2,3,7,8)
MR_decl_label8(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0, 2,3,4,8,5,10,15,9)
MR_decl_label4(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0, 3,4,5,13)
MR_decl_label1(transform_hlds__ctgc__structure_reuse__analysis__record_intermod_requests_4_0, 2)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0, 3,2,5,6,8,12,14,15,18,20)
MR_decl_label7(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0, 21,22,23,24,26,28,7)
MR_decl_label3(transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0, 2,4,5)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0, 2,3,4,5,14,17,21,20,24,25)
MR_decl_label9(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0, 27,28,29,30,31,33,26,36,15)
MR_decl_label7(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0, 3,42,5,7,10,11,8)
MR_decl_label8(transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0, 2,3,4,5,6,7,8,10)
MR_decl_label10(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0, 3,7,9,10,13,15,17,18,21,22)
MR_decl_label4(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0, 23,24,27,32)
MR_decl_label1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_name_2_2_0, 2)
MR_decl_label1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_version_number_2_2_0, 2)
MR_decl_label1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__bottom_2_2_0, 2)
MR_decl_label1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__preferred_fixpoint_type_2_2_0, 2)
MR_decl_label8(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0, 5,3,9,7,13,15,17,22)
MR_decl_label6(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0, 5,20,6,9,11,1)
MR_decl_label1(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0, 6)
MR_decl_label3(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0, 4,8,1)
MR_decl_label10(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0, 43,5,11,46,9,14,15,18,22,28)
MR_decl_label2(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0, 3,2)
MR_decl_label4(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0, 3,2,5,21)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_11_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_4_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_2_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0)
MR_def_extern_entry(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0)
MR_def_extern_entry(transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0)
MR_def_extern_entry(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__add_reuse_request_4_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__annotate_in_use_information_3_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__record_intermod_requests_4_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__remove_useless_reuse_proc_7_0)
MR_decl_static(__Unify___transform_hlds__ctgc__structure_reuse__analysis__should_write_for_0_0)
MR_decl_static(__Compare___transform_hlds__ctgc__structure_reuse__analysis__should_write_for_0_0)
MR_def_extern_entry(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0)
MR_def_extern_entry(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0)
MR_def_extern_entry(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0)
MR_def_extern_entry(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0)
MR_def_extern_entry(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0)
MR_def_extern_entry(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0)
MR_decl_static(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_name_2_2_0)
MR_decl_static(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_version_number_2_2_0)
MR_decl_static(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__preferred_fixpoint_type_2_2_0)
MR_decl_static(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__bottom_2_2_0)
MR_decl_static(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__top_2_2_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__get_func_info_6_6_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__more_precise_than_3_3_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__equivalent_3_3_0)
MR_decl_static(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0)
MR_decl_static(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__to_term_1_1_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__from_term_2_2_0)
MR_decl_static(transform_hlds__ctgc__structure_reuse__analysis__IntroducedFrom__pred__write_proc_reuse_info__832__1_3_0)
MR_decl_static(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0)
MR_decl_static(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_110_97_109_101_95_50_95_95_91_49_44_32_50_93_95_48_2_0)
MR_decl_static(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_118_101_114_115_105_111_110_95_110_117_109_98_101_114_95_50_95_95_91_49_44_32_50_93_95_48_2_0)
MR_decl_static(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_112_114_101_102_101_114_114_101_100_95_102_105_120_112_111_105_110_116_95_116_121_112_101_95_50_95_95_91_49_44_32_50_93_95_48_2_0)
MR_decl_static(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_98_111_116_116_111_109_95_50_95_95_91_49_44_32_50_93_95_48_2_0)
MR_decl_static(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_116_111_112_95_50_95_95_91_49_44_32_50_93_95_48_2_0)
MR_decl_static(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_103_101_116_95_102_117_110_99_95_105_110_102_111_95_54_95_95_91_52_44_32_53_93_95_48_6_0)
MR_decl_static(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_109_111_114_101_95_112_114_101_99_105_115_101_95_116_104_97_110_95_51_95_95_91_49_93_95_48_3_0)
MR_decl_static(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_101_113_117_105_118_97_108_101_110_116_95_51_95_95_91_49_93_95_48_3_0)

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__indirect__type_ctor_info_sr_request_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_id_0;
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__domain__type_ctor_info_reuse_as_table_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_module__type_ctor_info_module_info_0;
static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_2;
static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_6;
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__domain__type_ctor_info_reuse_as_and_status_0;
extern const MR_TypeCtorInfo_Struct mercury_data_analysis__type_ctor_info_analysis_info_0;
static const struct mercury_type_0 mercury_common_0[3] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_1,
(MR_Word *) (MR_Integer) 0
},
6,
{
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__indirect, sr_request),
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table),
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(hlds__hlds_module, module_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_2,
(MR_Word *) (MR_Integer) 0
},
6,
{
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__indirect, sr_request),
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table),
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(hlds__hlds_module, module_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_6,
(MR_Word *) (MR_Integer) 0
},
6,
{
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_COMMON(8,0),
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_and_status),
MR_CTOR0_ADDR(analysis, analysis_info),
MR_CTOR0_ADDR(analysis, analysis_info)
}
},
};

static const struct mercury_type_1 mercury_common_1[7] =
{
{
MR_COMMON(0,0),
MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0),
0
},
{
MR_COMMON(3,0),
MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0),
0
},
{
MR_COMMON(5,0),
MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0),
0
},
{
MR_COMMON(3,1),
MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__annotate_in_use_information_3_0),
0
},
{
MR_COMMON(0,1),
MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0),
0
},
{
MR_COMMON(6,1),
MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0),
0
},
{
MR_COMMON(6,3),
MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0),
0
},
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_4_0_1;
static const struct mercury_type_2 mercury_common_2[1] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_4_0_1,
(MR_Word *) (MR_Integer) 0
},
5,
{
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table),
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_and_status),
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(hlds__hlds_module, module_info)
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_2_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_int_0;
static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_proc_info_0;
static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_mer_type_0;
static const struct mercury_type_3 mercury_common_3[3] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_2_0_1,
(MR_Word *) (MR_Integer) 0
},
3,
{
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(hlds__hlds_module, module_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_1,
(MR_Word *) (MR_Integer) 0
},
3,
{
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(hlds__hlds_pred, proc_info),
MR_CTOR0_ADDR(hlds__hlds_pred, proc_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_1,
(MR_Word *) (MR_Integer) 0
},
3,
{
MR_COMMON(8,8),
MR_COMMON(4,10),
MR_CTOR0_ADDR(parse_tree__prog_data, mer_type)
}
},
};

extern const MR_TypeCtorInfo_Struct mercury_data_list__type_ctor_info_list_1;
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__indirect__type_ctor_info_sr_request_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_id_0;
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__indirect__type_ctor_info_sr_request_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_proc_id_0;
extern const MR_TypeCtorInfo_Struct mercury_data_varset__type_ctor_info_varset_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_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_parse_tree__prog_data__type_ctor_info_tvar_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_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_condition_0;
extern const MR_TypeCtorInfo_Struct mercury_data_builtin__type_ctor_info_int_0;
static const struct mercury_type_4 mercury_common_4[15] =
{
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__indirect, sr_request)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__indirect, sr_request)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id)
}
},
{
{
MR_CTOR1_ADDR(varset, varset),
MR_CTOR0_ADDR(parse_tree__prog_data, tvar_type)
}
},
{
{
(MR_Word *) &mercury_data_base_typeclass_info_analysis__to_term__arity1__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__,
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_call)
}
},
{
{
(MR_Word *) &mercury_data_base_typeclass_info_analysis__to_term__arity1__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__,
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_answer)
}
},
{
{
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, tvar_type)
}
},
{
{
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_TAG_COMMON(0,4,7)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(parse_tree__prog_data, mer_type)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_CTOR0_ADDR(parse_tree__prog_data, structure_reuse_condition)
}
},
{
{
MR_LIST_CTOR_ADDR,
MR_INT_CTOR_ADDR
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0_1;
static const struct mercury_type_5 mercury_common_5[1] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0_1,
(MR_Word *) (MR_Integer) 0
},
9,
{
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table),
MR_COMMON(4,2),
MR_COMMON(4,2),
MR_COMMON(4,3),
MR_COMMON(4,3)
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_io__type_ctor_info_state_0;
static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_3;
static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_4;
static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_5;
static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_7;
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__domain__type_ctor_info_ppid_no_clobbers_0;
static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_8;
static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_info_0;
static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_call_0;
static const struct mercury_type_6 mercury_common_6[8] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_1,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_INT_CTOR_ADDR,
MR_IO_CTOR_ADDR,
MR_IO_CTOR_ADDR
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_3,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_and_status),
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(hlds__hlds_module, module_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_4,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table),
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id),
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(hlds__hlds_module, module_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_5,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_and_status),
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(hlds__hlds_module, module_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_7,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, ppid_no_clobbers),
MR_CTOR0_ADDR(analysis, analysis_info),
MR_CTOR0_ADDR(analysis, analysis_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_8,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__indirect, sr_request),
MR_CTOR0_ADDR(analysis, analysis_info),
MR_CTOR0_ADDR(analysis, analysis_info)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0_1,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(hlds__hlds_pred, pred_info),
MR_INT_CTOR_ADDR,
MR_COMMON(8,2),
MR_COMMON(8,2)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_1,
(MR_Word *) (MR_Integer) 0
},
4,
{
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_call),
MR_COMMON(4,2),
MR_COMMON(4,2)
}
},
};

static const struct mercury_type_7 mercury_common_7[1] =
{
{
MR_TAG_COMMON(0,1,3)
},
};

extern const MR_TypeCtorInfo_Struct mercury_data_bimap__type_ctor_info_bimap_2;
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__domain__type_ctor_info_ppid_no_clobbers_0;
extern const MR_TypeCtorInfo_Struct mercury_data_tree234__type_ctor_info_tree234_2;
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__domain__type_ctor_info_reuse_as_and_status_0;
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_hlds__hlds_pred__type_ctor_info_proc_id_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_proc_info_0;
extern const MR_TypeCtorInfo_Struct mercury_data_analysis__type_ctor_info_analysis_result_2;
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_call_0;
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_answer_0;
extern const MR_TypeCtorInfo_Struct mercury_data_parse_tree__prog_data__type_ctor_info_mer_type_0;
static const struct mercury_type_8 mercury_common_8[9] =
{
{
{
MR_CTOR_ADDR(bimap, bimap, 2),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, ppid_no_clobbers),
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_and_status)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(hlds__hlds_pred, proc_info)
}
},
{
{
(MR_Word *) &mercury_data_base_typeclass_info_analysis__partial_order__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__,
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_func_info),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_call)
}
},
{
{
(MR_Word *) &mercury_data_base_typeclass_info_analysis__partial_order__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__,
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_func_info),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_answer)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_CTOR0_ADDR(hlds__hlds_pred, proc_id),
MR_CTOR0_ADDR(hlds__hlds_pred, proc_info)
}
},
{
{
MR_CTOR_ADDR(analysis, analysis_result, 2),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_call),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_answer)
}
},
{
{
MR_CTOR_ADDR(analysis, analysis_result, 2),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_call),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_answer)
}
},
{
{
MR_CTOR_ADDR(tree234, tree234, 2),
MR_COMMON(4,9),
MR_CTOR0_ADDR(parse_tree__prog_data, mer_type)
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_9;
extern const MR_TypeCtorInfo_Struct mercury_data_bool__type_ctor_info_bool_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__pred_table__type_ctor_info_predicate_table_0;
static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_1;
static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_2;
static const struct mercury_type_9 mercury_common_9[3] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_9,
(MR_Word *) (MR_Integer) 0
},
7,
{
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_BOOL_CTOR_ADDR,
MR_COMMON(8,1),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, ppid_no_clobbers),
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id),
MR_CTOR0_ADDR(hlds__pred_table, predicate_table),
MR_CTOR0_ADDR(hlds__pred_table, predicate_table)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_1,
(MR_Word *) (MR_Integer) 0
},
7,
{
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(hlds__hlds_pred, pred_info),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table)
}
},
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_2,
(MR_Word *) (MR_Integer) 0
},
7,
{
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_INT_CTOR_ADDR,
MR_INT_CTOR_ADDR,
MR_COMMON(4,2),
MR_COMMON(4,2),
MR_COMMON(4,3),
MR_COMMON(4,3)
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0_1;
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__prim_data__type_ctor_info_pred_or_func_0;
extern const MR_TypeCtorInfo_Struct mercury_data_mdbcomp__prim_data__type_ctor_info_sym_name_0;
extern const MR_TypeCtorInfo_Struct mercury_data_term__type_ctor_info_context_0;
static const struct mercury_type_10 mercury_common_10[1] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0_1,
(MR_Word *) (MR_Integer) 0
},
11,
{
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_INT_CTOR_ADDR,
MR_CTOR0_ADDR(hlds__hlds_pred, pred_info),
MR_COMMON(8,2),
MR_CTOR0_ADDR(mdbcomp__prim_data, pred_or_func),
MR_CTOR0_ADDR(mdbcomp__prim_data, sym_name),
MR_CTOR0_ADDR(term, context),
MR_COMMON(4,4),
MR_INT_CTOR_ADDR,
MR_IO_CTOR_ADDR,
MR_IO_CTOR_ADDR
}
},
};

static const struct mercury_type_11 mercury_common_11[2] =
{
{
{
(MR_Word *) &mercury_data_base_typeclass_info_analysis__call_pattern__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__,
MR_TAG_COMMON(0,8,3),
MR_TAG_COMMON(0,4,5),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_func_info),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_call)
}
},
{
{
(MR_Word *) &mercury_data_base_typeclass_info_analysis__answer_pattern__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__,
MR_TAG_COMMON(0,8,4),
MR_TAG_COMMON(0,4,6),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_func_info),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_answer)
}
},
};

static const struct mercury_type_12 mercury_common_12[1] =
{
{
{
(MR_Word *) &mercury_data_base_typeclass_info_analysis__analysis__arity3__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__,
MR_TAG_COMMON(0,11,0),
MR_TAG_COMMON(0,11,1),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_func_info),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_call),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_answer)
}
},
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0_1;
static const struct mercury_type_13 mercury_common_13[1] =
{
{
{
(MR_Word *) &mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0_1,
(MR_Word *) (MR_Integer) 0
},
8,
{
MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id),
MR_CTOR0_ADDR(hlds__hlds_pred, pred_info),
MR_CTOR0_ADDR(hlds__hlds_pred, proc_info),
MR_COMMON(8,6),
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(hlds__hlds_module, module_info),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table),
MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table)
}
},
};

static const struct mercury_type_14 mercury_common_14[3] =
{
{
MR_string_const("no_reuse", 8)
},
{
MR_string_const("uncond", 6)
},
{
MR_string_const("cond", 4)
},
};

static const MR_EnumFunctorDesc mercury_data_transform_hlds__ctgc__structure_reuse__analysis__enum_functor_desc_should_write_for_0_0 = {
	"for_analysis_framework",
	0
};

static const MR_EnumFunctorDesc mercury_data_transform_hlds__ctgc__structure_reuse__analysis__enum_functor_desc_should_write_for_0_1 = {
	"for_pragma",
	1
};

const MR_EnumFunctorDescPtr mercury_data_transform_hlds__ctgc__structure_reuse__analysis__enum_value_ordered_should_write_for_0[] = {
	&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__enum_functor_desc_should_write_for_0_0,
	&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__enum_functor_desc_should_write_for_0_1
};

const MR_EnumFunctorDescPtr mercury_data_transform_hlds__ctgc__structure_reuse__analysis__enum_name_ordered_should_write_for_0[] = {
	&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__enum_functor_desc_should_write_for_0_0,
	&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__enum_functor_desc_should_write_for_0_1
};

const MR_Integer mercury_data_transform_hlds__ctgc__structure_reuse__analysis__functor_number_map_should_write_for_0[] = {
	0,
	1 };
	
const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_should_write_for_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_ENUM,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___transform_hlds__ctgc__structure_reuse__analysis__should_write_for_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___transform_hlds__ctgc__structure_reuse__analysis__should_write_for_0_0)),
	"transform_hlds.ctgc.structure_reuse.analysis",
	"should_write_for",
	{ (void *)mercury_data_transform_hlds__ctgc__structure_reuse__analysis__enum_name_ordered_should_write_for_0 },
	{ (void *)mercury_data_transform_hlds__ctgc__structure_reuse__analysis__enum_value_ordered_should_write_for_0 },
	2,
	4,
	mercury_data_transform_hlds__ctgc__structure_reuse__analysis__functor_number_map_should_write_for_0
};

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

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

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
}};

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
}};

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_condition_0;

static const MR_FA_TypeInfo_Struct1 mercury_data_list__ti_list_1parse_tree__prog_data__type_ctor_info_structure_reuse_condition_0 = {
	&mercury_data_list__type_ctor_info_list_1,
{	(MR_TypeInfo) &mercury_data_parse_tree__prog_data__type_ctor_info_structure_reuse_condition_0
}};

const MR_PseudoTypeInfo mercury_data_transform_hlds__ctgc__structure_reuse__analysis__field_types_structure_reuse_answer_0_2[] = {
	(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_list__ti_list_1parse_tree__prog_data__type_ctor_info_structure_reuse_condition_0
};

const MR_ConstString mercury_data_transform_hlds__ctgc__structure_reuse__analysis__field_names_structure_reuse_answer_0_2[] = {
	"srac_vars",
	"srac_types",
	"srac_conds"
};

static const MR_DuFunctorDesc mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_functor_desc_structure_reuse_answer_0_2 = {
	"structure_reuse_answer_conditional",
	3,
	0,
	MR_SECTAG_NONE,
	1,
	-1,
	2,
	(MR_PseudoTypeInfo *) mercury_data_transform_hlds__ctgc__structure_reuse__analysis__field_types_structure_reuse_answer_0_2,
	mercury_data_transform_hlds__ctgc__structure_reuse__analysis__field_names_structure_reuse_answer_0_2,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_stag_ordered_structure_reuse_answer_0_0[] = {
	&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_functor_desc_structure_reuse_answer_0_0,
	&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_functor_desc_structure_reuse_answer_0_1

};

const MR_DuFunctorDescPtr mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_stag_ordered_structure_reuse_answer_0_1[] = {
	&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_functor_desc_structure_reuse_answer_0_2

};

const MR_DuPtagLayout mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_ptag_ordered_structure_reuse_answer_0[] = {
	{ 2, MR_SECTAG_LOCAL,
	mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_stag_ordered_structure_reuse_answer_0_0 },
	{ 1, MR_SECTAG_NONE,
	mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_stag_ordered_structure_reuse_answer_0_1 }

};

const MR_DuFunctorDescPtr mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_name_ordered_structure_reuse_answer_0[] = {
	&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_functor_desc_structure_reuse_answer_0_2,
	&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_functor_desc_structure_reuse_answer_0_0,
	&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_functor_desc_structure_reuse_answer_0_1
};

const MR_Integer mercury_data_transform_hlds__ctgc__structure_reuse__analysis__functor_number_map_structure_reuse_answer_0[] = {
	1,
	2,
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_answer_0 = {
	0,
	14,
	2,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0)),
	"transform_hlds.ctgc.structure_reuse.analysis",
	"structure_reuse_answer",
	{ (void *)mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_name_ordered_structure_reuse_answer_0 },
	{ (void *)mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_ptag_ordered_structure_reuse_answer_0 },
	3,
	4,
	mercury_data_transform_hlds__ctgc__structure_reuse__analysis__functor_number_map_structure_reuse_answer_0
};

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
}};

static const MR_NotagFunctorDesc mercury_data_transform_hlds__ctgc__structure_reuse__analysis__notag_functor_desc_structure_reuse_call_0 = {
	"structure_reuse_call",
	(MR_PseudoTypeInfo) &mercury_data_list__ti_list_1builtin__type_ctor_info_int_0,
	NULL
};

const MR_Integer mercury_data_transform_hlds__ctgc__structure_reuse__analysis__functor_number_map_structure_reuse_call_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_call_0 = {
	0,
	14,
	-1,
	MR_TYPECTOR_REP_NOTAG_GROUND,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0)),
	"transform_hlds.ctgc.structure_reuse.analysis",
	"structure_reuse_call",
	{ (void *)&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__notag_functor_desc_structure_reuse_call_0 },
	{ (void *)&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__notag_functor_desc_structure_reuse_call_0 },
	1,
	4,
	mercury_data_transform_hlds__ctgc__structure_reuse__analysis__functor_number_map_structure_reuse_call_0
};
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_module__type_ctor_info_module_info_0;
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_module__type_ctor_info_module_info_0;

const MR_PseudoTypeInfo mercury_data_transform_hlds__ctgc__structure_reuse__analysis__field_types_structure_reuse_func_info_0_0[] = {
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_module__type_ctor_info_module_info_0,
	(MR_PseudoTypeInfo) &mercury_data_hlds__hlds_pred__type_ctor_info_proc_info_0
};

const MR_ConstString mercury_data_transform_hlds__ctgc__structure_reuse__analysis__field_names_structure_reuse_func_info_0_0[] = {
	"srfi_module",
	"srfi_proc"
};

static const MR_DuFunctorDesc mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_functor_desc_structure_reuse_func_info_0_0 = {
	"structure_reuse_func_info",
	2,
	0,
	MR_SECTAG_NONE,
	0,
	-1,
	0,
	(MR_PseudoTypeInfo *) mercury_data_transform_hlds__ctgc__structure_reuse__analysis__field_types_structure_reuse_func_info_0_0,
	mercury_data_transform_hlds__ctgc__structure_reuse__analysis__field_names_structure_reuse_func_info_0_0,
	NULL
};

const MR_DuFunctorDescPtr mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_stag_ordered_structure_reuse_func_info_0_0[] = {
	&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_functor_desc_structure_reuse_func_info_0_0

};

const MR_DuPtagLayout mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_ptag_ordered_structure_reuse_func_info_0[] = {
	{ 1, MR_SECTAG_NONE,
	mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_stag_ordered_structure_reuse_func_info_0_0 }

};

const MR_DuFunctorDescPtr mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_name_ordered_structure_reuse_func_info_0[] = {
	&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_functor_desc_structure_reuse_func_info_0_0
};

const MR_Integer mercury_data_transform_hlds__ctgc__structure_reuse__analysis__functor_number_map_structure_reuse_func_info_0[] = {
	0 };
	
const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_func_info_0 = {
	0,
	14,
	1,
	MR_TYPECTOR_REP_DU,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0)),
	"transform_hlds.ctgc.structure_reuse.analysis",
	"structure_reuse_func_info",
	{ (void *)mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_name_ordered_structure_reuse_func_info_0 },
	{ (void *)mercury_data_transform_hlds__ctgc__structure_reuse__analysis__du_ptag_ordered_structure_reuse_func_info_0 },
	1,
	4,
	mercury_data_transform_hlds__ctgc__structure_reuse__analysis__functor_number_map_structure_reuse_func_info_0
};

const MR_BaseTypeclassInfo mercury_data_base_typeclass_info_analysis__to_term__arity1__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__[] = {
	(MR_Code *) 0,
	(MR_Code *) 0,
	(MR_Code *) 0,
	(MR_Code *) 1,
	(MR_Code *) 2,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0))
};

const MR_BaseTypeclassInfo mercury_data_base_typeclass_info_analysis__to_term__arity1__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__[] = {
	(MR_Code *) 0,
	(MR_Code *) 0,
	(MR_Code *) 0,
	(MR_Code *) 1,
	(MR_Code *) 2,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__to_term_1_1_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__from_term_2_2_0))
};

const MR_BaseTypeclassInfo mercury_data_base_typeclass_info_analysis__partial_order__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__[] = {
	(MR_Code *) 0,
	(MR_Code *) 0,
	(MR_Code *) 0,
	(MR_Code *) 2,
	(MR_Code *) 2,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0))
};

const MR_BaseTypeclassInfo mercury_data_base_typeclass_info_analysis__partial_order__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__[] = {
	(MR_Code *) 0,
	(MR_Code *) 0,
	(MR_Code *) 0,
	(MR_Code *) 2,
	(MR_Code *) 2,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__more_precise_than_3_3_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__equivalent_3_3_0))
};

const MR_BaseTypeclassInfo mercury_data_base_typeclass_info_analysis__call_pattern__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__[] = {
	(MR_Code *) 0,
	(MR_Code *) 0,
	(MR_Code *) 2,
	(MR_Code *) 2,
	(MR_Code *) 0,
	
};

const MR_BaseTypeclassInfo mercury_data_base_typeclass_info_analysis__answer_pattern__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__[] = {
	(MR_Code *) 0,
	(MR_Code *) 0,
	(MR_Code *) 2,
	(MR_Code *) 2,
	(MR_Code *) 0,
	
};

const MR_BaseTypeclassInfo mercury_data_base_typeclass_info_analysis__analysis__arity3__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__[] = {
	(MR_Code *) 0,
	(MR_Code *) 0,
	(MR_Code *) 2,
	(MR_Code *) 3,
	(MR_Code *) 6,
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_name_2_2_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_version_number_2_2_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__preferred_fixpoint_type_2_2_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__bottom_2_2_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__top_2_2_0)),
	MR_MAYBE_STATIC_CODE(MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__get_func_info_6_6_0))
};


static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_1 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"lambda_structure_reuse_analysis_m_832",
3,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
832,
"28"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_1 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"add_reuse_request",
4,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
691,
"18"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0_1 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"process_intermod_analysis_imported_reuse_answer",
8,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
615,
"14"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_2 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"process_intermod_analysis_defined_proc",
7,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
597,
"27"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_1 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"process_intermod_analysis_reuse_proc",
7,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
589,
"17"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0_1 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"process_imported_reuse_in_proc",
4,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
516,
"8"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0_1 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"write_proc_reuse_info",
11,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
810,
"15"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_9 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"remove_useless_reuse_proc",
7,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
305,
"121"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_8 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"record_intermod_requests",
4,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
292,
"114"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_7 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"handle_structure_reuse_dependency",
4,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
290,
"112"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_6 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"record_structure_reuse_results",
6,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
287,
"110"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_5 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"save_reuse_in_module_info",
4,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
264,
"90"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_4 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"maybe_create_forwarding_procedures_intermod_analysis",
4,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
254,
"87"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_3 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"save_reuse_in_module_info",
4,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
264,
"90"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_2 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"make_intermediate_reuse_proc",
6,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
195,
"43"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_1 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"annotate_in_use_information",
3,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
181,
"32"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_1 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"write_pred_reuse_info",
4,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
782,
"26"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0_1 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"process_intermod_analysis_reuse_pred",
9,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
570,
"8"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_2_0_1 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"process_imported_reuse_in_pred",
3,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
495,
"5"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_4_0_1 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"maybe_create_forwarding_procedures_intermod_opt_2",
5,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
439,
"6"
};

static const MR_UserClosureId
mercury_data__closure_layout__transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_1 = {
{
MR_PREDICATE,
"transform_hlds.ctgc.structure_reuse.analysis",
"transform_hlds.ctgc.structure_reuse.analysis",
"make_intermediate_reuse_proc",
6,
0
},
"transform_hlds.ctgc.structure_reuse.analysis",
"structure_reuse.analysis.m",
350,
"17"
};



MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module0)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_11_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_11_0);
	MR_init_label1(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_11_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'handle_structure_reuse_requests'/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_def_static(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_11_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_LE(MR_r1,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_11_0_i2);
	}
	MR_np_tailcall_ent(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_11_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r4;
	MR_r2 = MR_r5;
	MR_r3 = MR_r6;
	MR_r4 = MR_r7;
	MR_proceed();
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(hlds__hlds_module__module_info_get_globals_2_0);
MR_decl_entry(libs__globals__lookup_bool_option_3_0);
MR_decl_entry(fn__set__to_sorted_list_1_0);
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__domain__type_ctor_info_reuse_as_table_0;
MR_decl_entry(list__map_foldl2_7_0);
MR_decl_entry(libs__file_util__maybe_write_string_4_0);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__direct__direct_reuse_process_specific_procs_6_0);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__indirect__indirect_reuse_rerun_9_0);
extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__domain__type_ctor_info_ppid_no_clobbers_0;
MR_decl_entry(fn__set__union_2_0);
MR_decl_entry(set__empty_1_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module1)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0);
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,2,3,4,6,7,8,9,10,11,12)
	MR_init_label5(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,13,16,18,15,19)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'handle_structure_reuse_requests_2'/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_def_static(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(10);
	MR_sv(10) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r3;
	MR_sv(4) = MR_r4;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r5;
	MR_sv(5) = MR_tempr1;
	MR_sv(6) = MR_r6;
	MR_sv(7) = MR_r7;
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_globals_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = (MR_Integer) 45;
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_sv(3) = MR_r1;
	MR_sv(9) = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__indirect, sr_request);
	MR_r1 = MR_sv(9);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__set__to_sorted_list_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i4);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(9);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table);
	MR_r4 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_module, module_info);
	MR_r5 = (MR_Word) MR_TAG_COMMON(0,1,0);
	MR_r6 = MR_tempr1;
	MR_r7 = MR_sv(4);
	MR_r8 = MR_sv(5);
	}
	MR_np_call_localret_ent(list__map_foldl2_7_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i6);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_r1;
	MR_sv(5) = MR_r2;
	MR_sv(8) = MR_r3;
	MR_r1 = MR_sv(3);
	MR_r2 = (MR_Word) MR_string_const("% Repeating direct reuse...\n", 28);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i7);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(8);
	MR_r4 = MR_sv(5);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__direct__direct_reuse_process_specific_procs_6_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_r1;
	MR_sv(5) = MR_r2;
	MR_r1 = MR_sv(3);
	MR_r2 = (MR_Word) MR_string_const("% done.\n", 8);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i9);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(3);
	MR_r2 = (MR_Word) MR_string_const("% Repeating indirect reuse...\n", 30);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(5);
	MR_r4 = MR_sv(7);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__indirect__indirect_reuse_rerun_9_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i11);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_r4;
	MR_sv(5) = MR_r1;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(6);
	MR_sv(6) = MR_r2;
	MR_sv(7) = MR_r5;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, ppid_no_clobbers);
	MR_r2 = MR_r3;
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__set__union_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i12);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(8) = MR_r1;
	MR_r1 = MR_sv(3);
	MR_r2 = (MR_Word) MR_string_const("% done.\n", 8);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i13);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(9);
	MR_r2 = MR_sv(4);
	MR_np_call_localret_ent(set__empty_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i16);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i15);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = (MR_Word) MR_string_const("% No more structure reuse requests.\n", 36);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i18);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(6);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(8);
	MR_r4 = MR_sv(7);
	MR_decr_sp_and_return(10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(3);
	MR_r2 = (MR_Word) MR_string_const("% Outstanding structure reuse requests exist.\n", 46);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0_i19);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_2_11_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = ((MR_Integer) MR_sv(1) - (MR_Integer) 1);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(4);
	MR_r4 = MR_sv(6);
	MR_r5 = MR_sv(5);
	MR_r6 = MR_sv(8);
	MR_r7 = MR_sv(7);
	MR_succip_word = MR_sv(10);
	MR_decr_sp(10);
	MR_np_tailcall_ent(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_11_0);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

extern const MR_TypeCtorInfo_Struct mercury_data_transform_hlds__ctgc__structure_reuse__domain__type_ctor_info_reuse_as_and_status_0;
MR_decl_entry(map__foldl_4_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module2)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_4_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'maybe_create_forwarding_procedures_intermod_opt'/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(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_4_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) 4);
	MR_r4 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(2,0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_r2;
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_and_status);
	MR_tempr3 = MR_r3;
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_module, module_info);
	MR_r5 = MR_tfield(0, MR_tempr2, 0);
	MR_r6 = MR_tempr3;
	MR_np_tailcall_ent(map__foldl_4_0);
	}
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(hlds__hlds_module__module_info_get_valid_predids_3_0);
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_id_0;
MR_decl_entry(list__foldl_4_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module3)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_2_0);
	MR_init_label1(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_2_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'process_imported_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_def_static(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_2_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(1);
	MR_sv(1) = (MR_Word) MR_succip;
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_valid_predids_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_2_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_2_0,2)
	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_id);
	MR_tempr2 = MR_r2;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_module, module_info);
	MR_r3 = (MR_Word) MR_TAG_COMMON(0,1,1);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_tempr2;
	MR_succip_word = MR_sv(1);
	MR_decr_sp(1);
	MR_np_tailcall_ent(list__foldl_4_0);
	}
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(fn__transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_init_0_0);
MR_decl_entry(list__foldl4_10_0);
MR_decl_entry(list__sort_and_remove_dups_2_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module4)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0);
	MR_init_label4(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0,2,3,7,8)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'process_intermod_analysis_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_def_static(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(4);
	MR_sv(4) = (MR_Word) MR_succip;
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_valid_predids_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_np_call_localret_ent(fn__transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_init_0_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__indirect, sr_request);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_id);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_module, module_info);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table);
	MR_r4 = (MR_Word) MR_TAG_COMMON(0,4,0);
	MR_r5 = (MR_Word) MR_TAG_COMMON(0,4,1);
	MR_r6 = (MR_Word) MR_TAG_COMMON(0,1,2);
	MR_r7 = MR_tempr1;
	MR_r8 = MR_sv(2);
	MR_r9 = MR_tempr2;
	MR_r10 = (MR_Word) MR_tbmkword(0, 0);
	MR_r11 = (MR_Word) MR_tbmkword(0, 0);
	}
	MR_np_call_localret_ent(list__foldl4_10_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0_i7);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r2;
	MR_sv(2) = MR_r4;
	MR_sv(3) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__indirect, sr_request);
	MR_r2 = MR_r3;
	MR_np_call_localret_ent(list__sort_and_remove_dups_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0_i8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(1);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_sv(2);
	MR_decr_sp_and_return(4);
	}
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(hlds__hlds_module__module_info_get_name_2_0);
MR_decl_entry(parse_tree__file_names__module_name_to_file_name_7_0);
MR_decl_entry(fn__parse_tree__error_util__add_quotes_1_0);
MR_decl_entry(libs__file_util__maybe_flush_output_3_0);
MR_decl_entry(io__open_append_4_0);
MR_decl_entry(io__error_message_2_0);
MR_decl_entry(io__write_strings_3_0);
MR_decl_entry(io__set_exit_status_3_0);
MR_decl_entry(io__set_output_stream_4_0);
extern const MR_TypeCtorInfo_Struct mercury_data_io__type_ctor_info_state_0;
MR_decl_entry(list__foldl_4_2);
MR_decl_entry(io__close_output_3_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module5)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0);
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,2,3,4,5,6,7,8,9,10,11)
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,14,15,20,21,13,22,23,25,26,27)
	MR_init_label1(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,28)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'make_opt_int'/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(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	MR_sv(3) = MR_r1;
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_globals_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_name_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_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_r3 = (MR_Word) MR_string_const(".opt.tmp", 8);
	MR_r4 = (MR_Integer) 1;
	}
	MR_np_call_localret_ent(parse_tree__file_names__module_name_to_file_name_7_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i4);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r1 = MR_tempr1;
	MR_r2 = (MR_Integer) 44;
	}
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r2 = (MR_Word) MR_string_const("% Appending structure_reuse pragmas to ", 39);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i6);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(fn__parse_tree__error_util__add_quotes_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i7);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,7)
	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(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_r2 = (MR_Word) MR_string_const("...", 3);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i9);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(libs__file_util__maybe_flush_output_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(io__open_append_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i11);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i13);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_tfield(1, MR_r1, 0);
	MR_r1 = MR_tempr1;
	MR_r2 = (MR_Word) MR_string_const(" failed!\n", 9);
	}
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i14);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(io__error_message_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i15);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_r1;
	MR_tfield(1, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_tempr2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr2, 0) = (MR_Word) MR_string_const("\' for output: ", 14);
	MR_tfield(1, MR_tempr2, 1) = MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_tempr1, 0) = MR_sv(1);
	MR_tfield(1, MR_tempr1, 1) = MR_tempr2;
	MR_tag_alloc_heap(MR_r1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_r1, 0) = (MR_Word) MR_string_const("Error opening file \140", 20);
	MR_tfield(1, MR_r1, 1) = MR_tempr1;
	}
	MR_np_call_localret_ent(io__write_strings_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i20);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_np_call_localret_ent(io__set_exit_status_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i21);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(3);
	MR_decr_sp_and_return(5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_tfield(0, MR_r1, 0);
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(io__set_output_stream_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i22);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_sv(3) = MR_r1;
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_valid_predids_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i23);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(6,0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_r2;
	MR_sv(4) = MR_r2;
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_id);
	MR_r2 = (MR_Word) MR_IO_CTOR_ADDR;
	MR_r4 = MR_tempr2;
	}
	MR_np_call_localret_ent(list__foldl_4_2,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i25);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(io__set_output_stream_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i26);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(io__close_output_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i27);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_r2 = (MR_Word) MR_string_const(" done.\n", 7);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0_i28);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(4);
	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(fn__transform_hlds__ctgc__structure_sharing__domain__load_structure_sharing_table_1_0);
MR_decl_entry(fn__transform_hlds__ctgc__structure_reuse__domain__load_structure_reuse_table_1_0);
MR_decl_entry(hlds__passes_aux__process_all_nonimported_procs_3_0);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_maybe_dump_5_0);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__direct__direct_reuse_pass_5_0);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__indirect__indirect_reuse_pass_8_0);
MR_decl_entry(libs__globals__lookup_int_option_3_0);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__versions__create_reuse_procedures_4_0);
MR_decl_entry(hlds__hlds_module__module_info_get_analysis_info_2_0);
extern const MR_TypeCtorInfo_Struct mercury_data_analysis__type_ctor_info_analysis_info_0;
MR_decl_entry(set__fold_4_0);
MR_decl_entry(hlds__hlds_module__module_info_set_analysis_info_3_0);
MR_decl_entry(hlds__hlds_module__module_info_get_predicate_table_2_0);
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__pred_table__type_ctor_info_predicate_table_0;
MR_decl_entry(bimap__foldl_4_0);
MR_decl_entry(hlds__hlds_module__module_info_set_predicate_table_3_0);
MR_decl_entry(transform_hlds__ctgc__selector__reset_tables_2_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module6)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0);
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,2,3,4,5,8,9,7,10,6,11)
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,14,15,16,17,19,20,21,22,23,24)
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,25,26,27,28,29,30,31,32,35,34)
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,38,33,40,41,45,42,47,49,50,52)
	MR_init_label7(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,54,56,48,58,60,61,62)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'perform_structure_reuse_analysis'/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__transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(12);
	MR_sv(12) = (MR_Word) MR_succip;
	MR_sv(4) = MR_r1;
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_globals_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_r2 = (MR_Integer) 45;
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = MR_sv(4);
	MR_np_call_localret_ent(fn__transform_hlds__ctgc__structure_sharing__domain__load_structure_sharing_table_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i4);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Integer) 319;
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i7);
	}
	MR_r2 = MR_sv(4);
	MR_sv(4) = MR_r1;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(7) = MR_r1;
	MR_np_call_localret_ent(fn__transform_hlds__ctgc__structure_reuse__domain__load_structure_reuse_table_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i9);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(9) = MR_r1;
	MR_r1 = MR_sv(2);
	MR_sv(5) = (MR_Word) MR_tbmkword(0, 0);
	MR_sv(6) = (MR_Word) MR_tbmkword(0, 0);
	MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i6);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(4);
	MR_sv(4) = MR_r1;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(7) = MR_r1;
	MR_r1 = MR_sv(2);
	MR_sv(5) = MR_r3;
	MR_sv(6) = MR_r4;
	MR_sv(9) = MR_r2;
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r2 = (MR_Word) MR_string_const("% Annotating in use information...", 34);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i11);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,7,0);
	MR_r2 = MR_sv(7);
	MR_np_call_localret_ent(hlds__passes_aux__process_all_nonimported_procs_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i14);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(7) = MR_r1;
	MR_r1 = MR_sv(2);
	MR_r2 = (MR_Word) MR_string_const("done.\n", 6);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i15);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_r2 = (MR_Word) MR_string_const("% Reuse table before intermediate reuse:\n", 41);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i16);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(7);
	MR_r3 = MR_sv(9);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_maybe_dump_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i17);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__indirect, sr_request);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table);
	MR_r4 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_module, module_info);
	MR_r5 = (MR_Word) MR_TAG_COMMON(0,1,4);
	MR_r6 = MR_sv(5);
	MR_r7 = MR_sv(9);
	MR_r8 = MR_sv(7);
	MR_np_call_localret_ent(list__map_foldl2_7_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i19);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(5) = MR_r2;
	MR_sv(7) = MR_r3;
	MR_r1 = MR_sv(2);
	MR_r2 = (MR_Word) MR_string_const("% Reuse table after intermediate reuse:\n", 40);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i20);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(7);
	MR_r3 = MR_sv(5);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_maybe_dump_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i21);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_r2 = (MR_Word) MR_string_const("% Direct reuse...\n", 18);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i22);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(7);
	MR_r3 = MR_sv(5);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__direct__direct_reuse_pass_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i23);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(5) = MR_r1;
	MR_sv(7) = MR_r2;
	MR_r1 = MR_sv(2);
	MR_r2 = (MR_Word) MR_string_const("% Direct reuse: done.\n", 22);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i24);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(7);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_maybe_dump_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i25);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_r2 = (MR_Word) MR_string_const("% Indirect reuse...\n", 20);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i26);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(7);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__indirect__indirect_reuse_pass_8_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i27);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(5) = MR_r3;
	MR_sv(7) = MR_r4;
	MR_sv(8) = MR_r5;
	MR_sv(10) = MR_r1;
	MR_sv(11) = MR_r2;
	MR_r1 = MR_sv(2);
	MR_r2 = (MR_Word) MR_string_const("% Indirect reuse: done.\n", 24);
	MR_np_call_localret_ent(libs__file_util__maybe_write_string_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i28);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(10);
	MR_r3 = MR_sv(11);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_maybe_dump_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i29);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Integer) 400;
	MR_np_call_localret_ent(libs__globals__lookup_int_option_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i30);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,30)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(3);
	MR_r3 = MR_sv(7);
	MR_r4 = MR_sv(11);
	MR_r5 = MR_sv(10);
	MR_r6 = MR_sv(5);
	MR_r7 = MR_sv(8);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_requests_11_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i31);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(5) = MR_r3;
	MR_sv(7) = MR_r4;
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__versions__create_reuse_procedures_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i32);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_sv(4),0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i34);
	}
	MR_sv(3) = MR_r1;
	MR_r1 = MR_sv(9);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r2;
	MR_r2 = MR_sv(3);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i35);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,35)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_r5 = MR_tfield(0, MR_tempr1, 0);
	MR_sv(6) = MR_tfield(0, MR_tempr1, 1);
	MR_r6 = MR_r1;
	MR_r4 = (MR_Word) MR_TAG_COMMON(0,1,5);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_and_status);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_module, module_info);
	MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i33);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,34)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(6,2);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_r1;
	MR_sv(3) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id);
	MR_tempr2 = MR_r2;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_module, module_info);
	MR_r4 = MR_sv(6);
	MR_r5 = MR_tempr2;
	}
	MR_np_call_localret_ent(list__foldl_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i38);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,38)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	MR_r5 = MR_tfield(0, MR_tempr1, 0);
	MR_sv(6) = MR_tfield(0, MR_tempr1, 1);
	MR_r6 = MR_r1;
	MR_r4 = (MR_Word) MR_TAG_COMMON(0,1,6);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_and_status);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_module, module_info);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r5;
	MR_sv(9) = MR_r1;
	MR_sv(10) = MR_r2;
	MR_np_call_localret_ent(map__foldl_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i40);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,40)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(8) = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Integer) 84;
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i41);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,41)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i42);
	}
	if (MR_INT_NE(MR_sv(4),0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i42);
	}
	MR_r1 = MR_sv(8);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__analysis__make_opt_int_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i45);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,45)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_sv(1) = MR_tempr1;
	MR_r2 = (MR_Integer) 86;
	}
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i47);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,42)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_sv(1) = MR_sv(8);
	MR_r2 = (MR_Integer) 86;
	MR_np_call_localret_ent(libs__globals__lookup_bool_option_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i47);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,47)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i49);
	}
	MR_r1 = MR_sv(1);
	MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i48);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,49)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_analysis_info_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i50);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,50)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 5);
	MR_r4 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(0,2);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_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(6);
	MR_sv(4) = (MR_Word) MR_CTOR0_ADDR(analysis, analysis_info);
	MR_tempr2 = MR_r1;
	MR_r1 = MR_sv(9);
	MR_r2 = MR_sv(10);
	MR_r3 = MR_sv(4);
	MR_r5 = MR_sv(3);
	MR_r6 = MR_tempr2;
	}
	MR_np_call_localret_ent(map__foldl_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i52);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,52)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(6,4);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, ppid_no_clobbers);
	MR_r2 = MR_sv(4);
	MR_r4 = MR_sv(5);
	MR_r5 = MR_tempr2;
	}
	MR_np_call_localret_ent(set__fold_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i54);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,54)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(6,5);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__record_intermod_requests_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__indirect, sr_request);
	MR_r2 = MR_sv(4);
	MR_r4 = MR_sv(7);
	MR_r5 = MR_tempr2;
	}
	MR_np_call_localret_ent(set__fold_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i56);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,56)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_set_analysis_info_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i48);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,48)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_predicate_table_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i58);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,58)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 6);
	MR_r4 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(9,0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__remove_useless_reuse_proc_7_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 3;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(2);
	MR_tfield(0, MR_tempr1, 5) = MR_sv(3);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, ppid_no_clobbers);
	MR_r2 = MR_sv(9);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(hlds__pred_table, predicate_table);
	MR_r5 = MR_sv(6);
	MR_r6 = MR_tempr2;
	}
	MR_np_call_localret_ent(bimap__foldl_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i60);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,60)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_set_predicate_table_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i61);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,61)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_np_call_localret_ent(transform_hlds__ctgc__selector__reset_tables_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0_i62);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__perform_structure_reuse_analysis_4_0,62)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_decr_sp_and_return(12);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(hlds__hlds_module__module_info_pred_info_3_0);
MR_decl_entry(fn__hlds__hlds_pred__pred_info_name_1_0);
MR_decl_entry(fn__hlds__hlds_pred__pred_info_procids_1_0);
MR_decl_entry(fn__hlds__hlds_pred__pred_info_is_pred_or_func_1_0);
MR_decl_entry(fn__hlds__hlds_pred__pred_info_module_1_0);
MR_decl_entry(hlds__hlds_pred__pred_info_get_procedures_2_0);
MR_decl_entry(hlds__hlds_pred__pred_info_get_context_2_0);
MR_decl_entry(hlds__hlds_pred__pred_info_get_typevarset_2_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module7)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0);
	MR_init_label8(transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0,2,3,4,5,6,7,8,10)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'write_pred_reuse_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__transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(9);
	MR_sv(9) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_np_call_localret_ent(hlds__hlds_module__module_info_pred_info_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_np_call_localret_ent(fn__hlds__hlds_pred__pred_info_name_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_r1;
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(fn__hlds__hlds_pred__pred_info_procids_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0_i4);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(5) = MR_r1;
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(fn__hlds__hlds_pred__pred_info_is_pred_or_func_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(6) = MR_r1;
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(fn__hlds__hlds_pred__pred_info_module_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0_i6);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(7) = MR_r1;
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_get_procedures_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0_i7);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(8) = MR_r1;
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_get_context_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0_i8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0,8)
	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(7);
	MR_tfield(1, MR_r2, 1) = MR_sv(4);
	MR_sv(4) = MR_r1;
	MR_sv(7) = MR_r2;
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_get_typevarset_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0_i10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_pred_reuse_info_4_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 11);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(10,0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 8;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(2);
	MR_tfield(0, MR_tempr1, 5) = MR_sv(3);
	MR_tfield(0, MR_tempr1, 6) = MR_sv(8);
	MR_tfield(0, MR_tempr1, 7) = MR_sv(6);
	MR_tfield(0, MR_tempr1, 8) = MR_sv(7);
	MR_tfield(0, MR_tempr1, 9) = MR_sv(4);
	MR_tfield(0, MR_tempr1, 10) = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_id);
	MR_r2 = (MR_Word) MR_IO_CTOR_ADDR;
	MR_r4 = MR_sv(5);
	MR_succip_word = MR_sv(9);
	MR_decr_sp(9);
	MR_np_tailcall_ent(list__foldl_4_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(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_reverse_search_reuse_version_proc_4_0);
MR_decl_entry(transform_hlds__mmc_analysis__module_name_func_id_4_0);
MR_decl_entry(hlds__hlds_module__module_info_proc_info_3_0);
MR_decl_entry(analysis__lookup_best_result_6_0);
MR_declare_entry(mercury__do_call_class_method_3);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_search_3_0);
MR_decl_entry(fn__transform_hlds__ctgc__structure_reuse__domain__to_structure_reuse_domain_1_0);
MR_decl_entry(require__unexpected_3_0);
MR_decl_entry(hlds__hlds_pred__proc_info_get_headvars_2_0);
MR_decl_entry(hlds__hlds_pred__proc_info_get_vartypes_2_0);
MR_decl_entry(map__apply_to_list_3_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module8)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0);
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,2,3,4,5,14,17,21,20,24,25)
	MR_init_label9(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,27,28,29,30,31,33,26,36,15)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'structure_reuse_answer_harsher_than_in_analysis_registry'/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__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_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_sv(3) = MR_r3;
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_analysis_info_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_r1;
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(3);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_reverse_search_reuse_version_proc_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(5) = MR_r1;
	MR_sv(6) = MR_r2;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(5);
	MR_np_call_localret_ent(transform_hlds__mmc_analysis__module_name_func_id_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i4);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(5);
	MR_sv(5) = MR_r1;
	MR_sv(7) = MR_r2;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(hlds__hlds_module__module_info_proc_info_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_r5 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 1) = MR_r1;
	MR_tempr2 = MR_sv(4);
	MR_sv(4) = MR_tempr1;
	MR_tempr3 = MR_sv(5);
	MR_sv(5) = MR_sv(6);
	MR_sv(6) = (MR_Word) MR_TAG_COMMON(0,8,3);
	MR_tempr4 = MR_sv(7);
	MR_sv(7) = (MR_Word) MR_TAG_COMMON(0,8,4);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,12,0);
	MR_r2 = MR_tempr2;
	MR_r3 = MR_tempr3;
	MR_r4 = MR_tempr4;
	MR_r6 = MR_sv(5);
	}
	MR_np_call_localret_ent(analysis__lookup_best_result_6_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i14);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TEST(MR_r1,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i15);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(5);
	MR_tempr2 = MR_tfield(1, MR_r1, 0);
	MR_sv(5) = MR_tfield(0, MR_tempr2, 1);
	MR_r1 = MR_sv(6);
	MR_r3 = MR_sv(4);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_tfield(0, MR_tempr2, 0);
	MR_r2 = (MR_Integer) 2;
	}
	MR_set_prof_ho_caller_proc(MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0));
	MR_noprof_call_localret(MR_ENTRY(mercury__do_call_class_method_3),
		mercury__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i17);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i15);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = MR_sv(3);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_search_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i21);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i20);
	}
	MR_r1 = MR_tfield(0, MR_r2, 0);
	MR_np_call_localret_ent(fn__transform_hlds__ctgc__structure_reuse__domain__to_structure_reuse_domain_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i25);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("transform_hlds.ctgc.structure_reuse.analysis", 44);
	MR_r2 = (MR_Word) MR_string_const("predicate \140transform_hlds.ctgc.structure_reuse.analysis.lookup_new_structure_reuse_answer\'/4", 92);
	MR_r3 = (MR_Word) MR_string_const("search failed", 13);
	MR_np_call_localret_ent(require__unexpected_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i24);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(fn__transform_hlds__ctgc__structure_reuse__domain__to_structure_reuse_domain_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i25);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i27);
	}
	MR_r3 = MR_sv(4);
	MR_r5 = MR_sv(5);
	MR_r4 = (MR_Word) MR_tbmkword(0, 0);
	MR_r1 = MR_sv(7);
	MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i26);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i28);
	}
	MR_r3 = MR_sv(4);
	MR_r5 = MR_sv(5);
	MR_r4 = (MR_Word) MR_tbmkword(0, 1);
	MR_r1 = MR_sv(7);
	MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i26);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,28)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_tfield(1, MR_r1, 0);
	MR_r1 = MR_tempr1;
	MR_r2 = MR_sv(3);
	}
	MR_np_call_localret_ent(hlds__hlds_module__module_info_proc_info_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i29);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_headvars_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i30);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,30)
	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(hlds__hlds_pred__proc_info_get_vartypes_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i31);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,7);
	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__apply_to_list_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i33);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,33)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 3);
	MR_r4 = MR_tempr1;
	MR_tfield(1, MR_tempr1, 0) = MR_sv(2);
	MR_tfield(1, MR_tempr1, 1) = MR_r1;
	MR_tfield(1, MR_tempr1, 2) = MR_sv(1);
	MR_r3 = MR_sv(4);
	MR_r5 = MR_sv(5);
	MR_r1 = MR_sv(7);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = (MR_Integer) 1;
	MR_set_prof_ho_caller_proc(MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0));
	MR_noprof_call_localret(MR_ENTRY(mercury__do_call_class_method_3),
		mercury__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i36);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,36)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0_i15);
	}
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_harsher_than_in_analysis_registry_4_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	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(transform_hlds__ctgc__structure_reuse__analysis_module9)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0);
	MR_init_label5(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0,31,3,7,6,5)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'get_numbered_args'/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(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(2);
	MR_sv(2) = (MR_Word) MR_succip;
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0,31)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r2,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0_i3);
	}
	MR_r1 = (MR_Word) MR_tbmkword(0, 0);
	MR_decr_sp_and_return(2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TEST(MR_r3,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0_i5);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr2 = MR_r3;
	MR_r4 = MR_tfield(1, MR_tempr2, 1);
	MR_tempr1 = MR_tfield(1, MR_r2, 0);
	if ((MR_r1 != MR_tempr1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0_i6);
	}
	MR_sv(1) = MR_tfield(1, MR_tempr2, 0);
	MR_r1 = ((MR_Integer) MR_r1 + (MR_Integer) 1);
	MR_r2 = MR_tfield(1, MR_r2, 1);
	MR_r3 = MR_r4;
	}
	MR_np_localcall_lab(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0_i7);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0,7)
	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_sv(1);
	MR_tfield(1, MR_tempr1, 1) = MR_r1;
	MR_r1 = MR_tempr1;
	MR_decr_sp_and_return(2);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = ((MR_Integer) MR_r1 + (MR_Integer) 1);
	MR_r3 = MR_r4;
	MR_succip_word = MR_sv(2);
	MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0_i31);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("transform_hlds.ctgc.structure_reuse.analysis", 44);
	MR_r2 = (MR_Word) MR_string_const("predicate \140transform_hlds.ctgc.structure_reuse.analysis.get_numbered_args\'/4", 76);
	MR_r3 = (MR_Word) MR_string_const("argument list too short", 23);
	MR_succip_word = MR_sv(2);
	MR_decr_sp(2);
	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(transform_hlds__ctgc__structure_reuse__versions__create_fresh_pred_proc_info_copy_5_0);
MR_decl_entry(hlds__hlds_module__module_info_pred_proc_info_4_0);
MR_decl_entry(fn__set__from_list_1_0);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__lfu__add_vars_to_lfu_3_0);
MR_decl_entry(hlds__hlds_module__module_info_set_pred_proc_info_5_0);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_insert_reuse_version_proc_5_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module10)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0);
	MR_init_label8(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0,2,3,4,5,7,8,9,10)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'make_intermediate_reuse_proc'/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(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(8);
	MR_sv(8) = (MR_Word) MR_succip;
	MR_sv(1) = MR_tfield(0, MR_r1, 0);
	MR_sv(2) = MR_tfield(0, MR_r1, 1);
	MR_sv(6) = MR_r2;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__versions__create_fresh_pred_proc_info_copy_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_sv(7) = MR_r2;
	MR_r1 = MR_r2;
	MR_r2 = MR_sv(3);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_pred_proc_info_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_r1;
	MR_sv(5) = MR_r2;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_headvars_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0_i4);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Integer) 1;
	MR_r2 = MR_sv(2);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__analysis__get_numbered_args_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,7);
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(fn__set__from_list_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0_i7);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(5);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__lfu__add_vars_to_lfu_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0_i8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_sv(7);
	}
	MR_np_call_localret_ent(hlds__hlds_module__module_info_set_pred_proc_info_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0_i9);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r1 = MR_tempr1;
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_sv(6);
	}
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_insert_reuse_version_proc_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0_i10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__make_intermediate_reuse_proc_6_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(3);
	MR_r2 = MR_tempr1;
	MR_r3 = MR_sv(1);
	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_decl_entry(hlds__hlds_pred__pred_info_get_import_status_2_0);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__domain__reuse_as_conditional_reuses_1_0);
MR_decl_entry(fn__hlds__hlds_pred__status_defined_in_this_module_1_0);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__domain__reuse_as_no_reuses_1_0);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__versions__create_fake_reuse_procedure_4_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module11)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0);
	MR_init_label7(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0,2,3,5,7,9,11,4)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'maybe_create_forwarding_procedures_intermod_opt_2'/5 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_def_static(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_tfield(0, MR_r3, 0);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r4;
	MR_sv(4) = MR_tempr1;
	MR_r1 = MR_tempr1;
	MR_r2 = MR_tfield(0, MR_r2, 0);
	}
	MR_np_call_localret_ent(hlds__hlds_module__module_info_pred_info_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_get_import_status_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(3);
	MR_sv(3) = MR_r1;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_conditional_reuses_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0_i4);
	}
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(fn__hlds__hlds_pred__status_defined_in_this_module_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0_i7);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0_i4);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_search_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0_i9);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0_i4);
	}
	MR_r1 = MR_tfield(0, MR_r2, 0);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_no_reuses_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0_i11);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0_i4);
	}
	MR_r1 = MR_sv(2);
	MR_r2 = (MR_Word) MR_tbmkword(0, 0);
	MR_r3 = MR_sv(4);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(transform_hlds__ctgc__structure_reuse__versions__create_fake_reuse_procedure_4_0);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_opt_2_5_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(4);
	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(transform_hlds__ctgc__structure_reuse__analysis_module12)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0);
	MR_init_label3(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0,3,5,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'maybe_create_forwarding_procedures_intermod_analysis'/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(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r2;
	MR_sv(2) = MR_r3;
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_search_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0_i2);
	}
	MR_r1 = MR_tfield(0, MR_r2, 0);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_conditional_reuses_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0_i2);
	}
	MR_r1 = MR_sv(2);
	MR_decr_sp_and_return(3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__maybe_create_forwarding_procedures_intermod_analysis_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_r2 = (MR_Word) MR_tbmkword(0, 0);
	MR_r3 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(transform_hlds__ctgc__structure_reuse__versions__create_fake_reuse_procedure_4_0);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(hlds__hlds_module__module_info_get_preds_2_0);
extern const MR_TypeCtorInfo_Struct mercury_data_hlds__hlds_pred__type_ctor_info_pred_info_0;
MR_decl_entry(map__lookup_3_0);
MR_decl_entry(hlds__hlds_pred__pred_info_set_procedures_3_0);
MR_decl_entry(map__det_update_4_0);
MR_decl_entry(hlds__hlds_module__module_info_set_preds_3_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module13)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0);
	MR_init_label7(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0,2,3,4,5,8,9,10)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'process_imported_reuse_in_pred'/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(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_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(3) = MR_r2;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_preds_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_r1;
	MR_sv(5) = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_id);
	MR_sv(6) = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_info);
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(4);
	MR_r4 = MR_sv(1);
	MR_np_call_localret_ent(map__lookup_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_get_procedures_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0_i4);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(7) = MR_r1;
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(fn__hlds__hlds_pred__pred_info_procids_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(6,6);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(2);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_id);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,8,5);
	MR_r4 = MR_tempr2;
	MR_r5 = MR_sv(7);
	}
	MR_np_call_localret_ent(list__foldl_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0_i8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_set_procedures_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0_i9);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(1);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_sv(4);
	}
	MR_np_call_localret_ent(map__det_update_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0_i10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_pred_3_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(3);
	MR_succip_word = MR_sv(8);
	MR_decr_sp(8);
	MR_np_tailcall_ent(hlds__hlds_module__module_info_set_preds_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__map__det_elem_2_0);
MR_decl_entry(hlds__hlds_pred__proc_info_get_imported_structure_reuse_4_0);
MR_decl_entry(hlds__hlds_pred__pred_info_get_arg_types_2_0);
MR_decl_entry(map__from_corresponding_lists_3_0);
MR_decl_entry(fn__map__init_0_0);
MR_decl_entry(parse_tree__prog_type__type_unify_list_5_0);
MR_decl_entry(parse_tree__prog_ctgc__rename_structure_reuse_domain_4_0);
MR_decl_entry(hlds__hlds_pred__proc_info_set_structure_reuse_3_0);
MR_decl_entry(hlds__hlds_pred__proc_info_reset_imported_structure_reuse_2_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module14)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0);
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,2,5,7,8,10,12,14,13,17,19)
	MR_init_label2(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,20,4)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'process_imported_reuse_in_proc'/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(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(10);
	MR_sv(10) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(6) = MR_r3;
	MR_sv(8) = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_id);
	MR_sv(9) = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_r1 = MR_sv(8);
	MR_r2 = MR_sv(9);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_sv(6);
	MR_np_call_localret_ent(fn__map__det_elem_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(7) = MR_r1;
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_imported_structure_reuse_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0_i4);
	}
	MR_sv(3) = MR_r2;
	MR_sv(4) = MR_r3;
	MR_sv(5) = MR_r4;
	MR_r1 = MR_sv(7);
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_headvars_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0_i7);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_get_arg_types_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0_i8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,8)
	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(3);
	MR_sv(3) = (MR_Word) MR_CTOR1_ADDR(term, var);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,7);
	MR_r2 = MR_r1;
	MR_r3 = MR_tempr2;
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(map__from_corresponding_lists_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0_i10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,8);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_np_call_localret_ent(fn__map__init_0_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0_i12);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r1 = MR_sv(4);
	MR_r2 = MR_tempr1;
	MR_r3 = (MR_Word) MR_tbmkword(0, 0);
	MR_r4 = MR_sv(1);
	}
	MR_np_call_localret_ent(parse_tree__prog_type__type_unify_list_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0_i14);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0_i13);
	}
	MR_r3 = MR_sv(5);
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(parse_tree__prog_ctgc__rename_structure_reuse_domain_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0_i17);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_sv(5);
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(parse_tree__prog_ctgc__rename_structure_reuse_domain_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0_i17);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tfield(0, MR_tempr1, 1) = (MR_Integer) 2;
	MR_r1 = MR_tempr1;
	MR_r2 = MR_sv(7);
	}
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_set_structure_reuse_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0_i19);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_reset_imported_structure_reuse_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0_i20);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(8);
	MR_r2 = MR_sv(9);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_sv(6);
	MR_succip_word = MR_sv(10);
	MR_decr_sp(10);
	MR_np_tailcall_ent(map__det_update_4_0);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_imported_reuse_in_proc_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(6);
	MR_decr_sp_and_return(10);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(list__foldl2_6_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module15)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0);
	MR_init_label8(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0,2,3,4,8,5,10,15,9)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'process_intermod_analysis_reuse_pred'/9 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_def_static(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_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(4) = MR_r2;
	MR_sv(5) = MR_r3;
	MR_sv(6) = MR_r4;
	MR_sv(7) = MR_r5;
	MR_r1 = MR_r2;
	MR_r2 = MR_sv(1);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_pred_info_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_get_import_status_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(fn__hlds__hlds_pred__pred_info_procids_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_i4);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(3),2)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_i5);
	}
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 5);
	MR_r4 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(9,1);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 2;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(2);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_id);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_module, module_info);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table);
	MR_r5 = MR_tempr2;
	MR_r6 = MR_sv(4);
	MR_r7 = MR_sv(5);
	}
	MR_np_call_localret_ent(list__foldl2_6_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_i8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_sv(6);
	MR_r4 = MR_sv(7);
	MR_decr_sp_and_return(8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(fn__hlds__hlds_pred__status_defined_in_this_module_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_i10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_i9);
	}
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 5);
	MR_r4 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(9,2);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 2;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(4);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(1);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_id);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,4,0);
	MR_r3 = (MR_Word) MR_TAG_COMMON(0,4,1);
	MR_r5 = MR_sv(2);
	MR_r6 = MR_sv(6);
	MR_r7 = MR_sv(7);
	}
	MR_np_call_localret_ent(list__foldl2_6_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0_i15);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(4);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_sv(5);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_tempr2;
	MR_decr_sp_and_return(8);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_pred_9_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(4);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(6);
	MR_r4 = MR_sv(7);
	MR_decr_sp_and_return(8);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(hlds__hlds_pred__pred_info_proc_info_3_0);
MR_decl_entry(analysis__lookup_results_4_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module16)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0);
	MR_init_label4(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0,3,4,5,13)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'process_intermod_analysis_reuse_proc'/7 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_def_static(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(8);
	MR_sv(8) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_sv(3) = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tempr2 = MR_r3;
	MR_tfield(0, MR_tempr1, 1) = MR_tempr2;
	MR_sv(1) = MR_r2;
	MR_sv(2) = MR_tempr2;
	MR_tempr3 = MR_r4;
	MR_sv(6) = MR_tempr3;
	MR_sv(7) = MR_r5;
	MR_r1 = MR_tempr3;
	}
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_analysis_info_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_r1;
	MR_r1 = MR_sv(6);
	MR_r2 = MR_sv(3);
	MR_np_call_localret_ent(transform_hlds__mmc_analysis__module_name_func_id_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0_i4);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_sv(5) = MR_r2;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_tfield(0, MR_sv(3), 1);
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_proc_info_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_r1;
	MR_tempr2 = MR_sv(4);
	MR_sv(4) = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_call);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,12,0);
	MR_r2 = MR_tempr2;
	MR_r3 = MR_tempr1;
	MR_r4 = MR_sv(5);
	}
	MR_np_call_localret_ent(analysis__lookup_results_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0_i13);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_reuse_proc_7_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 6);
	MR_r4 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(13,0);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 3;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(3);
	MR_tfield(0, MR_tempr1, 4) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 5) = MR_sv(2);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,8,7);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_module, module_info);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_table);
	MR_r5 = MR_tempr2;
	MR_r6 = MR_sv(6);
	MR_r7 = MR_sv(7);
	MR_succip_word = MR_sv(8);
	MR_decr_sp(8);
	MR_np_tailcall_ent(list__foldl2_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_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module17)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0);
	MR_init_label7(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0,3,42,5,7,10,11,8)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'structure_reuse_answer_to_domain'/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(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r3,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0_i3);
	}
	MR_r1 = (MR_Word) MR_tbmkword(0, 0);
	MR_proceed();
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r3,0,1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0_i42);
	}
	MR_r1 = (MR_Word) MR_tbmkword(0, 1);
	MR_proceed();
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0,42)
	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(1, MR_tempr1, 0);
	MR_sv(3) = MR_tfield(1, MR_tempr1, 1);
	MR_sv(4) = MR_tfield(1, MR_tempr1, 2);
	MR_r1 = MR_r2;
	}
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_headvars_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = (MR_Word) MR_CTOR1_ADDR(term, var);
	MR_tempr2 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,7);
	MR_r2 = MR_r1;
	MR_r3 = MR_tempr1;
	MR_r4 = MR_tempr2;
	}
	MR_np_call_localret_ent(map__from_corresponding_lists_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0_i7);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,8);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_np_call_localret_ent(fn__map__init_0_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0_i10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(1);
	MR_r3 = (MR_Word) MR_tbmkword(0, 0);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(parse_tree__prog_type__type_unify_list_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0_i11);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0_i8);
	}
	MR_tag_alloc_heap(MR_r3, 1, (MR_Integer) 1);
	MR_tfield(1, MR_r3, 0) = MR_sv(4);
	MR_r1 = MR_sv(2);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(parse_tree__prog_ctgc__rename_structure_reuse_domain_4_0);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("transform_hlds.ctgc.structure_reuse.analysis", 44);
	MR_r2 = (MR_Word) MR_string_const("predicate \140transform_hlds.ctgc.structure_reuse.analysis.structure_reuse_answer_to_domain\'/4", 91);
	MR_r3 = (MR_Word) MR_string_const("type_unify_list failed", 22);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	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(fn__transform_hlds__ctgc__structure_reuse__domain__from_structure_reuse_domain_1_0);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_set_4_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module18)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0);
	MR_init_label8(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0,2,3,4,8,7,9,10,11)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'process_intermod_analysis_imported_reuse_answer'/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(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(8);
	MR_sv(8) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r3;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r4;
	MR_sv(3) = MR_tfield(0, MR_tempr1, 1);
	MR_sv(4) = MR_tfield(0, MR_tempr1, 2);
	MR_sv(5) = MR_tfield(0, MR_tempr1, 0);
	MR_sv(6) = MR_r5;
	MR_sv(7) = MR_r6;
	MR_r1 = MR_r2;
	}
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_get_arg_types_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(2);
	MR_r3 = MR_sv(3);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(fn__transform_hlds__ctgc__structure_reuse__domain__from_structure_reuse_domain_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0_i4);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_r1;
	MR_tfield(0, MR_r2, 1) = MR_sv(4);
	if (MR_LTAGS_TESTR(MR_sv(5),0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0_i7);
	}
	MR_r1 = MR_sv(1);
	MR_r3 = MR_sv(7);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_set_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0_i8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(6);
	MR_r2 = MR_tempr1;
	MR_decr_sp_and_return(8);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r2;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(6);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__versions__create_fresh_pred_proc_info_copy_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0_i9);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_r1;
	MR_sv(3) = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_sv(7);
	}
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_set_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0_i10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_table_insert_reuse_version_proc_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0_i11);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_imported_reuse_answer_8_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(3);
	MR_r2 = MR_tempr1;
	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_decl_entry(__Unify___mdbcomp__prim_data__sym_name_0_0);
MR_decl_entry(analysis__lookup_existing_call_patterns_5_0);
MR_decl_entry(analysis__lookup_requests_5_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module19)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0);
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,3,4,5,8,13,16,17,18,19,25)
	MR_init_label4(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,27,29,36,30)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'process_intermod_analysis_defined_proc'/7 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_def_static(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(13);
	MR_sv(13) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_sv(2) = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = MR_r2;
	MR_tfield(0, MR_tempr1, 1) = MR_r3;
	MR_sv(1) = MR_r1;
	MR_sv(6) = MR_r4;
	MR_sv(7) = MR_r5;
	}
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_analysis_info_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(transform_hlds__mmc_analysis__module_name_func_id_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i4);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_r1;
	MR_sv(5) = MR_r2;
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_name_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(4);
	MR_np_call_localret_ent(__Unify___mdbcomp__prim_data__sym_name_0_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i36);
	}
	MR_sv(9) = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_func_info);
	MR_sv(10) = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__analysis, structure_reuse_call);
	MR_sv(11) = (MR_Word) MR_TAG_COMMON(0,11,0);
	MR_r1 = MR_sv(11);
	MR_r2 = MR_sv(3);
	MR_r3 = (MR_Word) MR_string_const("structure_reuse", 15);
	MR_r4 = MR_sv(4);
	MR_r5 = MR_sv(5);
	MR_np_call_localret_ent(analysis__lookup_existing_call_patterns_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i13);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(6,7);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__add_reuse_request_4_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_sv(2);
	MR_tempr2 = MR_sv(6);
	MR_sv(6) = MR_tempr1;
	MR_sv(12) = (MR_Word) MR_TAG_COMMON(0,4,0);
	MR_tempr3 = MR_r1;
	MR_r1 = MR_sv(10);
	MR_r2 = MR_sv(12);
	MR_r4 = MR_tempr3;
	MR_r5 = MR_tempr2;
	}
	MR_np_call_localret_ent(list__foldl_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i16);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(8) = MR_r1;
	MR_r1 = MR_sv(11);
	MR_r2 = MR_sv(3);
	MR_r3 = (MR_Word) MR_string_const("structure_reuse", 15);
	MR_r4 = MR_sv(4);
	MR_r5 = MR_sv(5);
	MR_np_call_localret_ent(analysis__lookup_requests_5_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i17);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(10);
	MR_r2 = MR_sv(12);
	MR_r3 = MR_sv(6);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_sv(8);
	}
	MR_np_call_localret_ent(list__foldl_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i18);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(6) = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_proc_info_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i19);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,19)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_r5 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 1) = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,12,0);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_sv(4);
	MR_r4 = MR_sv(5);
	MR_r6 = (MR_Word) MR_tbmkword(0, 0);
	}
	MR_np_call_localret_ent(analysis__lookup_best_result_6_0,
		transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i25);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,25)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i27);
	}
	MR_r1 = MR_sv(6);
	MR_r2 = MR_sv(7);
	MR_decr_sp_and_return(13);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_tfield(0, MR_tfield(1, MR_r1, 0), 1);
	if (MR_LTAGS_TESTR(MR_r3,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i29);
	}
	MR_r1 = MR_sv(6);
	MR_r2 = MR_sv(7);
	MR_decr_sp_and_return(13);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,29)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r3,0,1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0_i30);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,36)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(6);
	MR_r2 = MR_sv(7);
	MR_decr_sp_and_return(13);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__process_intermod_analysis_defined_proc_7_0,30)
	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(7);
	MR_r1 = MR_sv(6);
	MR_decr_sp_and_return(13);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE


MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module20)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__add_reuse_request_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__add_reuse_request_4_0);
	MR_init_label1(transform_hlds__ctgc__structure_reuse__analysis__add_reuse_request_4_0,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'add_reuse_request'/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(transform_hlds__ctgc__structure_reuse__analysis__add_reuse_request_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r2,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__add_reuse_request_4_0_i3);
	}
	MR_r1 = MR_r3;
	MR_proceed();
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__add_reuse_request_4_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tfield(0, MR_tempr1, 1) = MR_r2;
	MR_tag_alloc_heap(MR_r1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_r1, 0) = MR_tempr1;
	MR_tfield(1, MR_r1, 1) = MR_r3;
	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(transform_hlds__ctgc__structure_reuse__analysis_module21)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0);
	MR_init_label3(transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0,2,4,5)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'save_reuse_in_module_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_def_static(transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(4);
	MR_sv(4) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_tfield(0, MR_r2, 1);
	MR_sv(3) = MR_r3;
	MR_r1 = MR_tfield(0, MR_r2, 0);
	MR_np_call_localret_ent(fn__transform_hlds__ctgc__structure_reuse__domain__to_structure_reuse_domain_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 2);
	MR_tfield(0, MR_tempr1, 0) = MR_r1;
	MR_tfield(0, MR_tempr1, 1) = MR_sv(2);
	MR_sv(2) = MR_tempr1;
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(1);
	}
	MR_np_call_localret_ent(hlds__hlds_module__module_info_pred_proc_info_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0_i4);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_r1;
	MR_r1 = MR_tempr1;
	}
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_set_structure_reuse_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__save_reuse_in_module_info_4_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_sv(3);
	MR_succip_word = MR_sv(4);
	MR_decr_sp(4);
	MR_np_tailcall_ent(hlds__hlds_module__module_info_set_pred_proc_info_5_0);
	}
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(transform_hlds__ctgc__structure_reuse__lfu__forward_use_information_2_0);
MR_decl_entry(transform_hlds__ctgc__structure_reuse__lbu__backward_use_information_3_0);
MR_decl_entry(hlds__goal_path__fill_goal_path_slots_in_proc_3_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module22)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__annotate_in_use_information_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__annotate_in_use_information_3_0);
	MR_init_label2(transform_hlds__ctgc__structure_reuse__analysis__annotate_in_use_information_3_0,2,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'annotate_in_use_information'/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(transform_hlds__ctgc__structure_reuse__analysis__annotate_in_use_information_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_r2;
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__lfu__forward_use_information_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__annotate_in_use_information_3_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__annotate_in_use_information_3_0,2)
	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(transform_hlds__ctgc__structure_reuse__lbu__backward_use_information_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__annotate_in_use_information_3_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__annotate_in_use_information_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_succip_word = MR_sv(2);
	MR_decr_sp(2);
	MR_np_tailcall_ent(hlds__goal_path__fill_goal_path_slots_in_proc_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(hlds__hlds_pred__procedure_is_exported_3_0);
MR_decl_entry(hlds__hlds_pred__is_unify_or_compare_pred_1_0);
MR_decl_entry(hlds__hlds_pred__pred_info_get_origin_2_0);
MR_decl_entry(hlds__hlds_module__module_info_get_type_spec_info_2_0);
MR_decl_entry(set__member_2_0);
MR_decl_entry(hlds__hlds_pred__proc_info_get_structure_reuse_2_0);
MR_decl_entry(hlds__hlds_pred__proc_info_declared_argmodes_2_0);
MR_decl_entry(hlds__hlds_pred__proc_info_get_varset_2_0);
MR_decl_entry(list__map_3_0);
MR_decl_entry(parse_tree__mercury_to_mercury__write_pragma_structure_reuse_info_11_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module23)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0);
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,3,7,9,10,13,15,17,18,21,22)
	MR_init_label4(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,23,24,27,32)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'write_proc_reuse_info'/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_def_static(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(10);
	MR_sv(10) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_r3;
	MR_sv(3) = MR_tempr1;
	MR_sv(4) = MR_r4;
	MR_sv(5) = MR_r5;
	MR_sv(6) = MR_r6;
	MR_sv(7) = MR_r7;
	MR_sv(8) = MR_r8;
	MR_tempr2 = MR_r9;
	MR_sv(9) = MR_tempr2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	}
	MR_np_call_localret_ent(hlds__hlds_pred__procedure_is_exported_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i32);
	}
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(hlds__hlds_pred__is_unify_or_compare_pred_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i7);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_r1) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i32);
	}
	MR_r1 = MR_sv(3);
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_get_origin_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i9);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i10);
	}
	MR_r2 = MR_tfield(2, MR_r1, 0);
	if (MR_LTAGS_TEST(MR_r2,0,3)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i32);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_get_type_spec_info_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i13);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,13)
	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, pred_id);
	MR_r2 = MR_sv(2);
	MR_r3 = MR_tfield(0, MR_tempr1, 1);
	}
	MR_np_call_localret_ent(set__member_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i15);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_r1) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i32);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_id);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, proc_info);
	MR_r3 = MR_sv(4);
	MR_r4 = MR_sv(9);
	MR_np_call_localret_ent(map__lookup_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i17);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_structure_reuse_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i18);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TEST(MR_r1,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i32);
	}
	MR_sv(2) = MR_tfield(0, MR_tfield(1, MR_r1, 0), 0);
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_declared_argmodes_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i21);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_varset_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i22);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(4) = MR_r1;
	MR_r1 = MR_sv(1);
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_headvars_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i23);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_vartypes_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i24);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 4);
	MR_r3 = MR_tempr1;
	MR_tfield(0, MR_tempr1, 0) = (MR_Word) MR_COMMON(3,2);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__IntroducedFrom__pred__write_proc_reuse_info__832__1_3_0);
	MR_tfield(0, MR_tempr1, 2) = (MR_Integer) 1;
	MR_tfield(0, MR_tempr1, 3) = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,7);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r4 = MR_sv(1);
	}
	MR_np_call_localret_ent(list__map_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0_i27);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,27)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r9, 1, (MR_Integer) 1);
	MR_tfield(1, MR_r9, 0) = MR_sv(2);
	MR_tag_alloc_heap(MR_r6, 1, (MR_Integer) 1);
	MR_tfield(1, MR_r6, 0) = MR_sv(4);
	MR_tag_alloc_heap(MR_r8, 1, (MR_Integer) 1);
	MR_tfield(1, MR_r8, 0) = MR_sv(8);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(6);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_sv(7);
	MR_r5 = MR_sv(1);
	MR_r7 = MR_tempr1;
	MR_succip_word = MR_sv(10);
	MR_decr_sp(10);
	MR_np_tailcall_ent(parse_tree__mercury_to_mercury__write_pragma_structure_reuse_info_11_0);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__write_proc_reuse_info_11_0,32)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_decr_sp_and_return(10);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(bimap__reverse_search_3_0);
MR_decl_entry(analysis__record_result_7_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module24)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0);
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,3,2,5,6,8,12,14,15,18,20)
	MR_init_label7(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,21,22,23,24,26,28,7)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'record_structure_reuse_results'/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(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(8);
	MR_sv(8) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r3;
	MR_sv(3) = MR_r4;
	MR_sv(4) = MR_r5;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, ppid_no_clobbers);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r2;
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_sv(2);
	}
	MR_np_call_localret_ent(bimap__reverse_search_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i3);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i2);
	}
	MR_r1 = MR_sv(1);
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_tfield(0, MR_r2, 0);
	MR_sv(2) = MR_tempr1;
	MR_tempr2 = MR_sv(3);
	MR_r3 = MR_tempr2;
	MR_sv(3) = MR_tfield(0, MR_r2, 1);
	MR_r2 = MR_tfield(0, MR_tempr1, 0);
	MR_sv(5) = MR_tfield(0, MR_tempr1, 1);
	MR_sv(6) = MR_tfield(0, MR_tempr2, 0);
	MR_sv(7) = MR_tfield(0, MR_tempr2, 1);
	MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i5);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	{
	MR_Word MR_tempr1, MR_tempr2;
	MR_tempr1 = MR_sv(3);
	MR_sv(3) = (MR_Word) MR_tbmkword(0, 0);
	MR_tempr2 = MR_sv(2);
	MR_r2 = MR_tfield(0, MR_tempr2, 0);
	MR_sv(5) = MR_tfield(0, MR_tempr2, 1);
	MR_sv(6) = MR_tfield(0, MR_tempr1, 0);
	MR_sv(7) = MR_tfield(0, MR_tempr1, 1);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_r1;
	MR_np_call_localret_ent(hlds__hlds_module__module_info_pred_info_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i6);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(5);
	MR_sv(5) = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(5);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(hlds__hlds_pred__procedure_is_exported_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i8);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i7);
	}
	MR_r1 = MR_sv(5);
	MR_np_call_localret_ent(hlds__hlds_pred__is_unify_or_compare_pred_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i12);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_r1) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i7);
	}
	MR_r1 = MR_sv(5);
	MR_np_call_localret_ent(hlds__hlds_pred__pred_info_get_origin_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i14);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,2)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i15);
	}
	MR_r2 = MR_tfield(2, MR_r1, 0);
	if (MR_LTAGS_TEST(MR_r2,0,3)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i7);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(6);
	MR_np_call_localret_ent(fn__transform_hlds__ctgc__structure_reuse__domain__to_structure_reuse_domain_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i18);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i20);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_sv(1) = (MR_Word) MR_tbmkword(0, 0);
	MR_np_call_localret_ent(transform_hlds__mmc_analysis__module_name_func_id_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i28);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i21);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_sv(1) = (MR_Word) MR_tbmkword(0, 1);
	MR_np_call_localret_ent(transform_hlds__mmc_analysis__module_name_func_id_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i28);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(5) = MR_tfield(1, MR_r1, 0);
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_np_call_localret_ent(hlds__hlds_module__module_info_proc_info_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i22);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(6) = MR_r1;
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_headvars_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i23);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,23)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(6);
	MR_sv(6) = MR_r1;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_vartypes_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i24);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,7);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r3 = MR_sv(6);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(map__apply_to_list_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i26);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,26)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 3);
	MR_tfield(1, MR_tempr1, 0) = MR_sv(6);
	MR_tfield(1, MR_tempr1, 1) = MR_r1;
	MR_tfield(1, MR_tempr1, 2) = MR_sv(5);
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	MR_sv(1) = MR_tempr1;
	}
	MR_np_call_localret_ent(transform_hlds__mmc_analysis__module_name_func_id_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0_i28);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,28)
	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,12,0);
	MR_tempr2 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r3 = MR_tempr2;
	MR_r4 = MR_sv(3);
	MR_r5 = MR_sv(1);
	MR_r6 = MR_sv(7);
	MR_r7 = MR_sv(4);
	MR_succip_word = MR_sv(8);
	MR_decr_sp(8);
	MR_np_tailcall_ent(analysis__record_result_7_0);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_structure_reuse_results_6_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(4);
	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_decl_entry(analysis__record_dependency_7_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module25)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0);
	MR_init_label3(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0,2,10,11)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'handle_structure_reuse_dependency'/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(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(6);
	MR_sv(6) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_tfield(0, MR_r2, 1);
	MR_sv(4) = MR_r3;
	MR_r2 = MR_tfield(0, MR_r2, 0);
	MR_np_call_localret_ent(transform_hlds__mmc_analysis__module_name_func_id_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_sv(3) = MR_sv(2);
	MR_sv(2) = MR_r2;
	MR_sv(5) = (MR_Word) MR_TAG_COMMON(0,12,0);
	MR_r1 = MR_sv(5);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_sv(1);
	MR_r5 = MR_r2;
	MR_r2 = (MR_Integer) 6;
	}
	MR_set_prof_ho_caller_proc(MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0));
	MR_noprof_call_localret(MR_ENTRY(mercury__do_call_class_method_3),
		mercury__transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0_i10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(5);
	MR_r2 = MR_sv(1);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r3;
	MR_r3 = MR_sv(2);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_sv(3);
	MR_r6 = MR_sv(4);
	}
	MR_np_call_localret_ent(analysis__record_dependency_7_0,
		transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0_i11);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__handle_structure_reuse_dependency_4_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r2;
	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(analysis__record_request_6_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module26)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__record_intermod_requests_4_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__record_intermod_requests_4_0);
	MR_init_label1(transform_hlds__ctgc__structure_reuse__analysis__record_intermod_requests_4_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'record_intermod_requests'/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(transform_hlds__ctgc__structure_reuse__analysis__record_intermod_requests_4_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	MR_sv(1) = MR_tfield(0, MR_r2, 1);
	MR_sv(2) = MR_r3;
	MR_r2 = MR_tfield(0, MR_r2, 0);
	MR_np_call_localret_ent(transform_hlds__mmc_analysis__module_name_func_id_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__record_intermod_requests_4_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__record_intermod_requests_4_0,2)
	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,11,0);
	MR_tempr2 = MR_r2;
	MR_r2 = (MR_Word) MR_string_const("structure_reuse", 15);
	MR_r3 = MR_tempr1;
	MR_r4 = MR_tempr2;
	MR_r5 = MR_sv(1);
	MR_r6 = MR_sv(2);
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(analysis__record_request_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_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module27)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__remove_useless_reuse_proc_7_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__remove_useless_reuse_proc_7_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'remove_useless_reuse_proc'/7 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_def_static(transform_hlds__ctgc__structure_reuse__analysis__remove_useless_reuse_proc_7_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r4 = MR_r5;
	MR_r5 = MR_r6;
	MR_np_tailcall_ent(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_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(transform_hlds__ctgc__structure_reuse__analysis_module28)
	MR_init_entry1(__Unify___transform_hlds__ctgc__structure_reuse__analysis__should_write_for_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___transform_hlds__ctgc__structure_reuse__analysis__should_write_for_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_def_static(__Unify___transform_hlds__ctgc__structure_reuse__analysis__should_write_for_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_decl_entry(private_builtin__builtin_compare_int_3_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module29)
	MR_init_entry1(__Compare___transform_hlds__ctgc__structure_reuse__analysis__should_write_for_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___transform_hlds__ctgc__structure_reuse__analysis__should_write_for_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_def_static(__Compare___transform_hlds__ctgc__structure_reuse__analysis__should_write_for_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___list__list_1_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module30)
	MR_init_entry1(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0);
	MR_init_label6(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,5,20,6,9,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___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i20);
	}
	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,0)) {
		MR_GOTO_LAB(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i5);
	}
	MR_r1 = (MR_sv(2) == MR_tempr1);
	MR_decr_sp(5);
	MR_proceed();
	}
MR_def_label(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,1)) {
		MR_GOTO_LAB(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i6);
	}
	MR_r1 = (MR_sv(2) == MR_sv(1));
	MR_decr_sp_and_return(5);
MR_def_label(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,20)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,6)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_sv(2),1)) {
		MR_GOTO_LAB(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_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_tempr1, 2);
	MR_sv(3) = MR_tfield(1, MR_tempr2, 1);
	MR_sv(4) = MR_tfield(1, MR_tempr2, 2);
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,7);
	MR_r2 = MR_tfield(1, MR_tempr1, 0);
	MR_r3 = MR_tfield(1, MR_tempr2, 0);
	}
	MR_np_call_localret_ent(__Unify___list__list_1_0,
		__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i9);
MR_def_label(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_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___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i11);
MR_def_label(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i1);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, structure_reuse_condition);
	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___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_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___list__list_1_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module31)
	MR_init_entry1(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0);
	MR_init_label10(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,43,5,11,46,9,14,15,18,22,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___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_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___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i46);
	}
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	if (MR_LTAGS_TESTR(MR_sv(1),0,0)) {
		MR_GOTO_LAB(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i5);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i43);
	}
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp(5);
	MR_proceed();
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,43)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 1;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(1),0,1)) {
		MR_GOTO_LAB(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i9);
	}
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i11);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,11)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i43);
	}
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,46)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,0)) {
		MR_GOTO_LAB(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i14);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_sv(2),0,1)) {
		MR_GOTO_LAB(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i15);
	}
	MR_r1 = (MR_Integer) 2;
	MR_decr_sp_and_return(5);
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,15)
	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(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_Word) MR_TAG_COMMON(0,4,7);
	MR_r2 = MR_tfield(1, MR_tempr3, 0);
	MR_r3 = MR_tfield(1, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i18);
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i28);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(1);
	MR_np_call_localret_ent(__Compare___list__list_1_0,
		__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i22);
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0_i28);
	}
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, structure_reuse_condition);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_sv(2);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(__Compare___list__list_1_0);
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,28)
	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(transform_hlds__ctgc__structure_reuse__analysis_module32)
	MR_init_entry1(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0);
	MR_init_label1(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_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___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_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_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	MR_r2 = MR_sv(1);
	MR_r3 = MR_sv(2);
	MR_decr_sp(3);
	MR_np_tailcall_ent(__Unify___list__list_1_0);
MR_def_label(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_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(transform_hlds__ctgc__structure_reuse__analysis_module33)
	MR_init_entry1(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0);
	MR_init_label2(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_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___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_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___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0_i2);
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_INT_CTOR_ADDR;
	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);
#ifdef MR_maybe_local_thread_engine_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_module__module_info_0_0);
MR_decl_entry(__Unify___hlds__hlds_pred__proc_info_0_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module34)
	MR_init_entry1(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0);
	MR_init_label3(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_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___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_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_module__module_info_0_0,
		__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0_i4);
MR_def_label(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_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__proc_info_0_0);
MR_def_label(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_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_decl_entry(__Compare___hlds__hlds_module__module_info_0_0);
MR_decl_entry(__Compare___hlds__hlds_pred__proc_info_0_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module35)
	MR_init_entry1(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury____Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0);
	MR_init_label4(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_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___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0);
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((MR_r1 == MR_r2)) {
		MR_GOTO_LAB(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_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___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0_i2);
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Integer) 0;
	MR_proceed();
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_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_module__module_info_0_0,
		__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0_i5);
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_INT_NE(MR_r1,0)) {
		MR_GOTO_LAB(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_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(__Compare___hlds__hlds_pred__proc_info_0_0);
MR_def_label(__Compare___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_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(transform_hlds__ctgc__structure_reuse__analysis_module36)
	MR_init_entry1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_name_2_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_name_2_2_0);
	MR_init_label1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_name_2_2_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_name_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(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_name_2_2_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__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_110_97_109_101_95_50_95_95_91_49_44_32_50_93_95_48_2_0,
		fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_name_2_2_0_i2);
MR_def_label(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_name_2_2_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_r1;
	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(transform_hlds__ctgc__structure_reuse__analysis_module37)
	MR_init_entry1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_version_number_2_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_version_number_2_2_0);
	MR_init_label1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_version_number_2_2_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_version_number_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(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_version_number_2_2_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__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_118_101_114_115_105_111_110_95_110_117_109_98_101_114_95_50_95_95_91_49_44_32_50_93_95_48_2_0,
		fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_version_number_2_2_0_i2);
MR_def_label(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_version_number_2_2_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_r1;
	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(transform_hlds__ctgc__structure_reuse__analysis_module38)
	MR_init_entry1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__preferred_fixpoint_type_2_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__preferred_fixpoint_type_2_2_0);
	MR_init_label1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__preferred_fixpoint_type_2_2_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__preferred_fixpoint_type_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(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__preferred_fixpoint_type_2_2_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__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_112_114_101_102_101_114_114_101_100_95_102_105_120_112_111_105_110_116_95_116_121_112_101_95_50_95_95_91_49_44_32_50_93_95_48_2_0,
		fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__preferred_fixpoint_type_2_2_0_i2);
MR_def_label(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__preferred_fixpoint_type_2_2_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_r1;
	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(transform_hlds__ctgc__structure_reuse__analysis_module39)
	MR_init_entry1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__bottom_2_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__bottom_2_2_0);
	MR_init_label1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__bottom_2_2_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__bottom_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(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__bottom_2_2_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__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_98_111_116_116_111_109_95_50_95_95_91_49_44_32_50_93_95_48_2_0,
		fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__bottom_2_2_0_i2);
MR_def_label(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__bottom_2_2_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_r1;
	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(transform_hlds__ctgc__structure_reuse__analysis_module40)
	MR_init_entry1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__top_2_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__top_2_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__top_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(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__top_2_2_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_tailcall_ent(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_116_111_112_95_50_95_95_91_49_44_32_50_93_95_48_2_0);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE


MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module41)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__get_func_info_6_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__get_func_info_6_6_0);
	MR_init_label1(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__get_func_info_6_6_0,2)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__get_func_info_6'/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(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__get_func_info_6_6_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(1);
	MR_sv(1) = (MR_Word) MR_succip;
	MR_np_call_localret_ent(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_103_101_116_95_102_117_110_99_95_105_110_102_111_95_54_95_95_91_52_44_32_53_93_95_48_6_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__get_func_info_6_6_0_i2);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__get_func_info_6_6_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r3 = MR_r1;
	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(transform_hlds__ctgc__structure_reuse__domain__reuse_as_subsumed_by_4_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module42)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0);
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,24,60,9,10,12,13,14,15,16,17)
	MR_init_label2(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,21,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3'/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(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r2,0,1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i60);
	}
	MR_r1 = ((MR_Integer) MR_r3 == (MR_Integer) MR_tbmkword(0, 0));
	MR_proceed();
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,24)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_TRUE;
	MR_decr_sp_and_return(6);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,60)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(6);
	MR_sv(6) = (MR_Word) MR_succip;
	if (MR_PTAG_TESTR(MR_r2,1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i1);
	}
	if (MR_LTAGS_TEST(MR_r3,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i24);
	}
	if (MR_PTAG_TESTR(MR_r3,1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i1);
	}
	MR_sv(1) = MR_r2;
	MR_sv(2) = MR_r3;
	MR_sv(3) = MR_tfield(0, MR_r1, 0);
	MR_sv(4) = MR_tfield(0, MR_r1, 1);
	MR_r1 = MR_sv(4);
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_headvars_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i9);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(5) = MR_r1;
	MR_r1 = MR_sv(4);
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_vartypes_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,7);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r3 = MR_sv(5);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(map__apply_to_list_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i12);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r2 = MR_sv(4);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i13);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r1 = MR_tempr1;
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(2);
	}
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i14);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,14)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(fn__transform_hlds__ctgc__structure_reuse__domain__from_structure_reuse_domain_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i15);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r2 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r1 = MR_r2;
	MR_np_call_localret_ent(fn__transform_hlds__ctgc__structure_reuse__domain__from_structure_reuse_domain_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i16);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(2) = MR_r1;
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(1);
	MR_r4 = MR_sv(2);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_subsumed_by_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i17);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i1);
	}
	MR_r1 = MR_sv(3);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_sv(1);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_subsumed_by_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i21);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0_i24);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_FALSE;
	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_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module43)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0);
	MR_init_label10(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0,5,9,10,12,13,14,15,16,17,2)
	MR_init_label1(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3'/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(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(6);
	MR_sv(6) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r3;
	MR_sv(3) = MR_tempr1;
	MR_r1 = MR_r2;
	MR_r2 = MR_tempr1;
	}
	MR_np_call_localret_ent(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0_i5);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_r1) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0_i2);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(2);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(3);
	if (MR_PTAG_TESTR(MR_r2,1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0_i1);
	}
	if (MR_PTAG_TESTR(MR_tempr1,1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0_i1);
	}
	MR_sv(1) = MR_tfield(0, MR_r1, 0);
	MR_sv(4) = MR_tfield(0, MR_r1, 1);
	MR_r1 = MR_sv(4);
	}
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_headvars_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0_i9);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(5) = MR_r1;
	MR_r1 = MR_sv(4);
	MR_np_call_localret_ent(hlds__hlds_pred__proc_info_get_vartypes_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0_i10);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,7);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r3 = MR_sv(5);
	MR_r4 = MR_tempr1;
	}
	MR_np_call_localret_ent(map__apply_to_list_3_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0_i12);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0,12)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_r1;
	MR_r2 = MR_sv(4);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0_i13);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_r1;
	MR_r1 = MR_tempr1;
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(3);
	}
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_to_domain_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0_i14);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0,14)
	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__transform_hlds__ctgc__structure_reuse__domain__from_structure_reuse_domain_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0_i15);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0,15)
	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__transform_hlds__ctgc__structure_reuse__domain__from_structure_reuse_domain_1_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0_i16);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0,16)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(3) = MR_r1;
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(3);
	MR_r4 = MR_sv(2);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_subsumed_by_4_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0_i17);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0_i1);
	}
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(4);
	MR_r3 = MR_sv(2);
	MR_r4 = MR_sv(3);
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_np_tailcall_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_subsumed_by_4_0);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0,1)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_succip_word = MR_sv(6);
	MR_decr_sp(6);
	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(transform_hlds__ctgc__structure_reuse__analysis_module44)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__more_precise_than_3_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__more_precise_than_3_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__more_precise_than_3'/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(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__more_precise_than_3_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r2;
	MR_r2 = MR_r3;
	MR_np_tailcall_ent(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_109_111_114_101_95_112_114_101_99_105_115_101_95_116_104_97_110_95_51_95_95_91_49_93_95_48_3_0);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE


MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module45)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__equivalent_3_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__equivalent_3_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__equivalent_3'/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(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__equivalent_3_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_r2;
	MR_r2 = MR_r3;
	MR_np_tailcall_ent(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_101_113_117_105_118_97_108_101_110_116_95_51_95_95_91_49_93_95_48_3_0);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(fn__term__context_init_0_0);
extern const MR_TypeCtorInfo_Struct mercury_data_term__type_ctor_info_generic_0;
MR_decl_entry(term__type_to_term_2_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module46)
	MR_init_entry1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0);
	MR_init_label8(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0,5,3,9,7,13,15,17,22)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_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(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(4);
	MR_sv(4) = (MR_Word) MR_succip;
	if (MR_LTAGS_TESTR(MR_r1,0,0)) {
		MR_GOTO_LAB(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0_i3);
	}
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,14,0);
	MR_np_call_localret_ent(fn__term__context_init_0_0,
		fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0_i5);
MR_def_label(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 0, (MR_Integer) 3);
	MR_tfield(0, MR_tempr1, 0) = MR_sv(1);
	MR_tfield(0, MR_tempr1, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_tempr1, 2) = MR_r1;
	MR_r1 = MR_tempr1;
	MR_decr_sp_and_return(4);
	}
MR_def_label(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_LTAGS_TESTR(MR_r1,0,1)) {
		MR_GOTO_LAB(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0_i7);
	}
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,14,1);
	MR_np_call_localret_ent(fn__term__context_init_0_0,
		fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0_i9);
MR_def_label(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 3);
	MR_tfield(0, MR_r2, 0) = MR_sv(1);
	MR_tfield(0, MR_r2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tfield(0, MR_r2, 2) = MR_r1;
	MR_r1 = MR_r2;
	MR_decr_sp_and_return(4);
MR_def_label(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_sv(1) = MR_tfield(1, MR_r1, 1);
	MR_sv(2) = MR_tfield(1, MR_r1, 2);
	MR_sv(3) = (MR_Word) MR_CTOR0_ADDR(term, generic);
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,11);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_tfield(1, MR_tempr1, 0);
	}
	MR_np_call_localret_ent(term__type_to_term_2_0,
		fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0_i13);
MR_def_label(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0,13)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,12);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(term__type_to_term_2_0,
		fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0_i15);
MR_def_label(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_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,4,13);
	MR_r2 = MR_sv(3);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(term__type_to_term_2_0,
		fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0_i17);
MR_def_label(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 1, (MR_Integer) 2);
	MR_tfield(1, MR_r2, 0) = MR_r1;
	MR_tfield(1, MR_r2, 1) = (MR_Word) MR_tbmkword(0, 0);
	MR_tag_alloc_heap(MR_r1, 1, (MR_Integer) 2);
	MR_tfield(1, MR_r1, 0) = MR_sv(2);
	MR_tfield(1, MR_r1, 1) = MR_r2;
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 2);
	MR_sv(2) = MR_tempr1;
	MR_tfield(1, MR_tempr1, 0) = MR_sv(1);
	MR_tfield(1, MR_tempr1, 1) = MR_r1;
	MR_sv(1) = (MR_Word) MR_TAG_COMMON(0,14,2);
	}
	MR_np_call_localret_ent(fn__term__context_init_0_0,
		fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0_i22);
MR_def_label(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0,22)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 3);
	MR_tfield(0, MR_r2, 0) = MR_sv(1);
	MR_tfield(0, MR_r2, 1) = MR_sv(2);
	MR_tfield(0, MR_r2, 2) = MR_r1;
	MR_r1 = MR_r2;
	MR_decr_sp_and_return(4);
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_thread_engine_base
#endif
MR_END_MODULE

MR_decl_entry(term__term_to_type_2_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module47)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0);
	MR_init_label7(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0,7,103,15,18,21,102,1)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2'/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(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (MR_PTAG_TESTR(MR_r1,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i102);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_tfield(0, MR_r1, 0);
	MR_r3 = MR_tempr1;
	if (MR_PTAG_TESTR(MR_tempr1,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i102);
	}
	MR_r4 = MR_tfield(0, MR_r1, 1);
	if (MR_LTAGS_TESTR(MR_r4,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i103);
	}
	MR_r4 = MR_tfield(0, MR_tempr1, 0);
	if ((strcmp((char *) (MR_Word *) MR_r4, MR_string_const("uncond", 6)) != 0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i7);
	}
	MR_r2 = (MR_Word) MR_tbmkword(0, 1);
	MR_r1 = MR_TRUE;
	MR_proceed();
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0,7)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if ((strcmp((char *) (MR_Word *) MR_r4, MR_string_const("no_reuse", 8)) != 0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i102);
	}
	MR_r2 = (MR_Word) MR_tbmkword(0, 0);
	MR_r1 = MR_TRUE;
	MR_proceed();
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0,103)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
	{
	MR_Word MR_tempr1, MR_tempr2, MR_tempr3, MR_tempr4;
	MR_tempr1 = MR_tfield(0, MR_r3, 0);
	if ((strcmp((char *) (MR_Word *) MR_tempr1, MR_string_const("cond", 4)) != 0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i1);
	}
	MR_tempr4 = MR_r4;
	MR_tempr1 = MR_tfield(1, MR_tempr4, 1);
	if (MR_LTAGS_TEST(MR_tempr1,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i1);
	}
	MR_tempr2 = MR_tfield(1, MR_tempr1, 1);
	if (MR_LTAGS_TEST(MR_tempr2,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i1);
	}
	MR_tempr3 = MR_tfield(1, MR_tempr2, 1);
	if (MR_LTAGS_TESTR(MR_tempr3,0,0)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i1);
	}
	MR_sv(1) = MR_tfield(1, MR_tempr1, 0);
	MR_sv(2) = MR_tfield(1, MR_tempr2, 0);
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,4,11);
	MR_r3 = MR_tfield(1, MR_tempr4, 0);
	}
	MR_np_call_localret_ent(term__term_to_type_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i15);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0,15)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i1);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(1);
	MR_sv(1) = MR_r2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,4,12);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(term__term_to_type_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i18);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0,18)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i1);
	}
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_sv(2);
	MR_sv(2) = MR_r2;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,4,13);
	MR_r3 = MR_tempr1;
	}
	MR_np_call_localret_ent(term__term_to_type_2_0,
		transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i21);
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0,21)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0_i1);
	}
	{
	MR_Word MR_tempr1;
	MR_tag_alloc_heap(MR_tempr1, 1, (MR_Integer) 3);
	MR_tfield(1, MR_tempr1, 0) = MR_sv(1);
	MR_tfield(1, MR_tempr1, 1) = MR_sv(2);
	MR_tfield(1, MR_tempr1, 2) = MR_r2;
	MR_r2 = MR_tempr1;
	MR_r1 = MR_TRUE;
	MR_decr_sp_and_return(3);
	}
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0,102)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(3);
	MR_sv(3) = (MR_Word) MR_succip;
MR_def_label(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_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(transform_hlds__ctgc__structure_reuse__analysis_module48)
	MR_init_entry1(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__to_term_1_1_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__to_term_1_1_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__to_term_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(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__to_term_1_1_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_TAG_COMMON(0,4,14);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r3 = MR_tempr1;
	MR_np_tailcall_ent(term__type_to_term_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(transform_hlds__ctgc__structure_reuse__analysis_module49)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__from_term_2_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__from_term_2_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__from_term_2'/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(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__from_term_2_2_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(term, generic);
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,4,14);
	MR_r3 = MR_tempr1;
	MR_np_tailcall_ent(term__term_to_type_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(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_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module50)
	MR_init_entry1(transform_hlds__ctgc__structure_reuse__analysis__IntroducedFrom__pred__write_proc_reuse_info__832__1_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__transform_hlds__ctgc__structure_reuse__analysis__IntroducedFrom__pred__write_proc_reuse_info__832__1_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'IntroducedFrom__pred__write_proc_reuse_info__832__1'/3 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_def_static(transform_hlds__ctgc__structure_reuse__analysis__IntroducedFrom__pred__write_proc_reuse_info__832__1_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(parse_tree__prog_data, prog_var_type);
	MR_tempr2 = MR_r2;
	MR_r2 = (MR_Word) MR_TAG_COMMON(0,4,7);
	MR_r3 = (MR_Word) MR_CTOR0_ADDR(parse_tree__prog_data, mer_type);
	MR_r4 = MR_tempr1;
	MR_r5 = MR_tempr2;
	MR_np_tailcall_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);
	}
#ifdef MR_maybe_local_thread_engine_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__pred_table__predicate_table_remove_predicate_3_0);
MR_decl_entry(io__write_string_3_0);
MR_decl_entry(hlds__hlds_out__hlds_out_util__write_pred_proc_id_4_0);
MR_decl_entry(io__nl_2_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module51)
	MR_init_entry1(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0);
	MR_init_label7(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0,2,5,17,8,9,10,4)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__pred__remove_useless_reuse_proc__[4]_0'/7 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_def_static(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_incr_sp(5);
	MR_sv(5) = (MR_Word) MR_succip;
	MR_sv(1) = MR_r1;
	MR_sv(2) = MR_r2;
	MR_sv(3) = MR_r4;
	MR_sv(4) = MR_r5;
	MR_r1 = (MR_Word) MR_CTOR0_ADDR(hlds__hlds_pred, pred_proc_id);
	MR_r2 = (MR_Word) MR_CTOR0_ADDR(transform_hlds__ctgc__structure_reuse__domain, reuse_as_and_status);
	MR_np_call_localret_ent(map__lookup_3_0,
		f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0_i2);
MR_def_label(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0,2)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_r1, 0);
	MR_np_call_localret_ent(transform_hlds__ctgc__structure_reuse__domain__reuse_as_no_reuses_1_0,
		f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0_i5);
MR_def_label(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0,5)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	if (!(MR_r1)) {
		MR_GOTO_LAB(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0_i4);
	}
	if (MR_INT_NE(MR_sv(2),0)) {
		MR_GOTO_LAB(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0_i8);
	}
MR_def_label(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0,17)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_tfield(0, MR_sv(3), 0);
	MR_r2 = MR_sv(4);
	MR_succip_word = MR_sv(5);
	MR_decr_sp(5);
	MR_np_tailcall_ent(hlds__pred_table__predicate_table_remove_predicate_3_0);
MR_def_label(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0,8)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("% Removing useless reuse ", 25);
	MR_np_call_localret_ent(io__write_string_3_0,
		f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0_i9);
MR_def_label(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0,9)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(1);
	MR_r2 = MR_sv(3);
	MR_np_call_localret_ent(hlds__hlds_out__hlds_out_util__write_pred_proc_id_4_0,
		f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0_i10);
MR_def_label(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0,10)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_np_call_localret_ent(io__nl_2_0,
		f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0_i17);
MR_def_label(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_114_101_109_111_118_101_95_117_115_101_108_101_115_115_95_114_101_117_115_101_95_112_114_111_99_95_95_91_52_93_95_48_7_0,4)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = MR_sv(4);
	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(transform_hlds__ctgc__structure_reuse__analysis_module52)
	MR_init_entry1(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_110_97_109_101_95_50_95_95_91_49_44_32_50_93_95_48_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_110_97_109_101_95_50_95_95_91_49_44_32_50_93_95_48_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__func__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_name_2__[1, 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_def_static(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_110_97_109_101_95_50_95_95_91_49_44_32_50_93_95_48_2_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("structure_reuse", 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(transform_hlds__ctgc__structure_reuse__analysis_module53)
	MR_init_entry1(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_118_101_114_115_105_111_110_95_110_117_109_98_101_114_95_50_95_95_91_49_44_32_50_93_95_48_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_118_101_114_115_105_111_110_95_110_117_109_98_101_114_95_50_95_95_91_49_44_32_50_93_95_48_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__func__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_version_number_2__[1, 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_def_static(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_118_101_114_115_105_111_110_95_110_117_109_98_101_114_95_50_95_95_91_49_44_32_50_93_95_48_2_0)
	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_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module54)
	MR_init_entry1(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_112_114_101_102_101_114_114_101_100_95_102_105_120_112_111_105_110_116_95_116_121_112_101_95_50_95_95_91_49_44_32_50_93_95_48_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_112_114_101_102_101_114_114_101_100_95_102_105_120_112_111_105_110_116_95_116_121_112_101_95_50_95_95_91_49_44_32_50_93_95_48_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__func__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__preferred_fixpoint_type_2__[1, 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_def_static(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_112_114_101_102_101_114_114_101_100_95_102_105_120_112_111_105_110_116_95_116_121_112_101_95_50_95_95_91_49_44_32_50_93_95_48_2_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(transform_hlds__ctgc__structure_reuse__analysis_module55)
	MR_init_entry1(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_98_111_116_116_111_109_95_50_95_95_91_49_44_32_50_93_95_48_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_98_111_116_116_111_109_95_50_95_95_91_49_44_32_50_93_95_48_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__func__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__bottom_2__[1, 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_def_static(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_98_111_116_116_111_109_95_50_95_95_91_49_44_32_50_93_95_48_2_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(transform_hlds__ctgc__structure_reuse__analysis_module56)
	MR_init_entry1(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_116_111_112_95_50_95_95_91_49_44_32_50_93_95_48_2_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_116_111_112_95_50_95_95_91_49_44_32_50_93_95_48_2_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__func__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__top_2__[1, 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_def_static(fn__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_102_117_110_99_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_116_111_112_95_50_95_95_91_49_44_32_50_93_95_48_2_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_r1 = (MR_Word) MR_string_const("transform_hlds.ctgc.structure_reuse.analysis", 44);
	MR_r2 = (MR_Word) MR_string_const("instance method function \140analysis.top\'/2 for \140analysis.analysis(transform_hlds.ctgc.structure_reuse.analysis.structure_reuse_func_info, transform_hlds.ctgc.str" "ucture_reuse.analysis.structure_reuse_call, transform_hlds.ctgc.structure_reuse.analysis.structure_reuse_answer)\'", 273);
	MR_r3 = (MR_Word) MR_string_const("top/2 called", 12);
	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(transform_hlds__mmc_analysis__func_id_to_ppid_4_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module57)
	MR_init_entry1(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_103_101_116_95_102_117_110_99_95_105_110_102_111_95_54_95_95_91_52_44_32_53_93_95_48_6_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_103_101_116_95_102_117_110_99_95_105_110_102_111_95_54_95_95_91_52_44_32_53_93_95_48_6_0);
	MR_init_label2(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_103_101_116_95_102_117_110_99_95_105_110_102_111_95_54_95_95_91_52_44_32_53_93_95_48_6_0,2,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__pred__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__get_func_info_6__[4, 5]_0'/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(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_103_101_116_95_102_117_110_99_95_105_110_102_111_95_54_95_95_91_52_44_32_53_93_95_48_6_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(transform_hlds__mmc_analysis__func_id_to_ppid_4_0,
		f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_103_101_116_95_102_117_110_99_95_105_110_102_111_95_54_95_95_91_52_44_32_53_93_95_48_6_0_i2);
MR_def_label(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_103_101_116_95_102_117_110_99_95_105_110_102_111_95_54_95_95_91_52_44_32_53_93_95_48_6_0,2)
	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(hlds__hlds_module__module_info_proc_info_3_0,
		f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_103_101_116_95_102_117_110_99_95_105_110_102_111_95_54_95_95_91_52_44_32_53_93_95_48_6_0_i3);
MR_def_label(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_97_110_97_108_121_115_105_115_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_97_110_115_119_101_114_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_103_101_116_95_102_117_110_99_95_105_110_102_111_95_54_95_95_91_52_44_32_53_93_95_48_6_0,3)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	MR_tag_alloc_heap(MR_r2, 0, (MR_Integer) 2);
	MR_tfield(0, MR_r2, 0) = MR_sv(1);
	MR_tfield(0, MR_r2, 1) = MR_r1;
	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__set__sorted_list_to_set_1_0);
MR_decl_entry(set__subset_2_0);

MR_BEGIN_MODULE(transform_hlds__ctgc__structure_reuse__analysis_module58)
	MR_init_entry1(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_109_111_114_101_95_112_114_101_99_105_115_101_95_116_104_97_110_95_51_95_95_91_49_93_95_48_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_109_111_114_101_95_112_114_101_99_105_115_101_95_116_104_97_110_95_51_95_95_91_49_93_95_48_3_0);
	MR_init_label2(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_109_111_114_101_95_112_114_101_99_105_115_101_95_116_104_97_110_95_51_95_95_91_49_93_95_48_3_0,2,3)
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__pred__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__more_precise_than_3__[1]_0'/3 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_def_static(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_109_111_114_101_95_112_114_101_99_105_115_101_95_116_104_97_110_95_51_95_95_91_49_93_95_48_3_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_INT_CTOR_ADDR;
	MR_r1 = MR_sv(2);
	MR_np_call_localret_ent(fn__set__sorted_list_to_set_1_0,
		f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_109_111_114_101_95_112_114_101_99_105_115_101_95_116_104_97_110_95_51_95_95_91_49_93_95_48_3_0_i2);
MR_def_label(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_109_111_114_101_95_112_114_101_99_105_115_101_95_116_104_97_110_95_51_95_95_91_49_93_95_48_3_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(fn__set__sorted_list_to_set_1_0,
		f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_109_111_114_101_95_112_114_101_99_105_115_101_95_116_104_97_110_95_51_95_95_91_49_93_95_48_3_0_i3);
MR_def_label(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_109_111_114_101_95_112_114_101_99_105_115_101_95_116_104_97_110_95_51_95_95_91_49_93_95_48_3_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_sv(1);
	MR_r3 = MR_tempr1;
	MR_succip_word = MR_sv(3);
	MR_decr_sp(3);
	MR_np_tailcall_ent(set__subset_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(transform_hlds__ctgc__structure_reuse__analysis_module59)
	MR_init_entry1(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_101_113_117_105_118_97_108_101_110_116_95_51_95_95_91_49_93_95_48_3_0);
	MR_INIT_PROC_LAYOUT_ADDR(mercury__f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_101_113_117_105_118_97_108_101_110_116_95_51_95_95_91_49_93_95_48_3_0);
MR_BEGIN_CODE

/*-------------------------------------------------------------------------*/
/* code for 'UnusedArgs__pred__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__equivalent_3__[1]_0'/3 mode 0 */
#ifdef MR_maybe_local_thread_engine_base
	#undef MR_maybe_local_thread_engine_base
	#define MR_maybe_local_thread_engine_base MR_local_thread_engine_base
#endif
MR_def_static(f_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_67_108_97_115_115_77_101_116_104_111_100_95_102_111_114_95_97_110_97_108_121_115_105_115_95_95_112_97_114_116_105_97_108_95_111_114_100_101_114_95_95_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_102_117_110_99_95_105_110_102_111_95_95_97_114_105_116_121_48_95_95_116_114_97_110_115_102_111_114_109_95_104_108_100_115_95_95_99_116_103_99_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_95_97_110_97_108_121_115_105_115_95_95_115_116_114_117_99_116_117_114_101_95_114_101_117_115_101_95_99_97_108_108_95_95_97_114_105_116_121_48_95_95_95_95_95_95_97_110_97_108_121_115_105_115_95_95_101_113_117_105_118_97_108_101_110_116_95_51_95_95_91_49_93_95_48_3_0)
	MR_MAYBE_INIT_LOCAL_THREAD_ENGINE_BASE
	{
	MR_Word MR_tempr1;
	MR_tempr1 = MR_r1;
	MR_r1 = MR_r2;
	MR_r2 = MR_tempr1;
	MR_np_tailcall_ent(__Unify___transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_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

static void mercury__transform_hlds__ctgc__structure_reuse__analysis_maybe_bunch_0(void)
{
	transform_hlds__ctgc__structure_reuse__analysis_module0();
	transform_hlds__ctgc__structure_reuse__analysis_module1();
	transform_hlds__ctgc__structure_reuse__analysis_module2();
	transform_hlds__ctgc__structure_reuse__analysis_module3();
	transform_hlds__ctgc__structure_reuse__analysis_module4();
	transform_hlds__ctgc__structure_reuse__analysis_module5();
	transform_hlds__ctgc__structure_reuse__analysis_module6();
	transform_hlds__ctgc__structure_reuse__analysis_module7();
	transform_hlds__ctgc__structure_reuse__analysis_module8();
	transform_hlds__ctgc__structure_reuse__analysis_module9();
	transform_hlds__ctgc__structure_reuse__analysis_module10();
	transform_hlds__ctgc__structure_reuse__analysis_module11();
	transform_hlds__ctgc__structure_reuse__analysis_module12();
	transform_hlds__ctgc__structure_reuse__analysis_module13();
	transform_hlds__ctgc__structure_reuse__analysis_module14();
	transform_hlds__ctgc__structure_reuse__analysis_module15();
	transform_hlds__ctgc__structure_reuse__analysis_module16();
	transform_hlds__ctgc__structure_reuse__analysis_module17();
	transform_hlds__ctgc__structure_reuse__analysis_module18();
	transform_hlds__ctgc__structure_reuse__analysis_module19();
	transform_hlds__ctgc__structure_reuse__analysis_module20();
	transform_hlds__ctgc__structure_reuse__analysis_module21();
	transform_hlds__ctgc__structure_reuse__analysis_module22();
	transform_hlds__ctgc__structure_reuse__analysis_module23();
	transform_hlds__ctgc__structure_reuse__analysis_module24();
	transform_hlds__ctgc__structure_reuse__analysis_module25();
	transform_hlds__ctgc__structure_reuse__analysis_module26();
	transform_hlds__ctgc__structure_reuse__analysis_module27();
	transform_hlds__ctgc__structure_reuse__analysis_module28();
	transform_hlds__ctgc__structure_reuse__analysis_module29();
	transform_hlds__ctgc__structure_reuse__analysis_module30();
	transform_hlds__ctgc__structure_reuse__analysis_module31();
	transform_hlds__ctgc__structure_reuse__analysis_module32();
	transform_hlds__ctgc__structure_reuse__analysis_module33();
	transform_hlds__ctgc__structure_reuse__analysis_module34();
	transform_hlds__ctgc__structure_reuse__analysis_module35();
	transform_hlds__ctgc__structure_reuse__analysis_module36();
	transform_hlds__ctgc__structure_reuse__analysis_module37();
	transform_hlds__ctgc__structure_reuse__analysis_module38();
	transform_hlds__ctgc__structure_reuse__analysis_module39();
}

static void mercury__transform_hlds__ctgc__structure_reuse__analysis_maybe_bunch_1(void)
{
	transform_hlds__ctgc__structure_reuse__analysis_module40();
	transform_hlds__ctgc__structure_reuse__analysis_module41();
	transform_hlds__ctgc__structure_reuse__analysis_module42();
	transform_hlds__ctgc__structure_reuse__analysis_module43();
	transform_hlds__ctgc__structure_reuse__analysis_module44();
	transform_hlds__ctgc__structure_reuse__analysis_module45();
	transform_hlds__ctgc__structure_reuse__analysis_module46();
	transform_hlds__ctgc__structure_reuse__analysis_module47();
	transform_hlds__ctgc__structure_reuse__analysis_module48();
	transform_hlds__ctgc__structure_reuse__analysis_module49();
	transform_hlds__ctgc__structure_reuse__analysis_module50();
	transform_hlds__ctgc__structure_reuse__analysis_module51();
	transform_hlds__ctgc__structure_reuse__analysis_module52();
	transform_hlds__ctgc__structure_reuse__analysis_module53();
	transform_hlds__ctgc__structure_reuse__analysis_module54();
	transform_hlds__ctgc__structure_reuse__analysis_module55();
	transform_hlds__ctgc__structure_reuse__analysis_module56();
	transform_hlds__ctgc__structure_reuse__analysis_module57();
	transform_hlds__ctgc__structure_reuse__analysis_module58();
	transform_hlds__ctgc__structure_reuse__analysis_module59();
}

/* suppress gcc -Wmissing-decls warnings */
void mercury__transform_hlds__ctgc__structure_reuse__analysis__init(void);
void mercury__transform_hlds__ctgc__structure_reuse__analysis__init_type_tables(void);
void mercury__transform_hlds__ctgc__structure_reuse__analysis__init_debugger(void);
#ifdef MR_DEEP_PROFILING
void mercury__transform_hlds__ctgc__structure_reuse__analysis__write_out_proc_statics(FILE *deep_fp, FILE *procrep_fp);
#endif
#ifdef MR_RECORD_TERM_SIZES
void mercury__transform_hlds__ctgc__structure_reuse__analysis__init_complexity_procs(void);
#endif
#ifdef MR_THREADSCOPE
void mercury__transform_hlds__ctgc__structure_reuse__analysis__init_threadscope_string_table(void);
#endif

void mercury__transform_hlds__ctgc__structure_reuse__analysis__init(void)
{
	static MR_bool done = MR_FALSE;
	if (done) {
		return;
	}
	done = MR_TRUE;
	mercury__transform_hlds__ctgc__structure_reuse__analysis_maybe_bunch_0();
	mercury__transform_hlds__ctgc__structure_reuse__analysis_maybe_bunch_1();
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_should_write_for_0,
		transform_hlds__ctgc__structure_reuse__analysis__should_write_for_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_answer_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_call_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call_0_0);
	MR_INIT_TYPE_CTOR_INFO(
		mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_func_info_0,
		transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info_0_0);
#ifndef MR_STATIC_CODE_ADDRESSES
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__to_term__arity1__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__, 5) =
			MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__to_term_1_1_0);
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__to_term__arity1__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__, 6) =
			MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__from_term_2_2_0);
#endif /* MR_STATIC_CODE_ADDRESSES */
#ifndef MR_STATIC_CODE_ADDRESSES
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__to_term__arity1__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__, 5) =
			MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__to_term_1_1_0);
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__to_term__arity1__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__, 6) =
			MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__to_term____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__from_term_2_2_0);
#endif /* MR_STATIC_CODE_ADDRESSES */
#ifndef MR_STATIC_CODE_ADDRESSES
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__partial_order__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__, 5) =
			MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__more_precise_than_3_3_0);
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__partial_order__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__, 6) =
			MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__equivalent_3_3_0);
#endif /* MR_STATIC_CODE_ADDRESSES */
#ifndef MR_STATIC_CODE_ADDRESSES
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__partial_order__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__, 5) =
			MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__more_precise_than_3_3_0);
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__partial_order__arity2__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__, 6) =
			MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__partial_order____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0______analysis__equivalent_3_3_0);
#endif /* MR_STATIC_CODE_ADDRESSES */
#ifndef MR_STATIC_CODE_ADDRESSES
#endif /* MR_STATIC_CODE_ADDRESSES */
#ifndef MR_STATIC_CODE_ADDRESSES
#endif /* MR_STATIC_CODE_ADDRESSES */
#ifndef MR_STATIC_CODE_ADDRESSES
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__analysis__arity3__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__, 5) =
			MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_name_2_2_0);
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__analysis__arity3__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__, 6) =
			MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__analysis_version_number_2_2_0);
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__analysis__arity3__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__, 7) =
			MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__preferred_fixpoint_type_2_2_0);
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__analysis__arity3__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__, 8) =
			MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__bottom_2_2_0);
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__analysis__arity3__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__, 9) =
			MR_ENTRY_AP(fn__transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__top_2_2_0);
		MR_field(MR_mktag(0), mercury_data_base_typeclass_info_analysis__analysis__arity3__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0__, 10) =
			MR_ENTRY_AP(transform_hlds__ctgc__structure_reuse__analysis__ClassMethod_for_analysis__analysis____transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_func_info__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_call__arity0__transform_hlds__ctgc__structure_reuse__analysis__structure_reuse_answer__arity0______analysis__get_func_info_6_6_0);
#endif /* MR_STATIC_CODE_ADDRESSES */
	mercury__transform_hlds__ctgc__structure_reuse__analysis__init_debugger();
}

void mercury__transform_hlds__ctgc__structure_reuse__analysis__init_type_tables(void)
{
	static MR_bool done = MR_FALSE;
	if (done) {
		return;
	}
	done = MR_TRUE;
	{
		MR_register_type_ctor_info(
		&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_should_write_for_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_answer_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_call_0);
	}
	{
		MR_register_type_ctor_info(
		&mercury_data_transform_hlds__ctgc__structure_reuse__analysis__type_ctor_info_structure_reuse_func_info_0);
	}
}


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

#ifdef MR_DEEP_PROFILING

void mercury__transform_hlds__ctgc__structure_reuse__analysis__write_out_proc_statics(FILE *deep_fp, FILE *procrep_fp)
{
	MR_write_out_module_proc_reps_start(procrep_fp, &mercury_data__module_common_layout__transform_hlds__ctgc__structure_reuse__analysis);
	MR_write_out_module_proc_reps_end(procrep_fp);
}

#endif

#ifdef MR_RECORD_TERM_SIZES

void mercury__transform_hlds__ctgc__structure_reuse__analysis__init_complexity_procs(void)
{
}

#endif

#ifdef MR_THREADSCOPE

void mercury__transform_hlds__ctgc__structure_reuse__analysis__init_threadscope_string_table(void)
{
}

#endif

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