/*
** Automatically generated from `top_procs.m'
** by the Mercury compiler,
** version 14.01.1, configured for x86_64-apple-darwin13.3.0.
** Do not edit.
**
** The autoconfigured grade settings governing
** the generation of this C file were
**
** TAG_BITS=2
** UNBOXED_FLOAT=no
** PREGENERATED_DIST=yes
** HIGHLEVEL_CODE=yes
**
** END_OF_C_GRADE_INFO
*/


/* :- module top_procs. */
/* :- implementation. */

/*
INIT mercury__top_procs__init
ENDINIT
*/

#include "top_procs.mih"


#include "array.mih"
#include "assoc_list.mih"
#include "bimap.mih"
#include "bitmap.mih"
#include "bool.mih"
#include "builtin.mih"
#include "char.mih"
#include "construct.mih"
#include "deconstruct.mih"
#include "enum.mih"
#include "exclude.mih"
#include "float.mih"
#include "int.mih"
#include "io.mih"
#include "list.mih"
#include "map.mih"
#include "maybe.mih"
#include "mdbcomp.mih"
#include "measurement_units.mih"
#include "measurements.mih"
#include "ops.mih"
#include "pair.mih"
#include "pretty_printer.mih"
#include "private_builtin.mih"
#include "profile.mih"
#include "query.mih"
#include "random.mih"
#include "rtti_implementation.mih"
#include "set.mih"
#include "set_ordlist.mih"
#include "stream.mih"
#include "string.mih"
#include "term.mih"
#include "time.mih"
#include "tree234.mih"
#include "type_desc.mih"
#include "unit.mih"
#include "univ.mih"
#include "mdbcomp.feedback.mih"
#include "mdbcomp.goal_path.mih"
#include "mdbcomp.prim_data.mih"
#include "mdbcomp.program_representation.mih"
#include "mdbcomp.rtti_access.mih"
#include "mdbcomp.trace_counts.mih"
#include "mdbcomp.feedback.automatic_parallelism.mih"




#line 80 "top_procs.c"
static const MR_VA_PseudoTypeInfo_Struct2 top_procs____vpti_pred_2__plain_profile__type_ctor_info_deep_0__plain_builtin__type_ctor_info_int_0;

#line 83 "top_procs.c"
static const MR_VA_PseudoTypeInfo_Struct4 top_procs____vpti_func_4__plain_profile__type_ctor_info_deep_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_comparison_result_0;

#line 86 "top_procs.c"
static const MR_VA_PseudoTypeInfo_Struct3 top_procs____vpti_pred_3__plain_profile__type_ctor_info_deep_0__plain_builtin__type_ctor_info_float_0__plain_builtin__type_ctor_info_int_0;

#line 89 "top_procs.c"
static const MR_FA_PseudoTypeInfo_Struct2 top_procs__top_procs__pti_line_group_2__pseudo_1__pseudo_2;

#line 92 "top_procs.c"
static const MR_VA_PseudoTypeInfo_Struct3 top_procs____vpti_func_3__pseudo_top_procs__pti_line_group_2__pseudo_1__pseudo_2__pseudo_top_procs__pti_line_group_2__pseudo_1__pseudo_2__plain_builtin__type_ctor_info_comparison_result_0;

#line 95 "top_procs.c"
static const MR_VA_TypeInfo_Struct4 top_procs____vti_func_4profile__type_ctor_info_deep_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_comparison_result_0;

#line 98 "top_procs.c"
static const MR_PseudoTypeInfo top_procs__top_procs__field_types_line_group_2_0[7];

#line 101 "top_procs.c"
static const MR_ConstString top_procs__top_procs__field_names_line_group_2_0[7];

#line 104 "top_procs.c"
static const MR_DuFunctorDesc top_procs__top_procs__du_functor_desc_line_group_2_0;

#line 107 "top_procs.c"
static const MR_DuFunctorDescPtr top_procs__top_procs__du_stag_ordered_line_group_2_0[1];

#line 110 "top_procs.c"
static const MR_DuPtagLayout top_procs__top_procs__du_ptag_ordered_line_group_2[1];

#line 113 "top_procs.c"
static const MR_DuFunctorDescPtr top_procs__top_procs__du_name_ordered_line_group_2[1];

#line 116 "top_procs.c"
static const MR_Integer top_procs__top_procs__functor_number_map_line_group_2[1];

#line 119 "top_procs.c"
static MR_bool MR_CALL 
top_procs____Unify____compare_line_groups_func_2_0_10001(
#line 122 "top_procs.c"
  MR_Box top_procs__wrapper_arg_1,
#line 124 "top_procs.c"
  MR_Box top_procs__wrapper_arg_2,
#line 126 "top_procs.c"
  MR_Box top_procs__wrapper_arg_3,
#line 128 "top_procs.c"
  MR_Box top_procs__wrapper_arg_4);

#line 131 "top_procs.c"
static void MR_CALL 
top_procs____Compare____compare_line_groups_func_2_0_10001(
#line 134 "top_procs.c"
  MR_Box top_procs__wrapper_arg_1,
#line 136 "top_procs.c"
  MR_Box top_procs__wrapper_arg_2,
#line 138 "top_procs.c"
  MR_Box * top_procs__wrapper_arg_3,
#line 140 "top_procs.c"
  MR_Box top_procs__wrapper_arg_4,
#line 142 "top_procs.c"
  MR_Box top_procs__wrapper_arg_5);

#line 145 "top_procs.c"
static MR_bool MR_CALL 
top_procs____Unify____compare_proc_statics_0_0_10001(
#line 148 "top_procs.c"
  MR_Box top_procs__wrapper_arg_1,
#line 150 "top_procs.c"
  MR_Box top_procs__wrapper_arg_2);

#line 153 "top_procs.c"
static void MR_CALL 
top_procs____Compare____compare_proc_statics_0_0_10001(
#line 156 "top_procs.c"
  MR_Box * top_procs__wrapper_arg_1,
#line 158 "top_procs.c"
  MR_Box top_procs__wrapper_arg_2,
#line 160 "top_procs.c"
  MR_Box top_procs__wrapper_arg_3);

#line 163 "top_procs.c"
static MR_bool MR_CALL 
top_procs____Unify____line_group_2_0_10001(
#line 166 "top_procs.c"
  MR_Box top_procs__wrapper_arg_1,
#line 168 "top_procs.c"
  MR_Box top_procs__wrapper_arg_2,
#line 170 "top_procs.c"
  MR_Box top_procs__wrapper_arg_3,
#line 172 "top_procs.c"
  MR_Box top_procs__wrapper_arg_4);

#line 175 "top_procs.c"
static void MR_CALL 
top_procs____Compare____line_group_2_0_10001(
#line 178 "top_procs.c"
  MR_Box top_procs__wrapper_arg_1,
#line 180 "top_procs.c"
  MR_Box top_procs__wrapper_arg_2,
#line 182 "top_procs.c"
  MR_Box * top_procs__wrapper_arg_3,
#line 184 "top_procs.c"
  MR_Box top_procs__wrapper_arg_4,
#line 186 "top_procs.c"
  MR_Box top_procs__wrapper_arg_5);

#line 982 "top_procs.m"
static void MR_CALL 
top_procs__f_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_67_111_109_112_97_114_101_95_95_95_116_111_112_95_112_114_111_99_115_95_95_99_111_109_112_97_114_101_95_108_105_110_101_95_103_114_111_117_112_115_95_102_117_110_99_95_50_95_95_91_49_44_32_50_93_95_48_3_p_0(
#line 982 "top_procs.m"
  MR_Word * top_procs__HeadVar__1_1,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__3_3);

#line 982 "top_procs.m"
static MR_bool MR_CALL 
top_procs__f_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_85_110_105_102_121_95_95_95_116_111_112_95_112_114_111_99_115_95_95_99_111_109_112_97_114_101_95_108_105_110_101_95_103_114_111_117_112_115_95_102_117_110_99_95_50_95_95_91_49_44_32_50_93_95_48_2_p_0(
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__1_1,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2);

#line 121 "top_procs.m"
static MR_bool MR_CALL 
top_procs__IntroducedFrom__pred__find_top_procs__121__1_4_p_0(
#line 121 "top_procs.m"
  MR_Word top_procs__Deep_11,
#line 121 "top_procs.m"
  MR_Float top_procs__Threshold_69,
#line 121 "top_procs.m"
  MR_Word top_procs__RawThresholdPred_71,
#line 121 "top_procs.m"
  MR_Integer top_procs__HeadVar__4_45);

#line 106 "top_procs.m"
static MR_bool MR_CALL 
top_procs__IntroducedFrom__pred__find_top_procs__106__1_4_p_0(
#line 106 "top_procs.m"
  MR_Word top_procs__Deep_11,
#line 106 "top_procs.m"
  MR_Float top_procs__Threshold_31,
#line 106 "top_procs.m"
  MR_Word top_procs__RawThresholdPred_33,
#line 106 "top_procs.m"
  MR_Integer top_procs__HeadVar__4_47);

#line 84 "top_procs.m"
static void MR_CALL 
top_procs__IntroducedFrom__pred__find_top_procs__84__1_5_p_0(
#line 84 "top_procs.m"
  MR_Word top_procs__Deep_11,
#line 84 "top_procs.m"
  MR_Word top_procs__RawSortFunc_14,
#line 84 "top_procs.m"
  MR_Integer top_procs__HeadVar__3_42,
#line 84 "top_procs.m"
  MR_Integer top_procs__HeadVar__4_43,
#line 84 "top_procs.m"
  MR_Word * top_procs__HeadVar__5_44);

#line 131 "top_procs.m"
static void MR_CALL 
top_procs____Compare____compare_proc_statics_0_0(
#line 131 "top_procs.m"
  MR_Word * top_procs__HeadVar__1_1,
#line 131 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2,
#line 131 "top_procs.m"
  MR_Word top_procs__HeadVar__3_3);

#line 131 "top_procs.m"
static MR_bool MR_CALL 
top_procs____Unify____compare_proc_statics_0_0(
#line 131 "top_procs.m"
  MR_Word top_procs__HeadVar__1_1,
#line 131 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2);

#line 982 "top_procs.m"
static void MR_CALL 
top_procs____Compare____compare_line_groups_func_2_0(
#line 982 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_6,
#line 982 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_7,
#line 982 "top_procs.m"
  MR_Word * top_procs__HeadVar__1_1,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__3_3);

#line 982 "top_procs.m"
static MR_bool MR_CALL 
top_procs____Unify____compare_line_groups_func_2_0(
#line 982 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_5,
#line 982 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_6,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__1_1,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2);

#line 1283 "top_procs.m"
static void MR_CALL 
top_procs__accumulate_line_group_measurements_5_p_0(
#line 1283 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_25,
#line 1283 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_26,
#line 1283 "top_procs.m"
  MR_Word top_procs__LineGroup_6,
#line 1283 "top_procs.m"
  MR_Word top_procs__Own0_7,
#line 1283 "top_procs.m"
  MR_Word * top_procs__Own_8,
#line 1283 "top_procs.m"
  MR_Word top_procs__Desc0_9,
#line 1283 "top_procs.m"
  MR_Word * top_procs__Desc_10);

#line 1257 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_words_total_percall_2_f_0(
#line 1257 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_63,
#line 1257 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_64,
#line 1257 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1257 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1249 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_words_total_overall_2_f_0(
#line 1249 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_41,
#line 1249 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_42,
#line 1249 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1249 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1229 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_words_self_percall_2_f_0(
#line 1229 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_45,
#line 1229 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_46,
#line 1229 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1229 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1221 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_words_self_overall_2_f_0(
#line 1221 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_23,
#line 1221 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_24,
#line 1221 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1221 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1201 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_allocs_total_percall_2_f_0(
#line 1201 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_63,
#line 1201 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_64,
#line 1201 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1201 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1193 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_allocs_total_overall_2_f_0(
#line 1193 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_41,
#line 1193 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_42,
#line 1193 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1193 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1173 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_allocs_self_percall_2_f_0(
#line 1173 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_45,
#line 1173 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_46,
#line 1173 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1173 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1165 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_allocs_self_overall_2_f_0(
#line 1165 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_23,
#line 1165 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_24,
#line 1165 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1165 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1143 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_callseqs_total_percall_2_f_0(
#line 1143 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_63,
#line 1143 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_64,
#line 1143 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1143 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1133 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_callseqs_total_overall_2_f_0(
#line 1133 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_41,
#line 1133 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_42,
#line 1133 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1133 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1113 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_callseqs_self_percall_2_f_0(
#line 1113 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_45,
#line 1113 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_46,
#line 1113 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1113 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1105 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_callseqs_self_overall_2_f_0(
#line 1105 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_23,
#line 1105 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_24,
#line 1105 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1105 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1085 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_time_total_percall_2_f_0(
#line 1085 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_63,
#line 1085 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_64,
#line 1085 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1085 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1077 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_time_total_overall_2_f_0(
#line 1077 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_41,
#line 1077 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_42,
#line 1077 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1077 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1057 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_time_self_percall_2_f_0(
#line 1057 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_45,
#line 1057 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_46,
#line 1057 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1057 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1049 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_time_self_overall_2_f_0(
#line 1049 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_23,
#line 1049 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_24,
#line 1049 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1049 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1041 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_redos_2_f_0(
#line 1041 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_23,
#line 1041 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_24,
#line 1041 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1041 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1033 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_calls_2_f_0(
#line 1033 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_23,
#line 1033 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_24,
#line 1033 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1033 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1027 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_name_2_f_0(
#line 1027 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_21,
#line 1027 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_22,
#line 1027 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1027 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 1011 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_context_2_f_0(
#line 1011 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_36,
#line 1011 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_37,
#line 1011 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1011 "top_procs.m"
  MR_Word top_procs__Group2_5);

#line 985 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_groups_fallback_3_f_0(
#line 985 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_11,
#line 985 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_12,
#line 985 "top_procs.m"
  MR_Word top_procs__MainFunc_5,
#line 985 "top_procs.m"
  MR_Word top_procs__Group1_6,
#line 985 "top_procs.m"
  MR_Word top_procs__Group2_7);

#line 860 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_words_both_3_p_0(
#line 860 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 860 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 860 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 846 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_words_self_3_p_0(
#line 846 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 846 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 846 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 828 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_allocs_both_3_p_0(
#line 828 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 828 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 828 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 814 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_allocs_self_3_p_0(
#line 814 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 814 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 814 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 796 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_callseqs_both_3_p_0(
#line 796 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 796 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 796 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 782 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_callseqs_self_3_p_0(
#line 782 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 782 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 782 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 764 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_time_both_3_p_0(
#line 764 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 764 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 764 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 750 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_time_self_3_p_0(
#line 750 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 750 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 750 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 736 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_words_both_3_p_0(
#line 736 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 736 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 736 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 727 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_words_self_3_p_0(
#line 727 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 727 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 727 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 714 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_allocs_both_3_p_0(
#line 714 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 714 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 714 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 705 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_allocs_self_3_p_0(
#line 705 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 705 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 705 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 692 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_callseqs_both_3_p_0(
#line 692 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 692 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 692 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 683 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_callseqs_self_3_p_0(
#line 683 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 683 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 683 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 671 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_time_both_3_p_0(
#line 671 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 671 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 671 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 663 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_time_self_3_p_0(
#line 663 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 663 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 663 "top_procs.m"
  MR_Integer top_procs__PSI_6);

#line 649 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_words_both_2_p_0(
#line 649 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 649 "top_procs.m"
  MR_Integer top_procs__PSI1_4);

#line 641 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_words_self_2_p_0(
#line 641 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 641 "top_procs.m"
  MR_Integer top_procs__PSI1_4);

#line 629 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_allocs_both_2_p_0(
#line 629 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 629 "top_procs.m"
  MR_Integer top_procs__PSI1_4);

#line 621 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_allocs_self_2_p_0(
#line 621 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 621 "top_procs.m"
  MR_Integer top_procs__PSI1_4);

#line 609 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_callseqs_both_2_p_0(
#line 609 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 609 "top_procs.m"
  MR_Integer top_procs__PSI1_4);

#line 601 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_callseqs_self_2_p_0(
#line 601 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 601 "top_procs.m"
  MR_Integer top_procs__PSI1_4);

#line 589 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_time_both_2_p_0(
#line 589 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 589 "top_procs.m"
  MR_Integer top_procs__PSI1_4);

#line 581 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_time_self_2_p_0(
#line 581 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 581 "top_procs.m"
  MR_Integer top_procs__PSI1_4);

#line 573 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_redos_self_2_p_0(
#line 573 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 573 "top_procs.m"
  MR_Integer top_procs__PSI1_4);

#line 565 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_calls_self_2_p_0(
#line 565 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 565 "top_procs.m"
  MR_Integer top_procs__PSI1_4);

#line 542 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_words_both_percall_3_f_0(
#line 542 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 542 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 542 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 525 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_words_both_overall_3_f_0(
#line 525 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 525 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 525 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 511 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_words_self_percall_3_f_0(
#line 511 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 511 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 511 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 501 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_words_self_overall_3_f_0(
#line 501 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 501 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 501 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 480 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_allocs_both_percall_3_f_0(
#line 480 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 480 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 480 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 463 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_allocs_both_overall_3_f_0(
#line 463 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 463 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 463 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 449 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_allocs_self_percall_3_f_0(
#line 449 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 449 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 449 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 439 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_allocs_self_overall_3_f_0(
#line 439 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 439 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 439 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 418 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_callseqs_both_percall_3_f_0(
#line 418 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 418 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 418 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 401 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_callseqs_both_overall_3_f_0(
#line 401 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 401 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 401 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 387 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_callseqs_self_percall_3_f_0(
#line 387 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 387 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 387 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 377 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_callseqs_self_overall_3_f_0(
#line 377 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 377 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 377 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 356 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_time_both_percall_3_f_0(
#line 356 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 356 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 356 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 339 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_time_both_overall_3_f_0(
#line 339 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 339 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 339 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 325 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_time_self_percall_3_f_0(
#line 325 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 325 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 325 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 315 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_time_self_overall_3_f_0(
#line 315 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 315 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 315 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 305 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_redos_self_overall_3_f_0(
#line 305 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 305 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 305 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 295 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_calls_self_overall_3_f_0(
#line 295 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 295 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 295 "top_procs.m"
  MR_Integer top_procs__PSI2_7);

#line 290 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_12(
#line 290 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 290 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 290 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 290 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 288 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_11(
#line 288 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 288 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 288 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 288 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 275 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_10(
#line 275 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 275 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 275 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 275 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 273 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_9(
#line 273 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 273 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 273 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 273 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 270 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_8(
#line 270 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 270 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 270 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 270 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 268 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_7(
#line 268 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 268 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 268 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 268 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 280 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_6(
#line 280 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 280 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 280 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 280 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 278 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_5(
#line 278 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 278 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 278 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 278 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 265 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_4(
#line 265 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 265 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 265 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 265 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 263 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_3(
#line 263 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 263 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 263 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 263 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 285 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_2(
#line 285 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 285 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 285 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 285 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 283 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_1(
#line 283 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 283 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 283 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 283 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 259 "top_procs.m"
static void MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0(
#line 259 "top_procs.m"
  MR_Word top_procs__HeadVar__1_1,
#line 259 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2,
#line 259 "top_procs.m"
  MR_Word * top_procs__HeadVar__3_3,
#line 259 "top_procs.m"
  MR_Word * top_procs__HeadVar__4_4);

#line 256 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_12(
#line 256 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 256 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 256 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 256 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 254 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_11(
#line 254 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 254 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 254 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 254 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 241 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_10(
#line 241 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 241 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 241 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 241 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 239 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_9(
#line 239 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 239 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 239 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 239 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 236 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_8(
#line 236 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 236 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 236 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 236 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 234 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_7(
#line 234 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 234 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 234 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 234 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 246 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_6(
#line 246 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 246 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 246 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 246 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 244 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_5(
#line 244 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 244 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 244 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 244 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 231 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_4(
#line 231 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 231 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 231 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 231 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 229 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_3(
#line 229 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 229 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 229 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 229 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 251 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_2(
#line 251 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 251 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 251 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 251 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 249 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_1(
#line 249 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 249 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 249 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 249 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 225 "top_procs.m"
static void MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0(
#line 225 "top_procs.m"
  MR_Word top_procs__HeadVar__1_1,
#line 225 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2,
#line 225 "top_procs.m"
  MR_Word * top_procs__HeadVar__3_3,
#line 225 "top_procs.m"
  MR_Word * top_procs__HeadVar__4_4);

#line 222 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_48(
#line 222 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 222 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 222 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 222 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_47(
#line 222 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 222 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 222 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 222 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 220 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_46(
#line 220 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 220 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 220 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 220 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_45(
#line 220 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 220 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 220 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 220 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 218 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_44(
#line 218 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 218 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 218 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 218 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_43(
#line 218 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 218 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 218 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 218 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 216 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_42(
#line 216 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 216 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 216 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 216 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_41(
#line 216 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 216 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 216 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 216 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 195 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_40(
#line 195 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 195 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 195 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 195 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_39(
#line 195 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 195 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 195 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 195 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 193 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_38(
#line 193 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 193 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 193 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 193 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_37(
#line 193 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 193 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 193 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 193 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 191 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_36(
#line 191 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 191 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 191 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 191 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_35(
#line 191 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 191 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 191 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 191 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 189 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_34(
#line 189 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 189 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 189 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 189 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_33(
#line 189 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 189 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 189 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 189 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 186 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_32(
#line 186 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 186 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 186 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 186 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_31(
#line 186 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 186 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 186 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 186 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 184 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_30(
#line 184 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 184 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 184 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 184 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_29(
#line 184 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 184 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 184 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 184 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 182 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_28(
#line 182 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 182 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 182 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 182 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_27(
#line 182 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 182 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 182 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 182 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 180 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_26(
#line 180 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 180 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 180 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 180 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_25(
#line 180 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 180 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 180 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 180 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 204 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_24(
#line 204 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 204 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 204 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 204 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_23(
#line 204 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 204 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 204 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 204 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 202 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_22(
#line 202 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 202 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 202 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 202 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_21(
#line 202 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 202 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 202 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 202 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 200 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_20(
#line 200 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 200 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 200 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 200 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_19(
#line 200 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 200 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 200 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 200 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 198 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_18(
#line 198 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 198 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 198 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 198 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_17(
#line 198 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 198 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 198 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 198 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 177 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_16(
#line 177 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 177 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 177 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 177 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_15(
#line 177 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 177 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 177 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 177 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 175 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_14(
#line 175 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 175 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 175 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 175 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_13(
#line 175 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 175 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 175 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 175 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 173 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_12(
#line 173 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 173 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 173 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 173 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_11(
#line 173 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 173 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 173 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 173 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 171 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_10(
#line 171 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 171 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 171 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 171 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_9(
#line 171 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 171 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 171 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 171 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 213 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_8(
#line 213 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 213 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 213 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 213 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_7(
#line 213 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 213 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 213 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 213 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 211 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_6(
#line 211 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 211 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 211 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 211 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_5(
#line 211 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 211 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 211 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 211 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 209 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_4(
#line 209 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 209 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 209 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 209 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_3(
#line 209 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 209 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 209 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 209 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 207 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_2(
#line 207 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 207 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 207 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 207 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_1(
#line 207 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 207 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 207 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 207 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3);

#line 166 "top_procs.m"
static void MR_CALL 
top_procs__find_top_sort_predicate_6_p_0(
#line 166 "top_procs.m"
  MR_Word top_procs__HeadVar__1_1,
#line 166 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2,
#line 166 "top_procs.m"
  MR_Word top_procs__HeadVar__3_3,
#line 166 "top_procs.m"
  MR_Word * top_procs__HeadVar__4_4,
#line 166 "top_procs.m"
  MR_Word * top_procs__HeadVar__5_5,
#line 166 "top_procs.m"
  MR_Word * top_procs__HeadVar__6_6);

#line 159 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_top_procs_4_p_0(
#line 159 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 159 "top_procs.m"
  MR_Integer top_procs__RootPSI_6,
#line 159 "top_procs.m"
  MR_Word top_procs__FilterPred_7,
#line 159 "top_procs.m"
  MR_Integer top_procs__PSI_8);

#line 133 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_procs_fallback_4_f_0(
#line 133 "top_procs.m"
  MR_Word top_procs__MainFunc_6,
#line 133 "top_procs.m"
  MR_Word top_procs__Deep_7,
#line 133 "top_procs.m"
  MR_Integer top_procs__PSI1_8,
#line 133 "top_procs.m"
  MR_Integer top_procs__PSI2_9);

#line 1280 "top_procs.m"
static void MR_CALL 
top_procs__sum_line_group_measurements_3_p_0_1(
#line 1280 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 1280 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 1280 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 1280 "top_procs.m"
  MR_Box * top_procs__wrapper_arg_3,
#line 1280 "top_procs.m"
  MR_Box top_procs__wrapper_arg_4,
#line 1280 "top_procs.m"
  MR_Box * top_procs__wrapper_arg_5);

#line 980 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_21(
#line 980 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 980 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 980 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 977 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_20(
#line 977 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 977 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 977 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 972 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_19(
#line 972 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 972 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 972 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 967 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_18(
#line 967 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 967 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 967 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 962 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_17(
#line 962 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 962 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 962 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 917 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_16(
#line 917 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 917 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 917 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 912 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_15(
#line 912 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 912 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 912 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 907 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_14(
#line 907 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 907 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 907 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 902 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_13(
#line 902 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 902 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 902 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 897 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_12(
#line 897 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 897 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 897 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 937 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_11(
#line 937 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 937 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 937 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 932 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_10(
#line 932 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 932 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 932 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 927 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_9(
#line 927 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 927 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 927 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 922 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_8(
#line 922 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 922 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 922 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 894 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_7(
#line 894 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 894 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 894 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 957 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_6(
#line 957 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 957 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 957 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 952 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_5(
#line 952 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 952 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 952 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 947 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_4(
#line 947 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 947 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 947 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 942 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_3(
#line 942 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 942 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 942 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 886 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_2(
#line 886 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 886 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 886 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 883 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_1(
#line 883 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 883 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 883 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2);

#line 120 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_procs_5_f_0_4(
#line 120 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 120 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1);

#line 105 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_procs_5_f_0_3(
#line 105 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 105 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1);

#line 83 "top_procs.m"
static void MR_CALL 
top_procs__find_top_procs_5_f_0_2(
#line 83 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 83 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 83 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 83 "top_procs.m"
  MR_Box * top_procs__wrapper_arg_3);

#line 82 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_procs_5_f_0_1(
#line 82 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 82 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1);


static /* final */ const MR_Box top_procs_scalar_common_1[2][6];

static /* final */ const MR_Box top_procs_scalar_common_2[3][1];

static /* final */ const MR_Box top_procs_scalar_common_3[3][7];

static /* final */ const MR_Box top_procs_scalar_common_4[2][8];

static /* final */ const MR_Integer top_procs_scalar_common_5[1][3];

static /* final */ const MR_Box top_procs_scalar_common_6[1][9];

static /* final */ const MR_Box top_procs_scalar_common_7[1][10];

static /* final */ const MR_Box top_procs_scalar_common_8[72][3];

static /* final */ const MR_Box top_procs_scalar_common_9[1][5];




static /* final */ const MR_Box top_procs_scalar_common_1[2][6] = {
  /* row 0 */
  {
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_func_0)),
    ((MR_Box) ((MR_Integer) 4)),
    ((MR_Box) (&profile__profile__type_ctor_info_deep_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_int_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_int_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_comparison_result_0))
  },
  /* row 1 */
  {
    NULL,
    ((MR_Box) (NULL)),
    ((MR_Box) (MR_Word) ((MR_Integer) 3)),
    ((MR_Box) (&profile__profile__type_ctor_info_deep_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_float_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_int_0))
  },
};

static /* final */ const MR_Box top_procs_scalar_common_2[3][1] = {
  /* row 0 */
  {
    ((MR_Box) ((MR_String) "bad sort specification"))
  },
  /* row 1 */
  {
    ((MR_Box) (MR_mkword(MR_mktag(0), MR_mkbody((MR_Integer) 0))))
  },
  /* row 2 */
  {
    ((MR_Box) ((MR_String) "bad threshold specification"))
  },
};

static /* final */ const MR_Box top_procs_scalar_common_3[3][7] = {
  /* row 0 */
  {
    NULL,
    ((MR_Box) (NULL)),
    ((MR_Box) (MR_Word) ((MR_Integer) 4)),
    ((MR_Box) (&profile__profile__type_ctor_info_deep_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_int_0)),
    ((MR_Box) (&top_procs____vpti_pred_2__plain_profile__type_ctor_info_deep_0__plain_builtin__type_ctor_info_int_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_int_0))
  },
  /* row 1 */
  {
    NULL,
    ((MR_Box) (NULL)),
    ((MR_Box) (MR_Word) ((MR_Integer) 4)),
    ((MR_Box) (&profile__profile__type_ctor_info_deep_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_float_0)),
    ((MR_Box) (&top_procs____vpti_pred_3__plain_profile__type_ctor_info_deep_0__plain_builtin__type_ctor_info_float_0__plain_builtin__type_ctor_info_int_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_int_0))
  },
  /* row 2 */
  {
    NULL,
    ((MR_Box) (NULL)),
    ((MR_Box) (MR_Word) ((MR_Integer) 4)),
    ((MR_Box) (&profile__profile__type_ctor_info_deep_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_int_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_int_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_comparison_result_0))
  },
};

static /* final */ const MR_Box top_procs_scalar_common_4[2][8] = {
  /* row 0 */
  {
    NULL,
    ((MR_Box) (NULL)),
    ((MR_Box) (MR_Word) ((MR_Integer) 5)),
    ((MR_Box) (&profile__profile__type_ctor_info_deep_0)),
    ((MR_Box) (&top_procs____vpti_func_4__plain_profile__type_ctor_info_deep_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_comparison_result_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_int_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_int_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_comparison_result_0))
  },
  /* row 1 */
  {
    NULL,
    ((MR_Box) (&top_procs_scalar_common_5[0])),
    ((MR_Box) (MR_Word) ((MR_Integer) 5)),
    ((MR_Box) (&mercury__private_builtin__private_builtin__type_ctor_info_type_info_0)),
    ((MR_Box) (&mercury__private_builtin__private_builtin__type_ctor_info_type_info_0)),
    ((MR_Box) (&top_procs__top_procs__pti_line_group_2__pseudo_1__pseudo_2)),
    ((MR_Box) (&top_procs__top_procs__pti_line_group_2__pseudo_1__pseudo_2)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_comparison_result_0))
  },
};

static /* final */ const MR_Integer top_procs_scalar_common_5[1][3] = {
  /* row 0 */
  {
    (MR_Integer) 2,
    (MR_Integer) 33,
    (MR_Integer) 65
  },
};

static /* final */ const MR_Box top_procs_scalar_common_6[1][9] = {
  /* row 0 */
  {
    NULL,
    ((MR_Box) (&top_procs_scalar_common_5[0])),
    ((MR_Box) (MR_Word) ((MR_Integer) 6)),
    ((MR_Box) (&mercury__private_builtin__private_builtin__type_ctor_info_type_info_0)),
    ((MR_Box) (&mercury__private_builtin__private_builtin__type_ctor_info_type_info_0)),
    ((MR_Box) (&top_procs____vpti_func_3__pseudo_top_procs__pti_line_group_2__pseudo_1__pseudo_2__pseudo_top_procs__pti_line_group_2__pseudo_1__pseudo_2__plain_builtin__type_ctor_info_comparison_result_0)),
    ((MR_Box) (&top_procs__top_procs__pti_line_group_2__pseudo_1__pseudo_2)),
    ((MR_Box) (&top_procs__top_procs__pti_line_group_2__pseudo_1__pseudo_2)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_comparison_result_0))
  },
};

static /* final */ const MR_Box top_procs_scalar_common_7[1][10] = {
  /* row 0 */
  {
    NULL,
    ((MR_Box) (&top_procs_scalar_common_5[0])),
    ((MR_Box) (MR_Word) ((MR_Integer) 7)),
    ((MR_Box) (&mercury__private_builtin__private_builtin__type_ctor_info_type_info_0)),
    ((MR_Box) (&mercury__private_builtin__private_builtin__type_ctor_info_type_info_0)),
    ((MR_Box) (&top_procs__top_procs__pti_line_group_2__pseudo_1__pseudo_2)),
    ((MR_Box) (&measurements__measurements__type_ctor_info_own_prof_info_0)),
    ((MR_Box) (&measurements__measurements__type_ctor_info_own_prof_info_0)),
    ((MR_Box) (&measurements__measurements__type_ctor_info_inherit_prof_info_0)),
    ((MR_Box) (&measurements__measurements__type_ctor_info_inherit_prof_info_0))
  },
};

static /* final */ const MR_Box top_procs_scalar_common_8[72][3] = {
  /* row 0 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_1)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 1 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_2)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 2 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_3)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 3 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_4)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 4 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_5)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 5 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_6)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 6 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_7)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 7 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_8)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 8 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_9)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 9 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_10)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 10 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_11)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 11 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_12)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 12 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_13)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 13 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_14)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 14 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_15)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 15 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_16)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 16 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_17)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 17 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_18)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 18 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_19)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 19 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_20)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 20 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_21)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 21 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_22)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 22 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_23)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 23 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_24)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 24 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_25)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 25 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_26)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 26 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_27)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 27 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_28)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 28 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_29)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 29 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_30)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 30 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_31)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 31 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_32)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 32 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_33)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 33 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_34)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 34 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_35)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 35 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_36)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 36 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_37)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 37 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_38)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 38 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_39)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 39 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_40)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 40 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_41)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 41 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_42)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 42 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_43)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 43 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_44)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 44 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_45)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 45 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_46)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 46 */
  {
    ((MR_Box) (&top_procs_scalar_common_3[2])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_47)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 47 */
  {
    ((MR_Box) (&top_procs_scalar_common_9[0])),
    ((MR_Box) (top_procs__find_top_sort_predicate_6_p_0_48)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 48 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_percent_predicate_4_p_0_1)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 49 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_percent_predicate_4_p_0_2)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 50 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_percent_predicate_4_p_0_3)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 51 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_percent_predicate_4_p_0_4)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 52 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_percent_predicate_4_p_0_5)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 53 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_percent_predicate_4_p_0_6)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 54 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_percent_predicate_4_p_0_7)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 55 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_percent_predicate_4_p_0_8)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 56 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_percent_predicate_4_p_0_9)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 57 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_percent_predicate_4_p_0_10)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 58 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_percent_predicate_4_p_0_11)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 59 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_percent_predicate_4_p_0_12)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 60 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_value_predicate_4_p_0_1)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 61 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_value_predicate_4_p_0_2)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 62 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_value_predicate_4_p_0_3)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 63 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_value_predicate_4_p_0_4)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 64 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_value_predicate_4_p_0_5)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 65 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_value_predicate_4_p_0_6)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 66 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_value_predicate_4_p_0_7)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 67 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_value_predicate_4_p_0_8)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 68 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_value_predicate_4_p_0_9)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 69 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_value_predicate_4_p_0_10)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 70 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_value_predicate_4_p_0_11)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
  /* row 71 */
  {
    ((MR_Box) (&top_procs_scalar_common_1[1])),
    ((MR_Box) (top_procs__find_threshold_value_predicate_4_p_0_12)),
    ((MR_Box) (MR_Word) ((MR_Integer) 0))
  },
};

static /* final */ const MR_Box top_procs_scalar_common_9[1][5] = {
  /* row 0 */
  {
    NULL,
    ((MR_Box) (NULL)),
    ((MR_Box) (MR_Word) ((MR_Integer) 2)),
    ((MR_Box) (&profile__profile__type_ctor_info_deep_0)),
    ((MR_Box) (&mercury__builtin__builtin__type_ctor_info_int_0))
  },
};



#include "profile.mh"
#include "profile.mh"
#include "array.mh"
#include "array.mh"
#include "io.mh"
#include "io.mh"
#include "time.mh"
#include "string.mh"
#include "mdbcomp.rtti_access.mh"
#include "mdbcomp.rtti_access.mh"
#include "bitmap.mh"
#include "bitmap.mh"
#include "time.mh"
#include "time.mh"



#line 2744 "top_procs.c"
static const MR_VA_PseudoTypeInfo_Struct2 top_procs____vpti_pred_2__plain_profile__type_ctor_info_deep_0__plain_builtin__type_ctor_info_int_0 = {
  &mercury__builtin__builtin__type_ctor_info_pred_0,
  (MR_Integer) 2,
  {
    (MR_PseudoTypeInfo) &profile__profile__type_ctor_info_deep_0,
    (MR_PseudoTypeInfo) &mercury__builtin__builtin__type_ctor_info_int_0
  }
};

#line 2754 "top_procs.c"
static const MR_VA_PseudoTypeInfo_Struct4 top_procs____vpti_func_4__plain_profile__type_ctor_info_deep_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_comparison_result_0 = {
  &mercury__builtin__builtin__type_ctor_info_func_0,
  (MR_Integer) 4,
  {
    (MR_PseudoTypeInfo) &profile__profile__type_ctor_info_deep_0,
    (MR_PseudoTypeInfo) &mercury__builtin__builtin__type_ctor_info_int_0,
    (MR_PseudoTypeInfo) &mercury__builtin__builtin__type_ctor_info_int_0,
    (MR_PseudoTypeInfo) &mercury__builtin__builtin__type_ctor_info_comparison_result_0
  }
};

#line 2766 "top_procs.c"
static const MR_VA_PseudoTypeInfo_Struct3 top_procs____vpti_pred_3__plain_profile__type_ctor_info_deep_0__plain_builtin__type_ctor_info_float_0__plain_builtin__type_ctor_info_int_0 = {
  &mercury__builtin__builtin__type_ctor_info_pred_0,
  (MR_Integer) 3,
  {
    (MR_PseudoTypeInfo) &profile__profile__type_ctor_info_deep_0,
    (MR_PseudoTypeInfo) &mercury__builtin__builtin__type_ctor_info_float_0,
    (MR_PseudoTypeInfo) &mercury__builtin__builtin__type_ctor_info_int_0
  }
};

#line 2777 "top_procs.c"
static const MR_FA_PseudoTypeInfo_Struct2 top_procs__top_procs__pti_line_group_2__pseudo_1__pseudo_2 = {
  &top_procs__top_procs__type_ctor_info_line_group_2,
  {
    (MR_PseudoTypeInfo) (MR_Integer) 1,
    (MR_PseudoTypeInfo) (MR_Integer) 2
  }
};

#line 2786 "top_procs.c"
static const MR_VA_PseudoTypeInfo_Struct3 top_procs____vpti_func_3__pseudo_top_procs__pti_line_group_2__pseudo_1__pseudo_2__pseudo_top_procs__pti_line_group_2__pseudo_1__pseudo_2__plain_builtin__type_ctor_info_comparison_result_0 = {
  &mercury__builtin__builtin__type_ctor_info_func_0,
  (MR_Integer) 3,
  {
    (MR_PseudoTypeInfo) &top_procs__top_procs__pti_line_group_2__pseudo_1__pseudo_2,
    (MR_PseudoTypeInfo) &top_procs__top_procs__pti_line_group_2__pseudo_1__pseudo_2,
    (MR_PseudoTypeInfo) &mercury__builtin__builtin__type_ctor_info_comparison_result_0
  }
};

#line 2797 "top_procs.c"
const MR_TypeCtorInfo_Struct top_procs__top_procs__type_ctor_info_compare_line_groups_func_2 = {
  (MR_Integer) 2,
  (MR_Integer) 15,
  (MR_Integer) -1,
  mercury__private_builtin__MR_TYPECTOR_REP_EQUIV,
  ((MR_Box) (top_procs____Unify____compare_line_groups_func_2_0_10001)),
  ((MR_Box) (top_procs____Compare____compare_line_groups_func_2_0_10001)),
  (MR_String) "top_procs",
  (MR_String) "compare_line_groups_func",
  {
    NULL
  },
  {
    (MR_PseudoTypeInfo) &top_procs____vpti_func_3__pseudo_top_procs__pti_line_group_2__pseudo_1__pseudo_2__pseudo_top_procs__pti_line_group_2__pseudo_1__pseudo_2__plain_builtin__type_ctor_info_comparison_result_0
  },
  (MR_Integer) -1,
  (MR_Integer) 0,
  NULL
};

#line 2818 "top_procs.c"
static const MR_VA_TypeInfo_Struct4 top_procs____vti_func_4profile__type_ctor_info_deep_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_comparison_result_0 = {
  &mercury__builtin__builtin__type_ctor_info_func_0,
  (MR_Integer) 4,
  {
    (MR_TypeInfo) &profile__profile__type_ctor_info_deep_0,
    (MR_TypeInfo) &mercury__builtin__builtin__type_ctor_info_int_0,
    (MR_TypeInfo) &mercury__builtin__builtin__type_ctor_info_int_0,
    (MR_TypeInfo) &mercury__builtin__builtin__type_ctor_info_comparison_result_0
  }
};

#line 2830 "top_procs.c"
const MR_TypeCtorInfo_Struct top_procs__top_procs__type_ctor_info_compare_proc_statics_0 = {
  (MR_Integer) 0,
  (MR_Integer) 15,
  (MR_Integer) -1,
  mercury__private_builtin__MR_TYPECTOR_REP_EQUIV_GROUND,
  ((MR_Box) (top_procs____Unify____compare_proc_statics_0_0_10001)),
  ((MR_Box) (top_procs____Compare____compare_proc_statics_0_0_10001)),
  (MR_String) "top_procs",
  (MR_String) "compare_proc_statics",
  {
    NULL
  },
  {
    (MR_PseudoTypeInfo) &top_procs____vti_func_4profile__type_ctor_info_deep_0builtin__type_ctor_info_int_0builtin__type_ctor_info_int_0builtin__type_ctor_info_comparison_result_0
  },
  (MR_Integer) -1,
  (MR_Integer) 0,
  NULL
};

#line 2851 "top_procs.c"
static const MR_PseudoTypeInfo top_procs__top_procs__field_types_line_group_2_0[7] = {
  (MR_PseudoTypeInfo) &mercury__builtin__builtin__type_ctor_info_string_0,
  (MR_PseudoTypeInfo) &mercury__builtin__builtin__type_ctor_info_int_0,
  (MR_PseudoTypeInfo) &mercury__builtin__builtin__type_ctor_info_string_0,
  (MR_PseudoTypeInfo) &measurements__measurements__type_ctor_info_own_prof_info_0,
  (MR_PseudoTypeInfo) &measurements__measurements__type_ctor_info_inherit_prof_info_0,
  (MR_PseudoTypeInfo) &mercury__builtin__builtin__type_ctor_info_string_0,
  (MR_PseudoTypeInfo) (MR_Integer) 2
};

#line 2862 "top_procs.c"
static const MR_ConstString top_procs__top_procs__field_names_line_group_2_0[7] = {
  (MR_String) "group_filename",
  (MR_String) "group_linenumber",
  (MR_String) "group_name",
  (MR_String) "group_own",
  (MR_String) "group_desc",
  (MR_String) "group_first_line_id",
  (MR_String) "group_later_lines"
};

#line 2873 "top_procs.c"
static const MR_DuFunctorDesc top_procs__top_procs__du_functor_desc_line_group_2_0 = {
  (MR_String) "line_group",
  (MR_Integer) 7,
  (MR_Integer) 64,
  mercury__private_builtin__MR_SECTAG_NONE,
  (MR_Integer) 0,
  (MR_Integer) -1,
  (MR_Integer) 0,
  top_procs__top_procs__field_types_line_group_2_0,
  top_procs__top_procs__field_names_line_group_2_0,
  NULL,
  NULL
};

#line 2888 "top_procs.c"
static const MR_DuFunctorDescPtr top_procs__top_procs__du_stag_ordered_line_group_2_0[1] = {
  &top_procs__top_procs__du_functor_desc_line_group_2_0
};

#line 2893 "top_procs.c"
static const MR_DuPtagLayout top_procs__top_procs__du_ptag_ordered_line_group_2[1] = {
  {
    (MR_Integer) 1,
    mercury__private_builtin__MR_SECTAG_NONE,
    top_procs__top_procs__du_stag_ordered_line_group_2_0
  }
};

#line 2902 "top_procs.c"
static const MR_DuFunctorDescPtr top_procs__top_procs__du_name_ordered_line_group_2[1] = {
  &top_procs__top_procs__du_functor_desc_line_group_2_0
};

#line 2907 "top_procs.c"
static const MR_Integer top_procs__top_procs__functor_number_map_line_group_2[1] = {
  (MR_Integer) 0
};

#line 2912 "top_procs.c"
const MR_TypeCtorInfo_Struct top_procs__top_procs__type_ctor_info_line_group_2 = {
  (MR_Integer) 2,
  (MR_Integer) 15,
  (MR_Integer) 1,
  mercury__private_builtin__MR_TYPECTOR_REP_DU,
  ((MR_Box) (top_procs____Unify____line_group_2_0_10001)),
  ((MR_Box) (top_procs____Compare____line_group_2_0_10001)),
  (MR_String) "top_procs",
  (MR_String) "line_group",
  {
    top_procs__top_procs__du_name_ordered_line_group_2
  },
  {
    top_procs__top_procs__du_ptag_ordered_line_group_2
  },
  (MR_Integer) 1,
  (MR_Integer) 4,
  top_procs__top_procs__functor_number_map_line_group_2
};

#line 2933 "top_procs.c"
static MR_bool MR_CALL 
top_procs____Unify____compare_line_groups_func_2_0_10001(
#line 2936 "top_procs.c"
  MR_Box top_procs__wrapper_arg_1,
#line 2938 "top_procs.c"
  MR_Box top_procs__wrapper_arg_2,
#line 2940 "top_procs.c"
  MR_Box top_procs__wrapper_arg_3,
#line 2942 "top_procs.c"
  MR_Box top_procs__wrapper_arg_4)
#line 2944 "top_procs.c"
{
#line 2946 "top_procs.c"
  {
#line 2948 "top_procs.c"
    MR_bool top_procs__succeeded;

#line 2951 "top_procs.c"
    {
#line 2953 "top_procs.c"
      top_procs__succeeded = top_procs____Unify____compare_line_groups_func_2_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2), ((MR_Word) top_procs__wrapper_arg_3), ((MR_Word) top_procs__wrapper_arg_4));
    }
#line 2956 "top_procs.c"
    return top_procs__succeeded;
#line 2958 "top_procs.c"
  }
#line 2960 "top_procs.c"
}

#line 2963 "top_procs.c"
static void MR_CALL 
top_procs____Compare____compare_line_groups_func_2_0_10001(
#line 2966 "top_procs.c"
  MR_Box top_procs__wrapper_arg_1,
#line 2968 "top_procs.c"
  MR_Box top_procs__wrapper_arg_2,
#line 2970 "top_procs.c"
  MR_Box * top_procs__wrapper_arg_3,
#line 2972 "top_procs.c"
  MR_Box top_procs__wrapper_arg_4,
#line 2974 "top_procs.c"
  MR_Box top_procs__wrapper_arg_5)
#line 2976 "top_procs.c"
{
#line 2978 "top_procs.c"
  {
#line 2980 "top_procs.c"
    MR_Word top_procs__conv0_HeadVar__1_1;

#line 2983 "top_procs.c"
    {
#line 2985 "top_procs.c"
      top_procs____Compare____compare_line_groups_func_2_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2), &top_procs__conv0_HeadVar__1_1, ((MR_Word) top_procs__wrapper_arg_4), ((MR_Word) top_procs__wrapper_arg_5));
    }
#line 2988 "top_procs.c"
    *top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv0_HeadVar__1_1));
#line 2990 "top_procs.c"
  }
#line 2992 "top_procs.c"
}

#line 2995 "top_procs.c"
static MR_bool MR_CALL 
top_procs____Unify____compare_proc_statics_0_0_10001(
#line 2998 "top_procs.c"
  MR_Box top_procs__wrapper_arg_1,
#line 3000 "top_procs.c"
  MR_Box top_procs__wrapper_arg_2)
#line 3002 "top_procs.c"
{
#line 3004 "top_procs.c"
  {
#line 3006 "top_procs.c"
    MR_bool top_procs__succeeded;

#line 3009 "top_procs.c"
    {
#line 3011 "top_procs.c"
      top_procs__succeeded = top_procs____Unify____compare_proc_statics_0_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 3014 "top_procs.c"
    return top_procs__succeeded;
#line 3016 "top_procs.c"
  }
#line 3018 "top_procs.c"
}

#line 3021 "top_procs.c"
static void MR_CALL 
top_procs____Compare____compare_proc_statics_0_0_10001(
#line 3024 "top_procs.c"
  MR_Box * top_procs__wrapper_arg_1,
#line 3026 "top_procs.c"
  MR_Box top_procs__wrapper_arg_2,
#line 3028 "top_procs.c"
  MR_Box top_procs__wrapper_arg_3)
#line 3030 "top_procs.c"
{
#line 3032 "top_procs.c"
  {
#line 3034 "top_procs.c"
    MR_Word top_procs__conv0_HeadVar__1_1;

#line 3037 "top_procs.c"
    {
#line 3039 "top_procs.c"
      top_procs____Compare____compare_proc_statics_0_0(&top_procs__conv0_HeadVar__1_1, ((MR_Word) top_procs__wrapper_arg_2), ((MR_Word) top_procs__wrapper_arg_3));
    }
#line 3042 "top_procs.c"
    *top_procs__wrapper_arg_1 = ((MR_Box) (top_procs__conv0_HeadVar__1_1));
#line 3044 "top_procs.c"
  }
#line 3046 "top_procs.c"
}

#line 3049 "top_procs.c"
static MR_bool MR_CALL 
top_procs____Unify____line_group_2_0_10001(
#line 3052 "top_procs.c"
  MR_Box top_procs__wrapper_arg_1,
#line 3054 "top_procs.c"
  MR_Box top_procs__wrapper_arg_2,
#line 3056 "top_procs.c"
  MR_Box top_procs__wrapper_arg_3,
#line 3058 "top_procs.c"
  MR_Box top_procs__wrapper_arg_4)
#line 3060 "top_procs.c"
{
#line 3062 "top_procs.c"
  {
#line 3064 "top_procs.c"
    MR_bool top_procs__succeeded;

#line 3067 "top_procs.c"
    {
#line 3069 "top_procs.c"
      top_procs__succeeded = top_procs____Unify____line_group_2_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2), ((MR_Word) top_procs__wrapper_arg_3), ((MR_Word) top_procs__wrapper_arg_4));
    }
#line 3072 "top_procs.c"
    return top_procs__succeeded;
#line 3074 "top_procs.c"
  }
#line 3076 "top_procs.c"
}

#line 3079 "top_procs.c"
static void MR_CALL 
top_procs____Compare____line_group_2_0_10001(
#line 3082 "top_procs.c"
  MR_Box top_procs__wrapper_arg_1,
#line 3084 "top_procs.c"
  MR_Box top_procs__wrapper_arg_2,
#line 3086 "top_procs.c"
  MR_Box * top_procs__wrapper_arg_3,
#line 3088 "top_procs.c"
  MR_Box top_procs__wrapper_arg_4,
#line 3090 "top_procs.c"
  MR_Box top_procs__wrapper_arg_5)
#line 3092 "top_procs.c"
{
#line 3094 "top_procs.c"
  {
#line 3096 "top_procs.c"
    MR_Word top_procs__conv0_HeadVar__1_1;

#line 3099 "top_procs.c"
    {
#line 3101 "top_procs.c"
      top_procs____Compare____line_group_2_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2), &top_procs__conv0_HeadVar__1_1, ((MR_Word) top_procs__wrapper_arg_4), ((MR_Word) top_procs__wrapper_arg_5));
    }
#line 3104 "top_procs.c"
    *top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv0_HeadVar__1_1));
#line 3106 "top_procs.c"
  }
#line 3108 "top_procs.c"
}

#line 982 "top_procs.m"
static void MR_CALL 
top_procs__f_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_67_111_109_112_97_114_101_95_95_95_116_111_112_95_112_114_111_99_115_95_95_99_111_109_112_97_114_101_95_108_105_110_101_95_103_114_111_117_112_115_95_102_117_110_99_95_50_95_95_91_49_44_32_50_93_95_48_3_p_0(
#line 982 "top_procs.m"
  MR_Word * top_procs__HeadVar__1_1,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__3_3)
#line 982 "top_procs.m"
{
#line 982 "top_procs.m"
  {
#line 982 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 982 "top_procs.m"
    MR_Word top_procs__Cast_HeadVar1_4 = top_procs__HeadVar__2_2;
#line 982 "top_procs.m"
    MR_Word top_procs__Cast_HeadVar2_5 = top_procs__HeadVar__3_3;

#line 982 "top_procs.m"
    {
#line 982 "top_procs.m"
      mercury__private_builtin__builtin_compare_pred_3_p_0(top_procs__HeadVar__1_1, (MR_Word) top_procs__Cast_HeadVar1_4, (MR_Word) top_procs__Cast_HeadVar2_5);
#line 982 "top_procs.m"
      return;
    }
#line 982 "top_procs.m"
  }
#line 982 "top_procs.m"
}

#line 982 "top_procs.m"
static MR_bool MR_CALL 
top_procs__f_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_85_110_105_102_121_95_95_95_116_111_112_95_112_114_111_99_115_95_95_99_111_109_112_97_114_101_95_108_105_110_101_95_103_114_111_117_112_115_95_102_117_110_99_95_50_95_95_91_49_44_32_50_93_95_48_2_p_0(
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__1_1,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2)
#line 982 "top_procs.m"
{
#line 982 "top_procs.m"
  {
#line 982 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 982 "top_procs.m"
    MR_Word top_procs__Cast_HeadVar1_3 = top_procs__HeadVar__1_1;
#line 982 "top_procs.m"
    MR_Word top_procs__Cast_HeadVar2_4 = top_procs__HeadVar__2_2;

#line 982 "top_procs.m"
    {
#line 982 "top_procs.m"
      return top_procs__succeeded = mercury__private_builtin__builtin_unify_pred_2_p_0((MR_Word) top_procs__Cast_HeadVar1_3, (MR_Word) top_procs__Cast_HeadVar2_4);
    }
#line 982 "top_procs.m"
    return top_procs__succeeded;
#line 982 "top_procs.m"
  }
#line 982 "top_procs.m"
}

#line 121 "top_procs.m"
static MR_bool MR_CALL 
top_procs__IntroducedFrom__pred__find_top_procs__121__1_4_p_0(
#line 121 "top_procs.m"
  MR_Word top_procs__Deep_11,
#line 121 "top_procs.m"
  MR_Float top_procs__Threshold_69,
#line 121 "top_procs.m"
  MR_Word top_procs__RawThresholdPred_71,
#line 121 "top_procs.m"
  MR_Integer top_procs__HeadVar__4_45)
#line 121 "top_procs.m"
{
#line 121 "top_procs.m"
  {
#line 121 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 121 "top_procs.m"
    MR_bool MR_CALL (* top_procs__func_0)(MR_Box, MR_Box, MR_Box, MR_Box) = ((MR_bool MR_CALL (*)(MR_Box, MR_Box, MR_Box, MR_Box)) (MR_hl_field(MR_mktag(0), top_procs__RawThresholdPred_71, (MR_Integer) 1)));

#line 121 "top_procs.m"
    {
#line 121 "top_procs.m"
      return top_procs__succeeded = top_procs__func_0(((MR_Box) top_procs__RawThresholdPred_71), ((MR_Box) (top_procs__Deep_11)), MR_box_float(top_procs__Threshold_69), ((MR_Box) (top_procs__HeadVar__4_45)));
    }
#line 121 "top_procs.m"
    return top_procs__succeeded;
#line 121 "top_procs.m"
  }
#line 121 "top_procs.m"
}

#line 106 "top_procs.m"
static MR_bool MR_CALL 
top_procs__IntroducedFrom__pred__find_top_procs__106__1_4_p_0(
#line 106 "top_procs.m"
  MR_Word top_procs__Deep_11,
#line 106 "top_procs.m"
  MR_Float top_procs__Threshold_31,
#line 106 "top_procs.m"
  MR_Word top_procs__RawThresholdPred_33,
#line 106 "top_procs.m"
  MR_Integer top_procs__HeadVar__4_47)
#line 106 "top_procs.m"
{
#line 106 "top_procs.m"
  {
#line 106 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 106 "top_procs.m"
    MR_bool MR_CALL (* top_procs__func_0)(MR_Box, MR_Box, MR_Box, MR_Box) = ((MR_bool MR_CALL (*)(MR_Box, MR_Box, MR_Box, MR_Box)) (MR_hl_field(MR_mktag(0), top_procs__RawThresholdPred_33, (MR_Integer) 1)));

#line 106 "top_procs.m"
    {
#line 106 "top_procs.m"
      return top_procs__succeeded = top_procs__func_0(((MR_Box) top_procs__RawThresholdPred_33), ((MR_Box) (top_procs__Deep_11)), MR_box_float(top_procs__Threshold_31), ((MR_Box) (top_procs__HeadVar__4_47)));
    }
#line 106 "top_procs.m"
    return top_procs__succeeded;
#line 106 "top_procs.m"
  }
#line 106 "top_procs.m"
}

#line 84 "top_procs.m"
static void MR_CALL 
top_procs__IntroducedFrom__pred__find_top_procs__84__1_5_p_0(
#line 84 "top_procs.m"
  MR_Word top_procs__Deep_11,
#line 84 "top_procs.m"
  MR_Word top_procs__RawSortFunc_14,
#line 84 "top_procs.m"
  MR_Integer top_procs__HeadVar__3_42,
#line 84 "top_procs.m"
  MR_Integer top_procs__HeadVar__4_43,
#line 84 "top_procs.m"
  MR_Word * top_procs__HeadVar__5_44)
#line 84 "top_procs.m"
{
#line 84 "top_procs.m"
  {
#line 84 "top_procs.m"
    MR_bool top_procs__succeeded;

#line 84 "top_procs.m"
    {
#line 84 "top_procs.m"
      *top_procs__HeadVar__5_44 = top_procs__compare_procs_fallback_4_f_0(top_procs__RawSortFunc_14, top_procs__Deep_11, top_procs__HeadVar__3_42, top_procs__HeadVar__4_43);
    }
#line 84 "top_procs.m"
  }
#line 84 "top_procs.m"
}

#line 40 "top_procs.m"
void MR_CALL 
top_procs____Compare____line_group_2_0(
#line 40 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_26,
#line 40 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_27,
#line 40 "top_procs.m"
  MR_Word * top_procs__HeadVar__1_1,
#line 40 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2,
#line 40 "top_procs.m"
  MR_Word top_procs__HeadVar__3_3)
#line 40 "top_procs.m"
{
#line 40 "top_procs.m"
  {
#line 40 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 40 "top_procs.m"
    MR_Integer top_procs__CastX_24 = (MR_Integer) top_procs__HeadVar__2_2;
#line 40 "top_procs.m"
    MR_Integer top_procs__CastY_25 = (MR_Integer) top_procs__HeadVar__3_3;

#line 40 "top_procs.m"
    top_procs__succeeded = (top_procs__CastX_24 == top_procs__CastY_25);
#line 40 "top_procs.m"
    if (top_procs__succeeded)
#line 3295 "top_procs.c"
      *top_procs__HeadVar__1_1 = (MR_Integer) 0;
#line 40 "top_procs.m"
    else
#line 40 "top_procs.m"
      {
#line 40 "top_procs.m"
        MR_String top_procs__V_4_4 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 0)));
#line 40 "top_procs.m"
        MR_Integer top_procs__V_5_5 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 1)));
#line 40 "top_procs.m"
        MR_String top_procs__V_6_6 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 2)));
#line 40 "top_procs.m"
        MR_Word top_procs__V_7_7 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 3)));
#line 40 "top_procs.m"
        MR_Word top_procs__V_8_8 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 4)));
#line 40 "top_procs.m"
        MR_String top_procs__V_9_9 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 5)));
#line 40 "top_procs.m"
        MR_Box top_procs__V_10_10 = (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 6));
#line 40 "top_procs.m"
        MR_String top_procs__V_11_11 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__3_3, (MR_Integer) 0)));
#line 40 "top_procs.m"
        MR_Integer top_procs__V_12_12 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__3_3, (MR_Integer) 1)));
#line 40 "top_procs.m"
        MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__3_3, (MR_Integer) 2)));
#line 40 "top_procs.m"
        MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__3_3, (MR_Integer) 3)));
#line 40 "top_procs.m"
        MR_Word top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__3_3, (MR_Integer) 4)));
#line 40 "top_procs.m"
        MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__3_3, (MR_Integer) 5)));
#line 40 "top_procs.m"
        MR_Box top_procs__V_17_17 = (MR_hl_field(MR_mktag(0), top_procs__HeadVar__3_3, (MR_Integer) 6));
#line 40 "top_procs.m"
        MR_Word top_procs__V_18_18;

#line 40 "top_procs.m"
        {
#line 40 "top_procs.m"
          mercury__private_builtin__builtin_compare_string_3_p_0(&top_procs__V_18_18, top_procs__V_4_4, top_procs__V_11_11);
        }
#line 3337 "top_procs.c"
        top_procs__succeeded = (top_procs__V_18_18 == (MR_Integer) 0);
#line 40 "top_procs.m"
        top_procs__succeeded = !(top_procs__succeeded);
#line 40 "top_procs.m"
        if (top_procs__succeeded)
#line 40 "top_procs.m"
          *top_procs__HeadVar__1_1 = top_procs__V_18_18;
#line 40 "top_procs.m"
        else
#line 40 "top_procs.m"
          {
#line 40 "top_procs.m"
            MR_Word top_procs__V_19_19;

#line 40 "top_procs.m"
            {
#line 40 "top_procs.m"
              mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__V_19_19, top_procs__V_5_5, top_procs__V_12_12);
            }
#line 3357 "top_procs.c"
            top_procs__succeeded = (top_procs__V_19_19 == (MR_Integer) 0);
#line 40 "top_procs.m"
            top_procs__succeeded = !(top_procs__succeeded);
#line 40 "top_procs.m"
            if (top_procs__succeeded)
#line 40 "top_procs.m"
              *top_procs__HeadVar__1_1 = top_procs__V_19_19;
#line 40 "top_procs.m"
            else
#line 40 "top_procs.m"
              {
#line 40 "top_procs.m"
                MR_Word top_procs__V_20_20;

#line 40 "top_procs.m"
                {
#line 40 "top_procs.m"
                  mercury__private_builtin__builtin_compare_string_3_p_0(&top_procs__V_20_20, top_procs__V_6_6, top_procs__V_13_13);
                }
#line 3377 "top_procs.c"
                top_procs__succeeded = (top_procs__V_20_20 == (MR_Integer) 0);
#line 40 "top_procs.m"
                top_procs__succeeded = !(top_procs__succeeded);
#line 40 "top_procs.m"
                if (top_procs__succeeded)
#line 40 "top_procs.m"
                  *top_procs__HeadVar__1_1 = top_procs__V_20_20;
#line 40 "top_procs.m"
                else
#line 40 "top_procs.m"
                  {
#line 40 "top_procs.m"
                    MR_Word top_procs__V_21_21;

#line 40 "top_procs.m"
                    {
#line 40 "top_procs.m"
                      measurements____Compare____own_prof_info_0_0(&top_procs__V_21_21, top_procs__V_7_7, top_procs__V_14_14);
                    }
#line 3397 "top_procs.c"
                    top_procs__succeeded = (top_procs__V_21_21 == (MR_Integer) 0);
#line 40 "top_procs.m"
                    top_procs__succeeded = !(top_procs__succeeded);
#line 40 "top_procs.m"
                    if (top_procs__succeeded)
#line 40 "top_procs.m"
                      *top_procs__HeadVar__1_1 = top_procs__V_21_21;
#line 40 "top_procs.m"
                    else
#line 40 "top_procs.m"
                      {
#line 40 "top_procs.m"
                        MR_Word top_procs__V_22_22;

#line 40 "top_procs.m"
                        {
#line 40 "top_procs.m"
                          measurements____Compare____inherit_prof_info_0_0(&top_procs__V_22_22, top_procs__V_8_8, top_procs__V_15_15);
                        }
#line 3417 "top_procs.c"
                        top_procs__succeeded = (top_procs__V_22_22 == (MR_Integer) 0);
#line 40 "top_procs.m"
                        top_procs__succeeded = !(top_procs__succeeded);
#line 40 "top_procs.m"
                        if (top_procs__succeeded)
#line 40 "top_procs.m"
                          *top_procs__HeadVar__1_1 = top_procs__V_22_22;
#line 40 "top_procs.m"
                        else
#line 40 "top_procs.m"
                          {
#line 40 "top_procs.m"
                            MR_Word top_procs__V_23_23;

#line 40 "top_procs.m"
                            {
#line 40 "top_procs.m"
                              mercury__private_builtin__builtin_compare_string_3_p_0(&top_procs__V_23_23, top_procs__V_9_9, top_procs__V_16_16);
                            }
#line 3437 "top_procs.c"
                            top_procs__succeeded = (top_procs__V_23_23 == (MR_Integer) 0);
#line 40 "top_procs.m"
                            top_procs__succeeded = !(top_procs__succeeded);
#line 40 "top_procs.m"
                            if (top_procs__succeeded)
#line 40 "top_procs.m"
                              *top_procs__HeadVar__1_1 = top_procs__V_23_23;
#line 40 "top_procs.m"
                            else
#line 40 "top_procs.m"
                              {
#line 40 "top_procs.m"
                                mercury__builtin__compare_3_p_0(top_procs__TypeInfo_for_LL_27, top_procs__HeadVar__1_1, top_procs__V_10_10, top_procs__V_17_17);
#line 40 "top_procs.m"
                                return;
                              }
#line 40 "top_procs.m"
                          }
#line 40 "top_procs.m"
                      }
#line 40 "top_procs.m"
                  }
#line 40 "top_procs.m"
              }
#line 40 "top_procs.m"
          }
#line 40 "top_procs.m"
      }
#line 40 "top_procs.m"
  }
#line 40 "top_procs.m"
}

#line 40 "top_procs.m"
MR_bool MR_CALL 
top_procs____Unify____line_group_2_0(
#line 40 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_19,
#line 40 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_20,
#line 40 "top_procs.m"
  MR_Word top_procs__HeadVar__1_1,
#line 40 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2)
#line 40 "top_procs.m"
{
#line 40 "top_procs.m"
  {
#line 40 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 40 "top_procs.m"
    MR_Integer top_procs__CastX_17 = (MR_Integer) top_procs__HeadVar__1_1;
#line 40 "top_procs.m"
    MR_Integer top_procs__CastY_18 = (MR_Integer) top_procs__HeadVar__2_2;

#line 40 "top_procs.m"
    top_procs__succeeded = (top_procs__CastX_17 == top_procs__CastY_18);
#line 40 "top_procs.m"
    if (top_procs__succeeded)
#line 40 "top_procs.m"
      top_procs__succeeded = MR_TRUE;
#line 40 "top_procs.m"
    else
#line 40 "top_procs.m"
      {
#line 40 "top_procs.m"
        MR_String top_procs__V_3_3 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__1_1, (MR_Integer) 0)));
#line 40 "top_procs.m"
        MR_Integer top_procs__V_4_4 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__1_1, (MR_Integer) 1)));
#line 40 "top_procs.m"
        MR_String top_procs__V_5_5 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__1_1, (MR_Integer) 2)));
#line 40 "top_procs.m"
        MR_Word top_procs__V_6_6 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__1_1, (MR_Integer) 3)));
#line 40 "top_procs.m"
        MR_Word top_procs__V_7_7 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__1_1, (MR_Integer) 4)));
#line 40 "top_procs.m"
        MR_String top_procs__V_8_8 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__1_1, (MR_Integer) 5)));
#line 40 "top_procs.m"
        MR_Box top_procs__V_9_9 = (MR_hl_field(MR_mktag(0), top_procs__HeadVar__1_1, (MR_Integer) 6));
#line 40 "top_procs.m"
        MR_String top_procs__V_10_10 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 0)));
#line 40 "top_procs.m"
        MR_Integer top_procs__V_11_11 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 1)));
#line 40 "top_procs.m"
        MR_String top_procs__V_12_12 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 2)));
#line 40 "top_procs.m"
        MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 3)));
#line 40 "top_procs.m"
        MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 4)));
#line 40 "top_procs.m"
        MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 5)));
#line 40 "top_procs.m"
        MR_Box top_procs__V_16_16 = (MR_hl_field(MR_mktag(0), top_procs__HeadVar__2_2, (MR_Integer) 6));

#line 3532 "top_procs.c"
        top_procs__succeeded = (strcmp(top_procs__V_3_3, top_procs__V_10_10) == 0);
#line 40 "top_procs.m"
        if (top_procs__succeeded)
#line 40 "top_procs.m"
          {
#line 3538 "top_procs.c"
            top_procs__succeeded = (top_procs__V_4_4 == top_procs__V_11_11);
#line 40 "top_procs.m"
            if (top_procs__succeeded)
#line 40 "top_procs.m"
              {
#line 3544 "top_procs.c"
                top_procs__succeeded = (strcmp(top_procs__V_5_5, top_procs__V_12_12) == 0);
#line 40 "top_procs.m"
                if (top_procs__succeeded)
#line 40 "top_procs.m"
                  {
#line 3550 "top_procs.c"
                    {
#line 3552 "top_procs.c"
                      top_procs__succeeded = measurements____Unify____own_prof_info_0_0(top_procs__V_6_6, top_procs__V_13_13);
                    }
#line 40 "top_procs.m"
                    if (top_procs__succeeded)
#line 40 "top_procs.m"
                      {
#line 3559 "top_procs.c"
                        {
#line 3561 "top_procs.c"
                          top_procs__succeeded = measurements____Unify____inherit_prof_info_0_0(top_procs__V_7_7, top_procs__V_14_14);
                        }
#line 40 "top_procs.m"
                        if (top_procs__succeeded)
#line 40 "top_procs.m"
                          {
#line 3568 "top_procs.c"
                            top_procs__succeeded = (strcmp(top_procs__V_8_8, top_procs__V_15_15) == 0);
#line 40 "top_procs.m"
                            if (top_procs__succeeded)
#line 3572 "top_procs.c"
                              {
#line 3574 "top_procs.c"
                                return top_procs__succeeded = mercury__builtin__unify_2_p_0(top_procs__TypeInfo_for_LL_20, top_procs__V_9_9, top_procs__V_16_16);
                              }
#line 40 "top_procs.m"
                          }
#line 40 "top_procs.m"
                      }
#line 40 "top_procs.m"
                  }
#line 40 "top_procs.m"
              }
#line 40 "top_procs.m"
          }
#line 40 "top_procs.m"
      }
#line 40 "top_procs.m"
    return top_procs__succeeded;
#line 40 "top_procs.m"
  }
#line 40 "top_procs.m"
}

#line 131 "top_procs.m"
static void MR_CALL 
top_procs____Compare____compare_proc_statics_0_0(
#line 131 "top_procs.m"
  MR_Word * top_procs__HeadVar__1_1,
#line 131 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2,
#line 131 "top_procs.m"
  MR_Word top_procs__HeadVar__3_3)
#line 131 "top_procs.m"
{
#line 131 "top_procs.m"
  {
#line 131 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 131 "top_procs.m"
    MR_Word top_procs__Cast_HeadVar1_4 = top_procs__HeadVar__2_2;
#line 131 "top_procs.m"
    MR_Word top_procs__Cast_HeadVar2_5 = top_procs__HeadVar__3_3;

#line 131 "top_procs.m"
    {
#line 131 "top_procs.m"
      mercury__builtin__compare_3_p_0((MR_Word) &top_procs_scalar_common_1[0], top_procs__HeadVar__1_1, ((MR_Box) (top_procs__Cast_HeadVar1_4)), ((MR_Box) (top_procs__Cast_HeadVar2_5)));
#line 131 "top_procs.m"
      return;
    }
#line 131 "top_procs.m"
  }
#line 131 "top_procs.m"
}

#line 131 "top_procs.m"
static MR_bool MR_CALL 
top_procs____Unify____compare_proc_statics_0_0(
#line 131 "top_procs.m"
  MR_Word top_procs__HeadVar__1_1,
#line 131 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2)
#line 131 "top_procs.m"
{
#line 131 "top_procs.m"
  {
#line 131 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 131 "top_procs.m"
    MR_Word top_procs__Cast_HeadVar1_3 = top_procs__HeadVar__1_1;
#line 131 "top_procs.m"
    MR_Word top_procs__Cast_HeadVar2_4 = top_procs__HeadVar__2_2;

#line 131 "top_procs.m"
    {
#line 131 "top_procs.m"
      return top_procs__succeeded = mercury__private_builtin__builtin_unify_pred_2_p_0((MR_Word) top_procs__Cast_HeadVar1_3, (MR_Word) top_procs__Cast_HeadVar2_4);
    }
#line 131 "top_procs.m"
    return top_procs__succeeded;
#line 131 "top_procs.m"
  }
#line 131 "top_procs.m"
}

#line 982 "top_procs.m"
static void MR_CALL 
top_procs____Compare____compare_line_groups_func_2_0(
#line 982 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_6,
#line 982 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_7,
#line 982 "top_procs.m"
  MR_Word * top_procs__HeadVar__1_1,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__3_3)
#line 982 "top_procs.m"
{
#line 982 "top_procs.m"
  {
#line 982 "top_procs.m"
    MR_bool top_procs__succeeded;

#line 982 "top_procs.m"
    {
#line 982 "top_procs.m"
      top_procs__f_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_67_111_109_112_97_114_101_95_95_95_116_111_112_95_112_114_111_99_115_95_95_99_111_109_112_97_114_101_95_108_105_110_101_95_103_114_111_117_112_115_95_102_117_110_99_95_50_95_95_91_49_44_32_50_93_95_48_3_p_0(top_procs__HeadVar__1_1, top_procs__HeadVar__2_2, top_procs__HeadVar__3_3);
#line 982 "top_procs.m"
      return;
    }
#line 982 "top_procs.m"
  }
#line 982 "top_procs.m"
}

#line 982 "top_procs.m"
static MR_bool MR_CALL 
top_procs____Unify____compare_line_groups_func_2_0(
#line 982 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_5,
#line 982 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_6,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__1_1,
#line 982 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2)
#line 982 "top_procs.m"
{
#line 982 "top_procs.m"
  {
#line 982 "top_procs.m"
    MR_bool top_procs__succeeded;

#line 982 "top_procs.m"
    {
#line 982 "top_procs.m"
      return top_procs__succeeded = top_procs__f_85_110_117_115_101_100_65_114_103_115_95_95_112_114_101_100_95_95_95_95_85_110_105_102_121_95_95_95_116_111_112_95_112_114_111_99_115_95_95_99_111_109_112_97_114_101_95_108_105_110_101_95_103_114_111_117_112_115_95_102_117_110_99_95_50_95_95_91_49_44_32_50_93_95_48_2_p_0(top_procs__HeadVar__1_1, top_procs__HeadVar__2_2);
    }
#line 982 "top_procs.m"
    return top_procs__succeeded;
#line 982 "top_procs.m"
  }
#line 982 "top_procs.m"
}

#line 1283 "top_procs.m"
static void MR_CALL 
top_procs__accumulate_line_group_measurements_5_p_0(
#line 1283 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_25,
#line 1283 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_26,
#line 1283 "top_procs.m"
  MR_Word top_procs__LineGroup_6,
#line 1283 "top_procs.m"
  MR_Word top_procs__Own0_7,
#line 1283 "top_procs.m"
  MR_Word * top_procs__Own_8,
#line 1283 "top_procs.m"
  MR_Word top_procs__Desc0_9,
#line 1283 "top_procs.m"
  MR_Word * top_procs__Desc_10)
#line 1283 "top_procs.m"
{
#line 1287 "top_procs.m"
  {
#line 1287 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1287 "top_procs.m"
    MR_Word top_procs__V_11_11 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 3)));
#line 1287 "top_procs.m"
    MR_Word top_procs__V_12_12;
#line 1288 "top_procs.m"
    MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 0)));
#line 1288 "top_procs.m"
    MR_Integer top_procs__V_14_14 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 1)));
#line 1288 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 2)));
#line 1288 "top_procs.m"
    MR_Word top_procs__V_16_16 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 4)));
#line 1288 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 5)));
#line 1288 "top_procs.m"
    MR_Box top_procs__V_18_18 = (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 6));
#line 1289 "top_procs.m"
    MR_String top_procs__V_19_19;
#line 1289 "top_procs.m"
    MR_Integer top_procs__V_20_20;
#line 1289 "top_procs.m"
    MR_String top_procs__V_21_21;
#line 1289 "top_procs.m"
    MR_Word top_procs__V_22_22;
#line 1289 "top_procs.m"
    MR_String top_procs__V_23_23;
#line 1289 "top_procs.m"
    MR_Box top_procs__V_24_24;

#line 1288 "top_procs.m"
    {
#line 1288 "top_procs.m"
      *top_procs__Own_8 = measurements__add_own_to_own_2_f_0(top_procs__Own0_7, top_procs__V_11_11);
    }
#line 1289 "top_procs.m"
    top_procs__V_19_19 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 0)));
#line 1289 "top_procs.m"
    top_procs__V_20_20 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 1)));
#line 1289 "top_procs.m"
    top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 2)));
#line 1289 "top_procs.m"
    top_procs__V_22_22 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 3)));
#line 1289 "top_procs.m"
    top_procs__V_12_12 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 4)));
#line 1289 "top_procs.m"
    top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 5)));
#line 1289 "top_procs.m"
    top_procs__V_24_24 = (MR_hl_field(MR_mktag(0), top_procs__LineGroup_6, (MR_Integer) 6));
#line 1289 "top_procs.m"
    {
#line 1289 "top_procs.m"
      *top_procs__Desc_10 = measurements__add_inherit_to_inherit_2_f_0(top_procs__Desc0_9, top_procs__V_12_12);
    }
#line 1287 "top_procs.m"
  }
#line 1283 "top_procs.m"
}

#line 1257 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_words_total_percall_2_f_0(
#line 1257 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_63,
#line 1257 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_64,
#line 1257 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1257 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1257 "top_procs.m"
{
#line 1260 "top_procs.m"
  {
#line 1260 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1260 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1260 "top_procs.m"
    MR_Integer top_procs__Calls1_7;
#line 1260 "top_procs.m"
    MR_Integer top_procs__Calls2_8;
#line 1260 "top_procs.m"
    MR_Integer top_procs__Words1_9;
#line 1260 "top_procs.m"
    MR_Integer top_procs__Words2_10;
#line 1260 "top_procs.m"
    MR_Float top_procs__WordsPerCall1_11;
#line 1260 "top_procs.m"
    MR_Float top_procs__WordsPerCall2_12;
#line 1260 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1260 "top_procs.m"
    MR_Word top_procs__V_14_14;
#line 1260 "top_procs.m"
    MR_Integer top_procs__V_15_15;
#line 1260 "top_procs.m"
    MR_Word top_procs__V_16_16;
#line 1260 "top_procs.m"
    MR_Integer top_procs__V_17_17;
#line 1260 "top_procs.m"
    MR_Word top_procs__V_18_18;
#line 1260 "top_procs.m"
    MR_Integer top_procs__V_19_19;
#line 1260 "top_procs.m"
    MR_Word top_procs__V_20_20;
#line 1260 "top_procs.m"
    MR_Integer top_procs__V_21_21;
#line 1260 "top_procs.m"
    MR_Word top_procs__V_22_22;
#line 1261 "top_procs.m"
    MR_String top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1261 "top_procs.m"
    MR_Integer top_procs__V_28_28 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1261 "top_procs.m"
    MR_String top_procs__V_29_29 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1261 "top_procs.m"
    MR_Word top_procs__V_30_30 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1261 "top_procs.m"
    MR_String top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1261 "top_procs.m"
    MR_Box top_procs__V_32_32 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1262 "top_procs.m"
    MR_String top_procs__V_33_33;
#line 1262 "top_procs.m"
    MR_Integer top_procs__V_34_34;
#line 1262 "top_procs.m"
    MR_String top_procs__V_35_35;
#line 1262 "top_procs.m"
    MR_Word top_procs__V_36_36;
#line 1262 "top_procs.m"
    MR_String top_procs__V_37_37;
#line 1262 "top_procs.m"
    MR_Box top_procs__V_38_38;
#line 1263 "top_procs.m"
    MR_String top_procs__V_39_39;
#line 1263 "top_procs.m"
    MR_Integer top_procs__V_40_40;
#line 1263 "top_procs.m"
    MR_String top_procs__V_41_41;
#line 1263 "top_procs.m"
    MR_Word top_procs__V_42_42;
#line 1263 "top_procs.m"
    MR_String top_procs__V_43_43;
#line 1263 "top_procs.m"
    MR_Box top_procs__V_44_44;
#line 1263 "top_procs.m"
    MR_String top_procs__V_45_45;
#line 1263 "top_procs.m"
    MR_Integer top_procs__V_46_46;
#line 1263 "top_procs.m"
    MR_String top_procs__V_47_47;
#line 1263 "top_procs.m"
    MR_Word top_procs__V_48_48;
#line 1263 "top_procs.m"
    MR_String top_procs__V_49_49;
#line 1263 "top_procs.m"
    MR_Box top_procs__V_50_50;
#line 1264 "top_procs.m"
    MR_String top_procs__V_51_51;
#line 1264 "top_procs.m"
    MR_Integer top_procs__V_52_52;
#line 1264 "top_procs.m"
    MR_String top_procs__V_53_53;
#line 1264 "top_procs.m"
    MR_Word top_procs__V_54_54;
#line 1264 "top_procs.m"
    MR_String top_procs__V_55_55;
#line 1264 "top_procs.m"
    MR_Box top_procs__V_56_56;
#line 1264 "top_procs.m"
    MR_String top_procs__V_57_57;
#line 1264 "top_procs.m"
    MR_Integer top_procs__V_58_58;
#line 1264 "top_procs.m"
    MR_String top_procs__V_59_59;
#line 1264 "top_procs.m"
    MR_Word top_procs__V_60_60;
#line 1264 "top_procs.m"
    MR_String top_procs__V_61_61;
#line 1264 "top_procs.m"
    MR_Box top_procs__V_62_62;

#line 1261 "top_procs.m"
    {
#line 1261 "top_procs.m"
      top_procs__Calls1_7 = measurements__calls_1_f_0(top_procs__V_13_13);
    }
#line 1262 "top_procs.m"
    top_procs__V_33_33 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1262 "top_procs.m"
    top_procs__V_34_34 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1262 "top_procs.m"
    top_procs__V_35_35 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1262 "top_procs.m"
    top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1262 "top_procs.m"
    top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1262 "top_procs.m"
    top_procs__V_37_37 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1262 "top_procs.m"
    top_procs__V_38_38 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1262 "top_procs.m"
    {
#line 1262 "top_procs.m"
      top_procs__Calls2_8 = measurements__calls_1_f_0(top_procs__V_14_14);
    }
#line 1263 "top_procs.m"
    top_procs__V_39_39 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1263 "top_procs.m"
    top_procs__V_40_40 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1263 "top_procs.m"
    top_procs__V_41_41 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1263 "top_procs.m"
    top_procs__V_16_16 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1263 "top_procs.m"
    top_procs__V_42_42 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1263 "top_procs.m"
    top_procs__V_43_43 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1263 "top_procs.m"
    top_procs__V_44_44 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1263 "top_procs.m"
    {
#line 1263 "top_procs.m"
      top_procs__V_15_15 = measurements__words_1_f_0(top_procs__V_16_16);
    }
#line 1263 "top_procs.m"
    top_procs__V_45_45 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1263 "top_procs.m"
    top_procs__V_46_46 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1263 "top_procs.m"
    top_procs__V_47_47 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1263 "top_procs.m"
    top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1263 "top_procs.m"
    top_procs__V_18_18 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1263 "top_procs.m"
    top_procs__V_49_49 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1263 "top_procs.m"
    top_procs__V_50_50 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1263 "top_procs.m"
    {
#line 1263 "top_procs.m"
      top_procs__V_17_17 = measurements__inherit_words_1_f_0(top_procs__V_18_18);
    }
#line 1263 "top_procs.m"
    top_procs__Words1_9 = (top_procs__V_15_15 + top_procs__V_17_17);
#line 1264 "top_procs.m"
    top_procs__V_51_51 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1264 "top_procs.m"
    top_procs__V_52_52 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1264 "top_procs.m"
    top_procs__V_53_53 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1264 "top_procs.m"
    top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1264 "top_procs.m"
    top_procs__V_54_54 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1264 "top_procs.m"
    top_procs__V_55_55 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1264 "top_procs.m"
    top_procs__V_56_56 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1264 "top_procs.m"
    {
#line 1264 "top_procs.m"
      top_procs__V_19_19 = measurements__words_1_f_0(top_procs__V_20_20);
    }
#line 1264 "top_procs.m"
    top_procs__V_57_57 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1264 "top_procs.m"
    top_procs__V_58_58 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1264 "top_procs.m"
    top_procs__V_59_59 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1264 "top_procs.m"
    top_procs__V_60_60 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1264 "top_procs.m"
    top_procs__V_22_22 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1264 "top_procs.m"
    top_procs__V_61_61 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1264 "top_procs.m"
    top_procs__V_62_62 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1264 "top_procs.m"
    {
#line 1264 "top_procs.m"
      top_procs__V_21_21 = measurements__inherit_words_1_f_0(top_procs__V_22_22);
    }
#line 1264 "top_procs.m"
    top_procs__Words2_10 = (top_procs__V_19_19 + top_procs__V_21_21);
#line 1265 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls1_7 == (MR_Integer) 0);
#line 1267 "top_procs.m"
    if (top_procs__succeeded)
#line 1266 "top_procs.m"
      top_procs__WordsPerCall1_11 = (MR_Float) 0.0000000000000000;
#line 1267 "top_procs.m"
    else
#line 1268 "top_procs.m"
      {
#line 1268 "top_procs.m"
        MR_Float top_procs__V_23_23;
#line 1268 "top_procs.m"
        MR_Float top_procs__V_24_24;

#line 1268 "top_procs.m"
        {
#line 1268 "top_procs.m"
          top_procs__V_23_23 = mercury__float__float_1_f_0(top_procs__Words1_9);
        }
#line 1268 "top_procs.m"
        {
#line 1268 "top_procs.m"
          top_procs__V_24_24 = mercury__float__float_1_f_0(top_procs__Calls1_7);
        }
#line 1268 "top_procs.m"
        {
#line 1268 "top_procs.m"
          top_procs__WordsPerCall1_11 = mercury__float__f_slash_2_f_0(top_procs__V_23_23, top_procs__V_24_24);
        }
#line 1268 "top_procs.m"
      }
#line 1270 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls2_8 == (MR_Integer) 0);
#line 1272 "top_procs.m"
    if (top_procs__succeeded)
#line 1271 "top_procs.m"
      top_procs__WordsPerCall2_12 = (MR_Float) 0.0000000000000000;
#line 1272 "top_procs.m"
    else
#line 1273 "top_procs.m"
      {
#line 1273 "top_procs.m"
        MR_Float top_procs__V_25_25;
#line 1273 "top_procs.m"
        MR_Float top_procs__V_26_26;

#line 1273 "top_procs.m"
        {
#line 1273 "top_procs.m"
          top_procs__V_25_25 = mercury__float__float_1_f_0(top_procs__Words2_10);
        }
#line 1273 "top_procs.m"
        {
#line 1273 "top_procs.m"
          top_procs__V_26_26 = mercury__float__float_1_f_0(top_procs__Calls2_8);
        }
#line 1273 "top_procs.m"
        {
#line 1273 "top_procs.m"
          top_procs__WordsPerCall2_12 = mercury__float__f_slash_2_f_0(top_procs__V_25_25, top_procs__V_26_26);
        }
#line 1273 "top_procs.m"
      }
#line 1275 "top_procs.m"
    {
#line 1275 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_6, top_procs__WordsPerCall2_12, top_procs__WordsPerCall1_11);
    }
#line 1260 "top_procs.m"
    return top_procs__Result_6;
#line 1260 "top_procs.m"
  }
#line 1257 "top_procs.m"
}

#line 1249 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_words_total_overall_2_f_0(
#line 1249 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_41,
#line 1249 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_42,
#line 1249 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1249 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1249 "top_procs.m"
{
#line 1252 "top_procs.m"
  {
#line 1252 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1252 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1252 "top_procs.m"
    MR_Integer top_procs__Words1_7;
#line 1252 "top_procs.m"
    MR_Integer top_procs__Words2_8;
#line 1252 "top_procs.m"
    MR_Integer top_procs__V_9_9;
#line 1252 "top_procs.m"
    MR_Word top_procs__V_10_10 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1252 "top_procs.m"
    MR_Integer top_procs__V_11_11;
#line 1252 "top_procs.m"
    MR_Word top_procs__V_12_12;
#line 1252 "top_procs.m"
    MR_Integer top_procs__V_13_13;
#line 1252 "top_procs.m"
    MR_Word top_procs__V_14_14;
#line 1252 "top_procs.m"
    MR_Integer top_procs__V_15_15;
#line 1252 "top_procs.m"
    MR_Word top_procs__V_16_16;
#line 1253 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1253 "top_procs.m"
    MR_Integer top_procs__V_18_18 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1253 "top_procs.m"
    MR_String top_procs__V_19_19 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1253 "top_procs.m"
    MR_Word top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1253 "top_procs.m"
    MR_String top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1253 "top_procs.m"
    MR_Box top_procs__V_22_22 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1253 "top_procs.m"
    MR_String top_procs__V_23_23;
#line 1253 "top_procs.m"
    MR_Integer top_procs__V_24_24;
#line 1253 "top_procs.m"
    MR_String top_procs__V_25_25;
#line 1253 "top_procs.m"
    MR_Word top_procs__V_26_26;
#line 1253 "top_procs.m"
    MR_String top_procs__V_27_27;
#line 1253 "top_procs.m"
    MR_Box top_procs__V_28_28;
#line 1254 "top_procs.m"
    MR_String top_procs__V_29_29;
#line 1254 "top_procs.m"
    MR_Integer top_procs__V_30_30;
#line 1254 "top_procs.m"
    MR_String top_procs__V_31_31;
#line 1254 "top_procs.m"
    MR_Word top_procs__V_32_32;
#line 1254 "top_procs.m"
    MR_String top_procs__V_33_33;
#line 1254 "top_procs.m"
    MR_Box top_procs__V_34_34;
#line 1254 "top_procs.m"
    MR_String top_procs__V_35_35;
#line 1254 "top_procs.m"
    MR_Integer top_procs__V_36_36;
#line 1254 "top_procs.m"
    MR_String top_procs__V_37_37;
#line 1254 "top_procs.m"
    MR_Word top_procs__V_38_38;
#line 1254 "top_procs.m"
    MR_String top_procs__V_39_39;
#line 1254 "top_procs.m"
    MR_Box top_procs__V_40_40;

#line 1253 "top_procs.m"
    {
#line 1253 "top_procs.m"
      top_procs__V_9_9 = measurements__words_1_f_0(top_procs__V_10_10);
    }
#line 1253 "top_procs.m"
    top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1253 "top_procs.m"
    top_procs__V_24_24 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1253 "top_procs.m"
    top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1253 "top_procs.m"
    top_procs__V_26_26 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1253 "top_procs.m"
    top_procs__V_12_12 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1253 "top_procs.m"
    top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1253 "top_procs.m"
    top_procs__V_28_28 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1253 "top_procs.m"
    {
#line 1253 "top_procs.m"
      top_procs__V_11_11 = measurements__inherit_words_1_f_0(top_procs__V_12_12);
    }
#line 1253 "top_procs.m"
    top_procs__Words1_7 = (top_procs__V_9_9 + top_procs__V_11_11);
#line 1254 "top_procs.m"
    top_procs__V_29_29 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1254 "top_procs.m"
    top_procs__V_30_30 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1254 "top_procs.m"
    top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1254 "top_procs.m"
    top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1254 "top_procs.m"
    top_procs__V_32_32 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1254 "top_procs.m"
    top_procs__V_33_33 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1254 "top_procs.m"
    top_procs__V_34_34 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1254 "top_procs.m"
    {
#line 1254 "top_procs.m"
      top_procs__V_13_13 = measurements__words_1_f_0(top_procs__V_14_14);
    }
#line 1254 "top_procs.m"
    top_procs__V_35_35 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1254 "top_procs.m"
    top_procs__V_36_36 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1254 "top_procs.m"
    top_procs__V_37_37 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1254 "top_procs.m"
    top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1254 "top_procs.m"
    top_procs__V_16_16 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1254 "top_procs.m"
    top_procs__V_39_39 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1254 "top_procs.m"
    top_procs__V_40_40 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1254 "top_procs.m"
    {
#line 1254 "top_procs.m"
      top_procs__V_15_15 = measurements__inherit_words_1_f_0(top_procs__V_16_16);
    }
#line 1254 "top_procs.m"
    top_procs__Words2_8 = (top_procs__V_13_13 + top_procs__V_15_15);
#line 1255 "top_procs.m"
    {
#line 1255 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_6, top_procs__Words2_8, top_procs__Words1_7);
    }
#line 1252 "top_procs.m"
    return top_procs__Result_6;
#line 1252 "top_procs.m"
  }
#line 1249 "top_procs.m"
}

#line 1229 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_words_self_percall_2_f_0(
#line 1229 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_45,
#line 1229 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_46,
#line 1229 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1229 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1229 "top_procs.m"
{
#line 1232 "top_procs.m"
  {
#line 1232 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1232 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1232 "top_procs.m"
    MR_Integer top_procs__Calls1_7;
#line 1232 "top_procs.m"
    MR_Integer top_procs__Calls2_8;
#line 1232 "top_procs.m"
    MR_Integer top_procs__Words1_9;
#line 1232 "top_procs.m"
    MR_Integer top_procs__Words2_10;
#line 1232 "top_procs.m"
    MR_Float top_procs__WordsPerCall1_11;
#line 1232 "top_procs.m"
    MR_Float top_procs__WordsPerCall2_12;
#line 1232 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1232 "top_procs.m"
    MR_Word top_procs__V_14_14;
#line 1232 "top_procs.m"
    MR_Word top_procs__V_15_15;
#line 1232 "top_procs.m"
    MR_Word top_procs__V_16_16;
#line 1233 "top_procs.m"
    MR_String top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1233 "top_procs.m"
    MR_Integer top_procs__V_22_22 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1233 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1233 "top_procs.m"
    MR_Word top_procs__V_24_24 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1233 "top_procs.m"
    MR_String top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1233 "top_procs.m"
    MR_Box top_procs__V_26_26 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1234 "top_procs.m"
    MR_String top_procs__V_27_27;
#line 1234 "top_procs.m"
    MR_Integer top_procs__V_28_28;
#line 1234 "top_procs.m"
    MR_String top_procs__V_29_29;
#line 1234 "top_procs.m"
    MR_Word top_procs__V_30_30;
#line 1234 "top_procs.m"
    MR_String top_procs__V_31_31;
#line 1234 "top_procs.m"
    MR_Box top_procs__V_32_32;
#line 1235 "top_procs.m"
    MR_String top_procs__V_33_33;
#line 1235 "top_procs.m"
    MR_Integer top_procs__V_34_34;
#line 1235 "top_procs.m"
    MR_String top_procs__V_35_35;
#line 1235 "top_procs.m"
    MR_Word top_procs__V_36_36;
#line 1235 "top_procs.m"
    MR_String top_procs__V_37_37;
#line 1235 "top_procs.m"
    MR_Box top_procs__V_38_38;
#line 1236 "top_procs.m"
    MR_String top_procs__V_39_39;
#line 1236 "top_procs.m"
    MR_Integer top_procs__V_40_40;
#line 1236 "top_procs.m"
    MR_String top_procs__V_41_41;
#line 1236 "top_procs.m"
    MR_Word top_procs__V_42_42;
#line 1236 "top_procs.m"
    MR_String top_procs__V_43_43;
#line 1236 "top_procs.m"
    MR_Box top_procs__V_44_44;

#line 1233 "top_procs.m"
    {
#line 1233 "top_procs.m"
      top_procs__Calls1_7 = measurements__calls_1_f_0(top_procs__V_13_13);
    }
#line 1234 "top_procs.m"
    top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1234 "top_procs.m"
    top_procs__V_28_28 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1234 "top_procs.m"
    top_procs__V_29_29 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1234 "top_procs.m"
    top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1234 "top_procs.m"
    top_procs__V_30_30 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1234 "top_procs.m"
    top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1234 "top_procs.m"
    top_procs__V_32_32 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1234 "top_procs.m"
    {
#line 1234 "top_procs.m"
      top_procs__Calls2_8 = measurements__calls_1_f_0(top_procs__V_14_14);
    }
#line 1235 "top_procs.m"
    top_procs__V_33_33 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1235 "top_procs.m"
    top_procs__V_34_34 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1235 "top_procs.m"
    top_procs__V_35_35 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1235 "top_procs.m"
    top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1235 "top_procs.m"
    top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1235 "top_procs.m"
    top_procs__V_37_37 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1235 "top_procs.m"
    top_procs__V_38_38 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1235 "top_procs.m"
    {
#line 1235 "top_procs.m"
      top_procs__Words1_9 = measurements__words_1_f_0(top_procs__V_15_15);
    }
#line 1236 "top_procs.m"
    top_procs__V_39_39 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1236 "top_procs.m"
    top_procs__V_40_40 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1236 "top_procs.m"
    top_procs__V_41_41 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1236 "top_procs.m"
    top_procs__V_16_16 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1236 "top_procs.m"
    top_procs__V_42_42 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1236 "top_procs.m"
    top_procs__V_43_43 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1236 "top_procs.m"
    top_procs__V_44_44 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1236 "top_procs.m"
    {
#line 1236 "top_procs.m"
      top_procs__Words2_10 = measurements__words_1_f_0(top_procs__V_16_16);
    }
#line 1237 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls1_7 == (MR_Integer) 0);
#line 1239 "top_procs.m"
    if (top_procs__succeeded)
#line 1238 "top_procs.m"
      top_procs__WordsPerCall1_11 = (MR_Float) 0.0000000000000000;
#line 1239 "top_procs.m"
    else
#line 1240 "top_procs.m"
      {
#line 1240 "top_procs.m"
        MR_Float top_procs__V_17_17;
#line 1240 "top_procs.m"
        MR_Float top_procs__V_18_18;

#line 1240 "top_procs.m"
        {
#line 1240 "top_procs.m"
          top_procs__V_17_17 = mercury__float__float_1_f_0(top_procs__Words1_9);
        }
#line 1240 "top_procs.m"
        {
#line 1240 "top_procs.m"
          top_procs__V_18_18 = mercury__float__float_1_f_0(top_procs__Calls1_7);
        }
#line 1240 "top_procs.m"
        {
#line 1240 "top_procs.m"
          top_procs__WordsPerCall1_11 = mercury__float__f_slash_2_f_0(top_procs__V_17_17, top_procs__V_18_18);
        }
#line 1240 "top_procs.m"
      }
#line 1242 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls2_8 == (MR_Integer) 0);
#line 1244 "top_procs.m"
    if (top_procs__succeeded)
#line 1243 "top_procs.m"
      top_procs__WordsPerCall2_12 = (MR_Float) 0.0000000000000000;
#line 1244 "top_procs.m"
    else
#line 1245 "top_procs.m"
      {
#line 1245 "top_procs.m"
        MR_Float top_procs__V_19_19;
#line 1245 "top_procs.m"
        MR_Float top_procs__V_20_20;

#line 1245 "top_procs.m"
        {
#line 1245 "top_procs.m"
          top_procs__V_19_19 = mercury__float__float_1_f_0(top_procs__Words2_10);
        }
#line 1245 "top_procs.m"
        {
#line 1245 "top_procs.m"
          top_procs__V_20_20 = mercury__float__float_1_f_0(top_procs__Calls2_8);
        }
#line 1245 "top_procs.m"
        {
#line 1245 "top_procs.m"
          top_procs__WordsPerCall2_12 = mercury__float__f_slash_2_f_0(top_procs__V_19_19, top_procs__V_20_20);
        }
#line 1245 "top_procs.m"
      }
#line 1247 "top_procs.m"
    {
#line 1247 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_6, top_procs__WordsPerCall2_12, top_procs__WordsPerCall1_11);
    }
#line 1232 "top_procs.m"
    return top_procs__Result_6;
#line 1232 "top_procs.m"
  }
#line 1229 "top_procs.m"
}

#line 1221 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_words_self_overall_2_f_0(
#line 1221 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_23,
#line 1221 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_24,
#line 1221 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1221 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1221 "top_procs.m"
{
#line 1224 "top_procs.m"
  {
#line 1224 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1224 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1224 "top_procs.m"
    MR_Integer top_procs__Words1_7;
#line 1224 "top_procs.m"
    MR_Integer top_procs__Words2_8;
#line 1224 "top_procs.m"
    MR_Word top_procs__V_9_9 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1224 "top_procs.m"
    MR_Word top_procs__V_10_10;
#line 1225 "top_procs.m"
    MR_String top_procs__V_11_11 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1225 "top_procs.m"
    MR_Integer top_procs__V_12_12 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1225 "top_procs.m"
    MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1225 "top_procs.m"
    MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1225 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1225 "top_procs.m"
    MR_Box top_procs__V_16_16 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1226 "top_procs.m"
    MR_String top_procs__V_17_17;
#line 1226 "top_procs.m"
    MR_Integer top_procs__V_18_18;
#line 1226 "top_procs.m"
    MR_String top_procs__V_19_19;
#line 1226 "top_procs.m"
    MR_Word top_procs__V_20_20;
#line 1226 "top_procs.m"
    MR_String top_procs__V_21_21;
#line 1226 "top_procs.m"
    MR_Box top_procs__V_22_22;

#line 1225 "top_procs.m"
    {
#line 1225 "top_procs.m"
      top_procs__Words1_7 = measurements__words_1_f_0(top_procs__V_9_9);
    }
#line 1226 "top_procs.m"
    top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1226 "top_procs.m"
    top_procs__V_18_18 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1226 "top_procs.m"
    top_procs__V_19_19 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1226 "top_procs.m"
    top_procs__V_10_10 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1226 "top_procs.m"
    top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1226 "top_procs.m"
    top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1226 "top_procs.m"
    top_procs__V_22_22 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1226 "top_procs.m"
    {
#line 1226 "top_procs.m"
      top_procs__Words2_8 = measurements__words_1_f_0(top_procs__V_10_10);
    }
#line 1227 "top_procs.m"
    {
#line 1227 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_6, top_procs__Words2_8, top_procs__Words1_7);
    }
#line 1224 "top_procs.m"
    return top_procs__Result_6;
#line 1224 "top_procs.m"
  }
#line 1221 "top_procs.m"
}

#line 1201 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_allocs_total_percall_2_f_0(
#line 1201 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_63,
#line 1201 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_64,
#line 1201 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1201 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1201 "top_procs.m"
{
#line 1204 "top_procs.m"
  {
#line 1204 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1204 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1204 "top_procs.m"
    MR_Integer top_procs__Calls1_7;
#line 1204 "top_procs.m"
    MR_Integer top_procs__Calls2_8;
#line 1204 "top_procs.m"
    MR_Integer top_procs__Alloc1_9;
#line 1204 "top_procs.m"
    MR_Integer top_procs__Alloc2_10;
#line 1204 "top_procs.m"
    MR_Float top_procs__AllocPerCall1_11;
#line 1204 "top_procs.m"
    MR_Float top_procs__AllocPerCall2_12;
#line 1204 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1204 "top_procs.m"
    MR_Word top_procs__V_14_14;
#line 1204 "top_procs.m"
    MR_Integer top_procs__V_15_15;
#line 1204 "top_procs.m"
    MR_Word top_procs__V_16_16;
#line 1204 "top_procs.m"
    MR_Integer top_procs__V_17_17;
#line 1204 "top_procs.m"
    MR_Word top_procs__V_18_18;
#line 1204 "top_procs.m"
    MR_Integer top_procs__V_19_19;
#line 1204 "top_procs.m"
    MR_Word top_procs__V_20_20;
#line 1204 "top_procs.m"
    MR_Integer top_procs__V_21_21;
#line 1204 "top_procs.m"
    MR_Word top_procs__V_22_22;
#line 1205 "top_procs.m"
    MR_String top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1205 "top_procs.m"
    MR_Integer top_procs__V_28_28 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1205 "top_procs.m"
    MR_String top_procs__V_29_29 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1205 "top_procs.m"
    MR_Word top_procs__V_30_30 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1205 "top_procs.m"
    MR_String top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1205 "top_procs.m"
    MR_Box top_procs__V_32_32 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1206 "top_procs.m"
    MR_String top_procs__V_33_33;
#line 1206 "top_procs.m"
    MR_Integer top_procs__V_34_34;
#line 1206 "top_procs.m"
    MR_String top_procs__V_35_35;
#line 1206 "top_procs.m"
    MR_Word top_procs__V_36_36;
#line 1206 "top_procs.m"
    MR_String top_procs__V_37_37;
#line 1206 "top_procs.m"
    MR_Box top_procs__V_38_38;
#line 1207 "top_procs.m"
    MR_String top_procs__V_39_39;
#line 1207 "top_procs.m"
    MR_Integer top_procs__V_40_40;
#line 1207 "top_procs.m"
    MR_String top_procs__V_41_41;
#line 1207 "top_procs.m"
    MR_Word top_procs__V_42_42;
#line 1207 "top_procs.m"
    MR_String top_procs__V_43_43;
#line 1207 "top_procs.m"
    MR_Box top_procs__V_44_44;
#line 1207 "top_procs.m"
    MR_String top_procs__V_45_45;
#line 1207 "top_procs.m"
    MR_Integer top_procs__V_46_46;
#line 1207 "top_procs.m"
    MR_String top_procs__V_47_47;
#line 1207 "top_procs.m"
    MR_Word top_procs__V_48_48;
#line 1207 "top_procs.m"
    MR_String top_procs__V_49_49;
#line 1207 "top_procs.m"
    MR_Box top_procs__V_50_50;
#line 1208 "top_procs.m"
    MR_String top_procs__V_51_51;
#line 1208 "top_procs.m"
    MR_Integer top_procs__V_52_52;
#line 1208 "top_procs.m"
    MR_String top_procs__V_53_53;
#line 1208 "top_procs.m"
    MR_Word top_procs__V_54_54;
#line 1208 "top_procs.m"
    MR_String top_procs__V_55_55;
#line 1208 "top_procs.m"
    MR_Box top_procs__V_56_56;
#line 1208 "top_procs.m"
    MR_String top_procs__V_57_57;
#line 1208 "top_procs.m"
    MR_Integer top_procs__V_58_58;
#line 1208 "top_procs.m"
    MR_String top_procs__V_59_59;
#line 1208 "top_procs.m"
    MR_Word top_procs__V_60_60;
#line 1208 "top_procs.m"
    MR_String top_procs__V_61_61;
#line 1208 "top_procs.m"
    MR_Box top_procs__V_62_62;

#line 1205 "top_procs.m"
    {
#line 1205 "top_procs.m"
      top_procs__Calls1_7 = measurements__calls_1_f_0(top_procs__V_13_13);
    }
#line 1206 "top_procs.m"
    top_procs__V_33_33 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1206 "top_procs.m"
    top_procs__V_34_34 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1206 "top_procs.m"
    top_procs__V_35_35 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1206 "top_procs.m"
    top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1206 "top_procs.m"
    top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1206 "top_procs.m"
    top_procs__V_37_37 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1206 "top_procs.m"
    top_procs__V_38_38 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1206 "top_procs.m"
    {
#line 1206 "top_procs.m"
      top_procs__Calls2_8 = measurements__calls_1_f_0(top_procs__V_14_14);
    }
#line 1207 "top_procs.m"
    top_procs__V_39_39 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1207 "top_procs.m"
    top_procs__V_40_40 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1207 "top_procs.m"
    top_procs__V_41_41 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1207 "top_procs.m"
    top_procs__V_16_16 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1207 "top_procs.m"
    top_procs__V_42_42 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1207 "top_procs.m"
    top_procs__V_43_43 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1207 "top_procs.m"
    top_procs__V_44_44 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1207 "top_procs.m"
    {
#line 1207 "top_procs.m"
      top_procs__V_15_15 = measurements__allocs_1_f_0(top_procs__V_16_16);
    }
#line 1207 "top_procs.m"
    top_procs__V_45_45 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1207 "top_procs.m"
    top_procs__V_46_46 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1207 "top_procs.m"
    top_procs__V_47_47 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1207 "top_procs.m"
    top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1207 "top_procs.m"
    top_procs__V_18_18 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1207 "top_procs.m"
    top_procs__V_49_49 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1207 "top_procs.m"
    top_procs__V_50_50 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1207 "top_procs.m"
    {
#line 1207 "top_procs.m"
      top_procs__V_17_17 = measurements__inherit_allocs_1_f_0(top_procs__V_18_18);
    }
#line 1207 "top_procs.m"
    top_procs__Alloc1_9 = (top_procs__V_15_15 + top_procs__V_17_17);
#line 1208 "top_procs.m"
    top_procs__V_51_51 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1208 "top_procs.m"
    top_procs__V_52_52 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1208 "top_procs.m"
    top_procs__V_53_53 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1208 "top_procs.m"
    top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1208 "top_procs.m"
    top_procs__V_54_54 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1208 "top_procs.m"
    top_procs__V_55_55 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1208 "top_procs.m"
    top_procs__V_56_56 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1208 "top_procs.m"
    {
#line 1208 "top_procs.m"
      top_procs__V_19_19 = measurements__allocs_1_f_0(top_procs__V_20_20);
    }
#line 1208 "top_procs.m"
    top_procs__V_57_57 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1208 "top_procs.m"
    top_procs__V_58_58 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1208 "top_procs.m"
    top_procs__V_59_59 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1208 "top_procs.m"
    top_procs__V_60_60 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1208 "top_procs.m"
    top_procs__V_22_22 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1208 "top_procs.m"
    top_procs__V_61_61 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1208 "top_procs.m"
    top_procs__V_62_62 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1208 "top_procs.m"
    {
#line 1208 "top_procs.m"
      top_procs__V_21_21 = measurements__inherit_allocs_1_f_0(top_procs__V_22_22);
    }
#line 1208 "top_procs.m"
    top_procs__Alloc2_10 = (top_procs__V_19_19 + top_procs__V_21_21);
#line 1209 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls1_7 == (MR_Integer) 0);
#line 1211 "top_procs.m"
    if (top_procs__succeeded)
#line 1210 "top_procs.m"
      top_procs__AllocPerCall1_11 = (MR_Float) 0.0000000000000000;
#line 1211 "top_procs.m"
    else
#line 1212 "top_procs.m"
      {
#line 1212 "top_procs.m"
        MR_Float top_procs__V_23_23;
#line 1212 "top_procs.m"
        MR_Float top_procs__V_24_24;

#line 1212 "top_procs.m"
        {
#line 1212 "top_procs.m"
          top_procs__V_23_23 = mercury__float__float_1_f_0(top_procs__Alloc1_9);
        }
#line 1212 "top_procs.m"
        {
#line 1212 "top_procs.m"
          top_procs__V_24_24 = mercury__float__float_1_f_0(top_procs__Calls1_7);
        }
#line 1212 "top_procs.m"
        {
#line 1212 "top_procs.m"
          top_procs__AllocPerCall1_11 = mercury__float__f_slash_2_f_0(top_procs__V_23_23, top_procs__V_24_24);
        }
#line 1212 "top_procs.m"
      }
#line 1214 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls2_8 == (MR_Integer) 0);
#line 1216 "top_procs.m"
    if (top_procs__succeeded)
#line 1215 "top_procs.m"
      top_procs__AllocPerCall2_12 = (MR_Float) 0.0000000000000000;
#line 1216 "top_procs.m"
    else
#line 1217 "top_procs.m"
      {
#line 1217 "top_procs.m"
        MR_Float top_procs__V_25_25;
#line 1217 "top_procs.m"
        MR_Float top_procs__V_26_26;

#line 1217 "top_procs.m"
        {
#line 1217 "top_procs.m"
          top_procs__V_25_25 = mercury__float__float_1_f_0(top_procs__Alloc2_10);
        }
#line 1217 "top_procs.m"
        {
#line 1217 "top_procs.m"
          top_procs__V_26_26 = mercury__float__float_1_f_0(top_procs__Calls2_8);
        }
#line 1217 "top_procs.m"
        {
#line 1217 "top_procs.m"
          top_procs__AllocPerCall2_12 = mercury__float__f_slash_2_f_0(top_procs__V_25_25, top_procs__V_26_26);
        }
#line 1217 "top_procs.m"
      }
#line 1219 "top_procs.m"
    {
#line 1219 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_6, top_procs__AllocPerCall2_12, top_procs__AllocPerCall1_11);
    }
#line 1204 "top_procs.m"
    return top_procs__Result_6;
#line 1204 "top_procs.m"
  }
#line 1201 "top_procs.m"
}

#line 1193 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_allocs_total_overall_2_f_0(
#line 1193 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_41,
#line 1193 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_42,
#line 1193 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1193 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1193 "top_procs.m"
{
#line 1196 "top_procs.m"
  {
#line 1196 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1196 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1196 "top_procs.m"
    MR_Integer top_procs__Alloc1_7;
#line 1196 "top_procs.m"
    MR_Integer top_procs__Alloc2_8;
#line 1196 "top_procs.m"
    MR_Integer top_procs__V_9_9;
#line 1196 "top_procs.m"
    MR_Word top_procs__V_10_10 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1196 "top_procs.m"
    MR_Integer top_procs__V_11_11;
#line 1196 "top_procs.m"
    MR_Word top_procs__V_12_12;
#line 1196 "top_procs.m"
    MR_Integer top_procs__V_13_13;
#line 1196 "top_procs.m"
    MR_Word top_procs__V_14_14;
#line 1196 "top_procs.m"
    MR_Integer top_procs__V_15_15;
#line 1196 "top_procs.m"
    MR_Word top_procs__V_16_16;
#line 1197 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1197 "top_procs.m"
    MR_Integer top_procs__V_18_18 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1197 "top_procs.m"
    MR_String top_procs__V_19_19 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1197 "top_procs.m"
    MR_Word top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1197 "top_procs.m"
    MR_String top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1197 "top_procs.m"
    MR_Box top_procs__V_22_22 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1197 "top_procs.m"
    MR_String top_procs__V_23_23;
#line 1197 "top_procs.m"
    MR_Integer top_procs__V_24_24;
#line 1197 "top_procs.m"
    MR_String top_procs__V_25_25;
#line 1197 "top_procs.m"
    MR_Word top_procs__V_26_26;
#line 1197 "top_procs.m"
    MR_String top_procs__V_27_27;
#line 1197 "top_procs.m"
    MR_Box top_procs__V_28_28;
#line 1198 "top_procs.m"
    MR_String top_procs__V_29_29;
#line 1198 "top_procs.m"
    MR_Integer top_procs__V_30_30;
#line 1198 "top_procs.m"
    MR_String top_procs__V_31_31;
#line 1198 "top_procs.m"
    MR_Word top_procs__V_32_32;
#line 1198 "top_procs.m"
    MR_String top_procs__V_33_33;
#line 1198 "top_procs.m"
    MR_Box top_procs__V_34_34;
#line 1198 "top_procs.m"
    MR_String top_procs__V_35_35;
#line 1198 "top_procs.m"
    MR_Integer top_procs__V_36_36;
#line 1198 "top_procs.m"
    MR_String top_procs__V_37_37;
#line 1198 "top_procs.m"
    MR_Word top_procs__V_38_38;
#line 1198 "top_procs.m"
    MR_String top_procs__V_39_39;
#line 1198 "top_procs.m"
    MR_Box top_procs__V_40_40;

#line 1197 "top_procs.m"
    {
#line 1197 "top_procs.m"
      top_procs__V_9_9 = measurements__allocs_1_f_0(top_procs__V_10_10);
    }
#line 1197 "top_procs.m"
    top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1197 "top_procs.m"
    top_procs__V_24_24 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1197 "top_procs.m"
    top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1197 "top_procs.m"
    top_procs__V_26_26 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1197 "top_procs.m"
    top_procs__V_12_12 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1197 "top_procs.m"
    top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1197 "top_procs.m"
    top_procs__V_28_28 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1197 "top_procs.m"
    {
#line 1197 "top_procs.m"
      top_procs__V_11_11 = measurements__inherit_allocs_1_f_0(top_procs__V_12_12);
    }
#line 1197 "top_procs.m"
    top_procs__Alloc1_7 = (top_procs__V_9_9 + top_procs__V_11_11);
#line 1198 "top_procs.m"
    top_procs__V_29_29 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1198 "top_procs.m"
    top_procs__V_30_30 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1198 "top_procs.m"
    top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1198 "top_procs.m"
    top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1198 "top_procs.m"
    top_procs__V_32_32 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1198 "top_procs.m"
    top_procs__V_33_33 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1198 "top_procs.m"
    top_procs__V_34_34 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1198 "top_procs.m"
    {
#line 1198 "top_procs.m"
      top_procs__V_13_13 = measurements__allocs_1_f_0(top_procs__V_14_14);
    }
#line 1198 "top_procs.m"
    top_procs__V_35_35 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1198 "top_procs.m"
    top_procs__V_36_36 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1198 "top_procs.m"
    top_procs__V_37_37 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1198 "top_procs.m"
    top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1198 "top_procs.m"
    top_procs__V_16_16 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1198 "top_procs.m"
    top_procs__V_39_39 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1198 "top_procs.m"
    top_procs__V_40_40 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1198 "top_procs.m"
    {
#line 1198 "top_procs.m"
      top_procs__V_15_15 = measurements__inherit_allocs_1_f_0(top_procs__V_16_16);
    }
#line 1198 "top_procs.m"
    top_procs__Alloc2_8 = (top_procs__V_13_13 + top_procs__V_15_15);
#line 1199 "top_procs.m"
    {
#line 1199 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_6, top_procs__Alloc2_8, top_procs__Alloc1_7);
    }
#line 1196 "top_procs.m"
    return top_procs__Result_6;
#line 1196 "top_procs.m"
  }
#line 1193 "top_procs.m"
}

#line 1173 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_allocs_self_percall_2_f_0(
#line 1173 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_45,
#line 1173 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_46,
#line 1173 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1173 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1173 "top_procs.m"
{
#line 1176 "top_procs.m"
  {
#line 1176 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1176 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1176 "top_procs.m"
    MR_Integer top_procs__Calls1_7;
#line 1176 "top_procs.m"
    MR_Integer top_procs__Calls2_8;
#line 1176 "top_procs.m"
    MR_Integer top_procs__Alloc1_9;
#line 1176 "top_procs.m"
    MR_Integer top_procs__Alloc2_10;
#line 1176 "top_procs.m"
    MR_Float top_procs__AllocPerCall1_11;
#line 1176 "top_procs.m"
    MR_Float top_procs__AllocPerCall2_12;
#line 1176 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1176 "top_procs.m"
    MR_Word top_procs__V_14_14;
#line 1176 "top_procs.m"
    MR_Word top_procs__V_15_15;
#line 1176 "top_procs.m"
    MR_Word top_procs__V_16_16;
#line 1177 "top_procs.m"
    MR_String top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1177 "top_procs.m"
    MR_Integer top_procs__V_22_22 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1177 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1177 "top_procs.m"
    MR_Word top_procs__V_24_24 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1177 "top_procs.m"
    MR_String top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1177 "top_procs.m"
    MR_Box top_procs__V_26_26 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1178 "top_procs.m"
    MR_String top_procs__V_27_27;
#line 1178 "top_procs.m"
    MR_Integer top_procs__V_28_28;
#line 1178 "top_procs.m"
    MR_String top_procs__V_29_29;
#line 1178 "top_procs.m"
    MR_Word top_procs__V_30_30;
#line 1178 "top_procs.m"
    MR_String top_procs__V_31_31;
#line 1178 "top_procs.m"
    MR_Box top_procs__V_32_32;
#line 1179 "top_procs.m"
    MR_String top_procs__V_33_33;
#line 1179 "top_procs.m"
    MR_Integer top_procs__V_34_34;
#line 1179 "top_procs.m"
    MR_String top_procs__V_35_35;
#line 1179 "top_procs.m"
    MR_Word top_procs__V_36_36;
#line 1179 "top_procs.m"
    MR_String top_procs__V_37_37;
#line 1179 "top_procs.m"
    MR_Box top_procs__V_38_38;
#line 1180 "top_procs.m"
    MR_String top_procs__V_39_39;
#line 1180 "top_procs.m"
    MR_Integer top_procs__V_40_40;
#line 1180 "top_procs.m"
    MR_String top_procs__V_41_41;
#line 1180 "top_procs.m"
    MR_Word top_procs__V_42_42;
#line 1180 "top_procs.m"
    MR_String top_procs__V_43_43;
#line 1180 "top_procs.m"
    MR_Box top_procs__V_44_44;

#line 1177 "top_procs.m"
    {
#line 1177 "top_procs.m"
      top_procs__Calls1_7 = measurements__calls_1_f_0(top_procs__V_13_13);
    }
#line 1178 "top_procs.m"
    top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1178 "top_procs.m"
    top_procs__V_28_28 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1178 "top_procs.m"
    top_procs__V_29_29 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1178 "top_procs.m"
    top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1178 "top_procs.m"
    top_procs__V_30_30 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1178 "top_procs.m"
    top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1178 "top_procs.m"
    top_procs__V_32_32 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1178 "top_procs.m"
    {
#line 1178 "top_procs.m"
      top_procs__Calls2_8 = measurements__calls_1_f_0(top_procs__V_14_14);
    }
#line 1179 "top_procs.m"
    top_procs__V_33_33 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1179 "top_procs.m"
    top_procs__V_34_34 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1179 "top_procs.m"
    top_procs__V_35_35 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1179 "top_procs.m"
    top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1179 "top_procs.m"
    top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1179 "top_procs.m"
    top_procs__V_37_37 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1179 "top_procs.m"
    top_procs__V_38_38 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1179 "top_procs.m"
    {
#line 1179 "top_procs.m"
      top_procs__Alloc1_9 = measurements__allocs_1_f_0(top_procs__V_15_15);
    }
#line 1180 "top_procs.m"
    top_procs__V_39_39 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1180 "top_procs.m"
    top_procs__V_40_40 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1180 "top_procs.m"
    top_procs__V_41_41 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1180 "top_procs.m"
    top_procs__V_16_16 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1180 "top_procs.m"
    top_procs__V_42_42 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1180 "top_procs.m"
    top_procs__V_43_43 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1180 "top_procs.m"
    top_procs__V_44_44 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1180 "top_procs.m"
    {
#line 1180 "top_procs.m"
      top_procs__Alloc2_10 = measurements__allocs_1_f_0(top_procs__V_16_16);
    }
#line 1181 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls1_7 == (MR_Integer) 0);
#line 1183 "top_procs.m"
    if (top_procs__succeeded)
#line 1182 "top_procs.m"
      top_procs__AllocPerCall1_11 = (MR_Float) 0.0000000000000000;
#line 1183 "top_procs.m"
    else
#line 1184 "top_procs.m"
      {
#line 1184 "top_procs.m"
        MR_Float top_procs__V_17_17;
#line 1184 "top_procs.m"
        MR_Float top_procs__V_18_18;

#line 1184 "top_procs.m"
        {
#line 1184 "top_procs.m"
          top_procs__V_17_17 = mercury__float__float_1_f_0(top_procs__Alloc1_9);
        }
#line 1184 "top_procs.m"
        {
#line 1184 "top_procs.m"
          top_procs__V_18_18 = mercury__float__float_1_f_0(top_procs__Calls1_7);
        }
#line 1184 "top_procs.m"
        {
#line 1184 "top_procs.m"
          top_procs__AllocPerCall1_11 = mercury__float__f_slash_2_f_0(top_procs__V_17_17, top_procs__V_18_18);
        }
#line 1184 "top_procs.m"
      }
#line 1186 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls2_8 == (MR_Integer) 0);
#line 1188 "top_procs.m"
    if (top_procs__succeeded)
#line 1187 "top_procs.m"
      top_procs__AllocPerCall2_12 = (MR_Float) 0.0000000000000000;
#line 1188 "top_procs.m"
    else
#line 1189 "top_procs.m"
      {
#line 1189 "top_procs.m"
        MR_Float top_procs__V_19_19;
#line 1189 "top_procs.m"
        MR_Float top_procs__V_20_20;

#line 1189 "top_procs.m"
        {
#line 1189 "top_procs.m"
          top_procs__V_19_19 = mercury__float__float_1_f_0(top_procs__Alloc2_10);
        }
#line 1189 "top_procs.m"
        {
#line 1189 "top_procs.m"
          top_procs__V_20_20 = mercury__float__float_1_f_0(top_procs__Calls2_8);
        }
#line 1189 "top_procs.m"
        {
#line 1189 "top_procs.m"
          top_procs__AllocPerCall2_12 = mercury__float__f_slash_2_f_0(top_procs__V_19_19, top_procs__V_20_20);
        }
#line 1189 "top_procs.m"
      }
#line 1191 "top_procs.m"
    {
#line 1191 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_6, top_procs__AllocPerCall2_12, top_procs__AllocPerCall1_11);
    }
#line 1176 "top_procs.m"
    return top_procs__Result_6;
#line 1176 "top_procs.m"
  }
#line 1173 "top_procs.m"
}

#line 1165 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_allocs_self_overall_2_f_0(
#line 1165 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_23,
#line 1165 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_24,
#line 1165 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1165 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1165 "top_procs.m"
{
#line 1168 "top_procs.m"
  {
#line 1168 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1168 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1168 "top_procs.m"
    MR_Integer top_procs__Alloc1_7;
#line 1168 "top_procs.m"
    MR_Integer top_procs__Alloc2_8;
#line 1168 "top_procs.m"
    MR_Word top_procs__V_9_9 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1168 "top_procs.m"
    MR_Word top_procs__V_10_10;
#line 1169 "top_procs.m"
    MR_String top_procs__V_11_11 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1169 "top_procs.m"
    MR_Integer top_procs__V_12_12 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1169 "top_procs.m"
    MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1169 "top_procs.m"
    MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1169 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1169 "top_procs.m"
    MR_Box top_procs__V_16_16 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1170 "top_procs.m"
    MR_String top_procs__V_17_17;
#line 1170 "top_procs.m"
    MR_Integer top_procs__V_18_18;
#line 1170 "top_procs.m"
    MR_String top_procs__V_19_19;
#line 1170 "top_procs.m"
    MR_Word top_procs__V_20_20;
#line 1170 "top_procs.m"
    MR_String top_procs__V_21_21;
#line 1170 "top_procs.m"
    MR_Box top_procs__V_22_22;

#line 1169 "top_procs.m"
    {
#line 1169 "top_procs.m"
      top_procs__Alloc1_7 = measurements__allocs_1_f_0(top_procs__V_9_9);
    }
#line 1170 "top_procs.m"
    top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1170 "top_procs.m"
    top_procs__V_18_18 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1170 "top_procs.m"
    top_procs__V_19_19 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1170 "top_procs.m"
    top_procs__V_10_10 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1170 "top_procs.m"
    top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1170 "top_procs.m"
    top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1170 "top_procs.m"
    top_procs__V_22_22 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1170 "top_procs.m"
    {
#line 1170 "top_procs.m"
      top_procs__Alloc2_8 = measurements__allocs_1_f_0(top_procs__V_10_10);
    }
#line 1171 "top_procs.m"
    {
#line 1171 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_6, top_procs__Alloc2_8, top_procs__Alloc1_7);
    }
#line 1168 "top_procs.m"
    return top_procs__Result_6;
#line 1168 "top_procs.m"
  }
#line 1165 "top_procs.m"
}

#line 1143 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_callseqs_total_percall_2_f_0(
#line 1143 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_63,
#line 1143 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_64,
#line 1143 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1143 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1143 "top_procs.m"
{
#line 1146 "top_procs.m"
  {
#line 1146 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1146 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1146 "top_procs.m"
    MR_Integer top_procs__Calls1_7;
#line 1146 "top_procs.m"
    MR_Integer top_procs__Calls2_8;
#line 1146 "top_procs.m"
    MR_Integer top_procs__CallSeqs1_9;
#line 1146 "top_procs.m"
    MR_Integer top_procs__CallSeqs2_10;
#line 1146 "top_procs.m"
    MR_Float top_procs__CallSeqsPerCall1_11;
#line 1146 "top_procs.m"
    MR_Float top_procs__CallSeqsPerCall2_12;
#line 1146 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1146 "top_procs.m"
    MR_Word top_procs__V_14_14;
#line 1146 "top_procs.m"
    MR_Integer top_procs__V_15_15;
#line 1146 "top_procs.m"
    MR_Word top_procs__V_16_16;
#line 1146 "top_procs.m"
    MR_Integer top_procs__V_17_17;
#line 1146 "top_procs.m"
    MR_Word top_procs__V_18_18;
#line 1146 "top_procs.m"
    MR_Integer top_procs__V_19_19;
#line 1146 "top_procs.m"
    MR_Word top_procs__V_20_20;
#line 1146 "top_procs.m"
    MR_Integer top_procs__V_21_21;
#line 1146 "top_procs.m"
    MR_Word top_procs__V_22_22;
#line 1147 "top_procs.m"
    MR_String top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1147 "top_procs.m"
    MR_Integer top_procs__V_28_28 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1147 "top_procs.m"
    MR_String top_procs__V_29_29 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1147 "top_procs.m"
    MR_Word top_procs__V_30_30 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1147 "top_procs.m"
    MR_String top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1147 "top_procs.m"
    MR_Box top_procs__V_32_32 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1148 "top_procs.m"
    MR_String top_procs__V_33_33;
#line 1148 "top_procs.m"
    MR_Integer top_procs__V_34_34;
#line 1148 "top_procs.m"
    MR_String top_procs__V_35_35;
#line 1148 "top_procs.m"
    MR_Word top_procs__V_36_36;
#line 1148 "top_procs.m"
    MR_String top_procs__V_37_37;
#line 1148 "top_procs.m"
    MR_Box top_procs__V_38_38;
#line 1149 "top_procs.m"
    MR_String top_procs__V_39_39;
#line 1149 "top_procs.m"
    MR_Integer top_procs__V_40_40;
#line 1149 "top_procs.m"
    MR_String top_procs__V_41_41;
#line 1149 "top_procs.m"
    MR_Word top_procs__V_42_42;
#line 1149 "top_procs.m"
    MR_String top_procs__V_43_43;
#line 1149 "top_procs.m"
    MR_Box top_procs__V_44_44;
#line 1150 "top_procs.m"
    MR_String top_procs__V_45_45;
#line 1150 "top_procs.m"
    MR_Integer top_procs__V_46_46;
#line 1150 "top_procs.m"
    MR_String top_procs__V_47_47;
#line 1150 "top_procs.m"
    MR_Word top_procs__V_48_48;
#line 1150 "top_procs.m"
    MR_String top_procs__V_49_49;
#line 1150 "top_procs.m"
    MR_Box top_procs__V_50_50;
#line 1151 "top_procs.m"
    MR_String top_procs__V_51_51;
#line 1151 "top_procs.m"
    MR_Integer top_procs__V_52_52;
#line 1151 "top_procs.m"
    MR_String top_procs__V_53_53;
#line 1151 "top_procs.m"
    MR_Word top_procs__V_54_54;
#line 1151 "top_procs.m"
    MR_String top_procs__V_55_55;
#line 1151 "top_procs.m"
    MR_Box top_procs__V_56_56;
#line 1152 "top_procs.m"
    MR_String top_procs__V_57_57;
#line 1152 "top_procs.m"
    MR_Integer top_procs__V_58_58;
#line 1152 "top_procs.m"
    MR_String top_procs__V_59_59;
#line 1152 "top_procs.m"
    MR_Word top_procs__V_60_60;
#line 1152 "top_procs.m"
    MR_String top_procs__V_61_61;
#line 1152 "top_procs.m"
    MR_Box top_procs__V_62_62;

#line 1147 "top_procs.m"
    {
#line 1147 "top_procs.m"
      top_procs__Calls1_7 = measurements__calls_1_f_0(top_procs__V_13_13);
    }
#line 1148 "top_procs.m"
    top_procs__V_33_33 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1148 "top_procs.m"
    top_procs__V_34_34 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1148 "top_procs.m"
    top_procs__V_35_35 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1148 "top_procs.m"
    top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1148 "top_procs.m"
    top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1148 "top_procs.m"
    top_procs__V_37_37 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1148 "top_procs.m"
    top_procs__V_38_38 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1148 "top_procs.m"
    {
#line 1148 "top_procs.m"
      top_procs__Calls2_8 = measurements__calls_1_f_0(top_procs__V_14_14);
    }
#line 1149 "top_procs.m"
    top_procs__V_39_39 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1149 "top_procs.m"
    top_procs__V_40_40 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1149 "top_procs.m"
    top_procs__V_41_41 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1149 "top_procs.m"
    top_procs__V_16_16 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1149 "top_procs.m"
    top_procs__V_42_42 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1149 "top_procs.m"
    top_procs__V_43_43 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1149 "top_procs.m"
    top_procs__V_44_44 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1149 "top_procs.m"
    {
#line 1149 "top_procs.m"
      top_procs__V_15_15 = measurements__callseqs_1_f_0(top_procs__V_16_16);
    }
#line 1150 "top_procs.m"
    top_procs__V_45_45 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1150 "top_procs.m"
    top_procs__V_46_46 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1150 "top_procs.m"
    top_procs__V_47_47 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1150 "top_procs.m"
    top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1150 "top_procs.m"
    top_procs__V_18_18 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1150 "top_procs.m"
    top_procs__V_49_49 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1150 "top_procs.m"
    top_procs__V_50_50 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1149 "top_procs.m"
    {
#line 1149 "top_procs.m"
      top_procs__V_17_17 = measurements__inherit_callseqs_1_f_0(top_procs__V_18_18);
    }
#line 1149 "top_procs.m"
    top_procs__CallSeqs1_9 = (top_procs__V_15_15 + top_procs__V_17_17);
#line 1151 "top_procs.m"
    top_procs__V_51_51 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1151 "top_procs.m"
    top_procs__V_52_52 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1151 "top_procs.m"
    top_procs__V_53_53 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1151 "top_procs.m"
    top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1151 "top_procs.m"
    top_procs__V_54_54 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1151 "top_procs.m"
    top_procs__V_55_55 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1151 "top_procs.m"
    top_procs__V_56_56 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1151 "top_procs.m"
    {
#line 1151 "top_procs.m"
      top_procs__V_19_19 = measurements__callseqs_1_f_0(top_procs__V_20_20);
    }
#line 1152 "top_procs.m"
    top_procs__V_57_57 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1152 "top_procs.m"
    top_procs__V_58_58 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1152 "top_procs.m"
    top_procs__V_59_59 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1152 "top_procs.m"
    top_procs__V_60_60 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1152 "top_procs.m"
    top_procs__V_22_22 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1152 "top_procs.m"
    top_procs__V_61_61 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1152 "top_procs.m"
    top_procs__V_62_62 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1151 "top_procs.m"
    {
#line 1151 "top_procs.m"
      top_procs__V_21_21 = measurements__inherit_callseqs_1_f_0(top_procs__V_22_22);
    }
#line 1151 "top_procs.m"
    top_procs__CallSeqs2_10 = (top_procs__V_19_19 + top_procs__V_21_21);
#line 1153 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls1_7 == (MR_Integer) 0);
#line 1155 "top_procs.m"
    if (top_procs__succeeded)
#line 1154 "top_procs.m"
      top_procs__CallSeqsPerCall1_11 = (MR_Float) 0.0000000000000000;
#line 1155 "top_procs.m"
    else
#line 1156 "top_procs.m"
      {
#line 1156 "top_procs.m"
        MR_Float top_procs__V_23_23;
#line 1156 "top_procs.m"
        MR_Float top_procs__V_24_24;

#line 1156 "top_procs.m"
        {
#line 1156 "top_procs.m"
          top_procs__V_23_23 = mercury__float__float_1_f_0(top_procs__CallSeqs1_9);
        }
#line 1156 "top_procs.m"
        {
#line 1156 "top_procs.m"
          top_procs__V_24_24 = mercury__float__float_1_f_0(top_procs__Calls1_7);
        }
#line 1156 "top_procs.m"
        {
#line 1156 "top_procs.m"
          top_procs__CallSeqsPerCall1_11 = mercury__float__f_slash_2_f_0(top_procs__V_23_23, top_procs__V_24_24);
        }
#line 1156 "top_procs.m"
      }
#line 1158 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls2_8 == (MR_Integer) 0);
#line 1160 "top_procs.m"
    if (top_procs__succeeded)
#line 1159 "top_procs.m"
      top_procs__CallSeqsPerCall2_12 = (MR_Float) 0.0000000000000000;
#line 1160 "top_procs.m"
    else
#line 1161 "top_procs.m"
      {
#line 1161 "top_procs.m"
        MR_Float top_procs__V_25_25;
#line 1161 "top_procs.m"
        MR_Float top_procs__V_26_26;

#line 1161 "top_procs.m"
        {
#line 1161 "top_procs.m"
          top_procs__V_25_25 = mercury__float__float_1_f_0(top_procs__CallSeqs2_10);
        }
#line 1161 "top_procs.m"
        {
#line 1161 "top_procs.m"
          top_procs__V_26_26 = mercury__float__float_1_f_0(top_procs__Calls2_8);
        }
#line 1161 "top_procs.m"
        {
#line 1161 "top_procs.m"
          top_procs__CallSeqsPerCall2_12 = mercury__float__f_slash_2_f_0(top_procs__V_25_25, top_procs__V_26_26);
        }
#line 1161 "top_procs.m"
      }
#line 1163 "top_procs.m"
    {
#line 1163 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_6, top_procs__CallSeqsPerCall2_12, top_procs__CallSeqsPerCall1_11);
    }
#line 1146 "top_procs.m"
    return top_procs__Result_6;
#line 1146 "top_procs.m"
  }
#line 1143 "top_procs.m"
}

#line 1133 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_callseqs_total_overall_2_f_0(
#line 1133 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_41,
#line 1133 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_42,
#line 1133 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1133 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1133 "top_procs.m"
{
#line 1136 "top_procs.m"
  {
#line 1136 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1136 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1136 "top_procs.m"
    MR_Integer top_procs__CallSeqs1_7;
#line 1136 "top_procs.m"
    MR_Integer top_procs__CallSeqs2_8;
#line 1136 "top_procs.m"
    MR_Integer top_procs__V_9_9;
#line 1136 "top_procs.m"
    MR_Word top_procs__V_10_10 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1136 "top_procs.m"
    MR_Integer top_procs__V_11_11;
#line 1136 "top_procs.m"
    MR_Word top_procs__V_12_12;
#line 1136 "top_procs.m"
    MR_Integer top_procs__V_13_13;
#line 1136 "top_procs.m"
    MR_Word top_procs__V_14_14;
#line 1136 "top_procs.m"
    MR_Integer top_procs__V_15_15;
#line 1136 "top_procs.m"
    MR_Word top_procs__V_16_16;
#line 1137 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1137 "top_procs.m"
    MR_Integer top_procs__V_18_18 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1137 "top_procs.m"
    MR_String top_procs__V_19_19 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1137 "top_procs.m"
    MR_Word top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1137 "top_procs.m"
    MR_String top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1137 "top_procs.m"
    MR_Box top_procs__V_22_22 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1138 "top_procs.m"
    MR_String top_procs__V_23_23;
#line 1138 "top_procs.m"
    MR_Integer top_procs__V_24_24;
#line 1138 "top_procs.m"
    MR_String top_procs__V_25_25;
#line 1138 "top_procs.m"
    MR_Word top_procs__V_26_26;
#line 1138 "top_procs.m"
    MR_String top_procs__V_27_27;
#line 1138 "top_procs.m"
    MR_Box top_procs__V_28_28;
#line 1139 "top_procs.m"
    MR_String top_procs__V_29_29;
#line 1139 "top_procs.m"
    MR_Integer top_procs__V_30_30;
#line 1139 "top_procs.m"
    MR_String top_procs__V_31_31;
#line 1139 "top_procs.m"
    MR_Word top_procs__V_32_32;
#line 1139 "top_procs.m"
    MR_String top_procs__V_33_33;
#line 1139 "top_procs.m"
    MR_Box top_procs__V_34_34;
#line 1140 "top_procs.m"
    MR_String top_procs__V_35_35;
#line 1140 "top_procs.m"
    MR_Integer top_procs__V_36_36;
#line 1140 "top_procs.m"
    MR_String top_procs__V_37_37;
#line 1140 "top_procs.m"
    MR_Word top_procs__V_38_38;
#line 1140 "top_procs.m"
    MR_String top_procs__V_39_39;
#line 1140 "top_procs.m"
    MR_Box top_procs__V_40_40;

#line 1137 "top_procs.m"
    {
#line 1137 "top_procs.m"
      top_procs__V_9_9 = measurements__callseqs_1_f_0(top_procs__V_10_10);
    }
#line 1138 "top_procs.m"
    top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1138 "top_procs.m"
    top_procs__V_24_24 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1138 "top_procs.m"
    top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1138 "top_procs.m"
    top_procs__V_26_26 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1138 "top_procs.m"
    top_procs__V_12_12 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1138 "top_procs.m"
    top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1138 "top_procs.m"
    top_procs__V_28_28 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1137 "top_procs.m"
    {
#line 1137 "top_procs.m"
      top_procs__V_11_11 = measurements__inherit_callseqs_1_f_0(top_procs__V_12_12);
    }
#line 1137 "top_procs.m"
    top_procs__CallSeqs1_7 = (top_procs__V_9_9 + top_procs__V_11_11);
#line 1139 "top_procs.m"
    top_procs__V_29_29 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1139 "top_procs.m"
    top_procs__V_30_30 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1139 "top_procs.m"
    top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1139 "top_procs.m"
    top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1139 "top_procs.m"
    top_procs__V_32_32 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1139 "top_procs.m"
    top_procs__V_33_33 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1139 "top_procs.m"
    top_procs__V_34_34 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1139 "top_procs.m"
    {
#line 1139 "top_procs.m"
      top_procs__V_13_13 = measurements__callseqs_1_f_0(top_procs__V_14_14);
    }
#line 1140 "top_procs.m"
    top_procs__V_35_35 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1140 "top_procs.m"
    top_procs__V_36_36 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1140 "top_procs.m"
    top_procs__V_37_37 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1140 "top_procs.m"
    top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1140 "top_procs.m"
    top_procs__V_16_16 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1140 "top_procs.m"
    top_procs__V_39_39 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1140 "top_procs.m"
    top_procs__V_40_40 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1139 "top_procs.m"
    {
#line 1139 "top_procs.m"
      top_procs__V_15_15 = measurements__inherit_callseqs_1_f_0(top_procs__V_16_16);
    }
#line 1139 "top_procs.m"
    top_procs__CallSeqs2_8 = (top_procs__V_13_13 + top_procs__V_15_15);
#line 1141 "top_procs.m"
    {
#line 1141 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_6, top_procs__CallSeqs2_8, top_procs__CallSeqs1_7);
    }
#line 1136 "top_procs.m"
    return top_procs__Result_6;
#line 1136 "top_procs.m"
  }
#line 1133 "top_procs.m"
}

#line 1113 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_callseqs_self_percall_2_f_0(
#line 1113 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_45,
#line 1113 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_46,
#line 1113 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1113 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1113 "top_procs.m"
{
#line 1116 "top_procs.m"
  {
#line 1116 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1116 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1116 "top_procs.m"
    MR_Integer top_procs__Calls1_7;
#line 1116 "top_procs.m"
    MR_Integer top_procs__Calls2_8;
#line 1116 "top_procs.m"
    MR_Integer top_procs__CallSeqs1_9;
#line 1116 "top_procs.m"
    MR_Integer top_procs__CallSeqs2_10;
#line 1116 "top_procs.m"
    MR_Float top_procs__CallSeqsPerCall1_11;
#line 1116 "top_procs.m"
    MR_Float top_procs__CallSeqsPerCall2_12;
#line 1116 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1116 "top_procs.m"
    MR_Word top_procs__V_14_14;
#line 1116 "top_procs.m"
    MR_Word top_procs__V_15_15;
#line 1116 "top_procs.m"
    MR_Word top_procs__V_16_16;
#line 1117 "top_procs.m"
    MR_String top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1117 "top_procs.m"
    MR_Integer top_procs__V_22_22 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1117 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1117 "top_procs.m"
    MR_Word top_procs__V_24_24 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1117 "top_procs.m"
    MR_String top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1117 "top_procs.m"
    MR_Box top_procs__V_26_26 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1118 "top_procs.m"
    MR_String top_procs__V_27_27;
#line 1118 "top_procs.m"
    MR_Integer top_procs__V_28_28;
#line 1118 "top_procs.m"
    MR_String top_procs__V_29_29;
#line 1118 "top_procs.m"
    MR_Word top_procs__V_30_30;
#line 1118 "top_procs.m"
    MR_String top_procs__V_31_31;
#line 1118 "top_procs.m"
    MR_Box top_procs__V_32_32;
#line 1119 "top_procs.m"
    MR_String top_procs__V_33_33;
#line 1119 "top_procs.m"
    MR_Integer top_procs__V_34_34;
#line 1119 "top_procs.m"
    MR_String top_procs__V_35_35;
#line 1119 "top_procs.m"
    MR_Word top_procs__V_36_36;
#line 1119 "top_procs.m"
    MR_String top_procs__V_37_37;
#line 1119 "top_procs.m"
    MR_Box top_procs__V_38_38;
#line 1120 "top_procs.m"
    MR_String top_procs__V_39_39;
#line 1120 "top_procs.m"
    MR_Integer top_procs__V_40_40;
#line 1120 "top_procs.m"
    MR_String top_procs__V_41_41;
#line 1120 "top_procs.m"
    MR_Word top_procs__V_42_42;
#line 1120 "top_procs.m"
    MR_String top_procs__V_43_43;
#line 1120 "top_procs.m"
    MR_Box top_procs__V_44_44;

#line 1117 "top_procs.m"
    {
#line 1117 "top_procs.m"
      top_procs__Calls1_7 = measurements__calls_1_f_0(top_procs__V_13_13);
    }
#line 1118 "top_procs.m"
    top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1118 "top_procs.m"
    top_procs__V_28_28 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1118 "top_procs.m"
    top_procs__V_29_29 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1118 "top_procs.m"
    top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1118 "top_procs.m"
    top_procs__V_30_30 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1118 "top_procs.m"
    top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1118 "top_procs.m"
    top_procs__V_32_32 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1118 "top_procs.m"
    {
#line 1118 "top_procs.m"
      top_procs__Calls2_8 = measurements__calls_1_f_0(top_procs__V_14_14);
    }
#line 1119 "top_procs.m"
    top_procs__V_33_33 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1119 "top_procs.m"
    top_procs__V_34_34 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1119 "top_procs.m"
    top_procs__V_35_35 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1119 "top_procs.m"
    top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1119 "top_procs.m"
    top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1119 "top_procs.m"
    top_procs__V_37_37 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1119 "top_procs.m"
    top_procs__V_38_38 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1119 "top_procs.m"
    {
#line 1119 "top_procs.m"
      top_procs__CallSeqs1_9 = measurements__callseqs_1_f_0(top_procs__V_15_15);
    }
#line 1120 "top_procs.m"
    top_procs__V_39_39 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1120 "top_procs.m"
    top_procs__V_40_40 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1120 "top_procs.m"
    top_procs__V_41_41 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1120 "top_procs.m"
    top_procs__V_16_16 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1120 "top_procs.m"
    top_procs__V_42_42 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1120 "top_procs.m"
    top_procs__V_43_43 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1120 "top_procs.m"
    top_procs__V_44_44 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1120 "top_procs.m"
    {
#line 1120 "top_procs.m"
      top_procs__CallSeqs2_10 = measurements__callseqs_1_f_0(top_procs__V_16_16);
    }
#line 1121 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls1_7 == (MR_Integer) 0);
#line 1123 "top_procs.m"
    if (top_procs__succeeded)
#line 1122 "top_procs.m"
      top_procs__CallSeqsPerCall1_11 = (MR_Float) 0.0000000000000000;
#line 1123 "top_procs.m"
    else
#line 1124 "top_procs.m"
      {
#line 1124 "top_procs.m"
        MR_Float top_procs__V_17_17;
#line 1124 "top_procs.m"
        MR_Float top_procs__V_18_18;

#line 1124 "top_procs.m"
        {
#line 1124 "top_procs.m"
          top_procs__V_17_17 = mercury__float__float_1_f_0(top_procs__CallSeqs1_9);
        }
#line 1124 "top_procs.m"
        {
#line 1124 "top_procs.m"
          top_procs__V_18_18 = mercury__float__float_1_f_0(top_procs__Calls1_7);
        }
#line 1124 "top_procs.m"
        {
#line 1124 "top_procs.m"
          top_procs__CallSeqsPerCall1_11 = mercury__float__f_slash_2_f_0(top_procs__V_17_17, top_procs__V_18_18);
        }
#line 1124 "top_procs.m"
      }
#line 1126 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls2_8 == (MR_Integer) 0);
#line 1128 "top_procs.m"
    if (top_procs__succeeded)
#line 1127 "top_procs.m"
      top_procs__CallSeqsPerCall2_12 = (MR_Float) 0.0000000000000000;
#line 1128 "top_procs.m"
    else
#line 1129 "top_procs.m"
      {
#line 1129 "top_procs.m"
        MR_Float top_procs__V_19_19;
#line 1129 "top_procs.m"
        MR_Float top_procs__V_20_20;

#line 1129 "top_procs.m"
        {
#line 1129 "top_procs.m"
          top_procs__V_19_19 = mercury__float__float_1_f_0(top_procs__CallSeqs2_10);
        }
#line 1129 "top_procs.m"
        {
#line 1129 "top_procs.m"
          top_procs__V_20_20 = mercury__float__float_1_f_0(top_procs__Calls2_8);
        }
#line 1129 "top_procs.m"
        {
#line 1129 "top_procs.m"
          top_procs__CallSeqsPerCall2_12 = mercury__float__f_slash_2_f_0(top_procs__V_19_19, top_procs__V_20_20);
        }
#line 1129 "top_procs.m"
      }
#line 1131 "top_procs.m"
    {
#line 1131 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_6, top_procs__CallSeqsPerCall2_12, top_procs__CallSeqsPerCall1_11);
    }
#line 1116 "top_procs.m"
    return top_procs__Result_6;
#line 1116 "top_procs.m"
  }
#line 1113 "top_procs.m"
}

#line 1105 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_callseqs_self_overall_2_f_0(
#line 1105 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_23,
#line 1105 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_24,
#line 1105 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1105 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1105 "top_procs.m"
{
#line 1108 "top_procs.m"
  {
#line 1108 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1108 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1108 "top_procs.m"
    MR_Integer top_procs__CallSeqs1_7;
#line 1108 "top_procs.m"
    MR_Integer top_procs__CallSeqs2_8;
#line 1108 "top_procs.m"
    MR_Word top_procs__V_9_9 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1108 "top_procs.m"
    MR_Word top_procs__V_10_10;
#line 1109 "top_procs.m"
    MR_String top_procs__V_11_11 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1109 "top_procs.m"
    MR_Integer top_procs__V_12_12 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1109 "top_procs.m"
    MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1109 "top_procs.m"
    MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1109 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1109 "top_procs.m"
    MR_Box top_procs__V_16_16 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1110 "top_procs.m"
    MR_String top_procs__V_17_17;
#line 1110 "top_procs.m"
    MR_Integer top_procs__V_18_18;
#line 1110 "top_procs.m"
    MR_String top_procs__V_19_19;
#line 1110 "top_procs.m"
    MR_Word top_procs__V_20_20;
#line 1110 "top_procs.m"
    MR_String top_procs__V_21_21;
#line 1110 "top_procs.m"
    MR_Box top_procs__V_22_22;

#line 1109 "top_procs.m"
    {
#line 1109 "top_procs.m"
      top_procs__CallSeqs1_7 = measurements__callseqs_1_f_0(top_procs__V_9_9);
    }
#line 1110 "top_procs.m"
    top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1110 "top_procs.m"
    top_procs__V_18_18 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1110 "top_procs.m"
    top_procs__V_19_19 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1110 "top_procs.m"
    top_procs__V_10_10 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1110 "top_procs.m"
    top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1110 "top_procs.m"
    top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1110 "top_procs.m"
    top_procs__V_22_22 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1110 "top_procs.m"
    {
#line 1110 "top_procs.m"
      top_procs__CallSeqs2_8 = measurements__callseqs_1_f_0(top_procs__V_10_10);
    }
#line 1111 "top_procs.m"
    {
#line 1111 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_6, top_procs__CallSeqs2_8, top_procs__CallSeqs1_7);
    }
#line 1108 "top_procs.m"
    return top_procs__Result_6;
#line 1108 "top_procs.m"
  }
#line 1105 "top_procs.m"
}

#line 1085 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_time_total_percall_2_f_0(
#line 1085 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_63,
#line 1085 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_64,
#line 1085 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1085 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1085 "top_procs.m"
{
#line 1088 "top_procs.m"
  {
#line 1088 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1088 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1088 "top_procs.m"
    MR_Integer top_procs__Calls1_7;
#line 1088 "top_procs.m"
    MR_Integer top_procs__Calls2_8;
#line 1088 "top_procs.m"
    MR_Integer top_procs__Quanta1_9;
#line 1088 "top_procs.m"
    MR_Integer top_procs__Quanta2_10;
#line 1088 "top_procs.m"
    MR_Float top_procs__QuantaPerCall1_11;
#line 1088 "top_procs.m"
    MR_Float top_procs__QuantaPerCall2_12;
#line 1088 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1088 "top_procs.m"
    MR_Word top_procs__V_14_14;
#line 1088 "top_procs.m"
    MR_Integer top_procs__V_15_15;
#line 1088 "top_procs.m"
    MR_Word top_procs__V_16_16;
#line 1088 "top_procs.m"
    MR_Integer top_procs__V_17_17;
#line 1088 "top_procs.m"
    MR_Word top_procs__V_18_18;
#line 1088 "top_procs.m"
    MR_Integer top_procs__V_19_19;
#line 1088 "top_procs.m"
    MR_Word top_procs__V_20_20;
#line 1088 "top_procs.m"
    MR_Integer top_procs__V_21_21;
#line 1088 "top_procs.m"
    MR_Word top_procs__V_22_22;
#line 1089 "top_procs.m"
    MR_String top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1089 "top_procs.m"
    MR_Integer top_procs__V_28_28 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1089 "top_procs.m"
    MR_String top_procs__V_29_29 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1089 "top_procs.m"
    MR_Word top_procs__V_30_30 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1089 "top_procs.m"
    MR_String top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1089 "top_procs.m"
    MR_Box top_procs__V_32_32 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1090 "top_procs.m"
    MR_String top_procs__V_33_33;
#line 1090 "top_procs.m"
    MR_Integer top_procs__V_34_34;
#line 1090 "top_procs.m"
    MR_String top_procs__V_35_35;
#line 1090 "top_procs.m"
    MR_Word top_procs__V_36_36;
#line 1090 "top_procs.m"
    MR_String top_procs__V_37_37;
#line 1090 "top_procs.m"
    MR_Box top_procs__V_38_38;
#line 1091 "top_procs.m"
    MR_String top_procs__V_39_39;
#line 1091 "top_procs.m"
    MR_Integer top_procs__V_40_40;
#line 1091 "top_procs.m"
    MR_String top_procs__V_41_41;
#line 1091 "top_procs.m"
    MR_Word top_procs__V_42_42;
#line 1091 "top_procs.m"
    MR_String top_procs__V_43_43;
#line 1091 "top_procs.m"
    MR_Box top_procs__V_44_44;
#line 1091 "top_procs.m"
    MR_String top_procs__V_45_45;
#line 1091 "top_procs.m"
    MR_Integer top_procs__V_46_46;
#line 1091 "top_procs.m"
    MR_String top_procs__V_47_47;
#line 1091 "top_procs.m"
    MR_Word top_procs__V_48_48;
#line 1091 "top_procs.m"
    MR_String top_procs__V_49_49;
#line 1091 "top_procs.m"
    MR_Box top_procs__V_50_50;
#line 1092 "top_procs.m"
    MR_String top_procs__V_51_51;
#line 1092 "top_procs.m"
    MR_Integer top_procs__V_52_52;
#line 1092 "top_procs.m"
    MR_String top_procs__V_53_53;
#line 1092 "top_procs.m"
    MR_Word top_procs__V_54_54;
#line 1092 "top_procs.m"
    MR_String top_procs__V_55_55;
#line 1092 "top_procs.m"
    MR_Box top_procs__V_56_56;
#line 1092 "top_procs.m"
    MR_String top_procs__V_57_57;
#line 1092 "top_procs.m"
    MR_Integer top_procs__V_58_58;
#line 1092 "top_procs.m"
    MR_String top_procs__V_59_59;
#line 1092 "top_procs.m"
    MR_Word top_procs__V_60_60;
#line 1092 "top_procs.m"
    MR_String top_procs__V_61_61;
#line 1092 "top_procs.m"
    MR_Box top_procs__V_62_62;

#line 1089 "top_procs.m"
    {
#line 1089 "top_procs.m"
      top_procs__Calls1_7 = measurements__calls_1_f_0(top_procs__V_13_13);
    }
#line 1090 "top_procs.m"
    top_procs__V_33_33 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1090 "top_procs.m"
    top_procs__V_34_34 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1090 "top_procs.m"
    top_procs__V_35_35 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1090 "top_procs.m"
    top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1090 "top_procs.m"
    top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1090 "top_procs.m"
    top_procs__V_37_37 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1090 "top_procs.m"
    top_procs__V_38_38 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1090 "top_procs.m"
    {
#line 1090 "top_procs.m"
      top_procs__Calls2_8 = measurements__calls_1_f_0(top_procs__V_14_14);
    }
#line 1091 "top_procs.m"
    top_procs__V_39_39 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1091 "top_procs.m"
    top_procs__V_40_40 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1091 "top_procs.m"
    top_procs__V_41_41 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1091 "top_procs.m"
    top_procs__V_16_16 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1091 "top_procs.m"
    top_procs__V_42_42 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1091 "top_procs.m"
    top_procs__V_43_43 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1091 "top_procs.m"
    top_procs__V_44_44 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1091 "top_procs.m"
    {
#line 1091 "top_procs.m"
      top_procs__V_15_15 = measurements__quanta_1_f_0(top_procs__V_16_16);
    }
#line 1091 "top_procs.m"
    top_procs__V_45_45 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1091 "top_procs.m"
    top_procs__V_46_46 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1091 "top_procs.m"
    top_procs__V_47_47 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1091 "top_procs.m"
    top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1091 "top_procs.m"
    top_procs__V_18_18 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1091 "top_procs.m"
    top_procs__V_49_49 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1091 "top_procs.m"
    top_procs__V_50_50 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1091 "top_procs.m"
    {
#line 1091 "top_procs.m"
      top_procs__V_17_17 = measurements__inherit_quanta_1_f_0(top_procs__V_18_18);
    }
#line 1091 "top_procs.m"
    top_procs__Quanta1_9 = (top_procs__V_15_15 + top_procs__V_17_17);
#line 1092 "top_procs.m"
    top_procs__V_51_51 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1092 "top_procs.m"
    top_procs__V_52_52 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1092 "top_procs.m"
    top_procs__V_53_53 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1092 "top_procs.m"
    top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1092 "top_procs.m"
    top_procs__V_54_54 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1092 "top_procs.m"
    top_procs__V_55_55 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1092 "top_procs.m"
    top_procs__V_56_56 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1092 "top_procs.m"
    {
#line 1092 "top_procs.m"
      top_procs__V_19_19 = measurements__quanta_1_f_0(top_procs__V_20_20);
    }
#line 1092 "top_procs.m"
    top_procs__V_57_57 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1092 "top_procs.m"
    top_procs__V_58_58 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1092 "top_procs.m"
    top_procs__V_59_59 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1092 "top_procs.m"
    top_procs__V_60_60 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1092 "top_procs.m"
    top_procs__V_22_22 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1092 "top_procs.m"
    top_procs__V_61_61 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1092 "top_procs.m"
    top_procs__V_62_62 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1092 "top_procs.m"
    {
#line 1092 "top_procs.m"
      top_procs__V_21_21 = measurements__inherit_quanta_1_f_0(top_procs__V_22_22);
    }
#line 1092 "top_procs.m"
    top_procs__Quanta2_10 = (top_procs__V_19_19 + top_procs__V_21_21);
#line 1093 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls1_7 == (MR_Integer) 0);
#line 1095 "top_procs.m"
    if (top_procs__succeeded)
#line 1094 "top_procs.m"
      top_procs__QuantaPerCall1_11 = (MR_Float) 0.0000000000000000;
#line 1095 "top_procs.m"
    else
#line 1096 "top_procs.m"
      {
#line 1096 "top_procs.m"
        MR_Float top_procs__V_23_23;
#line 1096 "top_procs.m"
        MR_Float top_procs__V_24_24;

#line 1096 "top_procs.m"
        {
#line 1096 "top_procs.m"
          top_procs__V_23_23 = mercury__float__float_1_f_0(top_procs__Quanta1_9);
        }
#line 1096 "top_procs.m"
        {
#line 1096 "top_procs.m"
          top_procs__V_24_24 = mercury__float__float_1_f_0(top_procs__Calls1_7);
        }
#line 1096 "top_procs.m"
        {
#line 1096 "top_procs.m"
          top_procs__QuantaPerCall1_11 = mercury__float__f_slash_2_f_0(top_procs__V_23_23, top_procs__V_24_24);
        }
#line 1096 "top_procs.m"
      }
#line 1098 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls2_8 == (MR_Integer) 0);
#line 1100 "top_procs.m"
    if (top_procs__succeeded)
#line 1099 "top_procs.m"
      top_procs__QuantaPerCall2_12 = (MR_Float) 0.0000000000000000;
#line 1100 "top_procs.m"
    else
#line 1101 "top_procs.m"
      {
#line 1101 "top_procs.m"
        MR_Float top_procs__V_25_25;
#line 1101 "top_procs.m"
        MR_Float top_procs__V_26_26;

#line 1101 "top_procs.m"
        {
#line 1101 "top_procs.m"
          top_procs__V_25_25 = mercury__float__float_1_f_0(top_procs__Quanta2_10);
        }
#line 1101 "top_procs.m"
        {
#line 1101 "top_procs.m"
          top_procs__V_26_26 = mercury__float__float_1_f_0(top_procs__Calls2_8);
        }
#line 1101 "top_procs.m"
        {
#line 1101 "top_procs.m"
          top_procs__QuantaPerCall2_12 = mercury__float__f_slash_2_f_0(top_procs__V_25_25, top_procs__V_26_26);
        }
#line 1101 "top_procs.m"
      }
#line 1103 "top_procs.m"
    {
#line 1103 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_6, top_procs__QuantaPerCall2_12, top_procs__QuantaPerCall1_11);
    }
#line 1088 "top_procs.m"
    return top_procs__Result_6;
#line 1088 "top_procs.m"
  }
#line 1085 "top_procs.m"
}

#line 1077 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_time_total_overall_2_f_0(
#line 1077 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_41,
#line 1077 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_42,
#line 1077 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1077 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1077 "top_procs.m"
{
#line 1080 "top_procs.m"
  {
#line 1080 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1080 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1080 "top_procs.m"
    MR_Integer top_procs__Quanta1_7;
#line 1080 "top_procs.m"
    MR_Integer top_procs__Quanta2_8;
#line 1080 "top_procs.m"
    MR_Integer top_procs__V_9_9;
#line 1080 "top_procs.m"
    MR_Word top_procs__V_10_10 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1080 "top_procs.m"
    MR_Integer top_procs__V_11_11;
#line 1080 "top_procs.m"
    MR_Word top_procs__V_12_12;
#line 1080 "top_procs.m"
    MR_Integer top_procs__V_13_13;
#line 1080 "top_procs.m"
    MR_Word top_procs__V_14_14;
#line 1080 "top_procs.m"
    MR_Integer top_procs__V_15_15;
#line 1080 "top_procs.m"
    MR_Word top_procs__V_16_16;
#line 1081 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1081 "top_procs.m"
    MR_Integer top_procs__V_18_18 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1081 "top_procs.m"
    MR_String top_procs__V_19_19 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1081 "top_procs.m"
    MR_Word top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1081 "top_procs.m"
    MR_String top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1081 "top_procs.m"
    MR_Box top_procs__V_22_22 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1081 "top_procs.m"
    MR_String top_procs__V_23_23;
#line 1081 "top_procs.m"
    MR_Integer top_procs__V_24_24;
#line 1081 "top_procs.m"
    MR_String top_procs__V_25_25;
#line 1081 "top_procs.m"
    MR_Word top_procs__V_26_26;
#line 1081 "top_procs.m"
    MR_String top_procs__V_27_27;
#line 1081 "top_procs.m"
    MR_Box top_procs__V_28_28;
#line 1082 "top_procs.m"
    MR_String top_procs__V_29_29;
#line 1082 "top_procs.m"
    MR_Integer top_procs__V_30_30;
#line 1082 "top_procs.m"
    MR_String top_procs__V_31_31;
#line 1082 "top_procs.m"
    MR_Word top_procs__V_32_32;
#line 1082 "top_procs.m"
    MR_String top_procs__V_33_33;
#line 1082 "top_procs.m"
    MR_Box top_procs__V_34_34;
#line 1082 "top_procs.m"
    MR_String top_procs__V_35_35;
#line 1082 "top_procs.m"
    MR_Integer top_procs__V_36_36;
#line 1082 "top_procs.m"
    MR_String top_procs__V_37_37;
#line 1082 "top_procs.m"
    MR_Word top_procs__V_38_38;
#line 1082 "top_procs.m"
    MR_String top_procs__V_39_39;
#line 1082 "top_procs.m"
    MR_Box top_procs__V_40_40;

#line 1081 "top_procs.m"
    {
#line 1081 "top_procs.m"
      top_procs__V_9_9 = measurements__quanta_1_f_0(top_procs__V_10_10);
    }
#line 1081 "top_procs.m"
    top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1081 "top_procs.m"
    top_procs__V_24_24 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1081 "top_procs.m"
    top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1081 "top_procs.m"
    top_procs__V_26_26 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1081 "top_procs.m"
    top_procs__V_12_12 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1081 "top_procs.m"
    top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1081 "top_procs.m"
    top_procs__V_28_28 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1081 "top_procs.m"
    {
#line 1081 "top_procs.m"
      top_procs__V_11_11 = measurements__inherit_quanta_1_f_0(top_procs__V_12_12);
    }
#line 1081 "top_procs.m"
    top_procs__Quanta1_7 = (top_procs__V_9_9 + top_procs__V_11_11);
#line 1082 "top_procs.m"
    top_procs__V_29_29 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1082 "top_procs.m"
    top_procs__V_30_30 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1082 "top_procs.m"
    top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1082 "top_procs.m"
    top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1082 "top_procs.m"
    top_procs__V_32_32 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1082 "top_procs.m"
    top_procs__V_33_33 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1082 "top_procs.m"
    top_procs__V_34_34 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1082 "top_procs.m"
    {
#line 1082 "top_procs.m"
      top_procs__V_13_13 = measurements__quanta_1_f_0(top_procs__V_14_14);
    }
#line 1082 "top_procs.m"
    top_procs__V_35_35 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1082 "top_procs.m"
    top_procs__V_36_36 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1082 "top_procs.m"
    top_procs__V_37_37 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1082 "top_procs.m"
    top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1082 "top_procs.m"
    top_procs__V_16_16 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1082 "top_procs.m"
    top_procs__V_39_39 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1082 "top_procs.m"
    top_procs__V_40_40 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1082 "top_procs.m"
    {
#line 1082 "top_procs.m"
      top_procs__V_15_15 = measurements__inherit_quanta_1_f_0(top_procs__V_16_16);
    }
#line 1082 "top_procs.m"
    top_procs__Quanta2_8 = (top_procs__V_13_13 + top_procs__V_15_15);
#line 1083 "top_procs.m"
    {
#line 1083 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_6, top_procs__Quanta2_8, top_procs__Quanta1_7);
    }
#line 1080 "top_procs.m"
    return top_procs__Result_6;
#line 1080 "top_procs.m"
  }
#line 1077 "top_procs.m"
}

#line 1057 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_time_self_percall_2_f_0(
#line 1057 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_45,
#line 1057 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_46,
#line 1057 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1057 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1057 "top_procs.m"
{
#line 1060 "top_procs.m"
  {
#line 1060 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1060 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1060 "top_procs.m"
    MR_Integer top_procs__Calls1_7;
#line 1060 "top_procs.m"
    MR_Integer top_procs__Calls2_8;
#line 1060 "top_procs.m"
    MR_Integer top_procs__Quanta1_9;
#line 1060 "top_procs.m"
    MR_Integer top_procs__Quanta2_10;
#line 1060 "top_procs.m"
    MR_Float top_procs__QuantaPerCall1_11;
#line 1060 "top_procs.m"
    MR_Float top_procs__QuantaPerCall2_12;
#line 1060 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1060 "top_procs.m"
    MR_Word top_procs__V_14_14;
#line 1060 "top_procs.m"
    MR_Word top_procs__V_15_15;
#line 1060 "top_procs.m"
    MR_Word top_procs__V_16_16;
#line 1061 "top_procs.m"
    MR_String top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1061 "top_procs.m"
    MR_Integer top_procs__V_22_22 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1061 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1061 "top_procs.m"
    MR_Word top_procs__V_24_24 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1061 "top_procs.m"
    MR_String top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1061 "top_procs.m"
    MR_Box top_procs__V_26_26 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1062 "top_procs.m"
    MR_String top_procs__V_27_27;
#line 1062 "top_procs.m"
    MR_Integer top_procs__V_28_28;
#line 1062 "top_procs.m"
    MR_String top_procs__V_29_29;
#line 1062 "top_procs.m"
    MR_Word top_procs__V_30_30;
#line 1062 "top_procs.m"
    MR_String top_procs__V_31_31;
#line 1062 "top_procs.m"
    MR_Box top_procs__V_32_32;
#line 1063 "top_procs.m"
    MR_String top_procs__V_33_33;
#line 1063 "top_procs.m"
    MR_Integer top_procs__V_34_34;
#line 1063 "top_procs.m"
    MR_String top_procs__V_35_35;
#line 1063 "top_procs.m"
    MR_Word top_procs__V_36_36;
#line 1063 "top_procs.m"
    MR_String top_procs__V_37_37;
#line 1063 "top_procs.m"
    MR_Box top_procs__V_38_38;
#line 1064 "top_procs.m"
    MR_String top_procs__V_39_39;
#line 1064 "top_procs.m"
    MR_Integer top_procs__V_40_40;
#line 1064 "top_procs.m"
    MR_String top_procs__V_41_41;
#line 1064 "top_procs.m"
    MR_Word top_procs__V_42_42;
#line 1064 "top_procs.m"
    MR_String top_procs__V_43_43;
#line 1064 "top_procs.m"
    MR_Box top_procs__V_44_44;

#line 1061 "top_procs.m"
    {
#line 1061 "top_procs.m"
      top_procs__Calls1_7 = measurements__calls_1_f_0(top_procs__V_13_13);
    }
#line 1062 "top_procs.m"
    top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1062 "top_procs.m"
    top_procs__V_28_28 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1062 "top_procs.m"
    top_procs__V_29_29 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1062 "top_procs.m"
    top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1062 "top_procs.m"
    top_procs__V_30_30 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1062 "top_procs.m"
    top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1062 "top_procs.m"
    top_procs__V_32_32 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1062 "top_procs.m"
    {
#line 1062 "top_procs.m"
      top_procs__Calls2_8 = measurements__calls_1_f_0(top_procs__V_14_14);
    }
#line 1063 "top_procs.m"
    top_procs__V_33_33 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1063 "top_procs.m"
    top_procs__V_34_34 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1063 "top_procs.m"
    top_procs__V_35_35 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1063 "top_procs.m"
    top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1063 "top_procs.m"
    top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1063 "top_procs.m"
    top_procs__V_37_37 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1063 "top_procs.m"
    top_procs__V_38_38 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1063 "top_procs.m"
    {
#line 1063 "top_procs.m"
      top_procs__Quanta1_9 = measurements__quanta_1_f_0(top_procs__V_15_15);
    }
#line 1064 "top_procs.m"
    top_procs__V_39_39 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1064 "top_procs.m"
    top_procs__V_40_40 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1064 "top_procs.m"
    top_procs__V_41_41 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1064 "top_procs.m"
    top_procs__V_16_16 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1064 "top_procs.m"
    top_procs__V_42_42 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1064 "top_procs.m"
    top_procs__V_43_43 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1064 "top_procs.m"
    top_procs__V_44_44 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1064 "top_procs.m"
    {
#line 1064 "top_procs.m"
      top_procs__Quanta2_10 = measurements__quanta_1_f_0(top_procs__V_16_16);
    }
#line 1065 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls1_7 == (MR_Integer) 0);
#line 1067 "top_procs.m"
    if (top_procs__succeeded)
#line 1066 "top_procs.m"
      top_procs__QuantaPerCall1_11 = (MR_Float) 0.0000000000000000;
#line 1067 "top_procs.m"
    else
#line 1068 "top_procs.m"
      {
#line 1068 "top_procs.m"
        MR_Float top_procs__V_17_17;
#line 1068 "top_procs.m"
        MR_Float top_procs__V_18_18;

#line 1068 "top_procs.m"
        {
#line 1068 "top_procs.m"
          top_procs__V_17_17 = mercury__float__float_1_f_0(top_procs__Quanta1_9);
        }
#line 1068 "top_procs.m"
        {
#line 1068 "top_procs.m"
          top_procs__V_18_18 = mercury__float__float_1_f_0(top_procs__Calls1_7);
        }
#line 1068 "top_procs.m"
        {
#line 1068 "top_procs.m"
          top_procs__QuantaPerCall1_11 = mercury__float__f_slash_2_f_0(top_procs__V_17_17, top_procs__V_18_18);
        }
#line 1068 "top_procs.m"
      }
#line 1070 "top_procs.m"
    top_procs__succeeded = (top_procs__Calls2_8 == (MR_Integer) 0);
#line 1072 "top_procs.m"
    if (top_procs__succeeded)
#line 1071 "top_procs.m"
      top_procs__QuantaPerCall2_12 = (MR_Float) 0.0000000000000000;
#line 1072 "top_procs.m"
    else
#line 1073 "top_procs.m"
      {
#line 1073 "top_procs.m"
        MR_Float top_procs__V_19_19;
#line 1073 "top_procs.m"
        MR_Float top_procs__V_20_20;

#line 1073 "top_procs.m"
        {
#line 1073 "top_procs.m"
          top_procs__V_19_19 = mercury__float__float_1_f_0(top_procs__Quanta2_10);
        }
#line 1073 "top_procs.m"
        {
#line 1073 "top_procs.m"
          top_procs__V_20_20 = mercury__float__float_1_f_0(top_procs__Calls2_8);
        }
#line 1073 "top_procs.m"
        {
#line 1073 "top_procs.m"
          top_procs__QuantaPerCall2_12 = mercury__float__f_slash_2_f_0(top_procs__V_19_19, top_procs__V_20_20);
        }
#line 1073 "top_procs.m"
      }
#line 1075 "top_procs.m"
    {
#line 1075 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_6, top_procs__QuantaPerCall2_12, top_procs__QuantaPerCall1_11);
    }
#line 1060 "top_procs.m"
    return top_procs__Result_6;
#line 1060 "top_procs.m"
  }
#line 1057 "top_procs.m"
}

#line 1049 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_time_self_overall_2_f_0(
#line 1049 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_23,
#line 1049 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_24,
#line 1049 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1049 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1049 "top_procs.m"
{
#line 1052 "top_procs.m"
  {
#line 1052 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1052 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1052 "top_procs.m"
    MR_Integer top_procs__Quanta1_7;
#line 1052 "top_procs.m"
    MR_Integer top_procs__Quanta2_8;
#line 1052 "top_procs.m"
    MR_Word top_procs__V_9_9 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1052 "top_procs.m"
    MR_Word top_procs__V_10_10;
#line 1053 "top_procs.m"
    MR_String top_procs__V_11_11 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1053 "top_procs.m"
    MR_Integer top_procs__V_12_12 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1053 "top_procs.m"
    MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1053 "top_procs.m"
    MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1053 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1053 "top_procs.m"
    MR_Box top_procs__V_16_16 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1054 "top_procs.m"
    MR_String top_procs__V_17_17;
#line 1054 "top_procs.m"
    MR_Integer top_procs__V_18_18;
#line 1054 "top_procs.m"
    MR_String top_procs__V_19_19;
#line 1054 "top_procs.m"
    MR_Word top_procs__V_20_20;
#line 1054 "top_procs.m"
    MR_String top_procs__V_21_21;
#line 1054 "top_procs.m"
    MR_Box top_procs__V_22_22;

#line 1053 "top_procs.m"
    {
#line 1053 "top_procs.m"
      top_procs__Quanta1_7 = measurements__quanta_1_f_0(top_procs__V_9_9);
    }
#line 1054 "top_procs.m"
    top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1054 "top_procs.m"
    top_procs__V_18_18 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1054 "top_procs.m"
    top_procs__V_19_19 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1054 "top_procs.m"
    top_procs__V_10_10 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1054 "top_procs.m"
    top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1054 "top_procs.m"
    top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1054 "top_procs.m"
    top_procs__V_22_22 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1054 "top_procs.m"
    {
#line 1054 "top_procs.m"
      top_procs__Quanta2_8 = measurements__quanta_1_f_0(top_procs__V_10_10);
    }
#line 1055 "top_procs.m"
    {
#line 1055 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_6, top_procs__Quanta2_8, top_procs__Quanta1_7);
    }
#line 1052 "top_procs.m"
    return top_procs__Result_6;
#line 1052 "top_procs.m"
  }
#line 1049 "top_procs.m"
}

#line 1041 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_redos_2_f_0(
#line 1041 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_23,
#line 1041 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_24,
#line 1041 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1041 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1041 "top_procs.m"
{
#line 1044 "top_procs.m"
  {
#line 1044 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1044 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1044 "top_procs.m"
    MR_Integer top_procs__Redos1_7;
#line 1044 "top_procs.m"
    MR_Integer top_procs__Redos2_8;
#line 1044 "top_procs.m"
    MR_Word top_procs__V_9_9 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1044 "top_procs.m"
    MR_Word top_procs__V_10_10;
#line 1045 "top_procs.m"
    MR_String top_procs__V_11_11 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1045 "top_procs.m"
    MR_Integer top_procs__V_12_12 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1045 "top_procs.m"
    MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1045 "top_procs.m"
    MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1045 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1045 "top_procs.m"
    MR_Box top_procs__V_16_16 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1046 "top_procs.m"
    MR_String top_procs__V_17_17;
#line 1046 "top_procs.m"
    MR_Integer top_procs__V_18_18;
#line 1046 "top_procs.m"
    MR_String top_procs__V_19_19;
#line 1046 "top_procs.m"
    MR_Word top_procs__V_20_20;
#line 1046 "top_procs.m"
    MR_String top_procs__V_21_21;
#line 1046 "top_procs.m"
    MR_Box top_procs__V_22_22;

#line 1045 "top_procs.m"
    {
#line 1045 "top_procs.m"
      top_procs__Redos1_7 = measurements__redos_1_f_0(top_procs__V_9_9);
    }
#line 1046 "top_procs.m"
    top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1046 "top_procs.m"
    top_procs__V_18_18 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1046 "top_procs.m"
    top_procs__V_19_19 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1046 "top_procs.m"
    top_procs__V_10_10 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1046 "top_procs.m"
    top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1046 "top_procs.m"
    top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1046 "top_procs.m"
    top_procs__V_22_22 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1046 "top_procs.m"
    {
#line 1046 "top_procs.m"
      top_procs__Redos2_8 = measurements__redos_1_f_0(top_procs__V_10_10);
    }
#line 1047 "top_procs.m"
    {
#line 1047 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_6, top_procs__Redos2_8, top_procs__Redos1_7);
    }
#line 1044 "top_procs.m"
    return top_procs__Result_6;
#line 1044 "top_procs.m"
  }
#line 1041 "top_procs.m"
}

#line 1033 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_calls_2_f_0(
#line 1033 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_23,
#line 1033 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_24,
#line 1033 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1033 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1033 "top_procs.m"
{
#line 1036 "top_procs.m"
  {
#line 1036 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1036 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1036 "top_procs.m"
    MR_Integer top_procs__Calls1_7;
#line 1036 "top_procs.m"
    MR_Integer top_procs__Calls2_8;
#line 1036 "top_procs.m"
    MR_Word top_procs__V_9_9 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1036 "top_procs.m"
    MR_Word top_procs__V_10_10;
#line 1037 "top_procs.m"
    MR_String top_procs__V_11_11 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1037 "top_procs.m"
    MR_Integer top_procs__V_12_12 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1037 "top_procs.m"
    MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1037 "top_procs.m"
    MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1037 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1037 "top_procs.m"
    MR_Box top_procs__V_16_16 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1038 "top_procs.m"
    MR_String top_procs__V_17_17;
#line 1038 "top_procs.m"
    MR_Integer top_procs__V_18_18;
#line 1038 "top_procs.m"
    MR_String top_procs__V_19_19;
#line 1038 "top_procs.m"
    MR_Word top_procs__V_20_20;
#line 1038 "top_procs.m"
    MR_String top_procs__V_21_21;
#line 1038 "top_procs.m"
    MR_Box top_procs__V_22_22;

#line 1037 "top_procs.m"
    {
#line 1037 "top_procs.m"
      top_procs__Calls1_7 = measurements__calls_1_f_0(top_procs__V_9_9);
    }
#line 1038 "top_procs.m"
    top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1038 "top_procs.m"
    top_procs__V_18_18 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1038 "top_procs.m"
    top_procs__V_19_19 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1038 "top_procs.m"
    top_procs__V_10_10 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1038 "top_procs.m"
    top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1038 "top_procs.m"
    top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1038 "top_procs.m"
    top_procs__V_22_22 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));
#line 1038 "top_procs.m"
    {
#line 1038 "top_procs.m"
      top_procs__Calls2_8 = measurements__calls_1_f_0(top_procs__V_10_10);
    }
#line 1039 "top_procs.m"
    {
#line 1039 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_6, top_procs__Calls2_8, top_procs__Calls1_7);
    }
#line 1036 "top_procs.m"
    return top_procs__Result_6;
#line 1036 "top_procs.m"
  }
#line 1033 "top_procs.m"
}

#line 1027 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_name_2_f_0(
#line 1027 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_21,
#line 1027 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_22,
#line 1027 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1027 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1027 "top_procs.m"
{
#line 1030 "top_procs.m"
  {
#line 1030 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1030 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1030 "top_procs.m"
    MR_String top_procs__V_7_7 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1030 "top_procs.m"
    MR_String top_procs__V_8_8 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1031 "top_procs.m"
    MR_String top_procs__V_9_9 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1031 "top_procs.m"
    MR_Integer top_procs__V_10_10 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1031 "top_procs.m"
    MR_Word top_procs__V_11_11 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1031 "top_procs.m"
    MR_Word top_procs__V_12_12 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1031 "top_procs.m"
    MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1031 "top_procs.m"
    MR_Box top_procs__V_14_14 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1031 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1031 "top_procs.m"
    MR_Integer top_procs__V_16_16 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1031 "top_procs.m"
    MR_Word top_procs__V_17_17 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1031 "top_procs.m"
    MR_Word top_procs__V_18_18 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1031 "top_procs.m"
    MR_String top_procs__V_19_19 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1031 "top_procs.m"
    MR_Box top_procs__V_20_20 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));

#line 1031 "top_procs.m"
    {
#line 1031 "top_procs.m"
      mercury__private_builtin__builtin_compare_string_3_p_0(&top_procs__Result_6, top_procs__V_7_7, top_procs__V_8_8);
    }
#line 1030 "top_procs.m"
    return top_procs__Result_6;
#line 1030 "top_procs.m"
  }
#line 1027 "top_procs.m"
}

#line 1011 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_line_groups_by_context_2_f_0(
#line 1011 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_36,
#line 1011 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_37,
#line 1011 "top_procs.m"
  MR_Word top_procs__Group1_4,
#line 1011 "top_procs.m"
  MR_Word top_procs__Group2_5)
#line 1011 "top_procs.m"
{
#line 1014 "top_procs.m"
  {
#line 1014 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1014 "top_procs.m"
    MR_Word top_procs__Result_6;
#line 1014 "top_procs.m"
    MR_Word top_procs__ResultFilenames_7;
#line 1014 "top_procs.m"
    MR_String top_procs__V_8_8 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1014 "top_procs.m"
    MR_String top_procs__V_9_9 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1015 "top_procs.m"
    MR_Integer top_procs__V_12_12 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1015 "top_procs.m"
    MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1015 "top_procs.m"
    MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1015 "top_procs.m"
    MR_Word top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1015 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1015 "top_procs.m"
    MR_Box top_procs__V_17_17 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1015 "top_procs.m"
    MR_Integer top_procs__V_18_18 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1015 "top_procs.m"
    MR_String top_procs__V_19_19 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1015 "top_procs.m"
    MR_Word top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1015 "top_procs.m"
    MR_Word top_procs__V_21_21 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1015 "top_procs.m"
    MR_String top_procs__V_22_22 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1015 "top_procs.m"
    MR_Box top_procs__V_23_23 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));

#line 1015 "top_procs.m"
    {
#line 1015 "top_procs.m"
      mercury__private_builtin__builtin_compare_string_3_p_0(&top_procs__ResultFilenames_7, top_procs__V_8_8, top_procs__V_9_9);
    }
#line 1020 "top_procs.m"
    if ((top_procs__ResultFilenames_7 == (MR_Integer) 0))
#line 1018 "top_procs.m"
      {
#line 1018 "top_procs.m"
        MR_Integer top_procs__V_10_10 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 1)));
#line 1018 "top_procs.m"
        MR_Integer top_procs__V_11_11 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 1)));
#line 1019 "top_procs.m"
        MR_String top_procs__V_24_24 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 0)));
#line 1019 "top_procs.m"
        MR_String top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 2)));
#line 1019 "top_procs.m"
        MR_Word top_procs__V_26_26 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 3)));
#line 1019 "top_procs.m"
        MR_Word top_procs__V_27_27 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 4)));
#line 1019 "top_procs.m"
        MR_String top_procs__V_28_28 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 5)));
#line 1019 "top_procs.m"
        MR_Box top_procs__V_29_29 = (MR_hl_field(MR_mktag(0), top_procs__Group1_4, (MR_Integer) 6));
#line 1019 "top_procs.m"
        MR_String top_procs__V_30_30 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 0)));
#line 1019 "top_procs.m"
        MR_String top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 2)));
#line 1019 "top_procs.m"
        MR_Word top_procs__V_32_32 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 3)));
#line 1019 "top_procs.m"
        MR_Word top_procs__V_33_33 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 4)));
#line 1019 "top_procs.m"
        MR_String top_procs__V_34_34 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 5)));
#line 1019 "top_procs.m"
        MR_Box top_procs__V_35_35 = (MR_hl_field(MR_mktag(0), top_procs__Group2_5, (MR_Integer) 6));

#line 1019 "top_procs.m"
        {
#line 1019 "top_procs.m"
          mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_6, top_procs__V_10_10, top_procs__V_11_11);
        }
#line 1018 "top_procs.m"
      }
#line 1020 "top_procs.m"
    else
#line 1024 "top_procs.m"
      top_procs__Result_6 = top_procs__ResultFilenames_7;
#line 1014 "top_procs.m"
    return top_procs__Result_6;
#line 1014 "top_procs.m"
  }
#line 1011 "top_procs.m"
}

#line 985 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_groups_fallback_3_f_0(
#line 985 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_11,
#line 985 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_12,
#line 985 "top_procs.m"
  MR_Word top_procs__MainFunc_5,
#line 985 "top_procs.m"
  MR_Word top_procs__Group1_6,
#line 985 "top_procs.m"
  MR_Word top_procs__Group2_7)
#line 985 "top_procs.m"
{
#line 988 "top_procs.m"
  {
#line 988 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 988 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 988 "top_procs.m"
    MR_Word top_procs__Result0_9;
#line 989 "top_procs.m"
    MR_Box MR_CALL (* top_procs__func_0)(MR_Box, MR_Box, MR_Box) = ((MR_Box MR_CALL (*)(MR_Box, MR_Box, MR_Box)) (MR_hl_field(MR_mktag(0), top_procs__MainFunc_5, (MR_Integer) 1)));
#line 989 "top_procs.m"
    MR_Box top_procs__conv1_Result0_9;

#line 989 "top_procs.m"
    {
#line 989 "top_procs.m"
      top_procs__conv1_Result0_9 = top_procs__func_0(((MR_Box) top_procs__MainFunc_5), ((MR_Box) (top_procs__Group1_6)), ((MR_Box) (top_procs__Group2_7)));
    }
#line 989 "top_procs.m"
    top_procs__Result0_9 = ((MR_Word) top_procs__conv1_Result0_9);
#line 1002 "top_procs.m"
    if ((top_procs__Result0_9 == (MR_Integer) 0))
#line 991 "top_procs.m"
      {
#line 991 "top_procs.m"
        MR_Word top_procs__Result1_10;

#line 992 "top_procs.m"
        {
#line 992 "top_procs.m"
          top_procs__Result1_10 = top_procs__compare_line_groups_by_context_2_f_0(top_procs__TypeInfo_for_FL_11, top_procs__TypeInfo_for_LL_12, top_procs__Group1_6, top_procs__Group2_7);
        }
#line 996 "top_procs.m"
        if ((top_procs__Result1_10 == (MR_Integer) 0))
#line 1030 "top_procs.m"
          {
#line 1030 "top_procs.m"
            MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_6, (MR_Integer) 2)));
#line 1030 "top_procs.m"
            MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_7, (MR_Integer) 2)));
#line 1031 "top_procs.m"
            MR_String top_procs__V_18_18 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_6, (MR_Integer) 0)));
#line 1031 "top_procs.m"
            MR_Integer top_procs__V_19_19 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group1_6, (MR_Integer) 1)));
#line 1031 "top_procs.m"
            MR_Word top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_6, (MR_Integer) 3)));
#line 1031 "top_procs.m"
            MR_Word top_procs__V_21_21 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group1_6, (MR_Integer) 4)));
#line 1031 "top_procs.m"
            MR_String top_procs__V_22_22 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group1_6, (MR_Integer) 5)));
#line 1031 "top_procs.m"
            MR_Box top_procs__V_23_23 = (MR_hl_field(MR_mktag(0), top_procs__Group1_6, (MR_Integer) 6));
#line 1031 "top_procs.m"
            MR_String top_procs__V_24_24 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_7, (MR_Integer) 0)));
#line 1031 "top_procs.m"
            MR_Integer top_procs__V_25_25 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Group2_7, (MR_Integer) 1)));
#line 1031 "top_procs.m"
            MR_Word top_procs__V_26_26 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_7, (MR_Integer) 3)));
#line 1031 "top_procs.m"
            MR_Word top_procs__V_27_27 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Group2_7, (MR_Integer) 4)));
#line 1031 "top_procs.m"
            MR_String top_procs__V_28_28 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Group2_7, (MR_Integer) 5)));
#line 1031 "top_procs.m"
            MR_Box top_procs__V_29_29 = (MR_hl_field(MR_mktag(0), top_procs__Group2_7, (MR_Integer) 6));

#line 1031 "top_procs.m"
            {
#line 1031 "top_procs.m"
              mercury__private_builtin__builtin_compare_string_3_p_0(&top_procs__Result_8, top_procs__V_16_16, top_procs__V_17_17);
            }
#line 1030 "top_procs.m"
          }
#line 996 "top_procs.m"
        else
#line 1000 "top_procs.m"
          top_procs__Result_8 = top_procs__Result1_10;
#line 991 "top_procs.m"
      }
#line 1002 "top_procs.m"
    else
#line 1006 "top_procs.m"
      top_procs__Result_8 = top_procs__Result0_9;
#line 988 "top_procs.m"
    return top_procs__Result_8;
#line 988 "top_procs.m"
  }
#line 985 "top_procs.m"
}

#line 860 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_words_both_3_p_0(
#line 860 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 860 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 860 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 860 "top_procs.m"
{
#line 863 "top_procs.m"
  {
#line 863 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 863 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 863 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_8 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 863 "top_procs.m"
    MR_Word top_procs__Own_9;
#line 863 "top_procs.m"
    MR_Word top_procs__Desc_10;
#line 863 "top_procs.m"
    MR_Word top_procs__RootOwn_11;
#line 863 "top_procs.m"
    MR_Word top_procs__RootDesc_12;
#line 863 "top_procs.m"
    MR_Integer top_procs__OwnWords_13;
#line 863 "top_procs.m"
    MR_Integer top_procs__RootOwnWords_14;
#line 863 "top_procs.m"
    MR_Integer top_procs__DescWords_15;
#line 863 "top_procs.m"
    MR_Integer top_procs__RootDescWords_16;
#line 863 "top_procs.m"
    MR_Integer top_procs__TotalWords_17;
#line 863 "top_procs.m"
    MR_Integer top_procs__RootTotalWords_18;
#line 863 "top_procs.m"
    MR_Float top_procs__V_19_19;
#line 863 "top_procs.m"
    MR_Float top_procs__V_20_20;
#line 863 "top_procs.m"
    MR_Float top_procs__V_22_22;
#line 863 "top_procs.m"
    MR_Float top_procs__V_23_23;
#line 864 "top_procs.m"
    MR_Word top_procs__V_24_24 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 864 "top_procs.m"
    MR_String top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 864 "top_procs.m"
    MR_String top_procs__V_26_26 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 864 "top_procs.m"
    MR_String top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 864 "top_procs.m"
    MR_Word top_procs__V_28_28 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_45_45 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_46_46 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 864 "top_procs.m"
    MR_ArrayPtr top_procs__V_47_47 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 864 "top_procs.m"
    MR_Word top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 864 "top_procs.m"
    MR_Word top_procs__V_49_49 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 864 "top_procs.m"
    MR_Word top_procs__V_50_50 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 864 "top_procs.m"
    MR_Word top_procs__V_51_51 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 866 "top_procs.m"
    MR_Box top_procs__conv0_Own_9;
#line 867 "top_procs.m"
    MR_Box top_procs__conv1_Desc_10;

#line 866 "top_procs.m"
    {
#line 866 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_9);
    }
#line 866 "top_procs.m"
    top_procs__Own_9 = ((MR_Word) top_procs__conv0_Own_9);
#line 867 "top_procs.m"
    {
#line 867 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0, (MR_ArrayPtr) top_procs__PSDesc_8, top_procs__PSI_6, &top_procs__conv1_Desc_10);
    }
#line 867 "top_procs.m"
    top_procs__Desc_10 = ((MR_Word) top_procs__conv1_Desc_10);
#line 868 "top_procs.m"
    {
#line 868 "top_procs.m"
      top_procs__RootOwn_11 = profile__root_own_info_1_f_0(top_procs__Deep_4);
    }
#line 869 "top_procs.m"
    {
#line 869 "top_procs.m"
      top_procs__RootDesc_12 = profile__root_desc_info_1_f_0(top_procs__Deep_4);
    }
#line 870 "top_procs.m"
    {
#line 870 "top_procs.m"
      top_procs__OwnWords_13 = measurements__words_1_f_0(top_procs__Own_9);
    }
#line 871 "top_procs.m"
    {
#line 871 "top_procs.m"
      top_procs__RootOwnWords_14 = measurements__words_1_f_0(top_procs__RootOwn_11);
    }
#line 872 "top_procs.m"
    {
#line 872 "top_procs.m"
      top_procs__DescWords_15 = measurements__inherit_words_1_f_0(top_procs__Desc_10);
    }
#line 873 "top_procs.m"
    {
#line 873 "top_procs.m"
      top_procs__RootDescWords_16 = measurements__inherit_words_1_f_0(top_procs__RootDesc_12);
    }
#line 874 "top_procs.m"
    top_procs__TotalWords_17 = (top_procs__OwnWords_13 + top_procs__DescWords_15);
#line 875 "top_procs.m"
    top_procs__RootTotalWords_18 = (top_procs__RootOwnWords_14 + top_procs__RootDescWords_16);
#line 876 "top_procs.m"
    {
#line 876 "top_procs.m"
      top_procs__V_22_22 = mercury__float__float_1_f_0(top_procs__TotalWords_17);
    }
#line 876 "top_procs.m"
    top_procs__V_19_19 = (((MR_Float) 100.00000000000000) * top_procs__V_22_22);
#line 876 "top_procs.m"
    {
#line 876 "top_procs.m"
      top_procs__V_23_23 = mercury__float__float_1_f_0(top_procs__RootTotalWords_18);
    }
#line 876 "top_procs.m"
    top_procs__V_20_20 = (top_procs__Threshold_5 * top_procs__V_23_23);
#line 876 "top_procs.m"
    top_procs__succeeded = (top_procs__V_19_19 > top_procs__V_20_20);
#line 863 "top_procs.m"
    return top_procs__succeeded;
#line 863 "top_procs.m"
  }
#line 860 "top_procs.m"
}

#line 846 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_words_self_3_p_0(
#line 846 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 846 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 846 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 846 "top_procs.m"
{
#line 849 "top_procs.m"
  {
#line 849 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 849 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 849 "top_procs.m"
    MR_Word top_procs__Own_8;
#line 849 "top_procs.m"
    MR_Word top_procs__RootOwn_9;
#line 849 "top_procs.m"
    MR_Word top_procs__RootDesc_10;
#line 849 "top_procs.m"
    MR_Integer top_procs__OwnWords_11;
#line 849 "top_procs.m"
    MR_Integer top_procs__RootOwnWords_12;
#line 849 "top_procs.m"
    MR_Integer top_procs__RootDescWords_13;
#line 849 "top_procs.m"
    MR_Integer top_procs__RootTotalWords_14;
#line 849 "top_procs.m"
    MR_Float top_procs__V_15_15;
#line 849 "top_procs.m"
    MR_Float top_procs__V_16_16;
#line 849 "top_procs.m"
    MR_Float top_procs__V_18_18;
#line 849 "top_procs.m"
    MR_Float top_procs__V_19_19;
#line 850 "top_procs.m"
    MR_Word top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 850 "top_procs.m"
    MR_String top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 850 "top_procs.m"
    MR_String top_procs__V_22_22 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 850 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 850 "top_procs.m"
    MR_Word top_procs__V_24_24 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 850 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 850 "top_procs.m"
    MR_Word top_procs__V_44_44 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 850 "top_procs.m"
    MR_Word top_procs__V_45_45 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 850 "top_procs.m"
    MR_Word top_procs__V_46_46 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 850 "top_procs.m"
    MR_Word top_procs__V_47_47 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 851 "top_procs.m"
    MR_Box top_procs__conv0_Own_8;

#line 851 "top_procs.m"
    {
#line 851 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_8);
    }
#line 851 "top_procs.m"
    top_procs__Own_8 = ((MR_Word) top_procs__conv0_Own_8);
#line 852 "top_procs.m"
    {
#line 852 "top_procs.m"
      top_procs__RootOwn_9 = profile__root_own_info_1_f_0(top_procs__Deep_4);
    }
#line 853 "top_procs.m"
    {
#line 853 "top_procs.m"
      top_procs__RootDesc_10 = profile__root_desc_info_1_f_0(top_procs__Deep_4);
    }
#line 854 "top_procs.m"
    {
#line 854 "top_procs.m"
      top_procs__OwnWords_11 = measurements__words_1_f_0(top_procs__Own_8);
    }
#line 855 "top_procs.m"
    {
#line 855 "top_procs.m"
      top_procs__RootOwnWords_12 = measurements__words_1_f_0(top_procs__RootOwn_9);
    }
#line 856 "top_procs.m"
    {
#line 856 "top_procs.m"
      top_procs__RootDescWords_13 = measurements__inherit_words_1_f_0(top_procs__RootDesc_10);
    }
#line 857 "top_procs.m"
    top_procs__RootTotalWords_14 = (top_procs__RootOwnWords_12 + top_procs__RootDescWords_13);
#line 858 "top_procs.m"
    {
#line 858 "top_procs.m"
      top_procs__V_18_18 = mercury__float__float_1_f_0(top_procs__OwnWords_11);
    }
#line 858 "top_procs.m"
    top_procs__V_15_15 = (((MR_Float) 100.00000000000000) * top_procs__V_18_18);
#line 858 "top_procs.m"
    {
#line 858 "top_procs.m"
      top_procs__V_19_19 = mercury__float__float_1_f_0(top_procs__RootTotalWords_14);
    }
#line 858 "top_procs.m"
    top_procs__V_16_16 = (top_procs__Threshold_5 * top_procs__V_19_19);
#line 858 "top_procs.m"
    top_procs__succeeded = (top_procs__V_15_15 > top_procs__V_16_16);
#line 849 "top_procs.m"
    return top_procs__succeeded;
#line 849 "top_procs.m"
  }
#line 846 "top_procs.m"
}

#line 828 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_allocs_both_3_p_0(
#line 828 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 828 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 828 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 828 "top_procs.m"
{
#line 831 "top_procs.m"
  {
#line 831 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 831 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 831 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_8 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 831 "top_procs.m"
    MR_Word top_procs__Own_9;
#line 831 "top_procs.m"
    MR_Word top_procs__Desc_10;
#line 831 "top_procs.m"
    MR_Word top_procs__RootOwn_11;
#line 831 "top_procs.m"
    MR_Word top_procs__RootDesc_12;
#line 831 "top_procs.m"
    MR_Integer top_procs__OwnAlloc_13;
#line 831 "top_procs.m"
    MR_Integer top_procs__RootOwnAlloc_14;
#line 831 "top_procs.m"
    MR_Integer top_procs__DescAlloc_15;
#line 831 "top_procs.m"
    MR_Integer top_procs__RootDescAlloc_16;
#line 831 "top_procs.m"
    MR_Integer top_procs__TotalAlloc_17;
#line 831 "top_procs.m"
    MR_Integer top_procs__RootTotalAlloc_18;
#line 831 "top_procs.m"
    MR_Float top_procs__V_19_19;
#line 831 "top_procs.m"
    MR_Float top_procs__V_20_20;
#line 831 "top_procs.m"
    MR_Float top_procs__V_22_22;
#line 831 "top_procs.m"
    MR_Float top_procs__V_23_23;
#line 832 "top_procs.m"
    MR_Word top_procs__V_24_24 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 832 "top_procs.m"
    MR_String top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 832 "top_procs.m"
    MR_String top_procs__V_26_26 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 832 "top_procs.m"
    MR_String top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 832 "top_procs.m"
    MR_Word top_procs__V_28_28 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_45_45 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_46_46 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 832 "top_procs.m"
    MR_ArrayPtr top_procs__V_47_47 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 832 "top_procs.m"
    MR_Word top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 832 "top_procs.m"
    MR_Word top_procs__V_49_49 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 832 "top_procs.m"
    MR_Word top_procs__V_50_50 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 832 "top_procs.m"
    MR_Word top_procs__V_51_51 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 834 "top_procs.m"
    MR_Box top_procs__conv0_Own_9;
#line 835 "top_procs.m"
    MR_Box top_procs__conv1_Desc_10;

#line 834 "top_procs.m"
    {
#line 834 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_9);
    }
#line 834 "top_procs.m"
    top_procs__Own_9 = ((MR_Word) top_procs__conv0_Own_9);
#line 835 "top_procs.m"
    {
#line 835 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0, (MR_ArrayPtr) top_procs__PSDesc_8, top_procs__PSI_6, &top_procs__conv1_Desc_10);
    }
#line 835 "top_procs.m"
    top_procs__Desc_10 = ((MR_Word) top_procs__conv1_Desc_10);
#line 836 "top_procs.m"
    {
#line 836 "top_procs.m"
      top_procs__RootOwn_11 = profile__root_own_info_1_f_0(top_procs__Deep_4);
    }
#line 837 "top_procs.m"
    {
#line 837 "top_procs.m"
      top_procs__RootDesc_12 = profile__root_desc_info_1_f_0(top_procs__Deep_4);
    }
#line 838 "top_procs.m"
    {
#line 838 "top_procs.m"
      top_procs__OwnAlloc_13 = measurements__allocs_1_f_0(top_procs__Own_9);
    }
#line 839 "top_procs.m"
    {
#line 839 "top_procs.m"
      top_procs__RootOwnAlloc_14 = measurements__allocs_1_f_0(top_procs__RootOwn_11);
    }
#line 840 "top_procs.m"
    {
#line 840 "top_procs.m"
      top_procs__DescAlloc_15 = measurements__inherit_allocs_1_f_0(top_procs__Desc_10);
    }
#line 841 "top_procs.m"
    {
#line 841 "top_procs.m"
      top_procs__RootDescAlloc_16 = measurements__inherit_allocs_1_f_0(top_procs__RootDesc_12);
    }
#line 842 "top_procs.m"
    top_procs__TotalAlloc_17 = (top_procs__OwnAlloc_13 + top_procs__DescAlloc_15);
#line 843 "top_procs.m"
    top_procs__RootTotalAlloc_18 = (top_procs__RootOwnAlloc_14 + top_procs__RootDescAlloc_16);
#line 844 "top_procs.m"
    {
#line 844 "top_procs.m"
      top_procs__V_22_22 = mercury__float__float_1_f_0(top_procs__TotalAlloc_17);
    }
#line 844 "top_procs.m"
    top_procs__V_19_19 = (((MR_Float) 100.00000000000000) * top_procs__V_22_22);
#line 844 "top_procs.m"
    {
#line 844 "top_procs.m"
      top_procs__V_23_23 = mercury__float__float_1_f_0(top_procs__RootTotalAlloc_18);
    }
#line 844 "top_procs.m"
    top_procs__V_20_20 = (top_procs__Threshold_5 * top_procs__V_23_23);
#line 844 "top_procs.m"
    top_procs__succeeded = (top_procs__V_19_19 > top_procs__V_20_20);
#line 831 "top_procs.m"
    return top_procs__succeeded;
#line 831 "top_procs.m"
  }
#line 828 "top_procs.m"
}

#line 814 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_allocs_self_3_p_0(
#line 814 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 814 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 814 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 814 "top_procs.m"
{
#line 817 "top_procs.m"
  {
#line 817 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 817 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 817 "top_procs.m"
    MR_Word top_procs__Own_8;
#line 817 "top_procs.m"
    MR_Word top_procs__RootOwn_9;
#line 817 "top_procs.m"
    MR_Word top_procs__RootDesc_10;
#line 817 "top_procs.m"
    MR_Integer top_procs__OwnAlloc_11;
#line 817 "top_procs.m"
    MR_Integer top_procs__RootOwnAlloc_12;
#line 817 "top_procs.m"
    MR_Integer top_procs__RootDescAlloc_13;
#line 817 "top_procs.m"
    MR_Integer top_procs__RootTotalAlloc_14;
#line 817 "top_procs.m"
    MR_Float top_procs__V_15_15;
#line 817 "top_procs.m"
    MR_Float top_procs__V_16_16;
#line 817 "top_procs.m"
    MR_Float top_procs__V_18_18;
#line 817 "top_procs.m"
    MR_Float top_procs__V_19_19;
#line 818 "top_procs.m"
    MR_Word top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 818 "top_procs.m"
    MR_String top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 818 "top_procs.m"
    MR_String top_procs__V_22_22 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 818 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 818 "top_procs.m"
    MR_Word top_procs__V_24_24 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 818 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 818 "top_procs.m"
    MR_Word top_procs__V_44_44 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 818 "top_procs.m"
    MR_Word top_procs__V_45_45 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 818 "top_procs.m"
    MR_Word top_procs__V_46_46 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 818 "top_procs.m"
    MR_Word top_procs__V_47_47 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 819 "top_procs.m"
    MR_Box top_procs__conv0_Own_8;

#line 819 "top_procs.m"
    {
#line 819 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_8);
    }
#line 819 "top_procs.m"
    top_procs__Own_8 = ((MR_Word) top_procs__conv0_Own_8);
#line 820 "top_procs.m"
    {
#line 820 "top_procs.m"
      top_procs__RootOwn_9 = profile__root_own_info_1_f_0(top_procs__Deep_4);
    }
#line 821 "top_procs.m"
    {
#line 821 "top_procs.m"
      top_procs__RootDesc_10 = profile__root_desc_info_1_f_0(top_procs__Deep_4);
    }
#line 822 "top_procs.m"
    {
#line 822 "top_procs.m"
      top_procs__OwnAlloc_11 = measurements__allocs_1_f_0(top_procs__Own_8);
    }
#line 823 "top_procs.m"
    {
#line 823 "top_procs.m"
      top_procs__RootOwnAlloc_12 = measurements__allocs_1_f_0(top_procs__RootOwn_9);
    }
#line 824 "top_procs.m"
    {
#line 824 "top_procs.m"
      top_procs__RootDescAlloc_13 = measurements__inherit_allocs_1_f_0(top_procs__RootDesc_10);
    }
#line 825 "top_procs.m"
    top_procs__RootTotalAlloc_14 = (top_procs__RootOwnAlloc_12 + top_procs__RootDescAlloc_13);
#line 826 "top_procs.m"
    {
#line 826 "top_procs.m"
      top_procs__V_18_18 = mercury__float__float_1_f_0(top_procs__OwnAlloc_11);
    }
#line 826 "top_procs.m"
    top_procs__V_15_15 = (((MR_Float) 100.00000000000000) * top_procs__V_18_18);
#line 826 "top_procs.m"
    {
#line 826 "top_procs.m"
      top_procs__V_19_19 = mercury__float__float_1_f_0(top_procs__RootTotalAlloc_14);
    }
#line 826 "top_procs.m"
    top_procs__V_16_16 = (top_procs__Threshold_5 * top_procs__V_19_19);
#line 826 "top_procs.m"
    top_procs__succeeded = (top_procs__V_15_15 > top_procs__V_16_16);
#line 817 "top_procs.m"
    return top_procs__succeeded;
#line 817 "top_procs.m"
  }
#line 814 "top_procs.m"
}

#line 796 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_callseqs_both_3_p_0(
#line 796 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 796 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 796 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 796 "top_procs.m"
{
#line 799 "top_procs.m"
  {
#line 799 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 799 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 799 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_8 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 799 "top_procs.m"
    MR_Word top_procs__Own_9;
#line 799 "top_procs.m"
    MR_Word top_procs__Desc_10;
#line 799 "top_procs.m"
    MR_Word top_procs__RootOwn_11;
#line 799 "top_procs.m"
    MR_Word top_procs__RootDesc_12;
#line 799 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs_13;
#line 799 "top_procs.m"
    MR_Integer top_procs__RootOwnCallSeqs_14;
#line 799 "top_procs.m"
    MR_Integer top_procs__DescCallSeqs_15;
#line 799 "top_procs.m"
    MR_Integer top_procs__RootDescCallSeqs_16;
#line 799 "top_procs.m"
    MR_Integer top_procs__TotalCallSeqs_17;
#line 799 "top_procs.m"
    MR_Integer top_procs__RootTotalCallSeqs_18;
#line 799 "top_procs.m"
    MR_Float top_procs__V_19_19;
#line 799 "top_procs.m"
    MR_Float top_procs__V_20_20;
#line 799 "top_procs.m"
    MR_Float top_procs__V_22_22;
#line 799 "top_procs.m"
    MR_Float top_procs__V_23_23;
#line 800 "top_procs.m"
    MR_Word top_procs__V_24_24 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 800 "top_procs.m"
    MR_String top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 800 "top_procs.m"
    MR_String top_procs__V_26_26 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 800 "top_procs.m"
    MR_String top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 800 "top_procs.m"
    MR_Word top_procs__V_28_28 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_45_45 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_46_46 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 800 "top_procs.m"
    MR_ArrayPtr top_procs__V_47_47 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 800 "top_procs.m"
    MR_Word top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 800 "top_procs.m"
    MR_Word top_procs__V_49_49 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 800 "top_procs.m"
    MR_Word top_procs__V_50_50 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 800 "top_procs.m"
    MR_Word top_procs__V_51_51 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 802 "top_procs.m"
    MR_Box top_procs__conv0_Own_9;
#line 803 "top_procs.m"
    MR_Box top_procs__conv1_Desc_10;

#line 802 "top_procs.m"
    {
#line 802 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_9);
    }
#line 802 "top_procs.m"
    top_procs__Own_9 = ((MR_Word) top_procs__conv0_Own_9);
#line 803 "top_procs.m"
    {
#line 803 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0, (MR_ArrayPtr) top_procs__PSDesc_8, top_procs__PSI_6, &top_procs__conv1_Desc_10);
    }
#line 803 "top_procs.m"
    top_procs__Desc_10 = ((MR_Word) top_procs__conv1_Desc_10);
#line 804 "top_procs.m"
    {
#line 804 "top_procs.m"
      top_procs__RootOwn_11 = profile__root_own_info_1_f_0(top_procs__Deep_4);
    }
#line 805 "top_procs.m"
    {
#line 805 "top_procs.m"
      top_procs__RootDesc_12 = profile__root_desc_info_1_f_0(top_procs__Deep_4);
    }
#line 806 "top_procs.m"
    {
#line 806 "top_procs.m"
      top_procs__OwnCallSeqs_13 = measurements__callseqs_1_f_0(top_procs__Own_9);
    }
#line 807 "top_procs.m"
    {
#line 807 "top_procs.m"
      top_procs__RootOwnCallSeqs_14 = measurements__callseqs_1_f_0(top_procs__RootOwn_11);
    }
#line 808 "top_procs.m"
    {
#line 808 "top_procs.m"
      top_procs__DescCallSeqs_15 = measurements__inherit_callseqs_1_f_0(top_procs__Desc_10);
    }
#line 809 "top_procs.m"
    {
#line 809 "top_procs.m"
      top_procs__RootDescCallSeqs_16 = measurements__inherit_callseqs_1_f_0(top_procs__RootDesc_12);
    }
#line 810 "top_procs.m"
    top_procs__TotalCallSeqs_17 = (top_procs__OwnCallSeqs_13 + top_procs__DescCallSeqs_15);
#line 811 "top_procs.m"
    top_procs__RootTotalCallSeqs_18 = (top_procs__RootOwnCallSeqs_14 + top_procs__RootDescCallSeqs_16);
#line 812 "top_procs.m"
    {
#line 812 "top_procs.m"
      top_procs__V_22_22 = mercury__float__float_1_f_0(top_procs__TotalCallSeqs_17);
    }
#line 812 "top_procs.m"
    top_procs__V_19_19 = (((MR_Float) 100.00000000000000) * top_procs__V_22_22);
#line 812 "top_procs.m"
    {
#line 812 "top_procs.m"
      top_procs__V_23_23 = mercury__float__float_1_f_0(top_procs__RootTotalCallSeqs_18);
    }
#line 812 "top_procs.m"
    top_procs__V_20_20 = (top_procs__Threshold_5 * top_procs__V_23_23);
#line 812 "top_procs.m"
    top_procs__succeeded = (top_procs__V_19_19 > top_procs__V_20_20);
#line 799 "top_procs.m"
    return top_procs__succeeded;
#line 799 "top_procs.m"
  }
#line 796 "top_procs.m"
}

#line 782 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_callseqs_self_3_p_0(
#line 782 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 782 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 782 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 782 "top_procs.m"
{
#line 785 "top_procs.m"
  {
#line 785 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 785 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 785 "top_procs.m"
    MR_Word top_procs__Own_8;
#line 785 "top_procs.m"
    MR_Word top_procs__RootOwn_9;
#line 785 "top_procs.m"
    MR_Word top_procs__RootDesc_10;
#line 785 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs_11;
#line 785 "top_procs.m"
    MR_Integer top_procs__RootOwnCallSeqs_12;
#line 785 "top_procs.m"
    MR_Integer top_procs__RootDescCallSeqs_13;
#line 785 "top_procs.m"
    MR_Integer top_procs__RootTotalCallSeqs_14;
#line 785 "top_procs.m"
    MR_Float top_procs__V_15_15;
#line 785 "top_procs.m"
    MR_Float top_procs__V_16_16;
#line 785 "top_procs.m"
    MR_Float top_procs__V_18_18;
#line 785 "top_procs.m"
    MR_Float top_procs__V_19_19;
#line 786 "top_procs.m"
    MR_Word top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 786 "top_procs.m"
    MR_String top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 786 "top_procs.m"
    MR_String top_procs__V_22_22 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 786 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 786 "top_procs.m"
    MR_Word top_procs__V_24_24 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 786 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 786 "top_procs.m"
    MR_Word top_procs__V_44_44 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 786 "top_procs.m"
    MR_Word top_procs__V_45_45 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 786 "top_procs.m"
    MR_Word top_procs__V_46_46 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 786 "top_procs.m"
    MR_Word top_procs__V_47_47 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 787 "top_procs.m"
    MR_Box top_procs__conv0_Own_8;

#line 787 "top_procs.m"
    {
#line 787 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_8);
    }
#line 787 "top_procs.m"
    top_procs__Own_8 = ((MR_Word) top_procs__conv0_Own_8);
#line 788 "top_procs.m"
    {
#line 788 "top_procs.m"
      top_procs__RootOwn_9 = profile__root_own_info_1_f_0(top_procs__Deep_4);
    }
#line 789 "top_procs.m"
    {
#line 789 "top_procs.m"
      top_procs__RootDesc_10 = profile__root_desc_info_1_f_0(top_procs__Deep_4);
    }
#line 790 "top_procs.m"
    {
#line 790 "top_procs.m"
      top_procs__OwnCallSeqs_11 = measurements__callseqs_1_f_0(top_procs__Own_8);
    }
#line 791 "top_procs.m"
    {
#line 791 "top_procs.m"
      top_procs__RootOwnCallSeqs_12 = measurements__callseqs_1_f_0(top_procs__RootOwn_9);
    }
#line 792 "top_procs.m"
    {
#line 792 "top_procs.m"
      top_procs__RootDescCallSeqs_13 = measurements__inherit_callseqs_1_f_0(top_procs__RootDesc_10);
    }
#line 793 "top_procs.m"
    top_procs__RootTotalCallSeqs_14 = (top_procs__RootOwnCallSeqs_12 + top_procs__RootDescCallSeqs_13);
#line 794 "top_procs.m"
    {
#line 794 "top_procs.m"
      top_procs__V_18_18 = mercury__float__float_1_f_0(top_procs__OwnCallSeqs_11);
    }
#line 794 "top_procs.m"
    top_procs__V_15_15 = (((MR_Float) 100.00000000000000) * top_procs__V_18_18);
#line 794 "top_procs.m"
    {
#line 794 "top_procs.m"
      top_procs__V_19_19 = mercury__float__float_1_f_0(top_procs__RootTotalCallSeqs_14);
    }
#line 794 "top_procs.m"
    top_procs__V_16_16 = (top_procs__Threshold_5 * top_procs__V_19_19);
#line 794 "top_procs.m"
    top_procs__succeeded = (top_procs__V_15_15 > top_procs__V_16_16);
#line 785 "top_procs.m"
    return top_procs__succeeded;
#line 785 "top_procs.m"
  }
#line 782 "top_procs.m"
}

#line 764 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_time_both_3_p_0(
#line 764 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 764 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 764 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 764 "top_procs.m"
{
#line 767 "top_procs.m"
  {
#line 767 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 767 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 767 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_8 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 767 "top_procs.m"
    MR_Word top_procs__Own_9;
#line 767 "top_procs.m"
    MR_Word top_procs__Desc_10;
#line 767 "top_procs.m"
    MR_Word top_procs__RootOwn_11;
#line 767 "top_procs.m"
    MR_Word top_procs__RootDesc_12;
#line 767 "top_procs.m"
    MR_Integer top_procs__OwnQuanta_13;
#line 767 "top_procs.m"
    MR_Integer top_procs__RootOwnQuanta_14;
#line 767 "top_procs.m"
    MR_Integer top_procs__DescQuanta_15;
#line 767 "top_procs.m"
    MR_Integer top_procs__RootDescQuanta_16;
#line 767 "top_procs.m"
    MR_Integer top_procs__TotalQuanta_17;
#line 767 "top_procs.m"
    MR_Integer top_procs__RootTotalQuanta_18;
#line 767 "top_procs.m"
    MR_Float top_procs__V_19_19;
#line 767 "top_procs.m"
    MR_Float top_procs__V_20_20;
#line 767 "top_procs.m"
    MR_Float top_procs__V_22_22;
#line 767 "top_procs.m"
    MR_Float top_procs__V_23_23;
#line 768 "top_procs.m"
    MR_Word top_procs__V_24_24 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 768 "top_procs.m"
    MR_String top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 768 "top_procs.m"
    MR_String top_procs__V_26_26 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 768 "top_procs.m"
    MR_String top_procs__V_27_27 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 768 "top_procs.m"
    MR_Word top_procs__V_28_28 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_45_45 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_46_46 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 768 "top_procs.m"
    MR_ArrayPtr top_procs__V_47_47 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 768 "top_procs.m"
    MR_Word top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 768 "top_procs.m"
    MR_Word top_procs__V_49_49 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 768 "top_procs.m"
    MR_Word top_procs__V_50_50 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 768 "top_procs.m"
    MR_Word top_procs__V_51_51 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 770 "top_procs.m"
    MR_Box top_procs__conv0_Own_9;
#line 771 "top_procs.m"
    MR_Box top_procs__conv1_Desc_10;

#line 770 "top_procs.m"
    {
#line 770 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_9);
    }
#line 770 "top_procs.m"
    top_procs__Own_9 = ((MR_Word) top_procs__conv0_Own_9);
#line 771 "top_procs.m"
    {
#line 771 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0, (MR_ArrayPtr) top_procs__PSDesc_8, top_procs__PSI_6, &top_procs__conv1_Desc_10);
    }
#line 771 "top_procs.m"
    top_procs__Desc_10 = ((MR_Word) top_procs__conv1_Desc_10);
#line 772 "top_procs.m"
    {
#line 772 "top_procs.m"
      top_procs__RootOwn_11 = profile__root_own_info_1_f_0(top_procs__Deep_4);
    }
#line 773 "top_procs.m"
    {
#line 773 "top_procs.m"
      top_procs__RootDesc_12 = profile__root_desc_info_1_f_0(top_procs__Deep_4);
    }
#line 774 "top_procs.m"
    {
#line 774 "top_procs.m"
      top_procs__OwnQuanta_13 = measurements__quanta_1_f_0(top_procs__Own_9);
    }
#line 775 "top_procs.m"
    {
#line 775 "top_procs.m"
      top_procs__RootOwnQuanta_14 = measurements__quanta_1_f_0(top_procs__RootOwn_11);
    }
#line 776 "top_procs.m"
    {
#line 776 "top_procs.m"
      top_procs__DescQuanta_15 = measurements__inherit_quanta_1_f_0(top_procs__Desc_10);
    }
#line 777 "top_procs.m"
    {
#line 777 "top_procs.m"
      top_procs__RootDescQuanta_16 = measurements__inherit_quanta_1_f_0(top_procs__RootDesc_12);
    }
#line 778 "top_procs.m"
    top_procs__TotalQuanta_17 = (top_procs__OwnQuanta_13 + top_procs__DescQuanta_15);
#line 779 "top_procs.m"
    top_procs__RootTotalQuanta_18 = (top_procs__RootOwnQuanta_14 + top_procs__RootDescQuanta_16);
#line 780 "top_procs.m"
    {
#line 780 "top_procs.m"
      top_procs__V_22_22 = mercury__float__float_1_f_0(top_procs__TotalQuanta_17);
    }
#line 780 "top_procs.m"
    top_procs__V_19_19 = (((MR_Float) 100.00000000000000) * top_procs__V_22_22);
#line 780 "top_procs.m"
    {
#line 780 "top_procs.m"
      top_procs__V_23_23 = mercury__float__float_1_f_0(top_procs__RootTotalQuanta_18);
    }
#line 780 "top_procs.m"
    top_procs__V_20_20 = (top_procs__Threshold_5 * top_procs__V_23_23);
#line 780 "top_procs.m"
    top_procs__succeeded = (top_procs__V_19_19 > top_procs__V_20_20);
#line 767 "top_procs.m"
    return top_procs__succeeded;
#line 767 "top_procs.m"
  }
#line 764 "top_procs.m"
}

#line 750 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_percent_ps_time_self_3_p_0(
#line 750 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 750 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 750 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 750 "top_procs.m"
{
#line 753 "top_procs.m"
  {
#line 753 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 753 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 753 "top_procs.m"
    MR_Word top_procs__Own_8;
#line 753 "top_procs.m"
    MR_Word top_procs__RootOwn_9;
#line 753 "top_procs.m"
    MR_Word top_procs__RootDesc_10;
#line 753 "top_procs.m"
    MR_Integer top_procs__OwnQuanta_11;
#line 753 "top_procs.m"
    MR_Integer top_procs__RootOwnQuanta_12;
#line 753 "top_procs.m"
    MR_Integer top_procs__RootDescQuanta_13;
#line 753 "top_procs.m"
    MR_Integer top_procs__RootTotalQuanta_14;
#line 753 "top_procs.m"
    MR_Float top_procs__V_15_15;
#line 753 "top_procs.m"
    MR_Float top_procs__V_16_16;
#line 753 "top_procs.m"
    MR_Float top_procs__V_18_18;
#line 753 "top_procs.m"
    MR_Float top_procs__V_19_19;
#line 754 "top_procs.m"
    MR_Word top_procs__V_20_20 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 754 "top_procs.m"
    MR_String top_procs__V_21_21 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 754 "top_procs.m"
    MR_String top_procs__V_22_22 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 754 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 754 "top_procs.m"
    MR_Word top_procs__V_24_24 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 754 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 754 "top_procs.m"
    MR_Word top_procs__V_44_44 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 754 "top_procs.m"
    MR_Word top_procs__V_45_45 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 754 "top_procs.m"
    MR_Word top_procs__V_46_46 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 754 "top_procs.m"
    MR_Word top_procs__V_47_47 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 755 "top_procs.m"
    MR_Box top_procs__conv0_Own_8;

#line 755 "top_procs.m"
    {
#line 755 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_8);
    }
#line 755 "top_procs.m"
    top_procs__Own_8 = ((MR_Word) top_procs__conv0_Own_8);
#line 756 "top_procs.m"
    {
#line 756 "top_procs.m"
      top_procs__RootOwn_9 = profile__root_own_info_1_f_0(top_procs__Deep_4);
    }
#line 757 "top_procs.m"
    {
#line 757 "top_procs.m"
      top_procs__RootDesc_10 = profile__root_desc_info_1_f_0(top_procs__Deep_4);
    }
#line 758 "top_procs.m"
    {
#line 758 "top_procs.m"
      top_procs__OwnQuanta_11 = measurements__quanta_1_f_0(top_procs__Own_8);
    }
#line 759 "top_procs.m"
    {
#line 759 "top_procs.m"
      top_procs__RootOwnQuanta_12 = measurements__quanta_1_f_0(top_procs__RootOwn_9);
    }
#line 760 "top_procs.m"
    {
#line 760 "top_procs.m"
      top_procs__RootDescQuanta_13 = measurements__inherit_quanta_1_f_0(top_procs__RootDesc_10);
    }
#line 761 "top_procs.m"
    top_procs__RootTotalQuanta_14 = (top_procs__RootOwnQuanta_12 + top_procs__RootDescQuanta_13);
#line 762 "top_procs.m"
    {
#line 762 "top_procs.m"
      top_procs__V_18_18 = mercury__float__float_1_f_0(top_procs__OwnQuanta_11);
    }
#line 762 "top_procs.m"
    top_procs__V_15_15 = (((MR_Float) 100.00000000000000) * top_procs__V_18_18);
#line 762 "top_procs.m"
    {
#line 762 "top_procs.m"
      top_procs__V_19_19 = mercury__float__float_1_f_0(top_procs__RootTotalQuanta_14);
    }
#line 762 "top_procs.m"
    top_procs__V_16_16 = (top_procs__Threshold_5 * top_procs__V_19_19);
#line 762 "top_procs.m"
    top_procs__succeeded = (top_procs__V_15_15 > top_procs__V_16_16);
#line 753 "top_procs.m"
    return top_procs__succeeded;
#line 753 "top_procs.m"
  }
#line 750 "top_procs.m"
}

#line 736 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_words_both_3_p_0(
#line 736 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 736 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 736 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 736 "top_procs.m"
{
#line 738 "top_procs.m"
  {
#line 738 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 738 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 738 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_8 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 738 "top_procs.m"
    MR_Word top_procs__Own_9;
#line 738 "top_procs.m"
    MR_Word top_procs__Desc_10;
#line 738 "top_procs.m"
    MR_Integer top_procs__OwnWords_11;
#line 738 "top_procs.m"
    MR_Integer top_procs__DescWords_12;
#line 738 "top_procs.m"
    MR_Integer top_procs__TotalWords_13;
#line 738 "top_procs.m"
    MR_Float top_procs__V_14_14;
#line 739 "top_procs.m"
    MR_Word top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 739 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 739 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 739 "top_procs.m"
    MR_String top_procs__V_18_18 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 739 "top_procs.m"
    MR_Word top_procs__V_19_19 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 739 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 739 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 739 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 739 "top_procs.m"
    MR_Word top_procs__V_41_41 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 739 "top_procs.m"
    MR_Word top_procs__V_42_42 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 741 "top_procs.m"
    MR_Box top_procs__conv0_Own_9;
#line 742 "top_procs.m"
    MR_Box top_procs__conv1_Desc_10;

#line 741 "top_procs.m"
    {
#line 741 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_9);
    }
#line 741 "top_procs.m"
    top_procs__Own_9 = ((MR_Word) top_procs__conv0_Own_9);
#line 742 "top_procs.m"
    {
#line 742 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0, (MR_ArrayPtr) top_procs__PSDesc_8, top_procs__PSI_6, &top_procs__conv1_Desc_10);
    }
#line 742 "top_procs.m"
    top_procs__Desc_10 = ((MR_Word) top_procs__conv1_Desc_10);
#line 743 "top_procs.m"
    {
#line 743 "top_procs.m"
      top_procs__OwnWords_11 = measurements__words_1_f_0(top_procs__Own_9);
    }
#line 744 "top_procs.m"
    {
#line 744 "top_procs.m"
      top_procs__DescWords_12 = measurements__inherit_words_1_f_0(top_procs__Desc_10);
    }
#line 745 "top_procs.m"
    top_procs__TotalWords_13 = (top_procs__OwnWords_11 + top_procs__DescWords_12);
#line 746 "top_procs.m"
    {
#line 746 "top_procs.m"
      top_procs__V_14_14 = mercury__float__float_1_f_0(top_procs__TotalWords_13);
    }
#line 746 "top_procs.m"
    top_procs__succeeded = (top_procs__V_14_14 > top_procs__Threshold_5);
#line 738 "top_procs.m"
    return top_procs__succeeded;
#line 738 "top_procs.m"
  }
#line 736 "top_procs.m"
}

#line 727 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_words_self_3_p_0(
#line 727 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 727 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 727 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 727 "top_procs.m"
{
#line 730 "top_procs.m"
  {
#line 730 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 730 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 730 "top_procs.m"
    MR_Word top_procs__Own_8;
#line 730 "top_procs.m"
    MR_Integer top_procs__OwnWords_9;
#line 730 "top_procs.m"
    MR_Float top_procs__V_10_10;
#line 731 "top_procs.m"
    MR_Word top_procs__V_11_11 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 731 "top_procs.m"
    MR_String top_procs__V_12_12 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 731 "top_procs.m"
    MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 731 "top_procs.m"
    MR_String top_procs__V_14_14 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 731 "top_procs.m"
    MR_Word top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_16_16 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_17_17 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 731 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 731 "top_procs.m"
    MR_Word top_procs__V_35_35 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 731 "top_procs.m"
    MR_Word top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 731 "top_procs.m"
    MR_Word top_procs__V_37_37 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 731 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 732 "top_procs.m"
    MR_Box top_procs__conv0_Own_8;

#line 732 "top_procs.m"
    {
#line 732 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_8);
    }
#line 732 "top_procs.m"
    top_procs__Own_8 = ((MR_Word) top_procs__conv0_Own_8);
#line 733 "top_procs.m"
    {
#line 733 "top_procs.m"
      top_procs__OwnWords_9 = measurements__words_1_f_0(top_procs__Own_8);
    }
#line 734 "top_procs.m"
    {
#line 734 "top_procs.m"
      top_procs__V_10_10 = mercury__float__float_1_f_0(top_procs__OwnWords_9);
    }
#line 734 "top_procs.m"
    top_procs__succeeded = (top_procs__V_10_10 > top_procs__Threshold_5);
#line 730 "top_procs.m"
    return top_procs__succeeded;
#line 730 "top_procs.m"
  }
#line 727 "top_procs.m"
}

#line 714 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_allocs_both_3_p_0(
#line 714 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 714 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 714 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 714 "top_procs.m"
{
#line 717 "top_procs.m"
  {
#line 717 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 717 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 717 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_8 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 717 "top_procs.m"
    MR_Word top_procs__Own_9;
#line 717 "top_procs.m"
    MR_Word top_procs__Desc_10;
#line 717 "top_procs.m"
    MR_Integer top_procs__OwnAlloc_11;
#line 717 "top_procs.m"
    MR_Integer top_procs__DescAlloc_12;
#line 717 "top_procs.m"
    MR_Integer top_procs__TotalAlloc_13;
#line 717 "top_procs.m"
    MR_Float top_procs__V_14_14;
#line 718 "top_procs.m"
    MR_Word top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 718 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 718 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 718 "top_procs.m"
    MR_String top_procs__V_18_18 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 718 "top_procs.m"
    MR_Word top_procs__V_19_19 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 718 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 718 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 718 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 718 "top_procs.m"
    MR_Word top_procs__V_41_41 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 718 "top_procs.m"
    MR_Word top_procs__V_42_42 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 720 "top_procs.m"
    MR_Box top_procs__conv0_Own_9;
#line 721 "top_procs.m"
    MR_Box top_procs__conv1_Desc_10;

#line 720 "top_procs.m"
    {
#line 720 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_9);
    }
#line 720 "top_procs.m"
    top_procs__Own_9 = ((MR_Word) top_procs__conv0_Own_9);
#line 721 "top_procs.m"
    {
#line 721 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0, (MR_ArrayPtr) top_procs__PSDesc_8, top_procs__PSI_6, &top_procs__conv1_Desc_10);
    }
#line 721 "top_procs.m"
    top_procs__Desc_10 = ((MR_Word) top_procs__conv1_Desc_10);
#line 722 "top_procs.m"
    {
#line 722 "top_procs.m"
      top_procs__OwnAlloc_11 = measurements__allocs_1_f_0(top_procs__Own_9);
    }
#line 723 "top_procs.m"
    {
#line 723 "top_procs.m"
      top_procs__DescAlloc_12 = measurements__inherit_allocs_1_f_0(top_procs__Desc_10);
    }
#line 724 "top_procs.m"
    top_procs__TotalAlloc_13 = (top_procs__OwnAlloc_11 + top_procs__DescAlloc_12);
#line 725 "top_procs.m"
    {
#line 725 "top_procs.m"
      top_procs__V_14_14 = mercury__float__float_1_f_0(top_procs__TotalAlloc_13);
    }
#line 725 "top_procs.m"
    top_procs__succeeded = (top_procs__V_14_14 > top_procs__Threshold_5);
#line 717 "top_procs.m"
    return top_procs__succeeded;
#line 717 "top_procs.m"
  }
#line 714 "top_procs.m"
}

#line 705 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_allocs_self_3_p_0(
#line 705 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 705 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 705 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 705 "top_procs.m"
{
#line 708 "top_procs.m"
  {
#line 708 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 708 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 708 "top_procs.m"
    MR_Word top_procs__Own_8;
#line 708 "top_procs.m"
    MR_Integer top_procs__OwnAlloc_9;
#line 708 "top_procs.m"
    MR_Float top_procs__V_10_10;
#line 709 "top_procs.m"
    MR_Word top_procs__V_11_11 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 709 "top_procs.m"
    MR_String top_procs__V_12_12 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 709 "top_procs.m"
    MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 709 "top_procs.m"
    MR_String top_procs__V_14_14 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 709 "top_procs.m"
    MR_Word top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_16_16 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_17_17 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 709 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 709 "top_procs.m"
    MR_Word top_procs__V_35_35 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 709 "top_procs.m"
    MR_Word top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 709 "top_procs.m"
    MR_Word top_procs__V_37_37 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 709 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 710 "top_procs.m"
    MR_Box top_procs__conv0_Own_8;

#line 710 "top_procs.m"
    {
#line 710 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_8);
    }
#line 710 "top_procs.m"
    top_procs__Own_8 = ((MR_Word) top_procs__conv0_Own_8);
#line 711 "top_procs.m"
    {
#line 711 "top_procs.m"
      top_procs__OwnAlloc_9 = measurements__allocs_1_f_0(top_procs__Own_8);
    }
#line 712 "top_procs.m"
    {
#line 712 "top_procs.m"
      top_procs__V_10_10 = mercury__float__float_1_f_0(top_procs__OwnAlloc_9);
    }
#line 712 "top_procs.m"
    top_procs__succeeded = (top_procs__V_10_10 > top_procs__Threshold_5);
#line 708 "top_procs.m"
    return top_procs__succeeded;
#line 708 "top_procs.m"
  }
#line 705 "top_procs.m"
}

#line 692 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_callseqs_both_3_p_0(
#line 692 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 692 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 692 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 692 "top_procs.m"
{
#line 695 "top_procs.m"
  {
#line 695 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 695 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 695 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_8 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 695 "top_procs.m"
    MR_Word top_procs__Own_9;
#line 695 "top_procs.m"
    MR_Word top_procs__Desc_10;
#line 695 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs_11;
#line 695 "top_procs.m"
    MR_Integer top_procs__DescCallSeqs_12;
#line 695 "top_procs.m"
    MR_Integer top_procs__TotalCallSeqs_13;
#line 695 "top_procs.m"
    MR_Float top_procs__V_14_14;
#line 696 "top_procs.m"
    MR_Word top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 696 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 696 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 696 "top_procs.m"
    MR_String top_procs__V_18_18 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 696 "top_procs.m"
    MR_Word top_procs__V_19_19 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 696 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 696 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 696 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 696 "top_procs.m"
    MR_Word top_procs__V_41_41 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 696 "top_procs.m"
    MR_Word top_procs__V_42_42 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 698 "top_procs.m"
    MR_Box top_procs__conv0_Own_9;
#line 699 "top_procs.m"
    MR_Box top_procs__conv1_Desc_10;

#line 698 "top_procs.m"
    {
#line 698 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_9);
    }
#line 698 "top_procs.m"
    top_procs__Own_9 = ((MR_Word) top_procs__conv0_Own_9);
#line 699 "top_procs.m"
    {
#line 699 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0, (MR_ArrayPtr) top_procs__PSDesc_8, top_procs__PSI_6, &top_procs__conv1_Desc_10);
    }
#line 699 "top_procs.m"
    top_procs__Desc_10 = ((MR_Word) top_procs__conv1_Desc_10);
#line 700 "top_procs.m"
    {
#line 700 "top_procs.m"
      top_procs__OwnCallSeqs_11 = measurements__callseqs_1_f_0(top_procs__Own_9);
    }
#line 701 "top_procs.m"
    {
#line 701 "top_procs.m"
      top_procs__DescCallSeqs_12 = measurements__inherit_callseqs_1_f_0(top_procs__Desc_10);
    }
#line 702 "top_procs.m"
    top_procs__TotalCallSeqs_13 = (top_procs__OwnCallSeqs_11 + top_procs__DescCallSeqs_12);
#line 703 "top_procs.m"
    {
#line 703 "top_procs.m"
      top_procs__V_14_14 = mercury__float__float_1_f_0(top_procs__TotalCallSeqs_13);
    }
#line 703 "top_procs.m"
    top_procs__succeeded = (top_procs__V_14_14 > top_procs__Threshold_5);
#line 695 "top_procs.m"
    return top_procs__succeeded;
#line 695 "top_procs.m"
  }
#line 692 "top_procs.m"
}

#line 683 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_callseqs_self_3_p_0(
#line 683 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 683 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 683 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 683 "top_procs.m"
{
#line 686 "top_procs.m"
  {
#line 686 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 686 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 686 "top_procs.m"
    MR_Word top_procs__Own_8;
#line 686 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs_9;
#line 686 "top_procs.m"
    MR_Float top_procs__V_10_10;
#line 687 "top_procs.m"
    MR_Word top_procs__V_11_11 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 687 "top_procs.m"
    MR_String top_procs__V_12_12 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 687 "top_procs.m"
    MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 687 "top_procs.m"
    MR_String top_procs__V_14_14 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 687 "top_procs.m"
    MR_Word top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_16_16 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_17_17 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 687 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 687 "top_procs.m"
    MR_Word top_procs__V_35_35 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 687 "top_procs.m"
    MR_Word top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 687 "top_procs.m"
    MR_Word top_procs__V_37_37 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 687 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 688 "top_procs.m"
    MR_Box top_procs__conv0_Own_8;

#line 688 "top_procs.m"
    {
#line 688 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_8);
    }
#line 688 "top_procs.m"
    top_procs__Own_8 = ((MR_Word) top_procs__conv0_Own_8);
#line 689 "top_procs.m"
    {
#line 689 "top_procs.m"
      top_procs__OwnCallSeqs_9 = measurements__callseqs_1_f_0(top_procs__Own_8);
    }
#line 690 "top_procs.m"
    {
#line 690 "top_procs.m"
      top_procs__V_10_10 = mercury__float__float_1_f_0(top_procs__OwnCallSeqs_9);
    }
#line 690 "top_procs.m"
    top_procs__succeeded = (top_procs__V_10_10 > top_procs__Threshold_5);
#line 686 "top_procs.m"
    return top_procs__succeeded;
#line 686 "top_procs.m"
  }
#line 683 "top_procs.m"
}

#line 671 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_time_both_3_p_0(
#line 671 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 671 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 671 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 671 "top_procs.m"
{
#line 673 "top_procs.m"
  {
#line 673 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 673 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 673 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_8 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 673 "top_procs.m"
    MR_Word top_procs__Own_9;
#line 673 "top_procs.m"
    MR_Word top_procs__Desc_10;
#line 673 "top_procs.m"
    MR_Integer top_procs__OwnQuanta_11;
#line 673 "top_procs.m"
    MR_Integer top_procs__DescQuanta_12;
#line 673 "top_procs.m"
    MR_Integer top_procs__TotalQuanta_13;
#line 673 "top_procs.m"
    MR_Float top_procs__V_14_14;
#line 674 "top_procs.m"
    MR_Word top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 674 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 674 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 674 "top_procs.m"
    MR_String top_procs__V_18_18 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 674 "top_procs.m"
    MR_Word top_procs__V_19_19 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 674 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 674 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 674 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 674 "top_procs.m"
    MR_Word top_procs__V_41_41 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 674 "top_procs.m"
    MR_Word top_procs__V_42_42 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 676 "top_procs.m"
    MR_Box top_procs__conv0_Own_9;
#line 677 "top_procs.m"
    MR_Box top_procs__conv1_Desc_10;

#line 676 "top_procs.m"
    {
#line 676 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_9);
    }
#line 676 "top_procs.m"
    top_procs__Own_9 = ((MR_Word) top_procs__conv0_Own_9);
#line 677 "top_procs.m"
    {
#line 677 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0, (MR_ArrayPtr) top_procs__PSDesc_8, top_procs__PSI_6, &top_procs__conv1_Desc_10);
    }
#line 677 "top_procs.m"
    top_procs__Desc_10 = ((MR_Word) top_procs__conv1_Desc_10);
#line 678 "top_procs.m"
    {
#line 678 "top_procs.m"
      top_procs__OwnQuanta_11 = measurements__quanta_1_f_0(top_procs__Own_9);
    }
#line 679 "top_procs.m"
    {
#line 679 "top_procs.m"
      top_procs__DescQuanta_12 = measurements__inherit_quanta_1_f_0(top_procs__Desc_10);
    }
#line 680 "top_procs.m"
    top_procs__TotalQuanta_13 = (top_procs__OwnQuanta_11 + top_procs__DescQuanta_12);
#line 681 "top_procs.m"
    {
#line 681 "top_procs.m"
      top_procs__V_14_14 = mercury__float__float_1_f_0(top_procs__TotalQuanta_13);
    }
#line 681 "top_procs.m"
    top_procs__succeeded = (top_procs__V_14_14 > top_procs__Threshold_5);
#line 673 "top_procs.m"
    return top_procs__succeeded;
#line 673 "top_procs.m"
  }
#line 671 "top_procs.m"
}

#line 663 "top_procs.m"
static MR_bool MR_CALL 
top_procs__threshold_value_ps_time_self_3_p_0(
#line 663 "top_procs.m"
  MR_Word top_procs__Deep_4,
#line 663 "top_procs.m"
  MR_Float top_procs__Threshold_5,
#line 663 "top_procs.m"
  MR_Integer top_procs__PSI_6)
#line 663 "top_procs.m"
{
#line 665 "top_procs.m"
  {
#line 665 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 665 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_7 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 19)));
#line 665 "top_procs.m"
    MR_Word top_procs__Own_8;
#line 665 "top_procs.m"
    MR_Integer top_procs__OwnQuanta_9;
#line 665 "top_procs.m"
    MR_Float top_procs__V_10_10;
#line 666 "top_procs.m"
    MR_Word top_procs__V_11_11 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 0)));
#line 666 "top_procs.m"
    MR_String top_procs__V_12_12 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 1)));
#line 666 "top_procs.m"
    MR_String top_procs__V_13_13 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 2)));
#line 666 "top_procs.m"
    MR_String top_procs__V_14_14 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 3)));
#line 666 "top_procs.m"
    MR_Word top_procs__V_15_15 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 4)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_16_16 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 5)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_17_17 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 6)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 7)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 8)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 9)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 10)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 11)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 12)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 13)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 14)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 15)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 16)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 17)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 18)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 20)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 21)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 22)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 23)));
#line 666 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 24)));
#line 666 "top_procs.m"
    MR_Word top_procs__V_35_35 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 25)));
#line 666 "top_procs.m"
    MR_Word top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 26)));
#line 666 "top_procs.m"
    MR_Word top_procs__V_37_37 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 27)));
#line 666 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_4, (MR_Integer) 28)));
#line 667 "top_procs.m"
    MR_Box top_procs__conv0_Own_8;

#line 667 "top_procs.m"
    {
#line 667 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_7, top_procs__PSI_6, &top_procs__conv0_Own_8);
    }
#line 667 "top_procs.m"
    top_procs__Own_8 = ((MR_Word) top_procs__conv0_Own_8);
#line 668 "top_procs.m"
    {
#line 668 "top_procs.m"
      top_procs__OwnQuanta_9 = measurements__quanta_1_f_0(top_procs__Own_8);
    }
#line 669 "top_procs.m"
    {
#line 669 "top_procs.m"
      top_procs__V_10_10 = mercury__float__float_1_f_0(top_procs__OwnQuanta_9);
    }
#line 669 "top_procs.m"
    top_procs__succeeded = (top_procs__V_10_10 > top_procs__Threshold_5);
#line 665 "top_procs.m"
    return top_procs__succeeded;
#line 665 "top_procs.m"
  }
#line 663 "top_procs.m"
}

#line 649 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_words_both_2_p_0(
#line 649 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 649 "top_procs.m"
  MR_Integer top_procs__PSI1_4)
#line 649 "top_procs.m"
{
#line 651 "top_procs.m"
  {
#line 651 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 651 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_5 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 19)));
#line 651 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_6 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 20)));
#line 651 "top_procs.m"
    MR_Word top_procs__Own1_7;
#line 651 "top_procs.m"
    MR_Word top_procs__Desc1_8;
#line 651 "top_procs.m"
    MR_Integer top_procs__OwnWords1_9;
#line 651 "top_procs.m"
    MR_Integer top_procs__DescWords1_10;
#line 651 "top_procs.m"
    MR_Integer top_procs__TotalWords1_11;
#line 652 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 0)));
#line 652 "top_procs.m"
    MR_String top_procs__V_14_14 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 1)));
#line 652 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 2)));
#line 652 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 3)));
#line 652 "top_procs.m"
    MR_Word top_procs__V_17_17 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 4)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 5)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 6)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 7)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 8)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 9)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 10)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 11)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 12)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 13)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 14)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 15)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 16)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 17)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 18)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 21)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 22)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 23)));
#line 652 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 24)));
#line 652 "top_procs.m"
    MR_Word top_procs__V_37_37 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 25)));
#line 652 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 26)));
#line 652 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 27)));
#line 652 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 28)));
#line 654 "top_procs.m"
    MR_Box top_procs__conv0_Own1_7;
#line 655 "top_procs.m"
    MR_Box top_procs__conv1_Desc1_8;

#line 654 "top_procs.m"
    {
#line 654 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_5, top_procs__PSI1_4, &top_procs__conv0_Own1_7);
    }
#line 654 "top_procs.m"
    top_procs__Own1_7 = ((MR_Word) top_procs__conv0_Own1_7);
#line 655 "top_procs.m"
    {
#line 655 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0, (MR_ArrayPtr) top_procs__PSDesc_6, top_procs__PSI1_4, &top_procs__conv1_Desc1_8);
    }
#line 655 "top_procs.m"
    top_procs__Desc1_8 = ((MR_Word) top_procs__conv1_Desc1_8);
#line 656 "top_procs.m"
    {
#line 656 "top_procs.m"
      top_procs__OwnWords1_9 = measurements__words_1_f_0(top_procs__Own1_7);
    }
#line 657 "top_procs.m"
    {
#line 657 "top_procs.m"
      top_procs__DescWords1_10 = measurements__inherit_words_1_f_0(top_procs__Desc1_8);
    }
#line 658 "top_procs.m"
    top_procs__TotalWords1_11 = (top_procs__OwnWords1_9 + top_procs__DescWords1_10);
#line 659 "top_procs.m"
    top_procs__succeeded = (top_procs__TotalWords1_11 > (MR_Integer) 0);
#line 651 "top_procs.m"
    return top_procs__succeeded;
#line 651 "top_procs.m"
  }
#line 649 "top_procs.m"
}

#line 641 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_words_self_2_p_0(
#line 641 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 641 "top_procs.m"
  MR_Integer top_procs__PSI1_4)
#line 641 "top_procs.m"
{
#line 643 "top_procs.m"
  {
#line 643 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 643 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_5 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 19)));
#line 643 "top_procs.m"
    MR_Word top_procs__Own1_6;
#line 643 "top_procs.m"
    MR_Integer top_procs__OwnWords1_7;
#line 644 "top_procs.m"
    MR_Word top_procs__V_9_9 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 0)));
#line 644 "top_procs.m"
    MR_String top_procs__V_10_10 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 1)));
#line 644 "top_procs.m"
    MR_String top_procs__V_11_11 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 2)));
#line 644 "top_procs.m"
    MR_String top_procs__V_12_12 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 3)));
#line 644 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 4)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_14_14 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 5)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_15_15 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 6)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_16_16 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 7)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_17_17 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 8)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 9)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 10)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 11)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 12)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 13)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 14)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 15)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 16)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 17)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 18)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 20)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 21)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 22)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 23)));
#line 644 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 24)));
#line 644 "top_procs.m"
    MR_Word top_procs__V_33_33 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 25)));
#line 644 "top_procs.m"
    MR_Word top_procs__V_34_34 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 26)));
#line 644 "top_procs.m"
    MR_Word top_procs__V_35_35 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 27)));
#line 644 "top_procs.m"
    MR_Word top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 28)));
#line 645 "top_procs.m"
    MR_Box top_procs__conv0_Own1_6;

#line 645 "top_procs.m"
    {
#line 645 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_5, top_procs__PSI1_4, &top_procs__conv0_Own1_6);
    }
#line 645 "top_procs.m"
    top_procs__Own1_6 = ((MR_Word) top_procs__conv0_Own1_6);
#line 646 "top_procs.m"
    {
#line 646 "top_procs.m"
      top_procs__OwnWords1_7 = measurements__words_1_f_0(top_procs__Own1_6);
    }
#line 647 "top_procs.m"
    top_procs__succeeded = (top_procs__OwnWords1_7 > (MR_Integer) 0);
#line 643 "top_procs.m"
    return top_procs__succeeded;
#line 643 "top_procs.m"
  }
#line 641 "top_procs.m"
}

#line 629 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_allocs_both_2_p_0(
#line 629 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 629 "top_procs.m"
  MR_Integer top_procs__PSI1_4)
#line 629 "top_procs.m"
{
#line 631 "top_procs.m"
  {
#line 631 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 631 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_5 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 19)));
#line 631 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_6 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 20)));
#line 631 "top_procs.m"
    MR_Word top_procs__Own1_7;
#line 631 "top_procs.m"
    MR_Word top_procs__Desc1_8;
#line 631 "top_procs.m"
    MR_Integer top_procs__OwnAlloc1_9;
#line 631 "top_procs.m"
    MR_Integer top_procs__DescAlloc1_10;
#line 631 "top_procs.m"
    MR_Integer top_procs__TotalAlloc1_11;
#line 632 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 0)));
#line 632 "top_procs.m"
    MR_String top_procs__V_14_14 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 1)));
#line 632 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 2)));
#line 632 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 3)));
#line 632 "top_procs.m"
    MR_Word top_procs__V_17_17 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 4)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 5)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 6)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 7)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 8)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 9)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 10)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 11)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 12)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 13)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 14)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 15)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 16)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 17)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 18)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 21)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 22)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 23)));
#line 632 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 24)));
#line 632 "top_procs.m"
    MR_Word top_procs__V_37_37 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 25)));
#line 632 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 26)));
#line 632 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 27)));
#line 632 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 28)));
#line 634 "top_procs.m"
    MR_Box top_procs__conv0_Own1_7;
#line 635 "top_procs.m"
    MR_Box top_procs__conv1_Desc1_8;

#line 634 "top_procs.m"
    {
#line 634 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_5, top_procs__PSI1_4, &top_procs__conv0_Own1_7);
    }
#line 634 "top_procs.m"
    top_procs__Own1_7 = ((MR_Word) top_procs__conv0_Own1_7);
#line 635 "top_procs.m"
    {
#line 635 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0, (MR_ArrayPtr) top_procs__PSDesc_6, top_procs__PSI1_4, &top_procs__conv1_Desc1_8);
    }
#line 635 "top_procs.m"
    top_procs__Desc1_8 = ((MR_Word) top_procs__conv1_Desc1_8);
#line 636 "top_procs.m"
    {
#line 636 "top_procs.m"
      top_procs__OwnAlloc1_9 = measurements__allocs_1_f_0(top_procs__Own1_7);
    }
#line 637 "top_procs.m"
    {
#line 637 "top_procs.m"
      top_procs__DescAlloc1_10 = measurements__inherit_allocs_1_f_0(top_procs__Desc1_8);
    }
#line 638 "top_procs.m"
    top_procs__TotalAlloc1_11 = (top_procs__OwnAlloc1_9 + top_procs__DescAlloc1_10);
#line 639 "top_procs.m"
    top_procs__succeeded = (top_procs__TotalAlloc1_11 > (MR_Integer) 0);
#line 631 "top_procs.m"
    return top_procs__succeeded;
#line 631 "top_procs.m"
  }
#line 629 "top_procs.m"
}

#line 621 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_allocs_self_2_p_0(
#line 621 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 621 "top_procs.m"
  MR_Integer top_procs__PSI1_4)
#line 621 "top_procs.m"
{
#line 623 "top_procs.m"
  {
#line 623 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 623 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_5 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 19)));
#line 623 "top_procs.m"
    MR_Word top_procs__Own1_6;
#line 623 "top_procs.m"
    MR_Integer top_procs__OwnAlloc1_7;
#line 624 "top_procs.m"
    MR_Word top_procs__V_9_9 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 0)));
#line 624 "top_procs.m"
    MR_String top_procs__V_10_10 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 1)));
#line 624 "top_procs.m"
    MR_String top_procs__V_11_11 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 2)));
#line 624 "top_procs.m"
    MR_String top_procs__V_12_12 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 3)));
#line 624 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 4)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_14_14 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 5)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_15_15 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 6)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_16_16 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 7)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_17_17 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 8)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 9)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 10)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 11)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 12)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 13)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 14)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 15)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 16)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 17)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 18)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 20)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 21)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 22)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 23)));
#line 624 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 24)));
#line 624 "top_procs.m"
    MR_Word top_procs__V_33_33 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 25)));
#line 624 "top_procs.m"
    MR_Word top_procs__V_34_34 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 26)));
#line 624 "top_procs.m"
    MR_Word top_procs__V_35_35 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 27)));
#line 624 "top_procs.m"
    MR_Word top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 28)));
#line 625 "top_procs.m"
    MR_Box top_procs__conv0_Own1_6;

#line 625 "top_procs.m"
    {
#line 625 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_5, top_procs__PSI1_4, &top_procs__conv0_Own1_6);
    }
#line 625 "top_procs.m"
    top_procs__Own1_6 = ((MR_Word) top_procs__conv0_Own1_6);
#line 626 "top_procs.m"
    {
#line 626 "top_procs.m"
      top_procs__OwnAlloc1_7 = measurements__allocs_1_f_0(top_procs__Own1_6);
    }
#line 627 "top_procs.m"
    top_procs__succeeded = (top_procs__OwnAlloc1_7 > (MR_Integer) 0);
#line 623 "top_procs.m"
    return top_procs__succeeded;
#line 623 "top_procs.m"
  }
#line 621 "top_procs.m"
}

#line 609 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_callseqs_both_2_p_0(
#line 609 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 609 "top_procs.m"
  MR_Integer top_procs__PSI1_4)
#line 609 "top_procs.m"
{
#line 611 "top_procs.m"
  {
#line 611 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 611 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_5 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 19)));
#line 611 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_6 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 20)));
#line 611 "top_procs.m"
    MR_Word top_procs__Own1_7;
#line 611 "top_procs.m"
    MR_Word top_procs__Desc1_8;
#line 611 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs1_9;
#line 611 "top_procs.m"
    MR_Integer top_procs__DescCallSeqs1_10;
#line 611 "top_procs.m"
    MR_Integer top_procs__TotalCallSeqs1_11;
#line 612 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 0)));
#line 612 "top_procs.m"
    MR_String top_procs__V_14_14 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 1)));
#line 612 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 2)));
#line 612 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 3)));
#line 612 "top_procs.m"
    MR_Word top_procs__V_17_17 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 4)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 5)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 6)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 7)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 8)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 9)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 10)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 11)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 12)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 13)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 14)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 15)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 16)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 17)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 18)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 21)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 22)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 23)));
#line 612 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 24)));
#line 612 "top_procs.m"
    MR_Word top_procs__V_37_37 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 25)));
#line 612 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 26)));
#line 612 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 27)));
#line 612 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 28)));
#line 614 "top_procs.m"
    MR_Box top_procs__conv0_Own1_7;
#line 615 "top_procs.m"
    MR_Box top_procs__conv1_Desc1_8;

#line 614 "top_procs.m"
    {
#line 614 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_5, top_procs__PSI1_4, &top_procs__conv0_Own1_7);
    }
#line 614 "top_procs.m"
    top_procs__Own1_7 = ((MR_Word) top_procs__conv0_Own1_7);
#line 615 "top_procs.m"
    {
#line 615 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0, (MR_ArrayPtr) top_procs__PSDesc_6, top_procs__PSI1_4, &top_procs__conv1_Desc1_8);
    }
#line 615 "top_procs.m"
    top_procs__Desc1_8 = ((MR_Word) top_procs__conv1_Desc1_8);
#line 616 "top_procs.m"
    {
#line 616 "top_procs.m"
      top_procs__OwnCallSeqs1_9 = measurements__callseqs_1_f_0(top_procs__Own1_7);
    }
#line 617 "top_procs.m"
    {
#line 617 "top_procs.m"
      top_procs__DescCallSeqs1_10 = measurements__inherit_callseqs_1_f_0(top_procs__Desc1_8);
    }
#line 618 "top_procs.m"
    top_procs__TotalCallSeqs1_11 = (top_procs__OwnCallSeqs1_9 + top_procs__DescCallSeqs1_10);
#line 619 "top_procs.m"
    top_procs__succeeded = (top_procs__TotalCallSeqs1_11 > (MR_Integer) 0);
#line 611 "top_procs.m"
    return top_procs__succeeded;
#line 611 "top_procs.m"
  }
#line 609 "top_procs.m"
}

#line 601 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_callseqs_self_2_p_0(
#line 601 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 601 "top_procs.m"
  MR_Integer top_procs__PSI1_4)
#line 601 "top_procs.m"
{
#line 603 "top_procs.m"
  {
#line 603 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 603 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_5 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 19)));
#line 603 "top_procs.m"
    MR_Word top_procs__Own1_6;
#line 603 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs1_7;
#line 604 "top_procs.m"
    MR_Word top_procs__V_9_9 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 0)));
#line 604 "top_procs.m"
    MR_String top_procs__V_10_10 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 1)));
#line 604 "top_procs.m"
    MR_String top_procs__V_11_11 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 2)));
#line 604 "top_procs.m"
    MR_String top_procs__V_12_12 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 3)));
#line 604 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 4)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_14_14 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 5)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_15_15 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 6)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_16_16 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 7)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_17_17 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 8)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 9)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 10)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 11)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 12)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 13)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 14)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 15)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 16)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 17)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 18)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 20)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 21)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 22)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 23)));
#line 604 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 24)));
#line 604 "top_procs.m"
    MR_Word top_procs__V_33_33 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 25)));
#line 604 "top_procs.m"
    MR_Word top_procs__V_34_34 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 26)));
#line 604 "top_procs.m"
    MR_Word top_procs__V_35_35 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 27)));
#line 604 "top_procs.m"
    MR_Word top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 28)));
#line 605 "top_procs.m"
    MR_Box top_procs__conv0_Own1_6;

#line 605 "top_procs.m"
    {
#line 605 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_5, top_procs__PSI1_4, &top_procs__conv0_Own1_6);
    }
#line 605 "top_procs.m"
    top_procs__Own1_6 = ((MR_Word) top_procs__conv0_Own1_6);
#line 606 "top_procs.m"
    {
#line 606 "top_procs.m"
      top_procs__OwnCallSeqs1_7 = measurements__callseqs_1_f_0(top_procs__Own1_6);
    }
#line 607 "top_procs.m"
    top_procs__succeeded = (top_procs__OwnCallSeqs1_7 > (MR_Integer) 0);
#line 603 "top_procs.m"
    return top_procs__succeeded;
#line 603 "top_procs.m"
  }
#line 601 "top_procs.m"
}

#line 589 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_time_both_2_p_0(
#line 589 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 589 "top_procs.m"
  MR_Integer top_procs__PSI1_4)
#line 589 "top_procs.m"
{
#line 591 "top_procs.m"
  {
#line 591 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 591 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_5 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 19)));
#line 591 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_6 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 20)));
#line 591 "top_procs.m"
    MR_Word top_procs__Own1_7;
#line 591 "top_procs.m"
    MR_Word top_procs__Desc1_8;
#line 591 "top_procs.m"
    MR_Integer top_procs__OwnQuanta1_9;
#line 591 "top_procs.m"
    MR_Integer top_procs__DescQuanta1_10;
#line 591 "top_procs.m"
    MR_Integer top_procs__TotalQuanta1_11;
#line 592 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 0)));
#line 592 "top_procs.m"
    MR_String top_procs__V_14_14 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 1)));
#line 592 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 2)));
#line 592 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 3)));
#line 592 "top_procs.m"
    MR_Word top_procs__V_17_17 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 4)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 5)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 6)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 7)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 8)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 9)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 10)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 11)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 12)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 13)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 14)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 15)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 16)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 17)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 18)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 21)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 22)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 23)));
#line 592 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 24)));
#line 592 "top_procs.m"
    MR_Word top_procs__V_37_37 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 25)));
#line 592 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 26)));
#line 592 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 27)));
#line 592 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 28)));
#line 594 "top_procs.m"
    MR_Box top_procs__conv0_Own1_7;
#line 595 "top_procs.m"
    MR_Box top_procs__conv1_Desc1_8;

#line 594 "top_procs.m"
    {
#line 594 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_5, top_procs__PSI1_4, &top_procs__conv0_Own1_7);
    }
#line 594 "top_procs.m"
    top_procs__Own1_7 = ((MR_Word) top_procs__conv0_Own1_7);
#line 595 "top_procs.m"
    {
#line 595 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0, (MR_ArrayPtr) top_procs__PSDesc_6, top_procs__PSI1_4, &top_procs__conv1_Desc1_8);
    }
#line 595 "top_procs.m"
    top_procs__Desc1_8 = ((MR_Word) top_procs__conv1_Desc1_8);
#line 596 "top_procs.m"
    {
#line 596 "top_procs.m"
      top_procs__OwnQuanta1_9 = measurements__quanta_1_f_0(top_procs__Own1_7);
    }
#line 597 "top_procs.m"
    {
#line 597 "top_procs.m"
      top_procs__DescQuanta1_10 = measurements__inherit_quanta_1_f_0(top_procs__Desc1_8);
    }
#line 598 "top_procs.m"
    top_procs__TotalQuanta1_11 = (top_procs__OwnQuanta1_9 + top_procs__DescQuanta1_10);
#line 599 "top_procs.m"
    top_procs__succeeded = (top_procs__TotalQuanta1_11 > (MR_Integer) 0);
#line 591 "top_procs.m"
    return top_procs__succeeded;
#line 591 "top_procs.m"
  }
#line 589 "top_procs.m"
}

#line 581 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_time_self_2_p_0(
#line 581 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 581 "top_procs.m"
  MR_Integer top_procs__PSI1_4)
#line 581 "top_procs.m"
{
#line 583 "top_procs.m"
  {
#line 583 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 583 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_5 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 19)));
#line 583 "top_procs.m"
    MR_Word top_procs__Own1_6;
#line 583 "top_procs.m"
    MR_Integer top_procs__OwnQuanta1_7;
#line 584 "top_procs.m"
    MR_Word top_procs__V_9_9 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 0)));
#line 584 "top_procs.m"
    MR_String top_procs__V_10_10 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 1)));
#line 584 "top_procs.m"
    MR_String top_procs__V_11_11 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 2)));
#line 584 "top_procs.m"
    MR_String top_procs__V_12_12 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 3)));
#line 584 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 4)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_14_14 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 5)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_15_15 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 6)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_16_16 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 7)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_17_17 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 8)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 9)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 10)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 11)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 12)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 13)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 14)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 15)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 16)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 17)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 18)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 20)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 21)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 22)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 23)));
#line 584 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 24)));
#line 584 "top_procs.m"
    MR_Word top_procs__V_33_33 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 25)));
#line 584 "top_procs.m"
    MR_Word top_procs__V_34_34 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 26)));
#line 584 "top_procs.m"
    MR_Word top_procs__V_35_35 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 27)));
#line 584 "top_procs.m"
    MR_Word top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 28)));
#line 585 "top_procs.m"
    MR_Box top_procs__conv0_Own1_6;

#line 585 "top_procs.m"
    {
#line 585 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_5, top_procs__PSI1_4, &top_procs__conv0_Own1_6);
    }
#line 585 "top_procs.m"
    top_procs__Own1_6 = ((MR_Word) top_procs__conv0_Own1_6);
#line 586 "top_procs.m"
    {
#line 586 "top_procs.m"
      top_procs__OwnQuanta1_7 = measurements__quanta_1_f_0(top_procs__Own1_6);
    }
#line 587 "top_procs.m"
    top_procs__succeeded = (top_procs__OwnQuanta1_7 > (MR_Integer) 0);
#line 583 "top_procs.m"
    return top_procs__succeeded;
#line 583 "top_procs.m"
  }
#line 581 "top_procs.m"
}

#line 573 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_redos_self_2_p_0(
#line 573 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 573 "top_procs.m"
  MR_Integer top_procs__PSI1_4)
#line 573 "top_procs.m"
{
#line 575 "top_procs.m"
  {
#line 575 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 575 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_5 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 19)));
#line 575 "top_procs.m"
    MR_Word top_procs__Own1_6;
#line 575 "top_procs.m"
    MR_Integer top_procs__OwnCalls1_7;
#line 576 "top_procs.m"
    MR_Word top_procs__V_9_9 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 0)));
#line 576 "top_procs.m"
    MR_String top_procs__V_10_10 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 1)));
#line 576 "top_procs.m"
    MR_String top_procs__V_11_11 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 2)));
#line 576 "top_procs.m"
    MR_String top_procs__V_12_12 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 3)));
#line 576 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 4)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_14_14 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 5)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_15_15 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 6)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_16_16 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 7)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_17_17 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 8)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 9)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 10)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 11)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 12)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 13)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 14)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 15)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 16)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 17)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 18)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 20)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 21)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 22)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 23)));
#line 576 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 24)));
#line 576 "top_procs.m"
    MR_Word top_procs__V_33_33 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 25)));
#line 576 "top_procs.m"
    MR_Word top_procs__V_34_34 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 26)));
#line 576 "top_procs.m"
    MR_Word top_procs__V_35_35 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 27)));
#line 576 "top_procs.m"
    MR_Word top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 28)));
#line 577 "top_procs.m"
    MR_Box top_procs__conv0_Own1_6;

#line 577 "top_procs.m"
    {
#line 577 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_5, top_procs__PSI1_4, &top_procs__conv0_Own1_6);
    }
#line 577 "top_procs.m"
    top_procs__Own1_6 = ((MR_Word) top_procs__conv0_Own1_6);
#line 578 "top_procs.m"
    {
#line 578 "top_procs.m"
      top_procs__OwnCalls1_7 = measurements__redos_1_f_0(top_procs__Own1_6);
    }
#line 579 "top_procs.m"
    top_procs__succeeded = (top_procs__OwnCalls1_7 > (MR_Integer) 0);
#line 575 "top_procs.m"
    return top_procs__succeeded;
#line 575 "top_procs.m"
  }
#line 573 "top_procs.m"
}

#line 565 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_ps_calls_self_2_p_0(
#line 565 "top_procs.m"
  MR_Word top_procs__Deep_3,
#line 565 "top_procs.m"
  MR_Integer top_procs__PSI1_4)
#line 565 "top_procs.m"
{
#line 567 "top_procs.m"
  {
#line 567 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 567 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_5 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 19)));
#line 567 "top_procs.m"
    MR_Word top_procs__Own1_6;
#line 567 "top_procs.m"
    MR_Integer top_procs__OwnCalls1_7;
#line 568 "top_procs.m"
    MR_Word top_procs__V_9_9 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 0)));
#line 568 "top_procs.m"
    MR_String top_procs__V_10_10 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 1)));
#line 568 "top_procs.m"
    MR_String top_procs__V_11_11 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 2)));
#line 568 "top_procs.m"
    MR_String top_procs__V_12_12 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 3)));
#line 568 "top_procs.m"
    MR_Word top_procs__V_13_13 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 4)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_14_14 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 5)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_15_15 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 6)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_16_16 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 7)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_17_17 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 8)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_18_18 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 9)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 10)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 11)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 12)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 13)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 14)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 15)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 16)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 17)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 18)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 20)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 21)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 22)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 23)));
#line 568 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 24)));
#line 568 "top_procs.m"
    MR_Word top_procs__V_33_33 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 25)));
#line 568 "top_procs.m"
    MR_Word top_procs__V_34_34 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 26)));
#line 568 "top_procs.m"
    MR_Word top_procs__V_35_35 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 27)));
#line 568 "top_procs.m"
    MR_Word top_procs__V_36_36 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_3, (MR_Integer) 28)));
#line 569 "top_procs.m"
    MR_Box top_procs__conv0_Own1_6;

#line 569 "top_procs.m"
    {
#line 569 "top_procs.m"
      mercury__array__lookup_3_p_0((MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_ArrayPtr) top_procs__PSOwn_5, top_procs__PSI1_4, &top_procs__conv0_Own1_6);
    }
#line 569 "top_procs.m"
    top_procs__Own1_6 = ((MR_Word) top_procs__conv0_Own1_6);
#line 570 "top_procs.m"
    {
#line 570 "top_procs.m"
      top_procs__OwnCalls1_7 = measurements__calls_1_f_0(top_procs__Own1_6);
    }
#line 571 "top_procs.m"
    top_procs__succeeded = (top_procs__OwnCalls1_7 > (MR_Integer) 0);
#line 567 "top_procs.m"
    return top_procs__succeeded;
#line 567 "top_procs.m"
  }
#line 565 "top_procs.m"
}

#line 542 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_words_both_percall_3_f_0(
#line 542 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 542 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 542 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 542 "top_procs.m"
{
#line 544 "top_procs.m"
  {
#line 544 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 544 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 544 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_85_85 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 544 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_86_86;
#line 544 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 544 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_10 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 544 "top_procs.m"
    MR_Word top_procs__Own1_11;
#line 544 "top_procs.m"
    MR_Word top_procs__Own2_12;
#line 544 "top_procs.m"
    MR_Word top_procs__Desc1_13;
#line 544 "top_procs.m"
    MR_Word top_procs__Desc2_14;
#line 544 "top_procs.m"
    MR_Integer top_procs__Calls1_15;
#line 544 "top_procs.m"
    MR_Integer top_procs__Calls2_16;
#line 544 "top_procs.m"
    MR_Integer top_procs__OwnWords1_17;
#line 544 "top_procs.m"
    MR_Integer top_procs__OwnWords2_18;
#line 544 "top_procs.m"
    MR_Integer top_procs__DescWords1_19;
#line 544 "top_procs.m"
    MR_Integer top_procs__DescWords2_20;
#line 544 "top_procs.m"
    MR_Integer top_procs__TotalWords1_21;
#line 544 "top_procs.m"
    MR_Integer top_procs__TotalWords2_22;
#line 544 "top_procs.m"
    MR_Float top_procs__TotalWordsPerCall1_23;
#line 544 "top_procs.m"
    MR_Float top_procs__TotalWordsPerCall2_24;
#line 544 "top_procs.m"
    MR_Float top_procs__V_25_25;
#line 544 "top_procs.m"
    MR_Float top_procs__V_26_26;
#line 544 "top_procs.m"
    MR_Float top_procs__V_27_27;
#line 544 "top_procs.m"
    MR_Float top_procs__V_28_28;
#line 545 "top_procs.m"
    MR_Word top_procs__V_29_29 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 545 "top_procs.m"
    MR_String top_procs__V_30_30 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 545 "top_procs.m"
    MR_String top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 545 "top_procs.m"
    MR_String top_procs__V_32_32 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 545 "top_procs.m"
    MR_Word top_procs__V_33_33 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_45_45 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_46_46 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_47_47 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_49_49 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_50_50 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_51_51 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 545 "top_procs.m"
    MR_ArrayPtr top_procs__V_52_52 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 545 "top_procs.m"
    MR_Word top_procs__V_53_53 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 545 "top_procs.m"
    MR_Word top_procs__V_54_54 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 545 "top_procs.m"
    MR_Word top_procs__V_55_55 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 545 "top_procs.m"
    MR_Word top_procs__V_56_56 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 547 "top_procs.m"
    MR_Box top_procs__conv0_Own1_11;
#line 548 "top_procs.m"
    MR_Box top_procs__conv1_Own2_12;
#line 549 "top_procs.m"
    MR_Box top_procs__conv2_Desc1_13;
#line 550 "top_procs.m"
    MR_Box top_procs__conv3_Desc2_14;

#line 547 "top_procs.m"
    {
#line 547 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_85_85, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_11);
    }
#line 547 "top_procs.m"
    top_procs__Own1_11 = ((MR_Word) top_procs__conv0_Own1_11);
#line 548 "top_procs.m"
    {
#line 548 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_85_85, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_12);
    }
#line 548 "top_procs.m"
    top_procs__Own2_12 = ((MR_Word) top_procs__conv1_Own2_12);
#line 10879 "top_procs.c"
    top_procs__TypeCtorInfo_86_86 = (MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0;
#line 549 "top_procs.m"
    {
#line 549 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_86_86, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI1_6, &top_procs__conv2_Desc1_13);
    }
#line 549 "top_procs.m"
    top_procs__Desc1_13 = ((MR_Word) top_procs__conv2_Desc1_13);
#line 550 "top_procs.m"
    {
#line 550 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_86_86, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI2_7, &top_procs__conv3_Desc2_14);
    }
#line 550 "top_procs.m"
    top_procs__Desc2_14 = ((MR_Word) top_procs__conv3_Desc2_14);
#line 551 "top_procs.m"
    {
#line 551 "top_procs.m"
      top_procs__Calls1_15 = measurements__calls_1_f_0(top_procs__Own1_11);
    }
#line 552 "top_procs.m"
    {
#line 552 "top_procs.m"
      top_procs__Calls2_16 = measurements__calls_1_f_0(top_procs__Own2_12);
    }
#line 553 "top_procs.m"
    {
#line 553 "top_procs.m"
      top_procs__OwnWords1_17 = measurements__words_1_f_0(top_procs__Own1_11);
    }
#line 554 "top_procs.m"
    {
#line 554 "top_procs.m"
      top_procs__OwnWords2_18 = measurements__words_1_f_0(top_procs__Own2_12);
    }
#line 555 "top_procs.m"
    {
#line 555 "top_procs.m"
      top_procs__DescWords1_19 = measurements__inherit_words_1_f_0(top_procs__Desc1_13);
    }
#line 556 "top_procs.m"
    {
#line 556 "top_procs.m"
      top_procs__DescWords2_20 = measurements__inherit_words_1_f_0(top_procs__Desc2_14);
    }
#line 557 "top_procs.m"
    top_procs__TotalWords1_21 = (top_procs__OwnWords1_17 + top_procs__DescWords1_19);
#line 558 "top_procs.m"
    top_procs__TotalWords2_22 = (top_procs__OwnWords2_18 + top_procs__DescWords2_20);
#line 559 "top_procs.m"
    {
#line 559 "top_procs.m"
      top_procs__V_25_25 = mercury__float__float_1_f_0(top_procs__TotalWords1_21);
    }
#line 559 "top_procs.m"
    {
#line 559 "top_procs.m"
      top_procs__V_26_26 = mercury__float__float_1_f_0(top_procs__Calls1_15);
    }
#line 559 "top_procs.m"
    {
#line 559 "top_procs.m"
      top_procs__TotalWordsPerCall1_23 = mercury__float__f_slash_2_f_0(top_procs__V_25_25, top_procs__V_26_26);
    }
#line 560 "top_procs.m"
    {
#line 560 "top_procs.m"
      top_procs__V_27_27 = mercury__float__float_1_f_0(top_procs__TotalWords2_22);
    }
#line 560 "top_procs.m"
    {
#line 560 "top_procs.m"
      top_procs__V_28_28 = mercury__float__float_1_f_0(top_procs__Calls2_16);
    }
#line 560 "top_procs.m"
    {
#line 560 "top_procs.m"
      top_procs__TotalWordsPerCall2_24 = mercury__float__f_slash_2_f_0(top_procs__V_27_27, top_procs__V_28_28);
    }
#line 561 "top_procs.m"
    {
#line 561 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_8, top_procs__TotalWordsPerCall2_24, top_procs__TotalWordsPerCall1_23);
    }
#line 544 "top_procs.m"
    return top_procs__Result_8;
#line 544 "top_procs.m"
  }
#line 542 "top_procs.m"
}

#line 525 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_words_both_overall_3_f_0(
#line 525 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 525 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 525 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 525 "top_procs.m"
{
#line 527 "top_procs.m"
  {
#line 527 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 527 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 527 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_77_77 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 527 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_78_78;
#line 527 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 527 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_10 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 527 "top_procs.m"
    MR_Word top_procs__Own1_11;
#line 527 "top_procs.m"
    MR_Word top_procs__Own2_12;
#line 527 "top_procs.m"
    MR_Word top_procs__Desc1_13;
#line 527 "top_procs.m"
    MR_Word top_procs__Desc2_14;
#line 527 "top_procs.m"
    MR_Integer top_procs__OwnWords1_15;
#line 527 "top_procs.m"
    MR_Integer top_procs__OwnWords2_16;
#line 527 "top_procs.m"
    MR_Integer top_procs__DescWords1_17;
#line 527 "top_procs.m"
    MR_Integer top_procs__DescWords2_18;
#line 527 "top_procs.m"
    MR_Integer top_procs__TotalWords1_19;
#line 527 "top_procs.m"
    MR_Integer top_procs__TotalWords2_20;
#line 528 "top_procs.m"
    MR_Word top_procs__V_21_21 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 528 "top_procs.m"
    MR_String top_procs__V_22_22 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 528 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 528 "top_procs.m"
    MR_String top_procs__V_24_24 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 528 "top_procs.m"
    MR_Word top_procs__V_25_25 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 528 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 528 "top_procs.m"
    MR_Word top_procs__V_45_45 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 528 "top_procs.m"
    MR_Word top_procs__V_46_46 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 528 "top_procs.m"
    MR_Word top_procs__V_47_47 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 528 "top_procs.m"
    MR_Word top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 530 "top_procs.m"
    MR_Box top_procs__conv0_Own1_11;
#line 531 "top_procs.m"
    MR_Box top_procs__conv1_Own2_12;
#line 532 "top_procs.m"
    MR_Box top_procs__conv2_Desc1_13;
#line 533 "top_procs.m"
    MR_Box top_procs__conv3_Desc2_14;

#line 530 "top_procs.m"
    {
#line 530 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_77_77, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_11);
    }
#line 530 "top_procs.m"
    top_procs__Own1_11 = ((MR_Word) top_procs__conv0_Own1_11);
#line 531 "top_procs.m"
    {
#line 531 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_77_77, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_12);
    }
#line 531 "top_procs.m"
    top_procs__Own2_12 = ((MR_Word) top_procs__conv1_Own2_12);
#line 11093 "top_procs.c"
    top_procs__TypeCtorInfo_78_78 = (MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0;
#line 532 "top_procs.m"
    {
#line 532 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_78_78, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI1_6, &top_procs__conv2_Desc1_13);
    }
#line 532 "top_procs.m"
    top_procs__Desc1_13 = ((MR_Word) top_procs__conv2_Desc1_13);
#line 533 "top_procs.m"
    {
#line 533 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_78_78, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI2_7, &top_procs__conv3_Desc2_14);
    }
#line 533 "top_procs.m"
    top_procs__Desc2_14 = ((MR_Word) top_procs__conv3_Desc2_14);
#line 534 "top_procs.m"
    {
#line 534 "top_procs.m"
      top_procs__OwnWords1_15 = measurements__words_1_f_0(top_procs__Own1_11);
    }
#line 535 "top_procs.m"
    {
#line 535 "top_procs.m"
      top_procs__OwnWords2_16 = measurements__words_1_f_0(top_procs__Own2_12);
    }
#line 536 "top_procs.m"
    {
#line 536 "top_procs.m"
      top_procs__DescWords1_17 = measurements__inherit_words_1_f_0(top_procs__Desc1_13);
    }
#line 537 "top_procs.m"
    {
#line 537 "top_procs.m"
      top_procs__DescWords2_18 = measurements__inherit_words_1_f_0(top_procs__Desc2_14);
    }
#line 538 "top_procs.m"
    top_procs__TotalWords1_19 = (top_procs__OwnWords1_15 + top_procs__DescWords1_17);
#line 539 "top_procs.m"
    top_procs__TotalWords2_20 = (top_procs__OwnWords2_16 + top_procs__DescWords2_18);
#line 540 "top_procs.m"
    {
#line 540 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_8, top_procs__TotalWords2_20, top_procs__TotalWords1_19);
    }
#line 527 "top_procs.m"
    return top_procs__Result_8;
#line 527 "top_procs.m"
  }
#line 525 "top_procs.m"
}

#line 511 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_words_self_percall_3_f_0(
#line 511 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 511 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 511 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 511 "top_procs.m"
{
#line 513 "top_procs.m"
  {
#line 513 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 513 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 513 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_50_50 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 513 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 513 "top_procs.m"
    MR_Word top_procs__Own1_10;
#line 513 "top_procs.m"
    MR_Word top_procs__Own2_11;
#line 513 "top_procs.m"
    MR_Integer top_procs__Calls1_12;
#line 513 "top_procs.m"
    MR_Integer top_procs__Calls2_13;
#line 513 "top_procs.m"
    MR_Integer top_procs__OwnWords1_14;
#line 513 "top_procs.m"
    MR_Integer top_procs__OwnWords2_15;
#line 513 "top_procs.m"
    MR_Float top_procs__OwnWordsPerCall1_16;
#line 513 "top_procs.m"
    MR_Float top_procs__OwnWordsPerCall2_17;
#line 513 "top_procs.m"
    MR_Float top_procs__V_18_18;
#line 513 "top_procs.m"
    MR_Float top_procs__V_19_19;
#line 513 "top_procs.m"
    MR_Float top_procs__V_20_20;
#line 513 "top_procs.m"
    MR_Float top_procs__V_21_21;
#line 514 "top_procs.m"
    MR_Word top_procs__V_22_22 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 514 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 514 "top_procs.m"
    MR_String top_procs__V_24_24 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 514 "top_procs.m"
    MR_String top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 514 "top_procs.m"
    MR_Word top_procs__V_26_26 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 514 "top_procs.m"
    MR_ArrayPtr top_procs__V_45_45 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 514 "top_procs.m"
    MR_Word top_procs__V_46_46 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 514 "top_procs.m"
    MR_Word top_procs__V_47_47 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 514 "top_procs.m"
    MR_Word top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 514 "top_procs.m"
    MR_Word top_procs__V_49_49 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 515 "top_procs.m"
    MR_Box top_procs__conv0_Own1_10;
#line 516 "top_procs.m"
    MR_Box top_procs__conv1_Own2_11;

#line 515 "top_procs.m"
    {
#line 515 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_50_50, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_10);
    }
#line 515 "top_procs.m"
    top_procs__Own1_10 = ((MR_Word) top_procs__conv0_Own1_10);
#line 516 "top_procs.m"
    {
#line 516 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_50_50, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_11);
    }
#line 516 "top_procs.m"
    top_procs__Own2_11 = ((MR_Word) top_procs__conv1_Own2_11);
#line 517 "top_procs.m"
    {
#line 517 "top_procs.m"
      top_procs__Calls1_12 = measurements__calls_1_f_0(top_procs__Own1_10);
    }
#line 518 "top_procs.m"
    {
#line 518 "top_procs.m"
      top_procs__Calls2_13 = measurements__calls_1_f_0(top_procs__Own2_11);
    }
#line 519 "top_procs.m"
    {
#line 519 "top_procs.m"
      top_procs__OwnWords1_14 = measurements__words_1_f_0(top_procs__Own1_10);
    }
#line 520 "top_procs.m"
    {
#line 520 "top_procs.m"
      top_procs__OwnWords2_15 = measurements__words_1_f_0(top_procs__Own2_11);
    }
#line 521 "top_procs.m"
    {
#line 521 "top_procs.m"
      top_procs__V_18_18 = mercury__float__float_1_f_0(top_procs__OwnWords1_14);
    }
#line 521 "top_procs.m"
    {
#line 521 "top_procs.m"
      top_procs__V_19_19 = mercury__float__float_1_f_0(top_procs__Calls1_12);
    }
#line 521 "top_procs.m"
    {
#line 521 "top_procs.m"
      top_procs__OwnWordsPerCall1_16 = mercury__float__f_slash_2_f_0(top_procs__V_18_18, top_procs__V_19_19);
    }
#line 522 "top_procs.m"
    {
#line 522 "top_procs.m"
      top_procs__V_20_20 = mercury__float__float_1_f_0(top_procs__OwnWords2_15);
    }
#line 522 "top_procs.m"
    {
#line 522 "top_procs.m"
      top_procs__V_21_21 = mercury__float__float_1_f_0(top_procs__Calls2_13);
    }
#line 522 "top_procs.m"
    {
#line 522 "top_procs.m"
      top_procs__OwnWordsPerCall2_17 = mercury__float__f_slash_2_f_0(top_procs__V_20_20, top_procs__V_21_21);
    }
#line 523 "top_procs.m"
    {
#line 523 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_8, top_procs__OwnWordsPerCall2_17, top_procs__OwnWordsPerCall1_16);
    }
#line 513 "top_procs.m"
    return top_procs__Result_8;
#line 513 "top_procs.m"
  }
#line 511 "top_procs.m"
}

#line 501 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_words_self_overall_3_f_0(
#line 501 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 501 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 501 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 501 "top_procs.m"
{
#line 503 "top_procs.m"
  {
#line 503 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 503 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 503 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_42_42 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 503 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 503 "top_procs.m"
    MR_Word top_procs__Own1_10;
#line 503 "top_procs.m"
    MR_Word top_procs__Own2_11;
#line 503 "top_procs.m"
    MR_Integer top_procs__OwnWords1_12;
#line 503 "top_procs.m"
    MR_Integer top_procs__OwnWords2_13;
#line 504 "top_procs.m"
    MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 504 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 504 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 504 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 504 "top_procs.m"
    MR_Word top_procs__V_18_18 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 504 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 504 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 504 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 504 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 504 "top_procs.m"
    MR_Word top_procs__V_41_41 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 505 "top_procs.m"
    MR_Box top_procs__conv0_Own1_10;
#line 506 "top_procs.m"
    MR_Box top_procs__conv1_Own2_11;

#line 505 "top_procs.m"
    {
#line 505 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_42_42, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_10);
    }
#line 505 "top_procs.m"
    top_procs__Own1_10 = ((MR_Word) top_procs__conv0_Own1_10);
#line 506 "top_procs.m"
    {
#line 506 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_42_42, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_11);
    }
#line 506 "top_procs.m"
    top_procs__Own2_11 = ((MR_Word) top_procs__conv1_Own2_11);
#line 507 "top_procs.m"
    {
#line 507 "top_procs.m"
      top_procs__OwnWords1_12 = measurements__words_1_f_0(top_procs__Own1_10);
    }
#line 508 "top_procs.m"
    {
#line 508 "top_procs.m"
      top_procs__OwnWords2_13 = measurements__words_1_f_0(top_procs__Own2_11);
    }
#line 509 "top_procs.m"
    {
#line 509 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_8, top_procs__OwnWords2_13, top_procs__OwnWords1_12);
    }
#line 503 "top_procs.m"
    return top_procs__Result_8;
#line 503 "top_procs.m"
  }
#line 501 "top_procs.m"
}

#line 480 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_allocs_both_percall_3_f_0(
#line 480 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 480 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 480 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 480 "top_procs.m"
{
#line 482 "top_procs.m"
  {
#line 482 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 482 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 482 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_85_85 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 482 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_86_86;
#line 482 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 482 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_10 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 482 "top_procs.m"
    MR_Word top_procs__Own1_11;
#line 482 "top_procs.m"
    MR_Word top_procs__Own2_12;
#line 482 "top_procs.m"
    MR_Word top_procs__Desc1_13;
#line 482 "top_procs.m"
    MR_Word top_procs__Desc2_14;
#line 482 "top_procs.m"
    MR_Integer top_procs__Calls1_15;
#line 482 "top_procs.m"
    MR_Integer top_procs__Calls2_16;
#line 482 "top_procs.m"
    MR_Integer top_procs__OwnAlloc1_17;
#line 482 "top_procs.m"
    MR_Integer top_procs__OwnAlloc2_18;
#line 482 "top_procs.m"
    MR_Integer top_procs__DescAlloc1_19;
#line 482 "top_procs.m"
    MR_Integer top_procs__DescAlloc2_20;
#line 482 "top_procs.m"
    MR_Integer top_procs__TotalAlloc1_21;
#line 482 "top_procs.m"
    MR_Integer top_procs__TotalAlloc2_22;
#line 482 "top_procs.m"
    MR_Float top_procs__TotalAllocPerCall1_23;
#line 482 "top_procs.m"
    MR_Float top_procs__TotalAllocPerCall2_24;
#line 482 "top_procs.m"
    MR_Float top_procs__V_25_25;
#line 482 "top_procs.m"
    MR_Float top_procs__V_26_26;
#line 482 "top_procs.m"
    MR_Float top_procs__V_27_27;
#line 482 "top_procs.m"
    MR_Float top_procs__V_28_28;
#line 483 "top_procs.m"
    MR_Word top_procs__V_29_29 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 483 "top_procs.m"
    MR_String top_procs__V_30_30 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 483 "top_procs.m"
    MR_String top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 483 "top_procs.m"
    MR_String top_procs__V_32_32 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 483 "top_procs.m"
    MR_Word top_procs__V_33_33 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_45_45 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_46_46 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_47_47 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_49_49 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_50_50 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_51_51 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 483 "top_procs.m"
    MR_ArrayPtr top_procs__V_52_52 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 483 "top_procs.m"
    MR_Word top_procs__V_53_53 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 483 "top_procs.m"
    MR_Word top_procs__V_54_54 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 483 "top_procs.m"
    MR_Word top_procs__V_55_55 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 483 "top_procs.m"
    MR_Word top_procs__V_56_56 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 485 "top_procs.m"
    MR_Box top_procs__conv0_Own1_11;
#line 486 "top_procs.m"
    MR_Box top_procs__conv1_Own2_12;
#line 487 "top_procs.m"
    MR_Box top_procs__conv2_Desc1_13;
#line 488 "top_procs.m"
    MR_Box top_procs__conv3_Desc2_14;

#line 485 "top_procs.m"
    {
#line 485 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_85_85, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_11);
    }
#line 485 "top_procs.m"
    top_procs__Own1_11 = ((MR_Word) top_procs__conv0_Own1_11);
#line 486 "top_procs.m"
    {
#line 486 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_85_85, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_12);
    }
#line 486 "top_procs.m"
    top_procs__Own2_12 = ((MR_Word) top_procs__conv1_Own2_12);
#line 11591 "top_procs.c"
    top_procs__TypeCtorInfo_86_86 = (MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0;
#line 487 "top_procs.m"
    {
#line 487 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_86_86, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI1_6, &top_procs__conv2_Desc1_13);
    }
#line 487 "top_procs.m"
    top_procs__Desc1_13 = ((MR_Word) top_procs__conv2_Desc1_13);
#line 488 "top_procs.m"
    {
#line 488 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_86_86, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI2_7, &top_procs__conv3_Desc2_14);
    }
#line 488 "top_procs.m"
    top_procs__Desc2_14 = ((MR_Word) top_procs__conv3_Desc2_14);
#line 489 "top_procs.m"
    {
#line 489 "top_procs.m"
      top_procs__Calls1_15 = measurements__calls_1_f_0(top_procs__Own1_11);
    }
#line 490 "top_procs.m"
    {
#line 490 "top_procs.m"
      top_procs__Calls2_16 = measurements__calls_1_f_0(top_procs__Own2_12);
    }
#line 491 "top_procs.m"
    {
#line 491 "top_procs.m"
      top_procs__OwnAlloc1_17 = measurements__allocs_1_f_0(top_procs__Own1_11);
    }
#line 492 "top_procs.m"
    {
#line 492 "top_procs.m"
      top_procs__OwnAlloc2_18 = measurements__allocs_1_f_0(top_procs__Own2_12);
    }
#line 493 "top_procs.m"
    {
#line 493 "top_procs.m"
      top_procs__DescAlloc1_19 = measurements__inherit_allocs_1_f_0(top_procs__Desc1_13);
    }
#line 494 "top_procs.m"
    {
#line 494 "top_procs.m"
      top_procs__DescAlloc2_20 = measurements__inherit_allocs_1_f_0(top_procs__Desc2_14);
    }
#line 495 "top_procs.m"
    top_procs__TotalAlloc1_21 = (top_procs__OwnAlloc1_17 + top_procs__DescAlloc1_19);
#line 496 "top_procs.m"
    top_procs__TotalAlloc2_22 = (top_procs__OwnAlloc2_18 + top_procs__DescAlloc2_20);
#line 497 "top_procs.m"
    {
#line 497 "top_procs.m"
      top_procs__V_25_25 = mercury__float__float_1_f_0(top_procs__TotalAlloc1_21);
    }
#line 497 "top_procs.m"
    {
#line 497 "top_procs.m"
      top_procs__V_26_26 = mercury__float__float_1_f_0(top_procs__Calls1_15);
    }
#line 497 "top_procs.m"
    {
#line 497 "top_procs.m"
      top_procs__TotalAllocPerCall1_23 = mercury__float__f_slash_2_f_0(top_procs__V_25_25, top_procs__V_26_26);
    }
#line 498 "top_procs.m"
    {
#line 498 "top_procs.m"
      top_procs__V_27_27 = mercury__float__float_1_f_0(top_procs__TotalAlloc2_22);
    }
#line 498 "top_procs.m"
    {
#line 498 "top_procs.m"
      top_procs__V_28_28 = mercury__float__float_1_f_0(top_procs__Calls2_16);
    }
#line 498 "top_procs.m"
    {
#line 498 "top_procs.m"
      top_procs__TotalAllocPerCall2_24 = mercury__float__f_slash_2_f_0(top_procs__V_27_27, top_procs__V_28_28);
    }
#line 499 "top_procs.m"
    {
#line 499 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_8, top_procs__TotalAllocPerCall2_24, top_procs__TotalAllocPerCall1_23);
    }
#line 482 "top_procs.m"
    return top_procs__Result_8;
#line 482 "top_procs.m"
  }
#line 480 "top_procs.m"
}

#line 463 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_allocs_both_overall_3_f_0(
#line 463 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 463 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 463 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 463 "top_procs.m"
{
#line 465 "top_procs.m"
  {
#line 465 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 465 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 465 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_77_77 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 465 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_78_78;
#line 465 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 465 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_10 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 465 "top_procs.m"
    MR_Word top_procs__Own1_11;
#line 465 "top_procs.m"
    MR_Word top_procs__Own2_12;
#line 465 "top_procs.m"
    MR_Word top_procs__Desc1_13;
#line 465 "top_procs.m"
    MR_Word top_procs__Desc2_14;
#line 465 "top_procs.m"
    MR_Integer top_procs__OwnAlloc1_15;
#line 465 "top_procs.m"
    MR_Integer top_procs__OwnAlloc2_16;
#line 465 "top_procs.m"
    MR_Integer top_procs__DescAlloc1_17;
#line 465 "top_procs.m"
    MR_Integer top_procs__DescAlloc2_18;
#line 465 "top_procs.m"
    MR_Integer top_procs__TotalAlloc1_19;
#line 465 "top_procs.m"
    MR_Integer top_procs__TotalAlloc2_20;
#line 466 "top_procs.m"
    MR_Word top_procs__V_21_21 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 466 "top_procs.m"
    MR_String top_procs__V_22_22 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 466 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 466 "top_procs.m"
    MR_String top_procs__V_24_24 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 466 "top_procs.m"
    MR_Word top_procs__V_25_25 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 466 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 466 "top_procs.m"
    MR_Word top_procs__V_45_45 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 466 "top_procs.m"
    MR_Word top_procs__V_46_46 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 466 "top_procs.m"
    MR_Word top_procs__V_47_47 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 466 "top_procs.m"
    MR_Word top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 468 "top_procs.m"
    MR_Box top_procs__conv0_Own1_11;
#line 469 "top_procs.m"
    MR_Box top_procs__conv1_Own2_12;
#line 470 "top_procs.m"
    MR_Box top_procs__conv2_Desc1_13;
#line 471 "top_procs.m"
    MR_Box top_procs__conv3_Desc2_14;

#line 468 "top_procs.m"
    {
#line 468 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_77_77, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_11);
    }
#line 468 "top_procs.m"
    top_procs__Own1_11 = ((MR_Word) top_procs__conv0_Own1_11);
#line 469 "top_procs.m"
    {
#line 469 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_77_77, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_12);
    }
#line 469 "top_procs.m"
    top_procs__Own2_12 = ((MR_Word) top_procs__conv1_Own2_12);
#line 11805 "top_procs.c"
    top_procs__TypeCtorInfo_78_78 = (MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0;
#line 470 "top_procs.m"
    {
#line 470 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_78_78, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI1_6, &top_procs__conv2_Desc1_13);
    }
#line 470 "top_procs.m"
    top_procs__Desc1_13 = ((MR_Word) top_procs__conv2_Desc1_13);
#line 471 "top_procs.m"
    {
#line 471 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_78_78, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI2_7, &top_procs__conv3_Desc2_14);
    }
#line 471 "top_procs.m"
    top_procs__Desc2_14 = ((MR_Word) top_procs__conv3_Desc2_14);
#line 472 "top_procs.m"
    {
#line 472 "top_procs.m"
      top_procs__OwnAlloc1_15 = measurements__allocs_1_f_0(top_procs__Own1_11);
    }
#line 473 "top_procs.m"
    {
#line 473 "top_procs.m"
      top_procs__OwnAlloc2_16 = measurements__allocs_1_f_0(top_procs__Own2_12);
    }
#line 474 "top_procs.m"
    {
#line 474 "top_procs.m"
      top_procs__DescAlloc1_17 = measurements__inherit_allocs_1_f_0(top_procs__Desc1_13);
    }
#line 475 "top_procs.m"
    {
#line 475 "top_procs.m"
      top_procs__DescAlloc2_18 = measurements__inherit_allocs_1_f_0(top_procs__Desc2_14);
    }
#line 476 "top_procs.m"
    top_procs__TotalAlloc1_19 = (top_procs__OwnAlloc1_15 + top_procs__DescAlloc1_17);
#line 477 "top_procs.m"
    top_procs__TotalAlloc2_20 = (top_procs__OwnAlloc2_16 + top_procs__DescAlloc2_18);
#line 478 "top_procs.m"
    {
#line 478 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_8, top_procs__TotalAlloc2_20, top_procs__TotalAlloc1_19);
    }
#line 465 "top_procs.m"
    return top_procs__Result_8;
#line 465 "top_procs.m"
  }
#line 463 "top_procs.m"
}

#line 449 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_allocs_self_percall_3_f_0(
#line 449 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 449 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 449 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 449 "top_procs.m"
{
#line 451 "top_procs.m"
  {
#line 451 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 451 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 451 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_50_50 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 451 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 451 "top_procs.m"
    MR_Word top_procs__Own1_10;
#line 451 "top_procs.m"
    MR_Word top_procs__Own2_11;
#line 451 "top_procs.m"
    MR_Integer top_procs__Calls1_12;
#line 451 "top_procs.m"
    MR_Integer top_procs__Calls2_13;
#line 451 "top_procs.m"
    MR_Integer top_procs__OwnAlloc1_14;
#line 451 "top_procs.m"
    MR_Integer top_procs__OwnAlloc2_15;
#line 451 "top_procs.m"
    MR_Float top_procs__OwnAllocPerCall1_16;
#line 451 "top_procs.m"
    MR_Float top_procs__OwnAllocPerCall2_17;
#line 451 "top_procs.m"
    MR_Float top_procs__V_18_18;
#line 451 "top_procs.m"
    MR_Float top_procs__V_19_19;
#line 451 "top_procs.m"
    MR_Float top_procs__V_20_20;
#line 451 "top_procs.m"
    MR_Float top_procs__V_21_21;
#line 452 "top_procs.m"
    MR_Word top_procs__V_22_22 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 452 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 452 "top_procs.m"
    MR_String top_procs__V_24_24 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 452 "top_procs.m"
    MR_String top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 452 "top_procs.m"
    MR_Word top_procs__V_26_26 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 452 "top_procs.m"
    MR_ArrayPtr top_procs__V_45_45 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 452 "top_procs.m"
    MR_Word top_procs__V_46_46 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 452 "top_procs.m"
    MR_Word top_procs__V_47_47 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 452 "top_procs.m"
    MR_Word top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 452 "top_procs.m"
    MR_Word top_procs__V_49_49 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 453 "top_procs.m"
    MR_Box top_procs__conv0_Own1_10;
#line 454 "top_procs.m"
    MR_Box top_procs__conv1_Own2_11;

#line 453 "top_procs.m"
    {
#line 453 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_50_50, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_10);
    }
#line 453 "top_procs.m"
    top_procs__Own1_10 = ((MR_Word) top_procs__conv0_Own1_10);
#line 454 "top_procs.m"
    {
#line 454 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_50_50, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_11);
    }
#line 454 "top_procs.m"
    top_procs__Own2_11 = ((MR_Word) top_procs__conv1_Own2_11);
#line 455 "top_procs.m"
    {
#line 455 "top_procs.m"
      top_procs__Calls1_12 = measurements__calls_1_f_0(top_procs__Own1_10);
    }
#line 456 "top_procs.m"
    {
#line 456 "top_procs.m"
      top_procs__Calls2_13 = measurements__calls_1_f_0(top_procs__Own2_11);
    }
#line 457 "top_procs.m"
    {
#line 457 "top_procs.m"
      top_procs__OwnAlloc1_14 = measurements__allocs_1_f_0(top_procs__Own1_10);
    }
#line 458 "top_procs.m"
    {
#line 458 "top_procs.m"
      top_procs__OwnAlloc2_15 = measurements__allocs_1_f_0(top_procs__Own2_11);
    }
#line 459 "top_procs.m"
    {
#line 459 "top_procs.m"
      top_procs__V_18_18 = mercury__float__float_1_f_0(top_procs__OwnAlloc1_14);
    }
#line 459 "top_procs.m"
    {
#line 459 "top_procs.m"
      top_procs__V_19_19 = mercury__float__float_1_f_0(top_procs__Calls1_12);
    }
#line 459 "top_procs.m"
    {
#line 459 "top_procs.m"
      top_procs__OwnAllocPerCall1_16 = mercury__float__f_slash_2_f_0(top_procs__V_18_18, top_procs__V_19_19);
    }
#line 460 "top_procs.m"
    {
#line 460 "top_procs.m"
      top_procs__V_20_20 = mercury__float__float_1_f_0(top_procs__OwnAlloc2_15);
    }
#line 460 "top_procs.m"
    {
#line 460 "top_procs.m"
      top_procs__V_21_21 = mercury__float__float_1_f_0(top_procs__Calls2_13);
    }
#line 460 "top_procs.m"
    {
#line 460 "top_procs.m"
      top_procs__OwnAllocPerCall2_17 = mercury__float__f_slash_2_f_0(top_procs__V_20_20, top_procs__V_21_21);
    }
#line 461 "top_procs.m"
    {
#line 461 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_8, top_procs__OwnAllocPerCall2_17, top_procs__OwnAllocPerCall1_16);
    }
#line 451 "top_procs.m"
    return top_procs__Result_8;
#line 451 "top_procs.m"
  }
#line 449 "top_procs.m"
}

#line 439 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_allocs_self_overall_3_f_0(
#line 439 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 439 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 439 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 439 "top_procs.m"
{
#line 441 "top_procs.m"
  {
#line 441 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 441 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 441 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_42_42 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 441 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 441 "top_procs.m"
    MR_Word top_procs__Own1_10;
#line 441 "top_procs.m"
    MR_Word top_procs__Own2_11;
#line 441 "top_procs.m"
    MR_Integer top_procs__OwnAlloc1_12;
#line 441 "top_procs.m"
    MR_Integer top_procs__OwnAlloc2_13;
#line 442 "top_procs.m"
    MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 442 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 442 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 442 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 442 "top_procs.m"
    MR_Word top_procs__V_18_18 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 442 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 442 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 442 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 442 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 442 "top_procs.m"
    MR_Word top_procs__V_41_41 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 443 "top_procs.m"
    MR_Box top_procs__conv0_Own1_10;
#line 444 "top_procs.m"
    MR_Box top_procs__conv1_Own2_11;

#line 443 "top_procs.m"
    {
#line 443 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_42_42, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_10);
    }
#line 443 "top_procs.m"
    top_procs__Own1_10 = ((MR_Word) top_procs__conv0_Own1_10);
#line 444 "top_procs.m"
    {
#line 444 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_42_42, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_11);
    }
#line 444 "top_procs.m"
    top_procs__Own2_11 = ((MR_Word) top_procs__conv1_Own2_11);
#line 445 "top_procs.m"
    {
#line 445 "top_procs.m"
      top_procs__OwnAlloc1_12 = measurements__allocs_1_f_0(top_procs__Own1_10);
    }
#line 446 "top_procs.m"
    {
#line 446 "top_procs.m"
      top_procs__OwnAlloc2_13 = measurements__allocs_1_f_0(top_procs__Own2_11);
    }
#line 447 "top_procs.m"
    {
#line 447 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_8, top_procs__OwnAlloc2_13, top_procs__OwnAlloc1_12);
    }
#line 441 "top_procs.m"
    return top_procs__Result_8;
#line 441 "top_procs.m"
  }
#line 439 "top_procs.m"
}

#line 418 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_callseqs_both_percall_3_f_0(
#line 418 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 418 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 418 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 418 "top_procs.m"
{
#line 420 "top_procs.m"
  {
#line 420 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 420 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 420 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_85_85 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 420 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_86_86;
#line 420 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 420 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_10 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 420 "top_procs.m"
    MR_Word top_procs__Own1_11;
#line 420 "top_procs.m"
    MR_Word top_procs__Own2_12;
#line 420 "top_procs.m"
    MR_Word top_procs__Desc1_13;
#line 420 "top_procs.m"
    MR_Word top_procs__Desc2_14;
#line 420 "top_procs.m"
    MR_Integer top_procs__Calls1_15;
#line 420 "top_procs.m"
    MR_Integer top_procs__Calls2_16;
#line 420 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs1_17;
#line 420 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs2_18;
#line 420 "top_procs.m"
    MR_Integer top_procs__DescCallSeqs1_19;
#line 420 "top_procs.m"
    MR_Integer top_procs__DescCallSeqs2_20;
#line 420 "top_procs.m"
    MR_Integer top_procs__TotalCallSeqs1_21;
#line 420 "top_procs.m"
    MR_Integer top_procs__TotalCallSeqs2_22;
#line 420 "top_procs.m"
    MR_Float top_procs__TotalCallSeqsPerCall1_23;
#line 420 "top_procs.m"
    MR_Float top_procs__TotalCallSeqsPerCall2_24;
#line 420 "top_procs.m"
    MR_Float top_procs__V_25_25;
#line 420 "top_procs.m"
    MR_Float top_procs__V_26_26;
#line 420 "top_procs.m"
    MR_Float top_procs__V_27_27;
#line 420 "top_procs.m"
    MR_Float top_procs__V_28_28;
#line 421 "top_procs.m"
    MR_Word top_procs__V_29_29 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 421 "top_procs.m"
    MR_String top_procs__V_30_30 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 421 "top_procs.m"
    MR_String top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 421 "top_procs.m"
    MR_String top_procs__V_32_32 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 421 "top_procs.m"
    MR_Word top_procs__V_33_33 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_45_45 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_46_46 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_47_47 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_49_49 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_50_50 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_51_51 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 421 "top_procs.m"
    MR_ArrayPtr top_procs__V_52_52 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 421 "top_procs.m"
    MR_Word top_procs__V_53_53 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 421 "top_procs.m"
    MR_Word top_procs__V_54_54 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 421 "top_procs.m"
    MR_Word top_procs__V_55_55 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 421 "top_procs.m"
    MR_Word top_procs__V_56_56 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 423 "top_procs.m"
    MR_Box top_procs__conv0_Own1_11;
#line 424 "top_procs.m"
    MR_Box top_procs__conv1_Own2_12;
#line 425 "top_procs.m"
    MR_Box top_procs__conv2_Desc1_13;
#line 426 "top_procs.m"
    MR_Box top_procs__conv3_Desc2_14;

#line 423 "top_procs.m"
    {
#line 423 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_85_85, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_11);
    }
#line 423 "top_procs.m"
    top_procs__Own1_11 = ((MR_Word) top_procs__conv0_Own1_11);
#line 424 "top_procs.m"
    {
#line 424 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_85_85, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_12);
    }
#line 424 "top_procs.m"
    top_procs__Own2_12 = ((MR_Word) top_procs__conv1_Own2_12);
#line 12303 "top_procs.c"
    top_procs__TypeCtorInfo_86_86 = (MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0;
#line 425 "top_procs.m"
    {
#line 425 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_86_86, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI1_6, &top_procs__conv2_Desc1_13);
    }
#line 425 "top_procs.m"
    top_procs__Desc1_13 = ((MR_Word) top_procs__conv2_Desc1_13);
#line 426 "top_procs.m"
    {
#line 426 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_86_86, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI2_7, &top_procs__conv3_Desc2_14);
    }
#line 426 "top_procs.m"
    top_procs__Desc2_14 = ((MR_Word) top_procs__conv3_Desc2_14);
#line 427 "top_procs.m"
    {
#line 427 "top_procs.m"
      top_procs__Calls1_15 = measurements__calls_1_f_0(top_procs__Own1_11);
    }
#line 428 "top_procs.m"
    {
#line 428 "top_procs.m"
      top_procs__Calls2_16 = measurements__calls_1_f_0(top_procs__Own2_12);
    }
#line 429 "top_procs.m"
    {
#line 429 "top_procs.m"
      top_procs__OwnCallSeqs1_17 = measurements__callseqs_1_f_0(top_procs__Own1_11);
    }
#line 430 "top_procs.m"
    {
#line 430 "top_procs.m"
      top_procs__OwnCallSeqs2_18 = measurements__callseqs_1_f_0(top_procs__Own2_12);
    }
#line 431 "top_procs.m"
    {
#line 431 "top_procs.m"
      top_procs__DescCallSeqs1_19 = measurements__inherit_callseqs_1_f_0(top_procs__Desc1_13);
    }
#line 432 "top_procs.m"
    {
#line 432 "top_procs.m"
      top_procs__DescCallSeqs2_20 = measurements__inherit_callseqs_1_f_0(top_procs__Desc2_14);
    }
#line 433 "top_procs.m"
    top_procs__TotalCallSeqs1_21 = (top_procs__OwnCallSeqs1_17 + top_procs__DescCallSeqs1_19);
#line 434 "top_procs.m"
    top_procs__TotalCallSeqs2_22 = (top_procs__OwnCallSeqs2_18 + top_procs__DescCallSeqs2_20);
#line 435 "top_procs.m"
    {
#line 435 "top_procs.m"
      top_procs__V_25_25 = mercury__float__float_1_f_0(top_procs__TotalCallSeqs1_21);
    }
#line 435 "top_procs.m"
    {
#line 435 "top_procs.m"
      top_procs__V_26_26 = mercury__float__float_1_f_0(top_procs__Calls1_15);
    }
#line 435 "top_procs.m"
    {
#line 435 "top_procs.m"
      top_procs__TotalCallSeqsPerCall1_23 = mercury__float__f_slash_2_f_0(top_procs__V_25_25, top_procs__V_26_26);
    }
#line 436 "top_procs.m"
    {
#line 436 "top_procs.m"
      top_procs__V_27_27 = mercury__float__float_1_f_0(top_procs__TotalCallSeqs2_22);
    }
#line 436 "top_procs.m"
    {
#line 436 "top_procs.m"
      top_procs__V_28_28 = mercury__float__float_1_f_0(top_procs__Calls2_16);
    }
#line 436 "top_procs.m"
    {
#line 436 "top_procs.m"
      top_procs__TotalCallSeqsPerCall2_24 = mercury__float__f_slash_2_f_0(top_procs__V_27_27, top_procs__V_28_28);
    }
#line 437 "top_procs.m"
    {
#line 437 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_8, top_procs__TotalCallSeqsPerCall2_24, top_procs__TotalCallSeqsPerCall1_23);
    }
#line 420 "top_procs.m"
    return top_procs__Result_8;
#line 420 "top_procs.m"
  }
#line 418 "top_procs.m"
}

#line 401 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_callseqs_both_overall_3_f_0(
#line 401 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 401 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 401 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 401 "top_procs.m"
{
#line 403 "top_procs.m"
  {
#line 403 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 403 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 403 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_77_77 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 403 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_78_78;
#line 403 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 403 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_10 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 403 "top_procs.m"
    MR_Word top_procs__Own1_11;
#line 403 "top_procs.m"
    MR_Word top_procs__Own2_12;
#line 403 "top_procs.m"
    MR_Word top_procs__Desc1_13;
#line 403 "top_procs.m"
    MR_Word top_procs__Desc2_14;
#line 403 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs1_15;
#line 403 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs2_16;
#line 403 "top_procs.m"
    MR_Integer top_procs__DescCallSeqs1_17;
#line 403 "top_procs.m"
    MR_Integer top_procs__DescCallSeqs2_18;
#line 403 "top_procs.m"
    MR_Integer top_procs__TotalCallSeqs1_19;
#line 403 "top_procs.m"
    MR_Integer top_procs__TotalCallSeqs2_20;
#line 404 "top_procs.m"
    MR_Word top_procs__V_21_21 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 404 "top_procs.m"
    MR_String top_procs__V_22_22 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 404 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 404 "top_procs.m"
    MR_String top_procs__V_24_24 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 404 "top_procs.m"
    MR_Word top_procs__V_25_25 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 404 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 404 "top_procs.m"
    MR_Word top_procs__V_45_45 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 404 "top_procs.m"
    MR_Word top_procs__V_46_46 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 404 "top_procs.m"
    MR_Word top_procs__V_47_47 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 404 "top_procs.m"
    MR_Word top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 406 "top_procs.m"
    MR_Box top_procs__conv0_Own1_11;
#line 407 "top_procs.m"
    MR_Box top_procs__conv1_Own2_12;
#line 408 "top_procs.m"
    MR_Box top_procs__conv2_Desc1_13;
#line 409 "top_procs.m"
    MR_Box top_procs__conv3_Desc2_14;

#line 406 "top_procs.m"
    {
#line 406 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_77_77, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_11);
    }
#line 406 "top_procs.m"
    top_procs__Own1_11 = ((MR_Word) top_procs__conv0_Own1_11);
#line 407 "top_procs.m"
    {
#line 407 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_77_77, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_12);
    }
#line 407 "top_procs.m"
    top_procs__Own2_12 = ((MR_Word) top_procs__conv1_Own2_12);
#line 12517 "top_procs.c"
    top_procs__TypeCtorInfo_78_78 = (MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0;
#line 408 "top_procs.m"
    {
#line 408 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_78_78, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI1_6, &top_procs__conv2_Desc1_13);
    }
#line 408 "top_procs.m"
    top_procs__Desc1_13 = ((MR_Word) top_procs__conv2_Desc1_13);
#line 409 "top_procs.m"
    {
#line 409 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_78_78, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI2_7, &top_procs__conv3_Desc2_14);
    }
#line 409 "top_procs.m"
    top_procs__Desc2_14 = ((MR_Word) top_procs__conv3_Desc2_14);
#line 410 "top_procs.m"
    {
#line 410 "top_procs.m"
      top_procs__OwnCallSeqs1_15 = measurements__callseqs_1_f_0(top_procs__Own1_11);
    }
#line 411 "top_procs.m"
    {
#line 411 "top_procs.m"
      top_procs__OwnCallSeqs2_16 = measurements__callseqs_1_f_0(top_procs__Own2_12);
    }
#line 412 "top_procs.m"
    {
#line 412 "top_procs.m"
      top_procs__DescCallSeqs1_17 = measurements__inherit_callseqs_1_f_0(top_procs__Desc1_13);
    }
#line 413 "top_procs.m"
    {
#line 413 "top_procs.m"
      top_procs__DescCallSeqs2_18 = measurements__inherit_callseqs_1_f_0(top_procs__Desc2_14);
    }
#line 414 "top_procs.m"
    top_procs__TotalCallSeqs1_19 = (top_procs__OwnCallSeqs1_15 + top_procs__DescCallSeqs1_17);
#line 415 "top_procs.m"
    top_procs__TotalCallSeqs2_20 = (top_procs__OwnCallSeqs2_16 + top_procs__DescCallSeqs2_18);
#line 416 "top_procs.m"
    {
#line 416 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_8, top_procs__TotalCallSeqs2_20, top_procs__TotalCallSeqs1_19);
    }
#line 403 "top_procs.m"
    return top_procs__Result_8;
#line 403 "top_procs.m"
  }
#line 401 "top_procs.m"
}

#line 387 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_callseqs_self_percall_3_f_0(
#line 387 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 387 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 387 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 387 "top_procs.m"
{
#line 389 "top_procs.m"
  {
#line 389 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 389 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 389 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_50_50 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 389 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 389 "top_procs.m"
    MR_Word top_procs__Own1_10;
#line 389 "top_procs.m"
    MR_Word top_procs__Own2_11;
#line 389 "top_procs.m"
    MR_Integer top_procs__Calls1_12;
#line 389 "top_procs.m"
    MR_Integer top_procs__Calls2_13;
#line 389 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs1_14;
#line 389 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs2_15;
#line 389 "top_procs.m"
    MR_Float top_procs__OwnCallSeqsPerCall1_16;
#line 389 "top_procs.m"
    MR_Float top_procs__OwnCallSeqsPerCall2_17;
#line 389 "top_procs.m"
    MR_Float top_procs__V_18_18;
#line 389 "top_procs.m"
    MR_Float top_procs__V_19_19;
#line 389 "top_procs.m"
    MR_Float top_procs__V_20_20;
#line 389 "top_procs.m"
    MR_Float top_procs__V_21_21;
#line 390 "top_procs.m"
    MR_Word top_procs__V_22_22 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 390 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 390 "top_procs.m"
    MR_String top_procs__V_24_24 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 390 "top_procs.m"
    MR_String top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 390 "top_procs.m"
    MR_Word top_procs__V_26_26 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 390 "top_procs.m"
    MR_ArrayPtr top_procs__V_45_45 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 390 "top_procs.m"
    MR_Word top_procs__V_46_46 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 390 "top_procs.m"
    MR_Word top_procs__V_47_47 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 390 "top_procs.m"
    MR_Word top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 390 "top_procs.m"
    MR_Word top_procs__V_49_49 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 391 "top_procs.m"
    MR_Box top_procs__conv0_Own1_10;
#line 392 "top_procs.m"
    MR_Box top_procs__conv1_Own2_11;

#line 391 "top_procs.m"
    {
#line 391 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_50_50, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_10);
    }
#line 391 "top_procs.m"
    top_procs__Own1_10 = ((MR_Word) top_procs__conv0_Own1_10);
#line 392 "top_procs.m"
    {
#line 392 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_50_50, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_11);
    }
#line 392 "top_procs.m"
    top_procs__Own2_11 = ((MR_Word) top_procs__conv1_Own2_11);
#line 393 "top_procs.m"
    {
#line 393 "top_procs.m"
      top_procs__Calls1_12 = measurements__calls_1_f_0(top_procs__Own1_10);
    }
#line 394 "top_procs.m"
    {
#line 394 "top_procs.m"
      top_procs__Calls2_13 = measurements__calls_1_f_0(top_procs__Own2_11);
    }
#line 395 "top_procs.m"
    {
#line 395 "top_procs.m"
      top_procs__OwnCallSeqs1_14 = measurements__callseqs_1_f_0(top_procs__Own1_10);
    }
#line 396 "top_procs.m"
    {
#line 396 "top_procs.m"
      top_procs__OwnCallSeqs2_15 = measurements__callseqs_1_f_0(top_procs__Own2_11);
    }
#line 397 "top_procs.m"
    {
#line 397 "top_procs.m"
      top_procs__V_18_18 = mercury__float__float_1_f_0(top_procs__OwnCallSeqs1_14);
    }
#line 397 "top_procs.m"
    {
#line 397 "top_procs.m"
      top_procs__V_19_19 = mercury__float__float_1_f_0(top_procs__Calls1_12);
    }
#line 397 "top_procs.m"
    {
#line 397 "top_procs.m"
      top_procs__OwnCallSeqsPerCall1_16 = mercury__float__f_slash_2_f_0(top_procs__V_18_18, top_procs__V_19_19);
    }
#line 398 "top_procs.m"
    {
#line 398 "top_procs.m"
      top_procs__V_20_20 = mercury__float__float_1_f_0(top_procs__OwnCallSeqs2_15);
    }
#line 398 "top_procs.m"
    {
#line 398 "top_procs.m"
      top_procs__V_21_21 = mercury__float__float_1_f_0(top_procs__Calls2_13);
    }
#line 398 "top_procs.m"
    {
#line 398 "top_procs.m"
      top_procs__OwnCallSeqsPerCall2_17 = mercury__float__f_slash_2_f_0(top_procs__V_20_20, top_procs__V_21_21);
    }
#line 399 "top_procs.m"
    {
#line 399 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_8, top_procs__OwnCallSeqsPerCall2_17, top_procs__OwnCallSeqsPerCall1_16);
    }
#line 389 "top_procs.m"
    return top_procs__Result_8;
#line 389 "top_procs.m"
  }
#line 387 "top_procs.m"
}

#line 377 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_callseqs_self_overall_3_f_0(
#line 377 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 377 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 377 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 377 "top_procs.m"
{
#line 379 "top_procs.m"
  {
#line 379 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 379 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 379 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_42_42 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 379 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 379 "top_procs.m"
    MR_Word top_procs__Own1_10;
#line 379 "top_procs.m"
    MR_Word top_procs__Own2_11;
#line 379 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs1_12;
#line 379 "top_procs.m"
    MR_Integer top_procs__OwnCallSeqs2_13;
#line 380 "top_procs.m"
    MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 380 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 380 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 380 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 380 "top_procs.m"
    MR_Word top_procs__V_18_18 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 380 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 380 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 380 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 380 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 380 "top_procs.m"
    MR_Word top_procs__V_41_41 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 381 "top_procs.m"
    MR_Box top_procs__conv0_Own1_10;
#line 382 "top_procs.m"
    MR_Box top_procs__conv1_Own2_11;

#line 381 "top_procs.m"
    {
#line 381 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_42_42, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_10);
    }
#line 381 "top_procs.m"
    top_procs__Own1_10 = ((MR_Word) top_procs__conv0_Own1_10);
#line 382 "top_procs.m"
    {
#line 382 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_42_42, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_11);
    }
#line 382 "top_procs.m"
    top_procs__Own2_11 = ((MR_Word) top_procs__conv1_Own2_11);
#line 383 "top_procs.m"
    {
#line 383 "top_procs.m"
      top_procs__OwnCallSeqs1_12 = measurements__callseqs_1_f_0(top_procs__Own1_10);
    }
#line 384 "top_procs.m"
    {
#line 384 "top_procs.m"
      top_procs__OwnCallSeqs2_13 = measurements__callseqs_1_f_0(top_procs__Own2_11);
    }
#line 385 "top_procs.m"
    {
#line 385 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_8, top_procs__OwnCallSeqs2_13, top_procs__OwnCallSeqs1_12);
    }
#line 379 "top_procs.m"
    return top_procs__Result_8;
#line 379 "top_procs.m"
  }
#line 377 "top_procs.m"
}

#line 356 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_time_both_percall_3_f_0(
#line 356 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 356 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 356 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 356 "top_procs.m"
{
#line 358 "top_procs.m"
  {
#line 358 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 358 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 358 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_85_85 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 358 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_86_86;
#line 358 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 358 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_10 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 358 "top_procs.m"
    MR_Word top_procs__Own1_11;
#line 358 "top_procs.m"
    MR_Word top_procs__Own2_12;
#line 358 "top_procs.m"
    MR_Word top_procs__Desc1_13;
#line 358 "top_procs.m"
    MR_Word top_procs__Desc2_14;
#line 358 "top_procs.m"
    MR_Integer top_procs__Calls1_15;
#line 358 "top_procs.m"
    MR_Integer top_procs__Calls2_16;
#line 358 "top_procs.m"
    MR_Integer top_procs__OwnQuanta1_17;
#line 358 "top_procs.m"
    MR_Integer top_procs__OwnQuanta2_18;
#line 358 "top_procs.m"
    MR_Integer top_procs__DescQuanta1_19;
#line 358 "top_procs.m"
    MR_Integer top_procs__DescQuanta2_20;
#line 358 "top_procs.m"
    MR_Integer top_procs__TotalQuanta1_21;
#line 358 "top_procs.m"
    MR_Integer top_procs__TotalQuanta2_22;
#line 358 "top_procs.m"
    MR_Float top_procs__TotalQuantaPerCall1_23;
#line 358 "top_procs.m"
    MR_Float top_procs__TotalQuantaPerCall2_24;
#line 358 "top_procs.m"
    MR_Float top_procs__V_25_25;
#line 358 "top_procs.m"
    MR_Float top_procs__V_26_26;
#line 358 "top_procs.m"
    MR_Float top_procs__V_27_27;
#line 358 "top_procs.m"
    MR_Float top_procs__V_28_28;
#line 359 "top_procs.m"
    MR_Word top_procs__V_29_29 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 359 "top_procs.m"
    MR_String top_procs__V_30_30 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 359 "top_procs.m"
    MR_String top_procs__V_31_31 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 359 "top_procs.m"
    MR_String top_procs__V_32_32 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 359 "top_procs.m"
    MR_Word top_procs__V_33_33 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_45_45 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_46_46 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_47_47 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_49_49 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_50_50 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_51_51 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 359 "top_procs.m"
    MR_ArrayPtr top_procs__V_52_52 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 359 "top_procs.m"
    MR_Word top_procs__V_53_53 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 359 "top_procs.m"
    MR_Word top_procs__V_54_54 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 359 "top_procs.m"
    MR_Word top_procs__V_55_55 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 359 "top_procs.m"
    MR_Word top_procs__V_56_56 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 361 "top_procs.m"
    MR_Box top_procs__conv0_Own1_11;
#line 362 "top_procs.m"
    MR_Box top_procs__conv1_Own2_12;
#line 363 "top_procs.m"
    MR_Box top_procs__conv2_Desc1_13;
#line 364 "top_procs.m"
    MR_Box top_procs__conv3_Desc2_14;

#line 361 "top_procs.m"
    {
#line 361 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_85_85, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_11);
    }
#line 361 "top_procs.m"
    top_procs__Own1_11 = ((MR_Word) top_procs__conv0_Own1_11);
#line 362 "top_procs.m"
    {
#line 362 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_85_85, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_12);
    }
#line 362 "top_procs.m"
    top_procs__Own2_12 = ((MR_Word) top_procs__conv1_Own2_12);
#line 13015 "top_procs.c"
    top_procs__TypeCtorInfo_86_86 = (MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0;
#line 363 "top_procs.m"
    {
#line 363 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_86_86, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI1_6, &top_procs__conv2_Desc1_13);
    }
#line 363 "top_procs.m"
    top_procs__Desc1_13 = ((MR_Word) top_procs__conv2_Desc1_13);
#line 364 "top_procs.m"
    {
#line 364 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_86_86, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI2_7, &top_procs__conv3_Desc2_14);
    }
#line 364 "top_procs.m"
    top_procs__Desc2_14 = ((MR_Word) top_procs__conv3_Desc2_14);
#line 365 "top_procs.m"
    {
#line 365 "top_procs.m"
      top_procs__Calls1_15 = measurements__calls_1_f_0(top_procs__Own1_11);
    }
#line 366 "top_procs.m"
    {
#line 366 "top_procs.m"
      top_procs__Calls2_16 = measurements__calls_1_f_0(top_procs__Own2_12);
    }
#line 367 "top_procs.m"
    {
#line 367 "top_procs.m"
      top_procs__OwnQuanta1_17 = measurements__quanta_1_f_0(top_procs__Own1_11);
    }
#line 368 "top_procs.m"
    {
#line 368 "top_procs.m"
      top_procs__OwnQuanta2_18 = measurements__quanta_1_f_0(top_procs__Own2_12);
    }
#line 369 "top_procs.m"
    {
#line 369 "top_procs.m"
      top_procs__DescQuanta1_19 = measurements__inherit_quanta_1_f_0(top_procs__Desc1_13);
    }
#line 370 "top_procs.m"
    {
#line 370 "top_procs.m"
      top_procs__DescQuanta2_20 = measurements__inherit_quanta_1_f_0(top_procs__Desc2_14);
    }
#line 371 "top_procs.m"
    top_procs__TotalQuanta1_21 = (top_procs__OwnQuanta1_17 + top_procs__DescQuanta1_19);
#line 372 "top_procs.m"
    top_procs__TotalQuanta2_22 = (top_procs__OwnQuanta2_18 + top_procs__DescQuanta2_20);
#line 373 "top_procs.m"
    {
#line 373 "top_procs.m"
      top_procs__V_25_25 = mercury__float__float_1_f_0(top_procs__TotalQuanta1_21);
    }
#line 373 "top_procs.m"
    {
#line 373 "top_procs.m"
      top_procs__V_26_26 = mercury__float__float_1_f_0(top_procs__Calls1_15);
    }
#line 373 "top_procs.m"
    {
#line 373 "top_procs.m"
      top_procs__TotalQuantaPerCall1_23 = mercury__float__f_slash_2_f_0(top_procs__V_25_25, top_procs__V_26_26);
    }
#line 374 "top_procs.m"
    {
#line 374 "top_procs.m"
      top_procs__V_27_27 = mercury__float__float_1_f_0(top_procs__TotalQuanta2_22);
    }
#line 374 "top_procs.m"
    {
#line 374 "top_procs.m"
      top_procs__V_28_28 = mercury__float__float_1_f_0(top_procs__Calls2_16);
    }
#line 374 "top_procs.m"
    {
#line 374 "top_procs.m"
      top_procs__TotalQuantaPerCall2_24 = mercury__float__f_slash_2_f_0(top_procs__V_27_27, top_procs__V_28_28);
    }
#line 375 "top_procs.m"
    {
#line 375 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_8, top_procs__TotalQuantaPerCall2_24, top_procs__TotalQuantaPerCall1_23);
    }
#line 358 "top_procs.m"
    return top_procs__Result_8;
#line 358 "top_procs.m"
  }
#line 356 "top_procs.m"
}

#line 339 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_time_both_overall_3_f_0(
#line 339 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 339 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 339 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 339 "top_procs.m"
{
#line 341 "top_procs.m"
  {
#line 341 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 341 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 341 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_77_77 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 341 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_78_78;
#line 341 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 341 "top_procs.m"
    MR_ArrayPtr top_procs__PSDesc_10 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 341 "top_procs.m"
    MR_Word top_procs__Own1_11;
#line 341 "top_procs.m"
    MR_Word top_procs__Own2_12;
#line 341 "top_procs.m"
    MR_Word top_procs__Desc1_13;
#line 341 "top_procs.m"
    MR_Word top_procs__Desc2_14;
#line 341 "top_procs.m"
    MR_Integer top_procs__OwnQuanta1_15;
#line 341 "top_procs.m"
    MR_Integer top_procs__OwnQuanta2_16;
#line 341 "top_procs.m"
    MR_Integer top_procs__DescQuanta1_17;
#line 341 "top_procs.m"
    MR_Integer top_procs__DescQuanta2_18;
#line 341 "top_procs.m"
    MR_Integer top_procs__TotalQuanta1_19;
#line 341 "top_procs.m"
    MR_Integer top_procs__TotalQuanta2_20;
#line 342 "top_procs.m"
    MR_Word top_procs__V_21_21 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 342 "top_procs.m"
    MR_String top_procs__V_22_22 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 342 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 342 "top_procs.m"
    MR_String top_procs__V_24_24 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 342 "top_procs.m"
    MR_Word top_procs__V_25_25 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 342 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 342 "top_procs.m"
    MR_Word top_procs__V_45_45 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 342 "top_procs.m"
    MR_Word top_procs__V_46_46 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 342 "top_procs.m"
    MR_Word top_procs__V_47_47 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 342 "top_procs.m"
    MR_Word top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 344 "top_procs.m"
    MR_Box top_procs__conv0_Own1_11;
#line 345 "top_procs.m"
    MR_Box top_procs__conv1_Own2_12;
#line 346 "top_procs.m"
    MR_Box top_procs__conv2_Desc1_13;
#line 347 "top_procs.m"
    MR_Box top_procs__conv3_Desc2_14;

#line 344 "top_procs.m"
    {
#line 344 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_77_77, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_11);
    }
#line 344 "top_procs.m"
    top_procs__Own1_11 = ((MR_Word) top_procs__conv0_Own1_11);
#line 345 "top_procs.m"
    {
#line 345 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_77_77, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_12);
    }
#line 345 "top_procs.m"
    top_procs__Own2_12 = ((MR_Word) top_procs__conv1_Own2_12);
#line 13229 "top_procs.c"
    top_procs__TypeCtorInfo_78_78 = (MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0;
#line 346 "top_procs.m"
    {
#line 346 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_78_78, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI1_6, &top_procs__conv2_Desc1_13);
    }
#line 346 "top_procs.m"
    top_procs__Desc1_13 = ((MR_Word) top_procs__conv2_Desc1_13);
#line 347 "top_procs.m"
    {
#line 347 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_78_78, (MR_ArrayPtr) top_procs__PSDesc_10, top_procs__PSI2_7, &top_procs__conv3_Desc2_14);
    }
#line 347 "top_procs.m"
    top_procs__Desc2_14 = ((MR_Word) top_procs__conv3_Desc2_14);
#line 348 "top_procs.m"
    {
#line 348 "top_procs.m"
      top_procs__OwnQuanta1_15 = measurements__quanta_1_f_0(top_procs__Own1_11);
    }
#line 349 "top_procs.m"
    {
#line 349 "top_procs.m"
      top_procs__OwnQuanta2_16 = measurements__quanta_1_f_0(top_procs__Own2_12);
    }
#line 350 "top_procs.m"
    {
#line 350 "top_procs.m"
      top_procs__DescQuanta1_17 = measurements__inherit_quanta_1_f_0(top_procs__Desc1_13);
    }
#line 351 "top_procs.m"
    {
#line 351 "top_procs.m"
      top_procs__DescQuanta2_18 = measurements__inherit_quanta_1_f_0(top_procs__Desc2_14);
    }
#line 352 "top_procs.m"
    top_procs__TotalQuanta1_19 = (top_procs__OwnQuanta1_15 + top_procs__DescQuanta1_17);
#line 353 "top_procs.m"
    top_procs__TotalQuanta2_20 = (top_procs__OwnQuanta2_16 + top_procs__DescQuanta2_18);
#line 354 "top_procs.m"
    {
#line 354 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_8, top_procs__TotalQuanta2_20, top_procs__TotalQuanta1_19);
    }
#line 341 "top_procs.m"
    return top_procs__Result_8;
#line 341 "top_procs.m"
  }
#line 339 "top_procs.m"
}

#line 325 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_time_self_percall_3_f_0(
#line 325 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 325 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 325 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 325 "top_procs.m"
{
#line 327 "top_procs.m"
  {
#line 327 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 327 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 327 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_50_50 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 327 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 327 "top_procs.m"
    MR_Word top_procs__Own1_10;
#line 327 "top_procs.m"
    MR_Word top_procs__Own2_11;
#line 327 "top_procs.m"
    MR_Integer top_procs__Calls1_12;
#line 327 "top_procs.m"
    MR_Integer top_procs__Calls2_13;
#line 327 "top_procs.m"
    MR_Integer top_procs__OwnQuanta1_14;
#line 327 "top_procs.m"
    MR_Integer top_procs__OwnQuanta2_15;
#line 327 "top_procs.m"
    MR_Float top_procs__OwnQuantaPerCall1_16;
#line 327 "top_procs.m"
    MR_Float top_procs__OwnQuantaPerCall2_17;
#line 327 "top_procs.m"
    MR_Float top_procs__V_18_18;
#line 327 "top_procs.m"
    MR_Float top_procs__V_19_19;
#line 327 "top_procs.m"
    MR_Float top_procs__V_20_20;
#line 327 "top_procs.m"
    MR_Float top_procs__V_21_21;
#line 328 "top_procs.m"
    MR_Word top_procs__V_22_22 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 328 "top_procs.m"
    MR_String top_procs__V_23_23 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 328 "top_procs.m"
    MR_String top_procs__V_24_24 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 328 "top_procs.m"
    MR_String top_procs__V_25_25 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 328 "top_procs.m"
    MR_Word top_procs__V_26_26 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_38_38 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_39_39 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_40_40 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_41_41 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_42_42 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_43_43 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_44_44 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 328 "top_procs.m"
    MR_ArrayPtr top_procs__V_45_45 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 328 "top_procs.m"
    MR_Word top_procs__V_46_46 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 328 "top_procs.m"
    MR_Word top_procs__V_47_47 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 328 "top_procs.m"
    MR_Word top_procs__V_48_48 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 328 "top_procs.m"
    MR_Word top_procs__V_49_49 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 329 "top_procs.m"
    MR_Box top_procs__conv0_Own1_10;
#line 330 "top_procs.m"
    MR_Box top_procs__conv1_Own2_11;

#line 329 "top_procs.m"
    {
#line 329 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_50_50, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_10);
    }
#line 329 "top_procs.m"
    top_procs__Own1_10 = ((MR_Word) top_procs__conv0_Own1_10);
#line 330 "top_procs.m"
    {
#line 330 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_50_50, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_11);
    }
#line 330 "top_procs.m"
    top_procs__Own2_11 = ((MR_Word) top_procs__conv1_Own2_11);
#line 331 "top_procs.m"
    {
#line 331 "top_procs.m"
      top_procs__Calls1_12 = measurements__calls_1_f_0(top_procs__Own1_10);
    }
#line 332 "top_procs.m"
    {
#line 332 "top_procs.m"
      top_procs__Calls2_13 = measurements__calls_1_f_0(top_procs__Own2_11);
    }
#line 333 "top_procs.m"
    {
#line 333 "top_procs.m"
      top_procs__OwnQuanta1_14 = measurements__quanta_1_f_0(top_procs__Own1_10);
    }
#line 334 "top_procs.m"
    {
#line 334 "top_procs.m"
      top_procs__OwnQuanta2_15 = measurements__quanta_1_f_0(top_procs__Own2_11);
    }
#line 335 "top_procs.m"
    {
#line 335 "top_procs.m"
      top_procs__V_18_18 = mercury__float__float_1_f_0(top_procs__OwnQuanta1_14);
    }
#line 335 "top_procs.m"
    {
#line 335 "top_procs.m"
      top_procs__V_19_19 = mercury__float__float_1_f_0(top_procs__Calls1_12);
    }
#line 335 "top_procs.m"
    {
#line 335 "top_procs.m"
      top_procs__OwnQuantaPerCall1_16 = mercury__float__f_slash_2_f_0(top_procs__V_18_18, top_procs__V_19_19);
    }
#line 336 "top_procs.m"
    {
#line 336 "top_procs.m"
      top_procs__V_20_20 = mercury__float__float_1_f_0(top_procs__OwnQuanta2_15);
    }
#line 336 "top_procs.m"
    {
#line 336 "top_procs.m"
      top_procs__V_21_21 = mercury__float__float_1_f_0(top_procs__Calls2_13);
    }
#line 336 "top_procs.m"
    {
#line 336 "top_procs.m"
      top_procs__OwnQuantaPerCall2_17 = mercury__float__f_slash_2_f_0(top_procs__V_20_20, top_procs__V_21_21);
    }
#line 337 "top_procs.m"
    {
#line 337 "top_procs.m"
      mercury__private_builtin__builtin_compare_float_3_p_0(&top_procs__Result_8, top_procs__OwnQuantaPerCall2_17, top_procs__OwnQuantaPerCall1_16);
    }
#line 327 "top_procs.m"
    return top_procs__Result_8;
#line 327 "top_procs.m"
  }
#line 325 "top_procs.m"
}

#line 315 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_time_self_overall_3_f_0(
#line 315 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 315 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 315 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 315 "top_procs.m"
{
#line 317 "top_procs.m"
  {
#line 317 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 317 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 317 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_42_42 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 317 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 317 "top_procs.m"
    MR_Word top_procs__Own1_10;
#line 317 "top_procs.m"
    MR_Word top_procs__Own2_11;
#line 317 "top_procs.m"
    MR_Integer top_procs__OwnQuanta1_12;
#line 317 "top_procs.m"
    MR_Integer top_procs__OwnQuanta2_13;
#line 318 "top_procs.m"
    MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 318 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 318 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 318 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 318 "top_procs.m"
    MR_Word top_procs__V_18_18 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 318 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 318 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 318 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 318 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 318 "top_procs.m"
    MR_Word top_procs__V_41_41 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 319 "top_procs.m"
    MR_Box top_procs__conv0_Own1_10;
#line 320 "top_procs.m"
    MR_Box top_procs__conv1_Own2_11;

#line 319 "top_procs.m"
    {
#line 319 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_42_42, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_10);
    }
#line 319 "top_procs.m"
    top_procs__Own1_10 = ((MR_Word) top_procs__conv0_Own1_10);
#line 320 "top_procs.m"
    {
#line 320 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_42_42, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_11);
    }
#line 320 "top_procs.m"
    top_procs__Own2_11 = ((MR_Word) top_procs__conv1_Own2_11);
#line 321 "top_procs.m"
    {
#line 321 "top_procs.m"
      top_procs__OwnQuanta1_12 = measurements__quanta_1_f_0(top_procs__Own1_10);
    }
#line 322 "top_procs.m"
    {
#line 322 "top_procs.m"
      top_procs__OwnQuanta2_13 = measurements__quanta_1_f_0(top_procs__Own2_11);
    }
#line 323 "top_procs.m"
    {
#line 323 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_8, top_procs__OwnQuanta2_13, top_procs__OwnQuanta1_12);
    }
#line 317 "top_procs.m"
    return top_procs__Result_8;
#line 317 "top_procs.m"
  }
#line 315 "top_procs.m"
}

#line 305 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_redos_self_overall_3_f_0(
#line 305 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 305 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 305 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 305 "top_procs.m"
{
#line 307 "top_procs.m"
  {
#line 307 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 307 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 307 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_42_42 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 307 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 307 "top_procs.m"
    MR_Word top_procs__Own1_10;
#line 307 "top_procs.m"
    MR_Word top_procs__Own2_11;
#line 307 "top_procs.m"
    MR_Integer top_procs__OwnRedos1_12;
#line 307 "top_procs.m"
    MR_Integer top_procs__OwnRedos2_13;
#line 308 "top_procs.m"
    MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 308 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 308 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 308 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 308 "top_procs.m"
    MR_Word top_procs__V_18_18 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 308 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 308 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 308 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 308 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 308 "top_procs.m"
    MR_Word top_procs__V_41_41 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 309 "top_procs.m"
    MR_Box top_procs__conv0_Own1_10;
#line 310 "top_procs.m"
    MR_Box top_procs__conv1_Own2_11;

#line 309 "top_procs.m"
    {
#line 309 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_42_42, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_10);
    }
#line 309 "top_procs.m"
    top_procs__Own1_10 = ((MR_Word) top_procs__conv0_Own1_10);
#line 310 "top_procs.m"
    {
#line 310 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_42_42, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_11);
    }
#line 310 "top_procs.m"
    top_procs__Own2_11 = ((MR_Word) top_procs__conv1_Own2_11);
#line 311 "top_procs.m"
    {
#line 311 "top_procs.m"
      top_procs__OwnRedos1_12 = measurements__redos_1_f_0(top_procs__Own1_10);
    }
#line 312 "top_procs.m"
    {
#line 312 "top_procs.m"
      top_procs__OwnRedos2_13 = measurements__redos_1_f_0(top_procs__Own2_11);
    }
#line 313 "top_procs.m"
    {
#line 313 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_8, top_procs__OwnRedos2_13, top_procs__OwnRedos1_12);
    }
#line 307 "top_procs.m"
    return top_procs__Result_8;
#line 307 "top_procs.m"
  }
#line 305 "top_procs.m"
}

#line 295 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_ps_calls_self_overall_3_f_0(
#line 295 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 295 "top_procs.m"
  MR_Integer top_procs__PSI1_6,
#line 295 "top_procs.m"
  MR_Integer top_procs__PSI2_7)
#line 295 "top_procs.m"
{
#line 297 "top_procs.m"
  {
#line 297 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 297 "top_procs.m"
    MR_Word top_procs__Result_8;
#line 297 "top_procs.m"
    MR_Word top_procs__TypeCtorInfo_42_42 = (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0;
#line 297 "top_procs.m"
    MR_ArrayPtr top_procs__PSOwn_9 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 19)));
#line 297 "top_procs.m"
    MR_Word top_procs__Own1_10;
#line 297 "top_procs.m"
    MR_Word top_procs__Own2_11;
#line 297 "top_procs.m"
    MR_Integer top_procs__OwnCalls1_12;
#line 297 "top_procs.m"
    MR_Integer top_procs__OwnCalls2_13;
#line 298 "top_procs.m"
    MR_Word top_procs__V_14_14 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 0)));
#line 298 "top_procs.m"
    MR_String top_procs__V_15_15 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 1)));
#line 298 "top_procs.m"
    MR_String top_procs__V_16_16 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 2)));
#line 298 "top_procs.m"
    MR_String top_procs__V_17_17 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 3)));
#line 298 "top_procs.m"
    MR_Word top_procs__V_18_18 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 4)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_19_19 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 5)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_20_20 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 6)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_21_21 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 7)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_22_22 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 8)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_23_23 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 9)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_24_24 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 10)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_25_25 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 11)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_26_26 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 12)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_27_27 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 13)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_28_28 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 14)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_29_29 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 15)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_30_30 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 16)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_31_31 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 17)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_32_32 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 18)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_33_33 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 20)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_34_34 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 21)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_35_35 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 22)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_36_36 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 23)));
#line 298 "top_procs.m"
    MR_ArrayPtr top_procs__V_37_37 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 24)));
#line 298 "top_procs.m"
    MR_Word top_procs__V_38_38 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 25)));
#line 298 "top_procs.m"
    MR_Word top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 26)));
#line 298 "top_procs.m"
    MR_Word top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 27)));
#line 298 "top_procs.m"
    MR_Word top_procs__V_41_41 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_5, (MR_Integer) 28)));
#line 299 "top_procs.m"
    MR_Box top_procs__conv0_Own1_10;
#line 300 "top_procs.m"
    MR_Box top_procs__conv1_Own2_11;

#line 299 "top_procs.m"
    {
#line 299 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_42_42, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI1_6, &top_procs__conv0_Own1_10);
    }
#line 299 "top_procs.m"
    top_procs__Own1_10 = ((MR_Word) top_procs__conv0_Own1_10);
#line 300 "top_procs.m"
    {
#line 300 "top_procs.m"
      mercury__array__lookup_3_p_0(top_procs__TypeCtorInfo_42_42, (MR_ArrayPtr) top_procs__PSOwn_9, top_procs__PSI2_7, &top_procs__conv1_Own2_11);
    }
#line 300 "top_procs.m"
    top_procs__Own2_11 = ((MR_Word) top_procs__conv1_Own2_11);
#line 301 "top_procs.m"
    {
#line 301 "top_procs.m"
      top_procs__OwnCalls1_12 = measurements__calls_1_f_0(top_procs__Own1_10);
    }
#line 302 "top_procs.m"
    {
#line 302 "top_procs.m"
      top_procs__OwnCalls2_13 = measurements__calls_1_f_0(top_procs__Own2_11);
    }
#line 303 "top_procs.m"
    {
#line 303 "top_procs.m"
      mercury__private_builtin__builtin_compare_int_3_p_0(&top_procs__Result_8, top_procs__OwnCalls2_13, top_procs__OwnCalls1_12);
    }
#line 297 "top_procs.m"
    return top_procs__Result_8;
#line 297 "top_procs.m"
  }
#line 295 "top_procs.m"
}

#line 290 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_12(
#line 290 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 290 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 290 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 290 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 290 "top_procs.m"
{
#line 290 "top_procs.m"
  {
#line 290 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 290 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 290 "top_procs.m"
    {
#line 290 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_value_ps_words_both_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 290 "top_procs.m"
    return top_procs__succeeded;
#line 290 "top_procs.m"
  }
#line 290 "top_procs.m"
}

#line 288 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_11(
#line 288 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 288 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 288 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 288 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 288 "top_procs.m"
{
#line 288 "top_procs.m"
  {
#line 288 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 288 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 288 "top_procs.m"
    {
#line 288 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_value_ps_words_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 288 "top_procs.m"
    return top_procs__succeeded;
#line 288 "top_procs.m"
  }
#line 288 "top_procs.m"
}

#line 275 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_10(
#line 275 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 275 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 275 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 275 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 275 "top_procs.m"
{
#line 275 "top_procs.m"
  {
#line 275 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 275 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 275 "top_procs.m"
    {
#line 275 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_value_ps_time_both_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 275 "top_procs.m"
    return top_procs__succeeded;
#line 275 "top_procs.m"
  }
#line 275 "top_procs.m"
}

#line 273 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_9(
#line 273 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 273 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 273 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 273 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 273 "top_procs.m"
{
#line 273 "top_procs.m"
  {
#line 273 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 273 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 273 "top_procs.m"
    {
#line 273 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_value_ps_time_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 273 "top_procs.m"
    return top_procs__succeeded;
#line 273 "top_procs.m"
  }
#line 273 "top_procs.m"
}

#line 270 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_8(
#line 270 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 270 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 270 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 270 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 270 "top_procs.m"
{
#line 270 "top_procs.m"
  {
#line 270 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 270 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 270 "top_procs.m"
    {
#line 270 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_value_ps_time_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 270 "top_procs.m"
    return top_procs__succeeded;
#line 270 "top_procs.m"
  }
#line 270 "top_procs.m"
}

#line 268 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_7(
#line 268 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 268 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 268 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 268 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 268 "top_procs.m"
{
#line 268 "top_procs.m"
  {
#line 268 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 268 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 268 "top_procs.m"
    {
#line 268 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_value_ps_time_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 268 "top_procs.m"
    return top_procs__succeeded;
#line 268 "top_procs.m"
  }
#line 268 "top_procs.m"
}

#line 280 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_6(
#line 280 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 280 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 280 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 280 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 280 "top_procs.m"
{
#line 280 "top_procs.m"
  {
#line 280 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 280 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 280 "top_procs.m"
    {
#line 280 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_value_ps_callseqs_both_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 280 "top_procs.m"
    return top_procs__succeeded;
#line 280 "top_procs.m"
  }
#line 280 "top_procs.m"
}

#line 278 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_5(
#line 278 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 278 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 278 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 278 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 278 "top_procs.m"
{
#line 278 "top_procs.m"
  {
#line 278 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 278 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 278 "top_procs.m"
    {
#line 278 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_value_ps_callseqs_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 278 "top_procs.m"
    return top_procs__succeeded;
#line 278 "top_procs.m"
  }
#line 278 "top_procs.m"
}

#line 265 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_4(
#line 265 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 265 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 265 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 265 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 265 "top_procs.m"
{
#line 265 "top_procs.m"
  {
#line 265 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 265 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 265 "top_procs.m"
    {
#line 265 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_value_ps_time_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 265 "top_procs.m"
    return top_procs__succeeded;
#line 265 "top_procs.m"
  }
#line 265 "top_procs.m"
}

#line 263 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_3(
#line 263 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 263 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 263 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 263 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 263 "top_procs.m"
{
#line 263 "top_procs.m"
  {
#line 263 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 263 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 263 "top_procs.m"
    {
#line 263 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_value_ps_time_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 263 "top_procs.m"
    return top_procs__succeeded;
#line 263 "top_procs.m"
  }
#line 263 "top_procs.m"
}

#line 285 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_2(
#line 285 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 285 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 285 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 285 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 285 "top_procs.m"
{
#line 285 "top_procs.m"
  {
#line 285 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 285 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 285 "top_procs.m"
    {
#line 285 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_value_ps_allocs_both_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 285 "top_procs.m"
    return top_procs__succeeded;
#line 285 "top_procs.m"
  }
#line 285 "top_procs.m"
}

#line 283 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0_1(
#line 283 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 283 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 283 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 283 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 283 "top_procs.m"
{
#line 283 "top_procs.m"
  {
#line 283 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 283 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 283 "top_procs.m"
    {
#line 283 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_value_ps_allocs_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 283 "top_procs.m"
    return top_procs__succeeded;
#line 283 "top_procs.m"
  }
#line 283 "top_procs.m"
}

#line 259 "top_procs.m"
static void MR_CALL 
top_procs__find_threshold_value_predicate_4_p_0(
#line 259 "top_procs.m"
  MR_Word top_procs__HeadVar__1_1,
#line 259 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2,
#line 259 "top_procs.m"
  MR_Word * top_procs__HeadVar__3_3,
#line 259 "top_procs.m"
  MR_Word * top_procs__HeadVar__4_4)
#line 259 "top_procs.m"
{
#line 263 "top_procs.m"
  {
#line 263 "top_procs.m"
    MR_bool top_procs__succeeded;

#line 263 "top_procs.m"
    if ((top_procs__HeadVar__1_1 == (MR_Integer) 4))
#line 263 "top_procs.m"
      if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 283 "top_procs.m"
        {
#line 283 "top_procs.m"
          *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 283 "top_procs.m"
          *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[60];
#line 283 "top_procs.m"
        }
#line 263 "top_procs.m"
      else
#line 285 "top_procs.m"
        {
#line 285 "top_procs.m"
          *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 285 "top_procs.m"
          *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[61];
#line 285 "top_procs.m"
        }
#line 263 "top_procs.m"
    else
#line 263 "top_procs.m"
      if ((top_procs__HeadVar__1_1 == (MR_Integer) 0))
#line 263 "top_procs.m"
        if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 263 "top_procs.m"
          {
#line 263 "top_procs.m"
            *top_procs__HeadVar__3_3 = (MR_Integer) 0;
#line 263 "top_procs.m"
            *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[62];
#line 263 "top_procs.m"
          }
#line 263 "top_procs.m"
        else
#line 265 "top_procs.m"
          {
#line 265 "top_procs.m"
            *top_procs__HeadVar__3_3 = (MR_Integer) 0;
#line 265 "top_procs.m"
            *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[63];
#line 265 "top_procs.m"
          }
#line 263 "top_procs.m"
      else
#line 263 "top_procs.m"
        if ((top_procs__HeadVar__1_1 == (MR_Integer) 3))
#line 263 "top_procs.m"
          if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 278 "top_procs.m"
            {
#line 278 "top_procs.m"
              *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 278 "top_procs.m"
              *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[64];
#line 278 "top_procs.m"
            }
#line 263 "top_procs.m"
          else
#line 280 "top_procs.m"
            {
#line 280 "top_procs.m"
              *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 280 "top_procs.m"
              *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[65];
#line 280 "top_procs.m"
            }
#line 263 "top_procs.m"
        else
#line 263 "top_procs.m"
          if ((top_procs__HeadVar__1_1 == (MR_Integer) 1))
#line 263 "top_procs.m"
            if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 268 "top_procs.m"
              {
#line 268 "top_procs.m"
                *top_procs__HeadVar__3_3 = (MR_Integer) 0;
#line 268 "top_procs.m"
                *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[66];
#line 268 "top_procs.m"
              }
#line 263 "top_procs.m"
            else
#line 270 "top_procs.m"
              {
#line 270 "top_procs.m"
                *top_procs__HeadVar__3_3 = (MR_Integer) 0;
#line 270 "top_procs.m"
                *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[67];
#line 270 "top_procs.m"
              }
#line 263 "top_procs.m"
          else
#line 263 "top_procs.m"
            if ((top_procs__HeadVar__1_1 == (MR_Integer) 2))
#line 263 "top_procs.m"
              if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 273 "top_procs.m"
                {
#line 273 "top_procs.m"
                  *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 273 "top_procs.m"
                  *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[68];
#line 273 "top_procs.m"
                }
#line 263 "top_procs.m"
              else
#line 275 "top_procs.m"
                {
#line 275 "top_procs.m"
                  *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 275 "top_procs.m"
                  *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[69];
#line 275 "top_procs.m"
                }
#line 263 "top_procs.m"
            else
#line 263 "top_procs.m"
              if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 288 "top_procs.m"
                {
#line 288 "top_procs.m"
                  *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 288 "top_procs.m"
                  *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[70];
#line 288 "top_procs.m"
                }
#line 263 "top_procs.m"
              else
#line 290 "top_procs.m"
                {
#line 290 "top_procs.m"
                  *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 290 "top_procs.m"
                  *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[71];
#line 290 "top_procs.m"
                }
#line 263 "top_procs.m"
  }
#line 259 "top_procs.m"
}

#line 256 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_12(
#line 256 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 256 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 256 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 256 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 256 "top_procs.m"
{
#line 256 "top_procs.m"
  {
#line 256 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 256 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 256 "top_procs.m"
    {
#line 256 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_percent_ps_words_both_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 256 "top_procs.m"
    return top_procs__succeeded;
#line 256 "top_procs.m"
  }
#line 256 "top_procs.m"
}

#line 254 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_11(
#line 254 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 254 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 254 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 254 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 254 "top_procs.m"
{
#line 254 "top_procs.m"
  {
#line 254 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 254 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 254 "top_procs.m"
    {
#line 254 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_percent_ps_words_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 254 "top_procs.m"
    return top_procs__succeeded;
#line 254 "top_procs.m"
  }
#line 254 "top_procs.m"
}

#line 241 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_10(
#line 241 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 241 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 241 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 241 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 241 "top_procs.m"
{
#line 241 "top_procs.m"
  {
#line 241 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 241 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 241 "top_procs.m"
    {
#line 241 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_percent_ps_time_both_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 241 "top_procs.m"
    return top_procs__succeeded;
#line 241 "top_procs.m"
  }
#line 241 "top_procs.m"
}

#line 239 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_9(
#line 239 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 239 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 239 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 239 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 239 "top_procs.m"
{
#line 239 "top_procs.m"
  {
#line 239 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 239 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 239 "top_procs.m"
    {
#line 239 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_percent_ps_time_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 239 "top_procs.m"
    return top_procs__succeeded;
#line 239 "top_procs.m"
  }
#line 239 "top_procs.m"
}

#line 236 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_8(
#line 236 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 236 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 236 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 236 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 236 "top_procs.m"
{
#line 236 "top_procs.m"
  {
#line 236 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 236 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 236 "top_procs.m"
    {
#line 236 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_percent_ps_time_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 236 "top_procs.m"
    return top_procs__succeeded;
#line 236 "top_procs.m"
  }
#line 236 "top_procs.m"
}

#line 234 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_7(
#line 234 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 234 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 234 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 234 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 234 "top_procs.m"
{
#line 234 "top_procs.m"
  {
#line 234 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 234 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 234 "top_procs.m"
    {
#line 234 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_percent_ps_time_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 234 "top_procs.m"
    return top_procs__succeeded;
#line 234 "top_procs.m"
  }
#line 234 "top_procs.m"
}

#line 246 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_6(
#line 246 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 246 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 246 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 246 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 246 "top_procs.m"
{
#line 246 "top_procs.m"
  {
#line 246 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 246 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 246 "top_procs.m"
    {
#line 246 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_percent_ps_callseqs_both_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 246 "top_procs.m"
    return top_procs__succeeded;
#line 246 "top_procs.m"
  }
#line 246 "top_procs.m"
}

#line 244 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_5(
#line 244 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 244 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 244 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 244 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 244 "top_procs.m"
{
#line 244 "top_procs.m"
  {
#line 244 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 244 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 244 "top_procs.m"
    {
#line 244 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_percent_ps_callseqs_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 244 "top_procs.m"
    return top_procs__succeeded;
#line 244 "top_procs.m"
  }
#line 244 "top_procs.m"
}

#line 231 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_4(
#line 231 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 231 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 231 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 231 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 231 "top_procs.m"
{
#line 231 "top_procs.m"
  {
#line 231 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 231 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 231 "top_procs.m"
    {
#line 231 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_percent_ps_time_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 231 "top_procs.m"
    return top_procs__succeeded;
#line 231 "top_procs.m"
  }
#line 231 "top_procs.m"
}

#line 229 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_3(
#line 229 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 229 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 229 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 229 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 229 "top_procs.m"
{
#line 229 "top_procs.m"
  {
#line 229 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 229 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 229 "top_procs.m"
    {
#line 229 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_percent_ps_time_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 229 "top_procs.m"
    return top_procs__succeeded;
#line 229 "top_procs.m"
  }
#line 229 "top_procs.m"
}

#line 251 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_2(
#line 251 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 251 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 251 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 251 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 251 "top_procs.m"
{
#line 251 "top_procs.m"
  {
#line 251 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 251 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 251 "top_procs.m"
    {
#line 251 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_percent_ps_allocs_both_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 251 "top_procs.m"
    return top_procs__succeeded;
#line 251 "top_procs.m"
  }
#line 251 "top_procs.m"
}

#line 249 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0_1(
#line 249 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 249 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 249 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 249 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 249 "top_procs.m"
{
#line 249 "top_procs.m"
  {
#line 249 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 249 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 249 "top_procs.m"
    {
#line 249 "top_procs.m"
      return top_procs__succeeded = top_procs__threshold_percent_ps_allocs_self_3_p_0(((MR_Word) top_procs__wrapper_arg_1), MR_unbox_float(top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 249 "top_procs.m"
    return top_procs__succeeded;
#line 249 "top_procs.m"
  }
#line 249 "top_procs.m"
}

#line 225 "top_procs.m"
static void MR_CALL 
top_procs__find_threshold_percent_predicate_4_p_0(
#line 225 "top_procs.m"
  MR_Word top_procs__HeadVar__1_1,
#line 225 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2,
#line 225 "top_procs.m"
  MR_Word * top_procs__HeadVar__3_3,
#line 225 "top_procs.m"
  MR_Word * top_procs__HeadVar__4_4)
#line 225 "top_procs.m"
{
#line 229 "top_procs.m"
  {
#line 229 "top_procs.m"
    MR_bool top_procs__succeeded;

#line 229 "top_procs.m"
    if ((top_procs__HeadVar__1_1 == (MR_Integer) 4))
#line 229 "top_procs.m"
      if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 249 "top_procs.m"
        {
#line 249 "top_procs.m"
          *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 249 "top_procs.m"
          *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[48];
#line 249 "top_procs.m"
        }
#line 229 "top_procs.m"
      else
#line 251 "top_procs.m"
        {
#line 251 "top_procs.m"
          *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 251 "top_procs.m"
          *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[49];
#line 251 "top_procs.m"
        }
#line 229 "top_procs.m"
    else
#line 229 "top_procs.m"
      if ((top_procs__HeadVar__1_1 == (MR_Integer) 0))
#line 229 "top_procs.m"
        if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 229 "top_procs.m"
          {
#line 229 "top_procs.m"
            *top_procs__HeadVar__3_3 = (MR_Integer) 0;
#line 229 "top_procs.m"
            *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[50];
#line 229 "top_procs.m"
          }
#line 229 "top_procs.m"
        else
#line 231 "top_procs.m"
          {
#line 231 "top_procs.m"
            *top_procs__HeadVar__3_3 = (MR_Integer) 0;
#line 231 "top_procs.m"
            *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[51];
#line 231 "top_procs.m"
          }
#line 229 "top_procs.m"
      else
#line 229 "top_procs.m"
        if ((top_procs__HeadVar__1_1 == (MR_Integer) 3))
#line 229 "top_procs.m"
          if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 244 "top_procs.m"
            {
#line 244 "top_procs.m"
              *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 244 "top_procs.m"
              *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[52];
#line 244 "top_procs.m"
            }
#line 229 "top_procs.m"
          else
#line 246 "top_procs.m"
            {
#line 246 "top_procs.m"
              *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 246 "top_procs.m"
              *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[53];
#line 246 "top_procs.m"
            }
#line 229 "top_procs.m"
        else
#line 229 "top_procs.m"
          if ((top_procs__HeadVar__1_1 == (MR_Integer) 1))
#line 229 "top_procs.m"
            if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 234 "top_procs.m"
              {
#line 234 "top_procs.m"
                *top_procs__HeadVar__3_3 = (MR_Integer) 0;
#line 234 "top_procs.m"
                *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[54];
#line 234 "top_procs.m"
              }
#line 229 "top_procs.m"
            else
#line 236 "top_procs.m"
              {
#line 236 "top_procs.m"
                *top_procs__HeadVar__3_3 = (MR_Integer) 0;
#line 236 "top_procs.m"
                *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[55];
#line 236 "top_procs.m"
              }
#line 229 "top_procs.m"
          else
#line 229 "top_procs.m"
            if ((top_procs__HeadVar__1_1 == (MR_Integer) 2))
#line 229 "top_procs.m"
              if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 239 "top_procs.m"
                {
#line 239 "top_procs.m"
                  *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 239 "top_procs.m"
                  *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[56];
#line 239 "top_procs.m"
                }
#line 229 "top_procs.m"
              else
#line 241 "top_procs.m"
                {
#line 241 "top_procs.m"
                  *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 241 "top_procs.m"
                  *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[57];
#line 241 "top_procs.m"
                }
#line 229 "top_procs.m"
            else
#line 229 "top_procs.m"
              if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 254 "top_procs.m"
                {
#line 254 "top_procs.m"
                  *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 254 "top_procs.m"
                  *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[58];
#line 254 "top_procs.m"
                }
#line 229 "top_procs.m"
              else
#line 256 "top_procs.m"
                {
#line 256 "top_procs.m"
                  *top_procs__HeadVar__3_3 = (MR_Integer) 1;
#line 256 "top_procs.m"
                  *top_procs__HeadVar__4_4 = (MR_Word) &top_procs_scalar_common_8[59];
#line 256 "top_procs.m"
                }
#line 229 "top_procs.m"
  }
#line 225 "top_procs.m"
}

#line 222 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_48(
#line 222 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 222 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 222 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 222 "top_procs.m"
{
#line 222 "top_procs.m"
  {
#line 222 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 222 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 222 "top_procs.m"
    {
#line 222 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_words_both_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 222 "top_procs.m"
    return top_procs__succeeded;
#line 222 "top_procs.m"
  }
#line 222 "top_procs.m"
}

#line 222 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_47(
#line 222 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 222 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 222 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 222 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 222 "top_procs.m"
{
#line 222 "top_procs.m"
  {
#line 222 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 222 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 222 "top_procs.m"
    MR_Word top_procs__conv23_Result_8;

#line 222 "top_procs.m"
    {
#line 222 "top_procs.m"
      top_procs__conv23_Result_8 = top_procs__compare_ps_words_both_percall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 222 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv23_Result_8));
#line 222 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 222 "top_procs.m"
  }
#line 222 "top_procs.m"
}

#line 220 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_46(
#line 220 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 220 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 220 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 220 "top_procs.m"
{
#line 220 "top_procs.m"
  {
#line 220 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 220 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 220 "top_procs.m"
    {
#line 220 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_words_both_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 220 "top_procs.m"
    return top_procs__succeeded;
#line 220 "top_procs.m"
  }
#line 220 "top_procs.m"
}

#line 220 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_45(
#line 220 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 220 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 220 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 220 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 220 "top_procs.m"
{
#line 220 "top_procs.m"
  {
#line 220 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 220 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 220 "top_procs.m"
    MR_Word top_procs__conv22_Result_8;

#line 220 "top_procs.m"
    {
#line 220 "top_procs.m"
      top_procs__conv22_Result_8 = top_procs__compare_ps_words_both_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 220 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv22_Result_8));
#line 220 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 220 "top_procs.m"
  }
#line 220 "top_procs.m"
}

#line 218 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_44(
#line 218 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 218 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 218 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 218 "top_procs.m"
{
#line 218 "top_procs.m"
  {
#line 218 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 218 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 218 "top_procs.m"
    {
#line 218 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_words_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 218 "top_procs.m"
    return top_procs__succeeded;
#line 218 "top_procs.m"
  }
#line 218 "top_procs.m"
}

#line 218 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_43(
#line 218 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 218 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 218 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 218 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 218 "top_procs.m"
{
#line 218 "top_procs.m"
  {
#line 218 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 218 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 218 "top_procs.m"
    MR_Word top_procs__conv21_Result_8;

#line 218 "top_procs.m"
    {
#line 218 "top_procs.m"
      top_procs__conv21_Result_8 = top_procs__compare_ps_words_self_percall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 218 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv21_Result_8));
#line 218 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 218 "top_procs.m"
  }
#line 218 "top_procs.m"
}

#line 216 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_42(
#line 216 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 216 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 216 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 216 "top_procs.m"
{
#line 216 "top_procs.m"
  {
#line 216 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 216 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 216 "top_procs.m"
    {
#line 216 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_words_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 216 "top_procs.m"
    return top_procs__succeeded;
#line 216 "top_procs.m"
  }
#line 216 "top_procs.m"
}

#line 216 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_41(
#line 216 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 216 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 216 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 216 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 216 "top_procs.m"
{
#line 216 "top_procs.m"
  {
#line 216 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 216 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 216 "top_procs.m"
    MR_Word top_procs__conv20_Result_8;

#line 216 "top_procs.m"
    {
#line 216 "top_procs.m"
      top_procs__conv20_Result_8 = top_procs__compare_ps_words_self_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 216 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv20_Result_8));
#line 216 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 216 "top_procs.m"
  }
#line 216 "top_procs.m"
}

#line 195 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_40(
#line 195 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 195 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 195 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 195 "top_procs.m"
{
#line 195 "top_procs.m"
  {
#line 195 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 195 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 195 "top_procs.m"
    {
#line 195 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_time_both_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 195 "top_procs.m"
    return top_procs__succeeded;
#line 195 "top_procs.m"
  }
#line 195 "top_procs.m"
}

#line 195 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_39(
#line 195 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 195 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 195 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 195 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 195 "top_procs.m"
{
#line 195 "top_procs.m"
  {
#line 195 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 195 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 195 "top_procs.m"
    MR_Word top_procs__conv19_Result_8;

#line 195 "top_procs.m"
    {
#line 195 "top_procs.m"
      top_procs__conv19_Result_8 = top_procs__compare_ps_time_both_percall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 195 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv19_Result_8));
#line 195 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 195 "top_procs.m"
  }
#line 195 "top_procs.m"
}

#line 193 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_38(
#line 193 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 193 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 193 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 193 "top_procs.m"
{
#line 193 "top_procs.m"
  {
#line 193 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 193 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 193 "top_procs.m"
    {
#line 193 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_time_both_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 193 "top_procs.m"
    return top_procs__succeeded;
#line 193 "top_procs.m"
  }
#line 193 "top_procs.m"
}

#line 193 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_37(
#line 193 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 193 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 193 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 193 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 193 "top_procs.m"
{
#line 193 "top_procs.m"
  {
#line 193 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 193 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 193 "top_procs.m"
    MR_Word top_procs__conv18_Result_8;

#line 193 "top_procs.m"
    {
#line 193 "top_procs.m"
      top_procs__conv18_Result_8 = top_procs__compare_ps_time_both_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 193 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv18_Result_8));
#line 193 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 193 "top_procs.m"
  }
#line 193 "top_procs.m"
}

#line 191 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_36(
#line 191 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 191 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 191 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 191 "top_procs.m"
{
#line 191 "top_procs.m"
  {
#line 191 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 191 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 191 "top_procs.m"
    {
#line 191 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_time_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 191 "top_procs.m"
    return top_procs__succeeded;
#line 191 "top_procs.m"
  }
#line 191 "top_procs.m"
}

#line 191 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_35(
#line 191 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 191 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 191 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 191 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 191 "top_procs.m"
{
#line 191 "top_procs.m"
  {
#line 191 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 191 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 191 "top_procs.m"
    MR_Word top_procs__conv17_Result_8;

#line 191 "top_procs.m"
    {
#line 191 "top_procs.m"
      top_procs__conv17_Result_8 = top_procs__compare_ps_time_self_percall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 191 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv17_Result_8));
#line 191 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 191 "top_procs.m"
  }
#line 191 "top_procs.m"
}

#line 189 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_34(
#line 189 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 189 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 189 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 189 "top_procs.m"
{
#line 189 "top_procs.m"
  {
#line 189 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 189 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 189 "top_procs.m"
    {
#line 189 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_time_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 189 "top_procs.m"
    return top_procs__succeeded;
#line 189 "top_procs.m"
  }
#line 189 "top_procs.m"
}

#line 189 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_33(
#line 189 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 189 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 189 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 189 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 189 "top_procs.m"
{
#line 189 "top_procs.m"
  {
#line 189 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 189 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 189 "top_procs.m"
    MR_Word top_procs__conv16_Result_8;

#line 189 "top_procs.m"
    {
#line 189 "top_procs.m"
      top_procs__conv16_Result_8 = top_procs__compare_ps_time_self_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 189 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv16_Result_8));
#line 189 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 189 "top_procs.m"
  }
#line 189 "top_procs.m"
}

#line 186 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_32(
#line 186 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 186 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 186 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 186 "top_procs.m"
{
#line 186 "top_procs.m"
  {
#line 186 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 186 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 186 "top_procs.m"
    {
#line 186 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_redos_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 186 "top_procs.m"
    return top_procs__succeeded;
#line 186 "top_procs.m"
  }
#line 186 "top_procs.m"
}

#line 186 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_31(
#line 186 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 186 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 186 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 186 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 186 "top_procs.m"
{
#line 186 "top_procs.m"
  {
#line 186 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 186 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 186 "top_procs.m"
    MR_Word top_procs__conv15_Result_8;

#line 186 "top_procs.m"
    {
#line 186 "top_procs.m"
      top_procs__conv15_Result_8 = top_procs__compare_ps_redos_self_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 186 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv15_Result_8));
#line 186 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 186 "top_procs.m"
  }
#line 186 "top_procs.m"
}

#line 184 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_30(
#line 184 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 184 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 184 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 184 "top_procs.m"
{
#line 184 "top_procs.m"
  {
#line 184 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 184 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 184 "top_procs.m"
    {
#line 184 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_redos_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 184 "top_procs.m"
    return top_procs__succeeded;
#line 184 "top_procs.m"
  }
#line 184 "top_procs.m"
}

#line 184 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_29(
#line 184 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 184 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 184 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 184 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 184 "top_procs.m"
{
#line 184 "top_procs.m"
  {
#line 184 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 184 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 184 "top_procs.m"
    MR_Word top_procs__conv14_Result_8;

#line 184 "top_procs.m"
    {
#line 184 "top_procs.m"
      top_procs__conv14_Result_8 = top_procs__compare_ps_redos_self_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 184 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv14_Result_8));
#line 184 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 184 "top_procs.m"
  }
#line 184 "top_procs.m"
}

#line 182 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_28(
#line 182 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 182 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 182 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 182 "top_procs.m"
{
#line 182 "top_procs.m"
  {
#line 182 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 182 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 182 "top_procs.m"
    {
#line 182 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_redos_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 182 "top_procs.m"
    return top_procs__succeeded;
#line 182 "top_procs.m"
  }
#line 182 "top_procs.m"
}

#line 182 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_27(
#line 182 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 182 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 182 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 182 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 182 "top_procs.m"
{
#line 182 "top_procs.m"
  {
#line 182 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 182 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 182 "top_procs.m"
    MR_Word top_procs__conv13_Result_8;

#line 182 "top_procs.m"
    {
#line 182 "top_procs.m"
      top_procs__conv13_Result_8 = top_procs__compare_ps_redos_self_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 182 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv13_Result_8));
#line 182 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 182 "top_procs.m"
  }
#line 182 "top_procs.m"
}

#line 180 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_26(
#line 180 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 180 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 180 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 180 "top_procs.m"
{
#line 180 "top_procs.m"
  {
#line 180 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 180 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 180 "top_procs.m"
    {
#line 180 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_redos_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 180 "top_procs.m"
    return top_procs__succeeded;
#line 180 "top_procs.m"
  }
#line 180 "top_procs.m"
}

#line 180 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_25(
#line 180 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 180 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 180 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 180 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 180 "top_procs.m"
{
#line 180 "top_procs.m"
  {
#line 180 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 180 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 180 "top_procs.m"
    MR_Word top_procs__conv12_Result_8;

#line 180 "top_procs.m"
    {
#line 180 "top_procs.m"
      top_procs__conv12_Result_8 = top_procs__compare_ps_redos_self_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 180 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv12_Result_8));
#line 180 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 180 "top_procs.m"
  }
#line 180 "top_procs.m"
}

#line 204 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_24(
#line 204 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 204 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 204 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 204 "top_procs.m"
{
#line 204 "top_procs.m"
  {
#line 204 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 204 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 204 "top_procs.m"
    {
#line 204 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_callseqs_both_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 204 "top_procs.m"
    return top_procs__succeeded;
#line 204 "top_procs.m"
  }
#line 204 "top_procs.m"
}

#line 204 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_23(
#line 204 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 204 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 204 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 204 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 204 "top_procs.m"
{
#line 204 "top_procs.m"
  {
#line 204 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 204 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 204 "top_procs.m"
    MR_Word top_procs__conv11_Result_8;

#line 204 "top_procs.m"
    {
#line 204 "top_procs.m"
      top_procs__conv11_Result_8 = top_procs__compare_ps_callseqs_both_percall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 204 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv11_Result_8));
#line 204 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 204 "top_procs.m"
  }
#line 204 "top_procs.m"
}

#line 202 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_22(
#line 202 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 202 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 202 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 202 "top_procs.m"
{
#line 202 "top_procs.m"
  {
#line 202 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 202 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 202 "top_procs.m"
    {
#line 202 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_callseqs_both_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 202 "top_procs.m"
    return top_procs__succeeded;
#line 202 "top_procs.m"
  }
#line 202 "top_procs.m"
}

#line 202 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_21(
#line 202 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 202 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 202 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 202 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 202 "top_procs.m"
{
#line 202 "top_procs.m"
  {
#line 202 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 202 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 202 "top_procs.m"
    MR_Word top_procs__conv10_Result_8;

#line 202 "top_procs.m"
    {
#line 202 "top_procs.m"
      top_procs__conv10_Result_8 = top_procs__compare_ps_callseqs_both_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 202 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv10_Result_8));
#line 202 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 202 "top_procs.m"
  }
#line 202 "top_procs.m"
}

#line 200 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_20(
#line 200 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 200 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 200 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 200 "top_procs.m"
{
#line 200 "top_procs.m"
  {
#line 200 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 200 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 200 "top_procs.m"
    {
#line 200 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_callseqs_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 200 "top_procs.m"
    return top_procs__succeeded;
#line 200 "top_procs.m"
  }
#line 200 "top_procs.m"
}

#line 200 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_19(
#line 200 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 200 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 200 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 200 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 200 "top_procs.m"
{
#line 200 "top_procs.m"
  {
#line 200 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 200 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 200 "top_procs.m"
    MR_Word top_procs__conv9_Result_8;

#line 200 "top_procs.m"
    {
#line 200 "top_procs.m"
      top_procs__conv9_Result_8 = top_procs__compare_ps_callseqs_self_percall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 200 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv9_Result_8));
#line 200 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 200 "top_procs.m"
  }
#line 200 "top_procs.m"
}

#line 198 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_18(
#line 198 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 198 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 198 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 198 "top_procs.m"
{
#line 198 "top_procs.m"
  {
#line 198 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 198 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 198 "top_procs.m"
    {
#line 198 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_callseqs_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 198 "top_procs.m"
    return top_procs__succeeded;
#line 198 "top_procs.m"
  }
#line 198 "top_procs.m"
}

#line 198 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_17(
#line 198 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 198 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 198 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 198 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 198 "top_procs.m"
{
#line 198 "top_procs.m"
  {
#line 198 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 198 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 198 "top_procs.m"
    MR_Word top_procs__conv8_Result_8;

#line 198 "top_procs.m"
    {
#line 198 "top_procs.m"
      top_procs__conv8_Result_8 = top_procs__compare_ps_callseqs_self_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 198 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv8_Result_8));
#line 198 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 198 "top_procs.m"
  }
#line 198 "top_procs.m"
}

#line 177 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_16(
#line 177 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 177 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 177 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 177 "top_procs.m"
{
#line 177 "top_procs.m"
  {
#line 177 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 177 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 177 "top_procs.m"
    {
#line 177 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_calls_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 177 "top_procs.m"
    return top_procs__succeeded;
#line 177 "top_procs.m"
  }
#line 177 "top_procs.m"
}

#line 177 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_15(
#line 177 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 177 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 177 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 177 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 177 "top_procs.m"
{
#line 177 "top_procs.m"
  {
#line 177 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 177 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 177 "top_procs.m"
    MR_Word top_procs__conv7_Result_8;

#line 177 "top_procs.m"
    {
#line 177 "top_procs.m"
      top_procs__conv7_Result_8 = top_procs__compare_ps_calls_self_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 177 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv7_Result_8));
#line 177 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 177 "top_procs.m"
  }
#line 177 "top_procs.m"
}

#line 175 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_14(
#line 175 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 175 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 175 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 175 "top_procs.m"
{
#line 175 "top_procs.m"
  {
#line 175 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 175 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 175 "top_procs.m"
    {
#line 175 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_calls_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 175 "top_procs.m"
    return top_procs__succeeded;
#line 175 "top_procs.m"
  }
#line 175 "top_procs.m"
}

#line 175 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_13(
#line 175 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 175 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 175 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 175 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 175 "top_procs.m"
{
#line 175 "top_procs.m"
  {
#line 175 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 175 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 175 "top_procs.m"
    MR_Word top_procs__conv6_Result_8;

#line 175 "top_procs.m"
    {
#line 175 "top_procs.m"
      top_procs__conv6_Result_8 = top_procs__compare_ps_calls_self_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 175 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv6_Result_8));
#line 175 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 175 "top_procs.m"
  }
#line 175 "top_procs.m"
}

#line 173 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_12(
#line 173 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 173 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 173 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 173 "top_procs.m"
{
#line 173 "top_procs.m"
  {
#line 173 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 173 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 173 "top_procs.m"
    {
#line 173 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_calls_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 173 "top_procs.m"
    return top_procs__succeeded;
#line 173 "top_procs.m"
  }
#line 173 "top_procs.m"
}

#line 173 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_11(
#line 173 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 173 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 173 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 173 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 173 "top_procs.m"
{
#line 173 "top_procs.m"
  {
#line 173 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 173 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 173 "top_procs.m"
    MR_Word top_procs__conv5_Result_8;

#line 173 "top_procs.m"
    {
#line 173 "top_procs.m"
      top_procs__conv5_Result_8 = top_procs__compare_ps_calls_self_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 173 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv5_Result_8));
#line 173 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 173 "top_procs.m"
  }
#line 173 "top_procs.m"
}

#line 171 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_10(
#line 171 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 171 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 171 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 171 "top_procs.m"
{
#line 171 "top_procs.m"
  {
#line 171 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 171 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 171 "top_procs.m"
    {
#line 171 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_calls_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 171 "top_procs.m"
    return top_procs__succeeded;
#line 171 "top_procs.m"
  }
#line 171 "top_procs.m"
}

#line 171 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_9(
#line 171 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 171 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 171 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 171 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 171 "top_procs.m"
{
#line 171 "top_procs.m"
  {
#line 171 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 171 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 171 "top_procs.m"
    MR_Word top_procs__conv4_Result_8;

#line 171 "top_procs.m"
    {
#line 171 "top_procs.m"
      top_procs__conv4_Result_8 = top_procs__compare_ps_calls_self_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 171 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv4_Result_8));
#line 171 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 171 "top_procs.m"
  }
#line 171 "top_procs.m"
}

#line 213 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_8(
#line 213 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 213 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 213 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 213 "top_procs.m"
{
#line 213 "top_procs.m"
  {
#line 213 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 213 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 213 "top_procs.m"
    {
#line 213 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_allocs_both_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 213 "top_procs.m"
    return top_procs__succeeded;
#line 213 "top_procs.m"
  }
#line 213 "top_procs.m"
}

#line 213 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_7(
#line 213 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 213 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 213 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 213 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 213 "top_procs.m"
{
#line 213 "top_procs.m"
  {
#line 213 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 213 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 213 "top_procs.m"
    MR_Word top_procs__conv3_Result_8;

#line 213 "top_procs.m"
    {
#line 213 "top_procs.m"
      top_procs__conv3_Result_8 = top_procs__compare_ps_allocs_both_percall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 213 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv3_Result_8));
#line 213 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 213 "top_procs.m"
  }
#line 213 "top_procs.m"
}

#line 211 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_6(
#line 211 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 211 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 211 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 211 "top_procs.m"
{
#line 211 "top_procs.m"
  {
#line 211 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 211 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 211 "top_procs.m"
    {
#line 211 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_allocs_both_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 211 "top_procs.m"
    return top_procs__succeeded;
#line 211 "top_procs.m"
  }
#line 211 "top_procs.m"
}

#line 211 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_5(
#line 211 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 211 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 211 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 211 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 211 "top_procs.m"
{
#line 211 "top_procs.m"
  {
#line 211 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 211 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 211 "top_procs.m"
    MR_Word top_procs__conv2_Result_8;

#line 211 "top_procs.m"
    {
#line 211 "top_procs.m"
      top_procs__conv2_Result_8 = top_procs__compare_ps_allocs_both_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 211 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv2_Result_8));
#line 211 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 211 "top_procs.m"
  }
#line 211 "top_procs.m"
}

#line 209 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_4(
#line 209 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 209 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 209 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 209 "top_procs.m"
{
#line 209 "top_procs.m"
  {
#line 209 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 209 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 209 "top_procs.m"
    {
#line 209 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_allocs_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 209 "top_procs.m"
    return top_procs__succeeded;
#line 209 "top_procs.m"
  }
#line 209 "top_procs.m"
}

#line 209 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_3(
#line 209 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 209 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 209 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 209 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 209 "top_procs.m"
{
#line 209 "top_procs.m"
  {
#line 209 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 209 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 209 "top_procs.m"
    MR_Word top_procs__conv1_Result_8;

#line 209 "top_procs.m"
    {
#line 209 "top_procs.m"
      top_procs__conv1_Result_8 = top_procs__compare_ps_allocs_self_percall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 209 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv1_Result_8));
#line 209 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 209 "top_procs.m"
  }
#line 209 "top_procs.m"
}

#line 207 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_2(
#line 207 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 207 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 207 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 207 "top_procs.m"
{
#line 207 "top_procs.m"
  {
#line 207 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 207 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 207 "top_procs.m"
    {
#line 207 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_ps_allocs_self_2_p_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2));
    }
#line 207 "top_procs.m"
    return top_procs__succeeded;
#line 207 "top_procs.m"
  }
#line 207 "top_procs.m"
}

#line 207 "top_procs.m"
static MR_Box MR_CALL 
top_procs__find_top_sort_predicate_6_p_0_1(
#line 207 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 207 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 207 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 207 "top_procs.m"
  MR_Box top_procs__wrapper_arg_3)
#line 207 "top_procs.m"
{
#line 207 "top_procs.m"
  {
#line 207 "top_procs.m"
    MR_Box top_procs__wrapper_arg_4;
#line 207 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 207 "top_procs.m"
    MR_Word top_procs__conv0_Result_8;

#line 207 "top_procs.m"
    {
#line 207 "top_procs.m"
      top_procs__conv0_Result_8 = top_procs__compare_ps_allocs_self_overall_3_f_0(((MR_Word) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), ((MR_Integer) top_procs__wrapper_arg_3));
    }
#line 207 "top_procs.m"
    top_procs__wrapper_arg_4 = ((MR_Box) (top_procs__conv0_Result_8));
#line 207 "top_procs.m"
    return top_procs__wrapper_arg_4;
#line 207 "top_procs.m"
  }
#line 207 "top_procs.m"
}

#line 166 "top_procs.m"
static void MR_CALL 
top_procs__find_top_sort_predicate_6_p_0(
#line 166 "top_procs.m"
  MR_Word top_procs__HeadVar__1_1,
#line 166 "top_procs.m"
  MR_Word top_procs__HeadVar__2_2,
#line 166 "top_procs.m"
  MR_Word top_procs__HeadVar__3_3,
#line 166 "top_procs.m"
  MR_Word * top_procs__HeadVar__4_4,
#line 166 "top_procs.m"
  MR_Word * top_procs__HeadVar__5_5,
#line 166 "top_procs.m"
  MR_Word * top_procs__HeadVar__6_6)
#line 166 "top_procs.m"
{
#line 171 "top_procs.m"
  {
#line 171 "top_procs.m"
    MR_bool top_procs__succeeded;

#line 171 "top_procs.m"
    if ((top_procs__HeadVar__1_1 == (MR_Integer) 4))
#line 171 "top_procs.m"
      if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 171 "top_procs.m"
        if ((top_procs__HeadVar__3_3 == (MR_Integer) 1))
#line 207 "top_procs.m"
          {
#line 207 "top_procs.m"
            *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 207 "top_procs.m"
            *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[0];
#line 207 "top_procs.m"
            *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[1];
#line 207 "top_procs.m"
          }
#line 171 "top_procs.m"
        else
#line 209 "top_procs.m"
          {
#line 209 "top_procs.m"
            *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 209 "top_procs.m"
            *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[2];
#line 209 "top_procs.m"
            *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[3];
#line 209 "top_procs.m"
          }
#line 171 "top_procs.m"
      else
#line 171 "top_procs.m"
        if ((top_procs__HeadVar__3_3 == (MR_Integer) 1))
#line 211 "top_procs.m"
          {
#line 211 "top_procs.m"
            *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 211 "top_procs.m"
            *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[4];
#line 211 "top_procs.m"
            *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[5];
#line 211 "top_procs.m"
          }
#line 171 "top_procs.m"
        else
#line 213 "top_procs.m"
          {
#line 213 "top_procs.m"
            *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 213 "top_procs.m"
            *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[6];
#line 213 "top_procs.m"
            *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[7];
#line 213 "top_procs.m"
          }
#line 171 "top_procs.m"
    else
#line 171 "top_procs.m"
      if ((top_procs__HeadVar__1_1 == (MR_Integer) 0))
#line 171 "top_procs.m"
        if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 171 "top_procs.m"
          if ((top_procs__HeadVar__3_3 == (MR_Integer) 1))
#line 171 "top_procs.m"
            {
#line 171 "top_procs.m"
              *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 171 "top_procs.m"
              *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[8];
#line 171 "top_procs.m"
              *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[9];
#line 171 "top_procs.m"
            }
#line 171 "top_procs.m"
          else
#line 173 "top_procs.m"
            {
#line 173 "top_procs.m"
              *top_procs__HeadVar__4_4 = (MR_Integer) 0;
#line 173 "top_procs.m"
              *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[10];
#line 173 "top_procs.m"
              *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[11];
#line 173 "top_procs.m"
            }
#line 171 "top_procs.m"
        else
#line 171 "top_procs.m"
          if ((top_procs__HeadVar__3_3 == (MR_Integer) 1))
#line 175 "top_procs.m"
            {
#line 175 "top_procs.m"
              *top_procs__HeadVar__4_4 = (MR_Integer) 0;
#line 175 "top_procs.m"
              *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[12];
#line 175 "top_procs.m"
              *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[13];
#line 175 "top_procs.m"
            }
#line 171 "top_procs.m"
          else
#line 177 "top_procs.m"
            {
#line 177 "top_procs.m"
              *top_procs__HeadVar__4_4 = (MR_Integer) 0;
#line 177 "top_procs.m"
              *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[14];
#line 177 "top_procs.m"
              *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[15];
#line 177 "top_procs.m"
            }
#line 171 "top_procs.m"
      else
#line 171 "top_procs.m"
        if ((top_procs__HeadVar__1_1 == (MR_Integer) 3))
#line 171 "top_procs.m"
          if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 171 "top_procs.m"
            if ((top_procs__HeadVar__3_3 == (MR_Integer) 1))
#line 198 "top_procs.m"
              {
#line 198 "top_procs.m"
                *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 198 "top_procs.m"
                *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[16];
#line 198 "top_procs.m"
                *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[17];
#line 198 "top_procs.m"
              }
#line 171 "top_procs.m"
            else
#line 200 "top_procs.m"
              {
#line 200 "top_procs.m"
                *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 200 "top_procs.m"
                *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[18];
#line 200 "top_procs.m"
                *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[19];
#line 200 "top_procs.m"
              }
#line 171 "top_procs.m"
          else
#line 171 "top_procs.m"
            if ((top_procs__HeadVar__3_3 == (MR_Integer) 1))
#line 202 "top_procs.m"
              {
#line 202 "top_procs.m"
                *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 202 "top_procs.m"
                *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[20];
#line 202 "top_procs.m"
                *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[21];
#line 202 "top_procs.m"
              }
#line 171 "top_procs.m"
            else
#line 204 "top_procs.m"
              {
#line 204 "top_procs.m"
                *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 204 "top_procs.m"
                *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[22];
#line 204 "top_procs.m"
                *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[23];
#line 204 "top_procs.m"
              }
#line 171 "top_procs.m"
        else
#line 171 "top_procs.m"
          if ((top_procs__HeadVar__1_1 == (MR_Integer) 1))
#line 171 "top_procs.m"
            if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 171 "top_procs.m"
              if ((top_procs__HeadVar__3_3 == (MR_Integer) 1))
#line 180 "top_procs.m"
                {
#line 180 "top_procs.m"
                  *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 180 "top_procs.m"
                  *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[24];
#line 180 "top_procs.m"
                  *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[25];
#line 180 "top_procs.m"
                }
#line 171 "top_procs.m"
              else
#line 182 "top_procs.m"
                {
#line 182 "top_procs.m"
                  *top_procs__HeadVar__4_4 = (MR_Integer) 0;
#line 182 "top_procs.m"
                  *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[26];
#line 182 "top_procs.m"
                  *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[27];
#line 182 "top_procs.m"
                }
#line 171 "top_procs.m"
            else
#line 171 "top_procs.m"
              if ((top_procs__HeadVar__3_3 == (MR_Integer) 1))
#line 184 "top_procs.m"
                {
#line 184 "top_procs.m"
                  *top_procs__HeadVar__4_4 = (MR_Integer) 0;
#line 184 "top_procs.m"
                  *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[28];
#line 184 "top_procs.m"
                  *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[29];
#line 184 "top_procs.m"
                }
#line 171 "top_procs.m"
              else
#line 186 "top_procs.m"
                {
#line 186 "top_procs.m"
                  *top_procs__HeadVar__4_4 = (MR_Integer) 0;
#line 186 "top_procs.m"
                  *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[30];
#line 186 "top_procs.m"
                  *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[31];
#line 186 "top_procs.m"
                }
#line 171 "top_procs.m"
          else
#line 171 "top_procs.m"
            if ((top_procs__HeadVar__1_1 == (MR_Integer) 2))
#line 171 "top_procs.m"
              if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 171 "top_procs.m"
                if ((top_procs__HeadVar__3_3 == (MR_Integer) 1))
#line 189 "top_procs.m"
                  {
#line 189 "top_procs.m"
                    *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 189 "top_procs.m"
                    *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[32];
#line 189 "top_procs.m"
                    *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[33];
#line 189 "top_procs.m"
                  }
#line 171 "top_procs.m"
                else
#line 191 "top_procs.m"
                  {
#line 191 "top_procs.m"
                    *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 191 "top_procs.m"
                    *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[34];
#line 191 "top_procs.m"
                    *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[35];
#line 191 "top_procs.m"
                  }
#line 171 "top_procs.m"
              else
#line 171 "top_procs.m"
                if ((top_procs__HeadVar__3_3 == (MR_Integer) 1))
#line 193 "top_procs.m"
                  {
#line 193 "top_procs.m"
                    *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 193 "top_procs.m"
                    *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[36];
#line 193 "top_procs.m"
                    *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[37];
#line 193 "top_procs.m"
                  }
#line 171 "top_procs.m"
                else
#line 195 "top_procs.m"
                  {
#line 195 "top_procs.m"
                    *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 195 "top_procs.m"
                    *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[38];
#line 195 "top_procs.m"
                    *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[39];
#line 195 "top_procs.m"
                  }
#line 171 "top_procs.m"
            else
#line 171 "top_procs.m"
              if ((top_procs__HeadVar__2_2 == (MR_Integer) 0))
#line 171 "top_procs.m"
                if ((top_procs__HeadVar__3_3 == (MR_Integer) 1))
#line 216 "top_procs.m"
                  {
#line 216 "top_procs.m"
                    *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 216 "top_procs.m"
                    *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[40];
#line 216 "top_procs.m"
                    *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[41];
#line 216 "top_procs.m"
                  }
#line 171 "top_procs.m"
                else
#line 218 "top_procs.m"
                  {
#line 218 "top_procs.m"
                    *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 218 "top_procs.m"
                    *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[42];
#line 218 "top_procs.m"
                    *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[43];
#line 218 "top_procs.m"
                  }
#line 171 "top_procs.m"
              else
#line 171 "top_procs.m"
                if ((top_procs__HeadVar__3_3 == (MR_Integer) 1))
#line 220 "top_procs.m"
                  {
#line 220 "top_procs.m"
                    *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 220 "top_procs.m"
                    *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[44];
#line 220 "top_procs.m"
                    *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[45];
#line 220 "top_procs.m"
                  }
#line 171 "top_procs.m"
                else
#line 222 "top_procs.m"
                  {
#line 222 "top_procs.m"
                    *top_procs__HeadVar__4_4 = (MR_Integer) 1;
#line 222 "top_procs.m"
                    *top_procs__HeadVar__5_5 = (MR_Word) &top_procs_scalar_common_8[46];
#line 222 "top_procs.m"
                    *top_procs__HeadVar__6_6 = (MR_Word) &top_procs_scalar_common_8[47];
#line 222 "top_procs.m"
                  }
#line 171 "top_procs.m"
  }
#line 166 "top_procs.m"
}

#line 159 "top_procs.m"
static MR_bool MR_CALL 
top_procs__filter_top_procs_4_p_0(
#line 159 "top_procs.m"
  MR_Word top_procs__Deep_5,
#line 159 "top_procs.m"
  MR_Integer top_procs__RootPSI_6,
#line 159 "top_procs.m"
  MR_Word top_procs__FilterPred_7,
#line 159 "top_procs.m"
  MR_Integer top_procs__PSI_8)
#line 159 "top_procs.m"
{
#line 162 "top_procs.m"
  {
#line 162 "top_procs.m"
    MR_bool top_procs__succeeded = (top_procs__PSI_8 == top_procs__RootPSI_6);
#line 164 "top_procs.m"
    MR_bool MR_CALL (* top_procs__func_0)(MR_Box, MR_Box, MR_Box);

#line 163 "top_procs.m"
    top_procs__succeeded = !(top_procs__succeeded);
#line 162 "top_procs.m"
    if (top_procs__succeeded)
#line 162 "top_procs.m"
      {
#line 164 "top_procs.m"
        top_procs__func_0 = ((MR_bool MR_CALL (*)(MR_Box, MR_Box, MR_Box)) (MR_hl_field(MR_mktag(0), top_procs__FilterPred_7, (MR_Integer) 1)));
#line 164 "top_procs.m"
        {
#line 164 "top_procs.m"
          return top_procs__succeeded = top_procs__func_0(((MR_Box) top_procs__FilterPred_7), ((MR_Box) (top_procs__Deep_5)), ((MR_Box) (top_procs__PSI_8)));
        }
#line 162 "top_procs.m"
      }
#line 162 "top_procs.m"
    return top_procs__succeeded;
#line 162 "top_procs.m"
  }
#line 159 "top_procs.m"
}

#line 133 "top_procs.m"
static MR_Word MR_CALL 
top_procs__compare_procs_fallback_4_f_0(
#line 133 "top_procs.m"
  MR_Word top_procs__MainFunc_6,
#line 133 "top_procs.m"
  MR_Word top_procs__Deep_7,
#line 133 "top_procs.m"
  MR_Integer top_procs__PSI1_8,
#line 133 "top_procs.m"
  MR_Integer top_procs__PSI2_9)
#line 133 "top_procs.m"
{
#line 136 "top_procs.m"
  {
#line 136 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 136 "top_procs.m"
    MR_Word top_procs__Result_10;
#line 136 "top_procs.m"
    MR_Word top_procs__Result0_11;
#line 137 "top_procs.m"
    MR_Box MR_CALL (* top_procs__func_0)(MR_Box, MR_Box, MR_Box, MR_Box) = ((MR_Box MR_CALL (*)(MR_Box, MR_Box, MR_Box, MR_Box)) (MR_hl_field(MR_mktag(0), top_procs__MainFunc_6, (MR_Integer) 1)));
#line 137 "top_procs.m"
    MR_Box top_procs__conv1_Result0_11;

#line 137 "top_procs.m"
    {
#line 137 "top_procs.m"
      top_procs__conv1_Result0_11 = top_procs__func_0(((MR_Box) top_procs__MainFunc_6), ((MR_Box) (top_procs__Deep_7)), ((MR_Box) (top_procs__PSI1_8)), ((MR_Box) (top_procs__PSI2_9)));
    }
#line 137 "top_procs.m"
    top_procs__Result0_11 = ((MR_Word) top_procs__conv1_Result0_11);
#line 150 "top_procs.m"
    if ((top_procs__Result0_11 == (MR_Integer) 0))
#line 139 "top_procs.m"
      {
#line 139 "top_procs.m"
        MR_Word top_procs__Result1_12;

#line 140 "top_procs.m"
        {
#line 140 "top_procs.m"
          top_procs__Result1_12 = top_procs__compare_ps_time_both_overall_3_f_0(top_procs__Deep_7, top_procs__PSI1_8, top_procs__PSI2_9);
        }
#line 144 "top_procs.m"
        if ((top_procs__Result1_12 == (MR_Integer) 0))
#line 143 "top_procs.m"
          {
#line 143 "top_procs.m"
            return top_procs__Result_10 = top_procs__compare_ps_words_both_overall_3_f_0(top_procs__Deep_7, top_procs__PSI1_8, top_procs__PSI2_9);
          }
#line 144 "top_procs.m"
        else
#line 148 "top_procs.m"
          top_procs__Result_10 = top_procs__Result1_12;
#line 139 "top_procs.m"
      }
#line 150 "top_procs.m"
    else
#line 154 "top_procs.m"
      top_procs__Result_10 = top_procs__Result0_11;
#line 136 "top_procs.m"
    return top_procs__Result_10;
#line 136 "top_procs.m"
  }
#line 133 "top_procs.m"
}

#line 1280 "top_procs.m"
static void MR_CALL 
top_procs__sum_line_group_measurements_3_p_0_1(
#line 1280 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 1280 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 1280 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 1280 "top_procs.m"
  MR_Box * top_procs__wrapper_arg_3,
#line 1280 "top_procs.m"
  MR_Box top_procs__wrapper_arg_4,
#line 1280 "top_procs.m"
  MR_Box * top_procs__wrapper_arg_5)
#line 1280 "top_procs.m"
{
#line 1280 "top_procs.m"
  {
#line 1280 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 1280 "top_procs.m"
    MR_Word top_procs__conv1_Own_8;
#line 1280 "top_procs.m"
    MR_Word top_procs__conv0_Desc_10;

#line 1280 "top_procs.m"
    {
#line 1280 "top_procs.m"
      top_procs__accumulate_line_group_measurements_5_p_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2), &top_procs__conv1_Own_8, ((MR_Word) top_procs__wrapper_arg_4), &top_procs__conv0_Desc_10);
    }
#line 1280 "top_procs.m"
    *top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv1_Own_8));
#line 1280 "top_procs.m"
    *top_procs__wrapper_arg_5 = ((MR_Box) (top_procs__conv0_Desc_10));
#line 1280 "top_procs.m"
  }
#line 1280 "top_procs.m"
}

#line 54 "top_procs.m"
void MR_CALL 
top_procs__sum_line_group_measurements_3_p_0(
#line 54 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_10,
#line 54 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_11,
#line 54 "top_procs.m"
  MR_Word top_procs__LineGroups_4,
#line 54 "top_procs.m"
  MR_Word * top_procs__Own_5,
#line 54 "top_procs.m"
  MR_Word * top_procs__Desc_6)
#line 54 "top_procs.m"
{
#line 1279 "top_procs.m"
  {
#line 1279 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 1279 "top_procs.m"
    MR_Word top_procs__TypeInfo_18_18;
#line 1279 "top_procs.m"
    MR_Word top_procs__V_7_7;
#line 1279 "top_procs.m"
    MR_Word top_procs__V_8_8;
#line 1279 "top_procs.m"
    MR_Word top_procs__V_9_9;
#line 1280 "top_procs.m"
    MR_Box top_procs__conv3_Own_5;
#line 1280 "top_procs.m"
    MR_Box top_procs__conv2_Desc_6;

#line 1280 "top_procs.m"
    {
#line 1280 "top_procs.m"
      top_procs__V_7_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 1280 "top_procs.m"
      MR_hl_field(MR_mktag(0), top_procs__V_7_7, 0) = ((MR_Box) (&top_procs_scalar_common_7[0]));
#line 1280 "top_procs.m"
      MR_hl_field(MR_mktag(0), top_procs__V_7_7, 1) = ((MR_Box) (top_procs__sum_line_group_measurements_3_p_0_1));
#line 1280 "top_procs.m"
      MR_hl_field(MR_mktag(0), top_procs__V_7_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 1280 "top_procs.m"
      MR_hl_field(MR_mktag(0), top_procs__V_7_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_10));
#line 1280 "top_procs.m"
      MR_hl_field(MR_mktag(0), top_procs__V_7_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_11));
#line 1280 "top_procs.m"
    }
#line 1280 "top_procs.m"
    {
#line 1280 "top_procs.m"
      top_procs__V_8_8 = measurements__zero_own_prof_info_0_f_0();
    }
#line 1280 "top_procs.m"
    {
#line 1280 "top_procs.m"
      top_procs__V_9_9 = measurements__zero_inherit_prof_info_0_f_0();
    }
#line 17087 "top_procs.c"
    {
#line 17089 "top_procs.c"
      top_procs__TypeInfo_18_18 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 3 * sizeof(MR_Word)), NULL, NULL);
#line 17091 "top_procs.c"
      MR_hl_field(MR_mktag(0), top_procs__TypeInfo_18_18, 0) = ((MR_Box) (&top_procs__top_procs__type_ctor_info_line_group_2));
#line 17093 "top_procs.c"
      MR_hl_field(MR_mktag(0), top_procs__TypeInfo_18_18, 1) = ((MR_Box) (top_procs__TypeInfo_for_FL_10));
#line 17095 "top_procs.c"
      MR_hl_field(MR_mktag(0), top_procs__TypeInfo_18_18, 2) = ((MR_Box) (top_procs__TypeInfo_for_LL_11));
#line 17097 "top_procs.c"
    }
#line 1280 "top_procs.m"
    {
#line 1280 "top_procs.m"
      mercury__list__foldl2_6_p_0(top_procs__TypeInfo_18_18, (MR_Word) &measurements__measurements__type_ctor_info_own_prof_info_0, (MR_Word) &measurements__measurements__type_ctor_info_inherit_prof_info_0, (MR_Word) top_procs__V_7_7, (MR_Word) top_procs__LineGroups_4, ((MR_Box) (top_procs__V_8_8)), &top_procs__conv3_Own_5, ((MR_Box) (top_procs__V_9_9)), &top_procs__conv2_Desc_6);
    }
#line 1280 "top_procs.m"
    *top_procs__Own_5 = ((MR_Word) top_procs__conv3_Own_5);
#line 1280 "top_procs.m"
    *top_procs__Desc_6 = ((MR_Word) top_procs__conv2_Desc_6);
#line 1279 "top_procs.m"
  }
#line 54 "top_procs.m"
}

#line 980 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_21(
#line 980 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 980 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 980 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 980 "top_procs.m"
{
#line 980 "top_procs.m"
  {
#line 980 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 980 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 980 "top_procs.m"
    MR_Word top_procs__conv20_Result_8;

#line 980 "top_procs.m"
    {
#line 980 "top_procs.m"
      top_procs__conv20_Result_8 = top_procs__compare_groups_fallback_3_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 5))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 980 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv20_Result_8));
#line 980 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 980 "top_procs.m"
  }
#line 980 "top_procs.m"
}

#line 977 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_20(
#line 977 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 977 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 977 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 977 "top_procs.m"
{
#line 977 "top_procs.m"
  {
#line 977 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 977 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 977 "top_procs.m"
    MR_Word top_procs__conv19_Result_6;

#line 977 "top_procs.m"
    {
#line 977 "top_procs.m"
      top_procs__conv19_Result_6 = top_procs__compare_line_groups_by_words_total_percall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 977 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv19_Result_6));
#line 977 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 977 "top_procs.m"
  }
#line 977 "top_procs.m"
}

#line 972 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_19(
#line 972 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 972 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 972 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 972 "top_procs.m"
{
#line 972 "top_procs.m"
  {
#line 972 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 972 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 972 "top_procs.m"
    MR_Word top_procs__conv18_Result_6;

#line 972 "top_procs.m"
    {
#line 972 "top_procs.m"
      top_procs__conv18_Result_6 = top_procs__compare_line_groups_by_words_total_overall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 972 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv18_Result_6));
#line 972 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 972 "top_procs.m"
  }
#line 972 "top_procs.m"
}

#line 967 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_18(
#line 967 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 967 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 967 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 967 "top_procs.m"
{
#line 967 "top_procs.m"
  {
#line 967 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 967 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 967 "top_procs.m"
    MR_Word top_procs__conv17_Result_6;

#line 967 "top_procs.m"
    {
#line 967 "top_procs.m"
      top_procs__conv17_Result_6 = top_procs__compare_line_groups_by_words_self_percall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 967 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv17_Result_6));
#line 967 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 967 "top_procs.m"
  }
#line 967 "top_procs.m"
}

#line 962 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_17(
#line 962 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 962 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 962 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 962 "top_procs.m"
{
#line 962 "top_procs.m"
  {
#line 962 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 962 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 962 "top_procs.m"
    MR_Word top_procs__conv16_Result_6;

#line 962 "top_procs.m"
    {
#line 962 "top_procs.m"
      top_procs__conv16_Result_6 = top_procs__compare_line_groups_by_words_self_overall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 962 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv16_Result_6));
#line 962 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 962 "top_procs.m"
  }
#line 962 "top_procs.m"
}

#line 917 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_16(
#line 917 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 917 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 917 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 917 "top_procs.m"
{
#line 917 "top_procs.m"
  {
#line 917 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 917 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 917 "top_procs.m"
    MR_Word top_procs__conv15_Result_6;

#line 917 "top_procs.m"
    {
#line 917 "top_procs.m"
      top_procs__conv15_Result_6 = top_procs__compare_line_groups_by_time_total_percall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 917 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv15_Result_6));
#line 917 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 917 "top_procs.m"
  }
#line 917 "top_procs.m"
}

#line 912 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_15(
#line 912 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 912 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 912 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 912 "top_procs.m"
{
#line 912 "top_procs.m"
  {
#line 912 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 912 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 912 "top_procs.m"
    MR_Word top_procs__conv14_Result_6;

#line 912 "top_procs.m"
    {
#line 912 "top_procs.m"
      top_procs__conv14_Result_6 = top_procs__compare_line_groups_by_time_total_overall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 912 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv14_Result_6));
#line 912 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 912 "top_procs.m"
  }
#line 912 "top_procs.m"
}

#line 907 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_14(
#line 907 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 907 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 907 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 907 "top_procs.m"
{
#line 907 "top_procs.m"
  {
#line 907 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 907 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 907 "top_procs.m"
    MR_Word top_procs__conv13_Result_6;

#line 907 "top_procs.m"
    {
#line 907 "top_procs.m"
      top_procs__conv13_Result_6 = top_procs__compare_line_groups_by_time_self_percall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 907 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv13_Result_6));
#line 907 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 907 "top_procs.m"
  }
#line 907 "top_procs.m"
}

#line 902 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_13(
#line 902 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 902 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 902 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 902 "top_procs.m"
{
#line 902 "top_procs.m"
  {
#line 902 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 902 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 902 "top_procs.m"
    MR_Word top_procs__conv12_Result_6;

#line 902 "top_procs.m"
    {
#line 902 "top_procs.m"
      top_procs__conv12_Result_6 = top_procs__compare_line_groups_by_time_self_overall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 902 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv12_Result_6));
#line 902 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 902 "top_procs.m"
  }
#line 902 "top_procs.m"
}

#line 897 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_12(
#line 897 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 897 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 897 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 897 "top_procs.m"
{
#line 897 "top_procs.m"
  {
#line 897 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 897 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 897 "top_procs.m"
    MR_Word top_procs__conv11_Result_6;

#line 897 "top_procs.m"
    {
#line 897 "top_procs.m"
      top_procs__conv11_Result_6 = top_procs__compare_line_groups_by_redos_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 897 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv11_Result_6));
#line 897 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 897 "top_procs.m"
  }
#line 897 "top_procs.m"
}

#line 937 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_11(
#line 937 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 937 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 937 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 937 "top_procs.m"
{
#line 937 "top_procs.m"
  {
#line 937 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 937 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 937 "top_procs.m"
    MR_Word top_procs__conv10_Result_6;

#line 937 "top_procs.m"
    {
#line 937 "top_procs.m"
      top_procs__conv10_Result_6 = top_procs__compare_line_groups_by_callseqs_total_percall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 937 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv10_Result_6));
#line 937 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 937 "top_procs.m"
  }
#line 937 "top_procs.m"
}

#line 932 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_10(
#line 932 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 932 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 932 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 932 "top_procs.m"
{
#line 932 "top_procs.m"
  {
#line 932 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 932 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 932 "top_procs.m"
    MR_Word top_procs__conv9_Result_6;

#line 932 "top_procs.m"
    {
#line 932 "top_procs.m"
      top_procs__conv9_Result_6 = top_procs__compare_line_groups_by_callseqs_total_overall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 932 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv9_Result_6));
#line 932 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 932 "top_procs.m"
  }
#line 932 "top_procs.m"
}

#line 927 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_9(
#line 927 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 927 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 927 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 927 "top_procs.m"
{
#line 927 "top_procs.m"
  {
#line 927 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 927 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 927 "top_procs.m"
    MR_Word top_procs__conv8_Result_6;

#line 927 "top_procs.m"
    {
#line 927 "top_procs.m"
      top_procs__conv8_Result_6 = top_procs__compare_line_groups_by_callseqs_self_percall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 927 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv8_Result_6));
#line 927 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 927 "top_procs.m"
  }
#line 927 "top_procs.m"
}

#line 922 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_8(
#line 922 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 922 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 922 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 922 "top_procs.m"
{
#line 922 "top_procs.m"
  {
#line 922 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 922 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 922 "top_procs.m"
    MR_Word top_procs__conv7_Result_6;

#line 922 "top_procs.m"
    {
#line 922 "top_procs.m"
      top_procs__conv7_Result_6 = top_procs__compare_line_groups_by_callseqs_self_overall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 922 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv7_Result_6));
#line 922 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 922 "top_procs.m"
  }
#line 922 "top_procs.m"
}

#line 894 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_7(
#line 894 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 894 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 894 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 894 "top_procs.m"
{
#line 894 "top_procs.m"
  {
#line 894 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 894 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 894 "top_procs.m"
    MR_Word top_procs__conv6_Result_6;

#line 894 "top_procs.m"
    {
#line 894 "top_procs.m"
      top_procs__conv6_Result_6 = top_procs__compare_line_groups_by_calls_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 894 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv6_Result_6));
#line 894 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 894 "top_procs.m"
  }
#line 894 "top_procs.m"
}

#line 957 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_6(
#line 957 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 957 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 957 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 957 "top_procs.m"
{
#line 957 "top_procs.m"
  {
#line 957 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 957 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 957 "top_procs.m"
    MR_Word top_procs__conv5_Result_6;

#line 957 "top_procs.m"
    {
#line 957 "top_procs.m"
      top_procs__conv5_Result_6 = top_procs__compare_line_groups_by_allocs_total_percall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 957 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv5_Result_6));
#line 957 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 957 "top_procs.m"
  }
#line 957 "top_procs.m"
}

#line 952 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_5(
#line 952 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 952 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 952 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 952 "top_procs.m"
{
#line 952 "top_procs.m"
  {
#line 952 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 952 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 952 "top_procs.m"
    MR_Word top_procs__conv4_Result_6;

#line 952 "top_procs.m"
    {
#line 952 "top_procs.m"
      top_procs__conv4_Result_6 = top_procs__compare_line_groups_by_allocs_total_overall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 952 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv4_Result_6));
#line 952 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 952 "top_procs.m"
  }
#line 952 "top_procs.m"
}

#line 947 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_4(
#line 947 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 947 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 947 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 947 "top_procs.m"
{
#line 947 "top_procs.m"
  {
#line 947 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 947 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 947 "top_procs.m"
    MR_Word top_procs__conv3_Result_6;

#line 947 "top_procs.m"
    {
#line 947 "top_procs.m"
      top_procs__conv3_Result_6 = top_procs__compare_line_groups_by_allocs_self_percall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 947 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv3_Result_6));
#line 947 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 947 "top_procs.m"
  }
#line 947 "top_procs.m"
}

#line 942 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_3(
#line 942 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 942 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 942 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 942 "top_procs.m"
{
#line 942 "top_procs.m"
  {
#line 942 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 942 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 942 "top_procs.m"
    MR_Word top_procs__conv2_Result_6;

#line 942 "top_procs.m"
    {
#line 942 "top_procs.m"
      top_procs__conv2_Result_6 = top_procs__compare_line_groups_by_allocs_self_overall_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 942 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv2_Result_6));
#line 942 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 942 "top_procs.m"
  }
#line 942 "top_procs.m"
}

#line 886 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_2(
#line 886 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 886 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 886 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 886 "top_procs.m"
{
#line 886 "top_procs.m"
  {
#line 886 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 886 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 886 "top_procs.m"
    MR_Word top_procs__conv1_Result_6;

#line 886 "top_procs.m"
    {
#line 886 "top_procs.m"
      top_procs__conv1_Result_6 = top_procs__compare_line_groups_by_name_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 886 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv1_Result_6));
#line 886 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 886 "top_procs.m"
  }
#line 886 "top_procs.m"
}

#line 883 "top_procs.m"
static MR_Box MR_CALL 
top_procs__sort_line_groups_2_f_0_1(
#line 883 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 883 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 883 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2)
#line 883 "top_procs.m"
{
#line 883 "top_procs.m"
  {
#line 883 "top_procs.m"
    MR_Box top_procs__wrapper_arg_3;
#line 883 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 883 "top_procs.m"
    MR_Word top_procs__conv0_Result_6;

#line 883 "top_procs.m"
    {
#line 883 "top_procs.m"
      top_procs__conv0_Result_6 = top_procs__compare_line_groups_by_context_2_f_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) top_procs__wrapper_arg_1), ((MR_Word) top_procs__wrapper_arg_2));
    }
#line 883 "top_procs.m"
    top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv0_Result_6));
#line 883 "top_procs.m"
    return top_procs__wrapper_arg_3;
#line 883 "top_procs.m"
  }
#line 883 "top_procs.m"
}

#line 51 "top_procs.m"
MR_Word MR_CALL 
top_procs__sort_line_groups_2_f_0(
#line 51 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_FL_12,
#line 51 "top_procs.m"
  MR_Word top_procs__TypeInfo_for_LL_13,
#line 51 "top_procs.m"
  MR_Word top_procs__Criteria_4,
#line 51 "top_procs.m"
  MR_Word top_procs__Groups_5)
#line 51 "top_procs.m"
{
#line 880 "top_procs.m"
  {
#line 880 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 880 "top_procs.m"
    MR_Word top_procs__SortedGroups_6;
#line 880 "top_procs.m"
    MR_Word top_procs__TypeInfo_75_75;
#line 880 "top_procs.m"
    MR_Word top_procs__CompFunc_7;
#line 880 "top_procs.m"
    MR_Word top_procs__V_11_11;
#line 980 "top_procs.m"
    MR_Word top_procs__conv21_SortedGroups_6;

#line 884 "top_procs.m"
    if ((top_procs__Criteria_4 == ((MR_Word) MR_mkword(MR_mktag(0), MR_mkbody((MR_Integer) 0)))))
#line 883 "top_procs.m"
      {
#line 883 "top_procs.m"
        top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 883 "top_procs.m"
        MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 883 "top_procs.m"
        MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_1));
#line 883 "top_procs.m"
        MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 883 "top_procs.m"
        MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 883 "top_procs.m"
        MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 883 "top_procs.m"
      }
#line 884 "top_procs.m"
    else
#line 884 "top_procs.m"
      if ((top_procs__Criteria_4 == ((MR_Word) MR_mkword(MR_mktag(0), MR_mkbody((MR_Integer) 1)))))
#line 886 "top_procs.m"
        {
#line 886 "top_procs.m"
          top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 886 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 886 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_2));
#line 886 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 886 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 886 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 886 "top_procs.m"
        }
#line 884 "top_procs.m"
      else
#line 888 "top_procs.m"
        {
#line 888 "top_procs.m"
          MR_Word top_procs__Measurement_8 = ((((MR_Word) (MR_hl_field(MR_mktag(1), top_procs__Criteria_4, (MR_Integer) 0)))) & (MR_Integer) 7);
#line 888 "top_procs.m"
          MR_Word top_procs__InclDesc_9 = ((((((MR_Word) (MR_hl_field(MR_mktag(1), top_procs__Criteria_4, (MR_Integer) 0)))) >> (MR_Integer) 3)) & (MR_Integer) 1);
#line 888 "top_procs.m"
          MR_Word top_procs__Scope_10 = ((((((MR_Word) (MR_hl_field(MR_mktag(1), top_procs__Criteria_4, (MR_Integer) 0)))) >> (MR_Integer) 4)) & (MR_Integer) 1);

#line 895 "top_procs.m"
          if ((top_procs__Measurement_8 == (MR_Integer) 4))
#line 895 "top_procs.m"
            if ((top_procs__InclDesc_9 == (MR_Integer) 0))
#line 895 "top_procs.m"
              if ((top_procs__Scope_10 == (MR_Integer) 1))
#line 942 "top_procs.m"
                {
#line 942 "top_procs.m"
                  top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 942 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 942 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_3));
#line 942 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 942 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 942 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 942 "top_procs.m"
                }
#line 895 "top_procs.m"
              else
#line 947 "top_procs.m"
                {
#line 947 "top_procs.m"
                  top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 947 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 947 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_4));
#line 947 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 947 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 947 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 947 "top_procs.m"
                }
#line 895 "top_procs.m"
            else
#line 895 "top_procs.m"
              if ((top_procs__Scope_10 == (MR_Integer) 1))
#line 952 "top_procs.m"
                {
#line 952 "top_procs.m"
                  top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 952 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 952 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_5));
#line 952 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 952 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 952 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 952 "top_procs.m"
                }
#line 895 "top_procs.m"
              else
#line 957 "top_procs.m"
                {
#line 957 "top_procs.m"
                  top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 957 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 957 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_6));
#line 957 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 957 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 957 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 957 "top_procs.m"
                }
#line 895 "top_procs.m"
          else
#line 895 "top_procs.m"
            if ((top_procs__Measurement_8 == (MR_Integer) 0))
#line 894 "top_procs.m"
              {
#line 894 "top_procs.m"
                top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 894 "top_procs.m"
                MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 894 "top_procs.m"
                MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_7));
#line 894 "top_procs.m"
                MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 894 "top_procs.m"
                MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 894 "top_procs.m"
                MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 894 "top_procs.m"
              }
#line 895 "top_procs.m"
            else
#line 895 "top_procs.m"
              if ((top_procs__Measurement_8 == (MR_Integer) 3))
#line 895 "top_procs.m"
                if ((top_procs__InclDesc_9 == (MR_Integer) 0))
#line 895 "top_procs.m"
                  if ((top_procs__Scope_10 == (MR_Integer) 1))
#line 922 "top_procs.m"
                    {
#line 922 "top_procs.m"
                      top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 922 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 922 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_8));
#line 922 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 922 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 922 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 922 "top_procs.m"
                    }
#line 895 "top_procs.m"
                  else
#line 927 "top_procs.m"
                    {
#line 927 "top_procs.m"
                      top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 927 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 927 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_9));
#line 927 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 927 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 927 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 927 "top_procs.m"
                    }
#line 895 "top_procs.m"
                else
#line 895 "top_procs.m"
                  if ((top_procs__Scope_10 == (MR_Integer) 1))
#line 932 "top_procs.m"
                    {
#line 932 "top_procs.m"
                      top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 932 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 932 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_10));
#line 932 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 932 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 932 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 932 "top_procs.m"
                    }
#line 895 "top_procs.m"
                  else
#line 937 "top_procs.m"
                    {
#line 937 "top_procs.m"
                      top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 937 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 937 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_11));
#line 937 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 937 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 937 "top_procs.m"
                      MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 937 "top_procs.m"
                    }
#line 895 "top_procs.m"
              else
#line 895 "top_procs.m"
                if ((top_procs__Measurement_8 == (MR_Integer) 1))
#line 897 "top_procs.m"
                  {
#line 897 "top_procs.m"
                    top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 897 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 897 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_12));
#line 897 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 897 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 897 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 897 "top_procs.m"
                  }
#line 895 "top_procs.m"
                else
#line 895 "top_procs.m"
                  if ((top_procs__Measurement_8 == (MR_Integer) 2))
#line 895 "top_procs.m"
                    if ((top_procs__InclDesc_9 == (MR_Integer) 0))
#line 895 "top_procs.m"
                      if ((top_procs__Scope_10 == (MR_Integer) 1))
#line 902 "top_procs.m"
                        {
#line 902 "top_procs.m"
                          top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 902 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 902 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_13));
#line 902 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 902 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 902 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 902 "top_procs.m"
                        }
#line 895 "top_procs.m"
                      else
#line 907 "top_procs.m"
                        {
#line 907 "top_procs.m"
                          top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 907 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 907 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_14));
#line 907 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 907 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 907 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 907 "top_procs.m"
                        }
#line 895 "top_procs.m"
                    else
#line 895 "top_procs.m"
                      if ((top_procs__Scope_10 == (MR_Integer) 1))
#line 912 "top_procs.m"
                        {
#line 912 "top_procs.m"
                          top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 912 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 912 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_15));
#line 912 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 912 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 912 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 912 "top_procs.m"
                        }
#line 895 "top_procs.m"
                      else
#line 917 "top_procs.m"
                        {
#line 917 "top_procs.m"
                          top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 917 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 917 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_16));
#line 917 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 917 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 917 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 917 "top_procs.m"
                        }
#line 895 "top_procs.m"
                  else
#line 895 "top_procs.m"
                    if ((top_procs__InclDesc_9 == (MR_Integer) 0))
#line 895 "top_procs.m"
                      if ((top_procs__Scope_10 == (MR_Integer) 1))
#line 962 "top_procs.m"
                        {
#line 962 "top_procs.m"
                          top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 962 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 962 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_17));
#line 962 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 962 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 962 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 962 "top_procs.m"
                        }
#line 895 "top_procs.m"
                      else
#line 967 "top_procs.m"
                        {
#line 967 "top_procs.m"
                          top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 967 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 967 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_18));
#line 967 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 967 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 967 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 967 "top_procs.m"
                        }
#line 895 "top_procs.m"
                    else
#line 895 "top_procs.m"
                      if ((top_procs__Scope_10 == (MR_Integer) 1))
#line 972 "top_procs.m"
                        {
#line 972 "top_procs.m"
                          top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 972 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 972 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_19));
#line 972 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 972 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 972 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 972 "top_procs.m"
                        }
#line 895 "top_procs.m"
                      else
#line 977 "top_procs.m"
                        {
#line 977 "top_procs.m"
                          top_procs__CompFunc_7 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 977 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 0) = ((MR_Box) (&top_procs_scalar_common_4[1]));
#line 977 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_20));
#line 977 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 977 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 977 "top_procs.m"
                          MR_hl_field(MR_mktag(0), top_procs__CompFunc_7, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 977 "top_procs.m"
                        }
#line 888 "top_procs.m"
        }
#line 18262 "top_procs.c"
    {
#line 18264 "top_procs.c"
      top_procs__TypeInfo_75_75 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 3 * sizeof(MR_Word)), NULL, NULL);
#line 18266 "top_procs.c"
      MR_hl_field(MR_mktag(0), top_procs__TypeInfo_75_75, 0) = ((MR_Box) (&top_procs__top_procs__type_ctor_info_line_group_2));
#line 18268 "top_procs.c"
      MR_hl_field(MR_mktag(0), top_procs__TypeInfo_75_75, 1) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 18270 "top_procs.c"
      MR_hl_field(MR_mktag(0), top_procs__TypeInfo_75_75, 2) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 18272 "top_procs.c"
    }
#line 980 "top_procs.m"
    {
#line 980 "top_procs.m"
      top_procs__V_11_11 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 6 * sizeof(MR_Word)), NULL, NULL);
#line 980 "top_procs.m"
      MR_hl_field(MR_mktag(0), top_procs__V_11_11, 0) = ((MR_Box) (&top_procs_scalar_common_6[0]));
#line 980 "top_procs.m"
      MR_hl_field(MR_mktag(0), top_procs__V_11_11, 1) = ((MR_Box) (top_procs__sort_line_groups_2_f_0_21));
#line 980 "top_procs.m"
      MR_hl_field(MR_mktag(0), top_procs__V_11_11, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 3));
#line 980 "top_procs.m"
      MR_hl_field(MR_mktag(0), top_procs__V_11_11, 3) = ((MR_Box) (top_procs__TypeInfo_for_FL_12));
#line 980 "top_procs.m"
      MR_hl_field(MR_mktag(0), top_procs__V_11_11, 4) = ((MR_Box) (top_procs__TypeInfo_for_LL_13));
#line 980 "top_procs.m"
      MR_hl_field(MR_mktag(0), top_procs__V_11_11, 5) = ((MR_Box) (top_procs__CompFunc_7));
#line 980 "top_procs.m"
    }
#line 980 "top_procs.m"
    {
#line 980 "top_procs.m"
      top_procs__conv21_SortedGroups_6 = mercury__list__sort_2_f_0(top_procs__TypeInfo_75_75, (MR_Word) top_procs__V_11_11, (MR_Word) top_procs__Groups_5);
    }
#line 980 "top_procs.m"
    top_procs__SortedGroups_6 = (MR_Word) top_procs__conv21_SortedGroups_6;
#line 880 "top_procs.m"
    return top_procs__SortedGroups_6;
#line 880 "top_procs.m"
  }
#line 51 "top_procs.m"
}

#line 120 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_procs_5_f_0_4(
#line 120 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 120 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1)
#line 120 "top_procs.m"
{
#line 120 "top_procs.m"
  {
#line 120 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 120 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 120 "top_procs.m"
    {
#line 120 "top_procs.m"
      return top_procs__succeeded = top_procs__IntroducedFrom__pred__find_top_procs__121__1_4_p_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), MR_unbox_float((MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 5))), ((MR_Integer) top_procs__wrapper_arg_1));
    }
#line 120 "top_procs.m"
    return top_procs__succeeded;
#line 120 "top_procs.m"
  }
#line 120 "top_procs.m"
}

#line 105 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_procs_5_f_0_3(
#line 105 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 105 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1)
#line 105 "top_procs.m"
{
#line 105 "top_procs.m"
  {
#line 105 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 105 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 105 "top_procs.m"
    {
#line 105 "top_procs.m"
      return top_procs__succeeded = top_procs__IntroducedFrom__pred__find_top_procs__106__1_4_p_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), MR_unbox_float((MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 5))), ((MR_Integer) top_procs__wrapper_arg_1));
    }
#line 105 "top_procs.m"
    return top_procs__succeeded;
#line 105 "top_procs.m"
  }
#line 105 "top_procs.m"
}

#line 83 "top_procs.m"
static void MR_CALL 
top_procs__find_top_procs_5_f_0_2(
#line 83 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 83 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1,
#line 83 "top_procs.m"
  MR_Box top_procs__wrapper_arg_2,
#line 83 "top_procs.m"
  MR_Box * top_procs__wrapper_arg_3)
#line 83 "top_procs.m"
{
#line 83 "top_procs.m"
  {
#line 83 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;
#line 83 "top_procs.m"
    MR_Word top_procs__conv0_HeadVar__5_44;

#line 83 "top_procs.m"
    {
#line 83 "top_procs.m"
      top_procs__IntroducedFrom__pred__find_top_procs__84__1_5_p_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Integer) top_procs__wrapper_arg_1), ((MR_Integer) top_procs__wrapper_arg_2), &top_procs__conv0_HeadVar__5_44);
    }
#line 83 "top_procs.m"
    *top_procs__wrapper_arg_3 = ((MR_Box) (top_procs__conv0_HeadVar__5_44));
#line 83 "top_procs.m"
  }
#line 83 "top_procs.m"
}

#line 82 "top_procs.m"
static MR_bool MR_CALL 
top_procs__find_top_procs_5_f_0_1(
#line 82 "top_procs.m"
  MR_Box top_procs__closure_arg,
#line 82 "top_procs.m"
  MR_Box top_procs__wrapper_arg_1)
#line 82 "top_procs.m"
{
#line 82 "top_procs.m"
  {
#line 82 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 82 "top_procs.m"
    MR_Box top_procs__closure = top_procs__closure_arg;

#line 82 "top_procs.m"
    {
#line 82 "top_procs.m"
      return top_procs__succeeded = top_procs__filter_top_procs_4_p_0(((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 3))), ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 4))), ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__closure, (MR_Integer) 5))), ((MR_Integer) top_procs__wrapper_arg_1));
    }
#line 82 "top_procs.m"
    return top_procs__succeeded;
#line 82 "top_procs.m"
  }
#line 82 "top_procs.m"
}

#line 31 "top_procs.m"
MR_Word MR_CALL 
top_procs__find_top_procs_5_f_0(
#line 31 "top_procs.m"
  MR_Word top_procs__Sort_7,
#line 31 "top_procs.m"
  MR_Word top_procs__InclDesc_8,
#line 31 "top_procs.m"
  MR_Word top_procs__Scope_9,
#line 31 "top_procs.m"
  MR_Word top_procs__Limit_10,
#line 31 "top_procs.m"
  MR_Word top_procs__Deep_11)
#line 31 "top_procs.m"
{
#line 69 "top_procs.m"
  {
#line 69 "top_procs.m"
    MR_bool top_procs__succeeded;
#line 69 "top_procs.m"
    MR_Word top_procs__MaybeTopPSIs_12;
#line 69 "top_procs.m"
    MR_Word top_procs__SortCompatible_13;
#line 69 "top_procs.m"
    MR_Word top_procs__RawSortFunc_14;
#line 69 "top_procs.m"
    MR_Word top_procs__FilterPred_15;

#line 70 "top_procs.m"
    {
#line 70 "top_procs.m"
      top_procs__find_top_sort_predicate_6_p_0(top_procs__Sort_7, top_procs__InclDesc_8, top_procs__Scope_9, &top_procs__SortCompatible_13, &top_procs__RawSortFunc_14, &top_procs__FilterPred_15);
    }
#line 75 "top_procs.m"
    if ((top_procs__SortCompatible_13 == (MR_Integer) 0))
#line 73 "top_procs.m"
      {
#line 74 "top_procs.m"
        top_procs__MaybeTopPSIs_12 = (MR_Word) MR_mkword(MR_mktag(1), &top_procs_scalar_common_2[0]);
#line 73 "top_procs.m"
      }
#line 75 "top_procs.m"
    else
#line 76 "top_procs.m"
      {
#line 76 "top_procs.m"
        MR_Word top_procs__TypeCtorInfo_133_133;
#line 76 "top_procs.m"
        MR_ArrayPtr top_procs__ProcStatics_16 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 8)));
#line 76 "top_procs.m"
        MR_Integer top_procs__MaxProcStatic_17;
#line 76 "top_procs.m"
        MR_Word top_procs__PSIs0_18;
#line 76 "top_procs.m"
        MR_Word top_procs__RootPD_19;
#line 76 "top_procs.m"
        MR_Integer top_procs__RootPSI_20;
#line 76 "top_procs.m"
        MR_Word top_procs__PSIs_21;
#line 76 "top_procs.m"
        MR_Word top_procs__SortPred_22;
#line 76 "top_procs.m"
        MR_Word top_procs__DescendingPSIs_26;
#line 76 "top_procs.m"
        MR_Word top_procs__V_39_39;
#line 76 "top_procs.m"
        MR_Word top_procs__V_40_40;
#line 76 "top_procs.m"
        MR_Word top_procs__V_41_41;
#line 77 "top_procs.m"
        MR_Word top_procs__V_73_73 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 0)));
#line 77 "top_procs.m"
        MR_String top_procs__V_74_74 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 1)));
#line 77 "top_procs.m"
        MR_String top_procs__V_75_75 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 2)));
#line 77 "top_procs.m"
        MR_String top_procs__V_76_76 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 3)));
#line 77 "top_procs.m"
        MR_Word top_procs__V_77_77 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 4)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_78_78 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 5)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_79_79 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 6)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_80_80 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 7)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_81_81 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 9)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_82_82 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 10)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_83_83 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 11)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_84_84 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 12)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_85_85 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 13)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_86_86 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 14)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_87_87 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 15)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_88_88 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 16)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_89_89 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 17)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_90_90 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 18)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_91_91 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 19)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_92_92 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 20)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_93_93 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 21)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_94_94 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 22)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_95_95 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 23)));
#line 77 "top_procs.m"
        MR_ArrayPtr top_procs__V_96_96 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 24)));
#line 77 "top_procs.m"
        MR_Word top_procs__V_97_97 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 25)));
#line 77 "top_procs.m"
        MR_Word top_procs__V_98_98 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 26)));
#line 77 "top_procs.m"
        MR_Word top_procs__V_99_99 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 27)));
#line 77 "top_procs.m"
        MR_Word top_procs__V_100_100 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 28)));
#line 80 "top_procs.m"
        MR_Word top_procs__V_101_101;
#line 80 "top_procs.m"
        MR_String top_procs__V_102_102;
#line 80 "top_procs.m"
        MR_String top_procs__V_103_103;
#line 80 "top_procs.m"
        MR_String top_procs__V_104_104;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_105_105;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_106_106;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_107_107;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_108_108;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_109_109;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_110_110;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_111_111;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_112_112;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_113_113;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_114_114;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_115_115;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_116_116;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_117_117;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_118_118;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_119_119;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_120_120;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_121_121;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_122_122;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_123_123;
#line 80 "top_procs.m"
        MR_ArrayPtr top_procs__V_124_124;
#line 80 "top_procs.m"
        MR_Word top_procs__V_125_125;
#line 80 "top_procs.m"
        MR_Word top_procs__V_126_126;
#line 80 "top_procs.m"
        MR_Word top_procs__V_127_127;
#line 80 "top_procs.m"
        MR_Word top_procs__V_128_128;
#line 81 "top_procs.m"
        MR_ArrayPtr top_procs__V_129_129;
#line 81 "top_procs.m"
        MR_Word top_procs__V_130_130;

#line 78 "top_procs.m"
        {
#line 78 "top_procs.m"
          mercury__array__max_2_p_0((MR_Word) &profile__profile__type_ctor_info_proc_static_0, (MR_ArrayPtr) top_procs__ProcStatics_16, &top_procs__MaxProcStatic_17);
        }
#line 79 "top_procs.m"
        {
#line 79 "top_procs.m"
          top_procs__PSIs0_18 = mercury__list__f_46_46_2_f_0((MR_Integer) 1, top_procs__MaxProcStatic_17);
        }
#line 80 "top_procs.m"
        top_procs__V_101_101 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 0)));
#line 80 "top_procs.m"
        top_procs__V_102_102 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 1)));
#line 80 "top_procs.m"
        top_procs__V_103_103 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 2)));
#line 80 "top_procs.m"
        top_procs__V_104_104 = ((MR_String) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 3)));
#line 80 "top_procs.m"
        top_procs__V_39_39 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 4)));
#line 80 "top_procs.m"
        top_procs__V_105_105 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 5)));
#line 80 "top_procs.m"
        top_procs__V_106_106 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 6)));
#line 80 "top_procs.m"
        top_procs__V_107_107 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 7)));
#line 80 "top_procs.m"
        top_procs__V_108_108 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 8)));
#line 80 "top_procs.m"
        top_procs__V_109_109 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 9)));
#line 80 "top_procs.m"
        top_procs__V_110_110 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 10)));
#line 80 "top_procs.m"
        top_procs__V_111_111 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 11)));
#line 80 "top_procs.m"
        top_procs__V_112_112 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 12)));
#line 80 "top_procs.m"
        top_procs__V_113_113 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 13)));
#line 80 "top_procs.m"
        top_procs__V_114_114 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 14)));
#line 80 "top_procs.m"
        top_procs__V_115_115 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 15)));
#line 80 "top_procs.m"
        top_procs__V_116_116 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 16)));
#line 80 "top_procs.m"
        top_procs__V_117_117 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 17)));
#line 80 "top_procs.m"
        top_procs__V_118_118 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 18)));
#line 80 "top_procs.m"
        top_procs__V_119_119 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 19)));
#line 80 "top_procs.m"
        top_procs__V_120_120 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 20)));
#line 80 "top_procs.m"
        top_procs__V_121_121 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 21)));
#line 80 "top_procs.m"
        top_procs__V_122_122 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 22)));
#line 80 "top_procs.m"
        top_procs__V_123_123 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 23)));
#line 80 "top_procs.m"
        top_procs__V_124_124 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 24)));
#line 80 "top_procs.m"
        top_procs__V_125_125 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 25)));
#line 80 "top_procs.m"
        top_procs__V_126_126 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 26)));
#line 80 "top_procs.m"
        top_procs__V_127_127 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 27)));
#line 80 "top_procs.m"
        top_procs__V_128_128 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__Deep_11, (MR_Integer) 28)));
#line 80 "top_procs.m"
        {
#line 80 "top_procs.m"
          profile__deep_lookup_proc_dynamics_3_p_0(top_procs__Deep_11, top_procs__V_39_39, &top_procs__RootPD_19);
        }
#line 81 "top_procs.m"
        top_procs__V_40_40 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__RootPD_19, (MR_Integer) 0)));
#line 81 "top_procs.m"
        top_procs__V_129_129 = ((MR_ArrayPtr) (MR_hl_field(MR_mktag(0), top_procs__RootPD_19, (MR_Integer) 1)));
#line 81 "top_procs.m"
        top_procs__V_130_130 = ((MR_Word) (MR_hl_field(MR_mktag(0), top_procs__RootPD_19, (MR_Integer) 2)));
#line 81 "top_procs.m"
        top_procs__RootPSI_20 = (MR_Integer) top_procs__V_40_40;
#line 82 "top_procs.m"
        {
#line 82 "top_procs.m"
          top_procs__V_41_41 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 6 * sizeof(MR_Word)), NULL, NULL);
#line 82 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__V_41_41, 0) = ((MR_Box) (&top_procs_scalar_common_3[0]));
#line 82 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__V_41_41, 1) = ((MR_Box) (top_procs__find_top_procs_5_f_0_1));
#line 82 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__V_41_41, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 3));
#line 82 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__V_41_41, 3) = ((MR_Box) (top_procs__Deep_11));
#line 82 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__V_41_41, 4) = ((MR_Box) (top_procs__RootPSI_20));
#line 82 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__V_41_41, 5) = ((MR_Box) (top_procs__FilterPred_15));
#line 82 "top_procs.m"
        }
#line 18707 "top_procs.c"
        top_procs__TypeCtorInfo_133_133 = (MR_Word) &mercury__builtin__builtin__type_ctor_info_int_0;
#line 82 "top_procs.m"
        {
#line 82 "top_procs.m"
          mercury__list__filter_3_p_0(top_procs__TypeCtorInfo_133_133, top_procs__V_41_41, top_procs__PSIs0_18, &top_procs__PSIs_21);
        }
#line 83 "top_procs.m"
        {
#line 83 "top_procs.m"
          top_procs__SortPred_22 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 5 * sizeof(MR_Word)), NULL, NULL);
#line 83 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__SortPred_22, 0) = ((MR_Box) (&top_procs_scalar_common_4[0]));
#line 83 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__SortPred_22, 1) = ((MR_Box) (top_procs__find_top_procs_5_f_0_2));
#line 83 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__SortPred_22, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 2));
#line 83 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__SortPred_22, 3) = ((MR_Box) (top_procs__Deep_11));
#line 83 "top_procs.m"
          MR_hl_field(MR_mktag(0), top_procs__SortPred_22, 4) = ((MR_Box) (top_procs__RawSortFunc_14));
#line 83 "top_procs.m"
        }
#line 87 "top_procs.m"
        {
#line 87 "top_procs.m"
          mercury__list__sort_3_p_0(top_procs__TypeCtorInfo_133_133, top_procs__SortPred_22, top_procs__PSIs_21, &top_procs__DescendingPSIs_26);
        }
#line 96 "top_procs.m"
        if (((MR_tag((MR_Word) top_procs__Limit_10)) == (MR_mktag((MR_Integer) 0))))
#line 89 "top_procs.m"
          {
#line 89 "top_procs.m"
            MR_Integer top_procs__First_27 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Limit_10, (MR_Integer) 0)));
#line 89 "top_procs.m"
            MR_Integer top_procs__Last_28 = ((MR_Integer) (MR_hl_field(MR_mktag(0), top_procs__Limit_10, (MR_Integer) 1)));
#line 93 "top_procs.m"
            MR_Word top_procs__RemainingPSIs_29;
#line 90 "top_procs.m"
            MR_Integer top_procs__V_49_49 = (top_procs__First_27 - (MR_Integer) 1);

#line 90 "top_procs.m"
            {
#line 90 "top_procs.m"
              top_procs__succeeded = mercury__list__drop_3_p_0(top_procs__TypeCtorInfo_133_133, top_procs__V_49_49, top_procs__DescendingPSIs_26, &top_procs__RemainingPSIs_29);
            }
#line 93 "top_procs.m"
            if (top_procs__succeeded)
#line 91 "top_procs.m"
              {
#line 91 "top_procs.m"
                MR_Word top_procs__TopPSIs_30;
#line 91 "top_procs.m"
                MR_Integer top_procs__V_51_51;
#line 91 "top_procs.m"
                MR_Integer top_procs__V_52_52 = (top_procs__Last_28 - top_procs__First_27);

#line 91 "top_procs.m"
                top_procs__V_51_51 = (top_procs__V_52_52 + (MR_Integer) 1);
#line 91 "top_procs.m"
                {
#line 91 "top_procs.m"
                  mercury__list__take_upto_3_p_0(top_procs__TypeCtorInfo_133_133, top_procs__V_51_51, top_procs__RemainingPSIs_29, &top_procs__TopPSIs_30);
                }
#line 92 "top_procs.m"
                {
#line 92 "top_procs.m"
                  top_procs__MaybeTopPSIs_12 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 1 * sizeof(MR_Word)), NULL, NULL);
#line 92 "top_procs.m"
                  MR_hl_field(MR_mktag(0), top_procs__MaybeTopPSIs_12, 0) = ((MR_Box) (top_procs__TopPSIs_30));
#line 92 "top_procs.m"
                }
#line 91 "top_procs.m"
              }
#line 93 "top_procs.m"
            else
#line 94 "top_procs.m"
              {
#line 94 "top_procs.m"
                top_procs__MaybeTopPSIs_12 = (MR_Word) &top_procs_scalar_common_2[1];
#line 94 "top_procs.m"
              }
#line 89 "top_procs.m"
          }
#line 96 "top_procs.m"
        else
#line 96 "top_procs.m"
          if (((MR_tag((MR_Word) top_procs__Limit_10)) == (MR_mktag((MR_Integer) 1))))
#line 97 "top_procs.m"
            {
#line 97 "top_procs.m"
              MR_Float top_procs__Threshold_31 = MR_unbox_float((MR_hl_field(MR_mktag(1), top_procs__Limit_10, (MR_Integer) 0)));
#line 97 "top_procs.m"
              MR_Word top_procs__ThresholdCompatible_32;
#line 97 "top_procs.m"
              MR_Word top_procs__RawThresholdPred_33;

#line 98 "top_procs.m"
              {
#line 98 "top_procs.m"
                top_procs__find_threshold_percent_predicate_4_p_0(top_procs__Sort_7, top_procs__InclDesc_8, &top_procs__ThresholdCompatible_32, &top_procs__RawThresholdPred_33);
              }
#line 103 "top_procs.m"
              if ((top_procs__ThresholdCompatible_32 == (MR_Integer) 0))
#line 101 "top_procs.m"
                {
#line 102 "top_procs.m"
                  top_procs__MaybeTopPSIs_12 = (MR_Word) MR_mkword(MR_mktag(1), &top_procs_scalar_common_2[2]);
#line 101 "top_procs.m"
                }
#line 103 "top_procs.m"
              else
#line 104 "top_procs.m"
                {
#line 104 "top_procs.m"
                  MR_Word top_procs__ThresholdPred_34;
#line 104 "top_procs.m"
                  MR_Word top_procs__TopPSIs_60;
#line 108 "top_procs.m"
                  MR_Word top_procs__V_36_36;

#line 105 "top_procs.m"
                  {
#line 105 "top_procs.m"
                    top_procs__ThresholdPred_34 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 6 * sizeof(MR_Word)), NULL, NULL);
#line 105 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__ThresholdPred_34, 0) = ((MR_Box) (&top_procs_scalar_common_3[1]));
#line 105 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__ThresholdPred_34, 1) = ((MR_Box) (top_procs__find_top_procs_5_f_0_3));
#line 105 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__ThresholdPred_34, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 3));
#line 105 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__ThresholdPred_34, 3) = ((MR_Box) (top_procs__Deep_11));
#line 105 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__ThresholdPred_34, 4) = MR_box_float(top_procs__Threshold_31);
#line 105 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__ThresholdPred_34, 5) = ((MR_Box) (top_procs__RawThresholdPred_33));
#line 105 "top_procs.m"
                  }
#line 108 "top_procs.m"
                  {
#line 108 "top_procs.m"
                    mercury__list__takewhile_4_p_0(top_procs__TypeCtorInfo_133_133, top_procs__ThresholdPred_34, top_procs__DescendingPSIs_26, &top_procs__TopPSIs_60, &top_procs__V_36_36);
                  }
#line 109 "top_procs.m"
                  {
#line 109 "top_procs.m"
                    top_procs__MaybeTopPSIs_12 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 1 * sizeof(MR_Word)), NULL, NULL);
#line 109 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__MaybeTopPSIs_12, 0) = ((MR_Box) (top_procs__TopPSIs_60));
#line 109 "top_procs.m"
                  }
#line 104 "top_procs.m"
                }
#line 97 "top_procs.m"
            }
#line 96 "top_procs.m"
          else
#line 112 "top_procs.m"
            {
#line 112 "top_procs.m"
              MR_Float top_procs__Threshold_69 = MR_unbox_float((MR_hl_field(MR_mktag(2), top_procs__Limit_10, (MR_Integer) 0)));
#line 112 "top_procs.m"
              MR_Word top_procs__ThresholdCompatible_70;
#line 112 "top_procs.m"
              MR_Word top_procs__RawThresholdPred_71;

#line 113 "top_procs.m"
              {
#line 113 "top_procs.m"
                top_procs__find_threshold_value_predicate_4_p_0(top_procs__Sort_7, top_procs__InclDesc_8, &top_procs__ThresholdCompatible_70, &top_procs__RawThresholdPred_71);
              }
#line 118 "top_procs.m"
              if ((top_procs__ThresholdCompatible_70 == (MR_Integer) 0))
#line 116 "top_procs.m"
                {
#line 117 "top_procs.m"
                  top_procs__MaybeTopPSIs_12 = (MR_Word) MR_mkword(MR_mktag(1), &top_procs_scalar_common_2[2]);
#line 116 "top_procs.m"
                }
#line 118 "top_procs.m"
              else
#line 119 "top_procs.m"
                {
#line 119 "top_procs.m"
                  MR_Word top_procs__TopPSIs_64;
#line 119 "top_procs.m"
                  MR_Word top_procs__ThresholdPred_65;
#line 123 "top_procs.m"
                  MR_Word top_procs__V_37_37;

#line 120 "top_procs.m"
                  {
#line 120 "top_procs.m"
                    top_procs__ThresholdPred_65 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 6 * sizeof(MR_Word)), NULL, NULL);
#line 120 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__ThresholdPred_65, 0) = ((MR_Box) (&top_procs_scalar_common_3[1]));
#line 120 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__ThresholdPred_65, 1) = ((MR_Box) (top_procs__find_top_procs_5_f_0_4));
#line 120 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__ThresholdPred_65, 2) = ((MR_Box) (MR_Word) ((MR_Integer) 3));
#line 120 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__ThresholdPred_65, 3) = ((MR_Box) (top_procs__Deep_11));
#line 120 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__ThresholdPred_65, 4) = MR_box_float(top_procs__Threshold_69);
#line 120 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__ThresholdPred_65, 5) = ((MR_Box) (top_procs__RawThresholdPred_71));
#line 120 "top_procs.m"
                  }
#line 123 "top_procs.m"
                  {
#line 123 "top_procs.m"
                    mercury__list__takewhile_4_p_0(top_procs__TypeCtorInfo_133_133, top_procs__ThresholdPred_65, top_procs__DescendingPSIs_26, &top_procs__TopPSIs_64, &top_procs__V_37_37);
                  }
#line 124 "top_procs.m"
                  {
#line 124 "top_procs.m"
                    top_procs__MaybeTopPSIs_12 = (MR_Word) MR_new_object(MR_Word, ((MR_Integer) 1 * sizeof(MR_Word)), NULL, NULL);
#line 124 "top_procs.m"
                    MR_hl_field(MR_mktag(0), top_procs__MaybeTopPSIs_12, 0) = ((MR_Box) (top_procs__TopPSIs_64));
#line 124 "top_procs.m"
                  }
#line 119 "top_procs.m"
                }
#line 112 "top_procs.m"
            }
#line 76 "top_procs.m"
      }
#line 69 "top_procs.m"
    return top_procs__MaybeTopPSIs_12;
#line 69 "top_procs.m"
  }
#line 31 "top_procs.m"
}

void mercury__top_procs__init(void)
{
}

void mercury__top_procs__init_type_tables(void)
{
	static MR_bool initialised = MR_FALSE;
	if (initialised) return;
	initialised = MR_TRUE;

	MR_register_type_ctor_info(&top_procs__top_procs__type_ctor_info_compare_line_groups_func_2);
	MR_register_type_ctor_info(&top_procs__top_procs__type_ctor_info_compare_proc_statics_0);
	MR_register_type_ctor_info(&top_procs__top_procs__type_ctor_info_line_group_2);
}

void mercury__top_procs__init_debugger(void)
{
	MR_fatal_error("debugger initialization in MLDS grade");
}

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

/* :- end_module top_procs. */
