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


/* :- module bag. */
/* :- interface. */

#ifndef MR_HEADER_GUARD_bag
#define MR_HEADER_GUARD_bag

#ifdef __cplusplus
extern "C" {
#endif

#include "mercury.h"


#ifndef BAG_DECL_GUARD
#define BAG_DECL_GUARD

#endif




#line 41 "bag.mih.tmp"
extern const MR_TypeCtorInfo_Struct mercury__bag__bag__type_ctor_info_bag_1;

#line 394 "bag.m"
void MR_CALL 
mercury__bag__LCMCpr_to_list_2_1_2_p_0(
#line 394 "bag.m"
  MR_Word mercury__bag__param_1,
#line 394 "bag.m"
  MR_Word mercury__bag__param_2,
#line 394 "bag.m"
  MR_Word * mercury__bag__param_3);

#line 46 "bag.m"
void MR_CALL 
mercury__bag__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_105_110_115_101_114_116_95_95_91_84_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_p_0(
#line 46 "bag.m"
  MR_Word mercury__bag__param_1,
#line 46 "bag.m"
  MR_Word mercury__bag__param_2,
#line 46 "bag.m"
  MR_Word mercury__bag__param_3,
#line 46 "bag.m"
  MR_Word mercury__bag__param_4,
#line 46 "bag.m"
  MR_Word * mercury__bag__param_5);

#line 51 "bag.m"
void MR_CALL 
mercury__bag__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_105_110_115_101_114_116_95_108_105_115_116_95_95_91_84_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_p_0(
#line 51 "bag.m"
  MR_Word mercury__bag__param_1,
#line 51 "bag.m"
  MR_Word mercury__bag__param_2,
#line 51 "bag.m"
  MR_Word mercury__bag__param_3,
#line 51 "bag.m"
  MR_Word mercury__bag__param_4,
#line 51 "bag.m"
  MR_Word * mercury__bag__param_5);

#line 56 "bag.m"
void MR_CALL 
mercury__bag__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_105_110_115_101_114_116_95_115_101_116_95_95_91_84_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_p_0(
#line 56 "bag.m"
  MR_Word mercury__bag__param_1,
#line 56 "bag.m"
  MR_Word mercury__bag__param_2,
#line 56 "bag.m"
  MR_Word mercury__bag__param_3,
#line 56 "bag.m"
  MR_Word mercury__bag__param_4,
#line 56 "bag.m"
  MR_Word * mercury__bag__param_5);

#line 115 "bag.m"
MR_bool MR_CALL 
mercury__bag__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_114_101_109_111_118_101_95_95_91_84_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_p_0(
#line 115 "bag.m"
  MR_Word mercury__bag__param_1,
#line 115 "bag.m"
  MR_Word mercury__bag__param_2,
#line 115 "bag.m"
  MR_Word mercury__bag__param_3,
#line 115 "bag.m"
  MR_Word mercury__bag__param_4,
#line 115 "bag.m"
  MR_Word * mercury__bag__param_5);

#line 134 "bag.m"
MR_bool MR_CALL 
mercury__bag__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_114_101_109_111_118_101_95_108_105_115_116_95_95_91_84_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_p_0(
#line 134 "bag.m"
  MR_Word mercury__bag__param_1,
#line 134 "bag.m"
  MR_Word mercury__bag__param_2,
#line 134 "bag.m"
  MR_Word mercury__bag__param_3,
#line 134 "bag.m"
  MR_Word mercury__bag__param_4,
#line 134 "bag.m"
  MR_Word * mercury__bag__param_5);

#line 141 "bag.m"
void MR_CALL 
mercury__bag__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_100_101_116_95_114_101_109_111_118_101_95_108_105_115_116_95_95_91_84_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_p_0(
#line 141 "bag.m"
  MR_Word mercury__bag__param_1,
#line 141 "bag.m"
  MR_Word mercury__bag__param_2,
#line 141 "bag.m"
  MR_Word mercury__bag__param_3,
#line 141 "bag.m"
  MR_Word mercury__bag__param_4,
#line 141 "bag.m"
  MR_Word * mercury__bag__param_5);

#line 152 "bag.m"
void MR_CALL 
mercury__bag__f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_111_114_95_102_117_110_99_95_95_100_101_116_95_114_101_109_111_118_101_95_115_101_116_95_95_91_84_32_61_32_118_97_114_40_86_95_50_41_93_95_48_95_49_3_p_0(
#line 152 "bag.m"
  MR_Word mercury__bag__param_1,
#line 152 "bag.m"
  MR_Word mercury__bag__param_2,
#line 152 "bag.m"
  MR_Word mercury__bag__param_3,
#line 152 "bag.m"
  MR_Word mercury__bag__param_4,
#line 152 "bag.m"
  MR_Word * mercury__bag__param_5);

#line 303 "bag.m"
void MR_CALL 
mercury__bag____Compare____bag_1_0(
#line 303 "bag.m"
  MR_Word mercury__bag__param_1,
#line 303 "bag.m"
  MR_Word * mercury__bag__param_2,
#line 303 "bag.m"
  MR_Word mercury__bag__param_3,
#line 303 "bag.m"
  MR_Word mercury__bag__param_4);

#line 303 "bag.m"
MR_bool MR_CALL 
mercury__bag____Unify____bag_1_0(
#line 303 "bag.m"
  MR_Word mercury__bag__param_1,
#line 303 "bag.m"
  MR_Word mercury__bag__param_2,
#line 303 "bag.m"
  MR_Word mercury__bag__param_3);

#line 557 "bag.m"
void MR_CALL 
mercury__bag__intersect_2_4_p_0(
#line 557 "bag.m"
  MR_Word mercury__bag__param_1,
#line 557 "bag.m"
  MR_Word mercury__bag__param_2,
#line 557 "bag.m"
  MR_Word mercury__bag__param_3,
#line 557 "bag.m"
  MR_Word mercury__bag__param_4,
#line 557 "bag.m"
  MR_Word * mercury__bag__param_5);

#line 394 "bag.m"
void MR_CALL 
mercury__bag__to_list_2_2_p_0(
#line 394 "bag.m"
  MR_Word mercury__bag__param_1,
#line 394 "bag.m"
  MR_Word mercury__bag__param_2,
#line 394 "bag.m"
  MR_Word * mercury__bag__param_3);

#line 270 "bag.m"
MR_bool MR_CALL 
mercury__bag__foldl2_6_p_5(
#line 270 "bag.m"
  MR_Word mercury__bag__param_1,
#line 270 "bag.m"
  MR_Word mercury__bag__param_2,
#line 270 "bag.m"
  MR_Word mercury__bag__param_3,
#line 270 "bag.m"
  MR_Word mercury__bag__param_4,
#line 270 "bag.m"
  MR_Word mercury__bag__param_5,
#line 270 "bag.m"
  MR_Box mercury__bag__param_6,
#line 270 "bag.m"
  MR_Box * mercury__bag__param_7,
#line 270 "bag.m"
  MR_Box mercury__bag__param_8,
#line 270 "bag.m"
  MR_Box * mercury__bag__param_9);

#line 268 "bag.m"
MR_bool MR_CALL 
mercury__bag__foldl2_6_p_4(
#line 268 "bag.m"
  MR_Word mercury__bag__param_1,
#line 268 "bag.m"
  MR_Word mercury__bag__param_2,
#line 268 "bag.m"
  MR_Word mercury__bag__param_3,
#line 268 "bag.m"
  MR_Word mercury__bag__param_4,
#line 268 "bag.m"
  MR_Word mercury__bag__param_5,
#line 268 "bag.m"
  MR_Box mercury__bag__param_6,
#line 268 "bag.m"
  MR_Box * mercury__bag__param_7,
#line 268 "bag.m"
  MR_Box mercury__bag__param_8,
#line 268 "bag.m"
  MR_Box * mercury__bag__param_9);

#line 266 "bag.m"
MR_bool MR_CALL 
mercury__bag__foldl2_6_p_3(
#line 266 "bag.m"
  MR_Word mercury__bag__param_1,
#line 266 "bag.m"
  MR_Word mercury__bag__param_2,
#line 266 "bag.m"
  MR_Word mercury__bag__param_3,
#line 266 "bag.m"
  MR_Word mercury__bag__param_4,
#line 266 "bag.m"
  MR_Word mercury__bag__param_5,
#line 266 "bag.m"
  MR_Box mercury__bag__param_6,
#line 266 "bag.m"
  MR_Box * mercury__bag__param_7,
#line 266 "bag.m"
  MR_Box mercury__bag__param_8,
#line 266 "bag.m"
  MR_Box * mercury__bag__param_9);

#line 264 "bag.m"
void MR_CALL 
mercury__bag__foldl2_6_p_2(
#line 264 "bag.m"
  MR_Word mercury__bag__param_1,
#line 264 "bag.m"
  MR_Word mercury__bag__param_2,
#line 264 "bag.m"
  MR_Word mercury__bag__param_3,
#line 264 "bag.m"
  MR_Word mercury__bag__param_4,
#line 264 "bag.m"
  MR_Word mercury__bag__param_5,
#line 264 "bag.m"
  MR_Box mercury__bag__param_6,
#line 264 "bag.m"
  MR_Box * mercury__bag__param_7,
#line 264 "bag.m"
  MR_Box mercury__bag__param_8,
#line 264 "bag.m"
  MR_Box * mercury__bag__param_9);

#line 262 "bag.m"
void MR_CALL 
mercury__bag__foldl2_6_p_1(
#line 262 "bag.m"
  MR_Word mercury__bag__param_1,
#line 262 "bag.m"
  MR_Word mercury__bag__param_2,
#line 262 "bag.m"
  MR_Word mercury__bag__param_3,
#line 262 "bag.m"
  MR_Word mercury__bag__param_4,
#line 262 "bag.m"
  MR_Word mercury__bag__param_5,
#line 262 "bag.m"
  MR_Box mercury__bag__param_6,
#line 262 "bag.m"
  MR_Box * mercury__bag__param_7,
#line 262 "bag.m"
  MR_Box mercury__bag__param_8,
#line 262 "bag.m"
  MR_Box * mercury__bag__param_9);

#line 260 "bag.m"
void MR_CALL 
mercury__bag__foldl2_6_p_0(
#line 260 "bag.m"
  MR_Word mercury__bag__param_1,
#line 260 "bag.m"
  MR_Word mercury__bag__param_2,
#line 260 "bag.m"
  MR_Word mercury__bag__param_3,
#line 260 "bag.m"
  MR_Word mercury__bag__param_4,
#line 260 "bag.m"
  MR_Word mercury__bag__param_5,
#line 260 "bag.m"
  MR_Box mercury__bag__param_6,
#line 260 "bag.m"
  MR_Box * mercury__bag__param_7,
#line 260 "bag.m"
  MR_Box mercury__bag__param_8,
#line 260 "bag.m"
  MR_Box * mercury__bag__param_9);

#line 255 "bag.m"
MR_bool MR_CALL 
mercury__bag__foldl_4_p_5(
#line 255 "bag.m"
  MR_Word mercury__bag__param_1,
#line 255 "bag.m"
  MR_Word mercury__bag__param_2,
#line 255 "bag.m"
  MR_Word mercury__bag__param_3,
#line 255 "bag.m"
  MR_Word mercury__bag__param_4,
#line 255 "bag.m"
  MR_Box mercury__bag__param_5,
#line 255 "bag.m"
  MR_Box * mercury__bag__param_6);

#line 254 "bag.m"
MR_bool MR_CALL 
mercury__bag__foldl_4_p_4(
#line 254 "bag.m"
  MR_Word mercury__bag__param_1,
#line 254 "bag.m"
  MR_Word mercury__bag__param_2,
#line 254 "bag.m"
  MR_Word mercury__bag__param_3,
#line 254 "bag.m"
  MR_Word mercury__bag__param_4,
#line 254 "bag.m"
  MR_Box mercury__bag__param_5,
#line 254 "bag.m"
  MR_Box * mercury__bag__param_6);

#line 253 "bag.m"
MR_bool MR_CALL 
mercury__bag__foldl_4_p_3(
#line 253 "bag.m"
  MR_Word mercury__bag__param_1,
#line 253 "bag.m"
  MR_Word mercury__bag__param_2,
#line 253 "bag.m"
  MR_Word mercury__bag__param_3,
#line 253 "bag.m"
  MR_Word mercury__bag__param_4,
#line 253 "bag.m"
  MR_Box mercury__bag__param_5,
#line 253 "bag.m"
  MR_Box * mercury__bag__param_6);

#line 252 "bag.m"
void MR_CALL 
mercury__bag__foldl_4_p_2(
#line 252 "bag.m"
  MR_Word mercury__bag__param_1,
#line 252 "bag.m"
  MR_Word mercury__bag__param_2,
#line 252 "bag.m"
  MR_Word mercury__bag__param_3,
#line 252 "bag.m"
  MR_Word mercury__bag__param_4,
#line 252 "bag.m"
  MR_Box mercury__bag__param_5,
#line 252 "bag.m"
  MR_Box * mercury__bag__param_6);

#line 251 "bag.m"
void MR_CALL 
mercury__bag__foldl_4_p_1(
#line 251 "bag.m"
  MR_Word mercury__bag__param_1,
#line 251 "bag.m"
  MR_Word mercury__bag__param_2,
#line 251 "bag.m"
  MR_Word mercury__bag__param_3,
#line 251 "bag.m"
  MR_Word mercury__bag__param_4,
#line 251 "bag.m"
  MR_Box mercury__bag__param_5,
#line 251 "bag.m"
  MR_Box * mercury__bag__param_6);

#line 250 "bag.m"
void MR_CALL 
mercury__bag__foldl_4_p_0(
#line 250 "bag.m"
  MR_Word mercury__bag__param_1,
#line 250 "bag.m"
  MR_Word mercury__bag__param_2,
#line 250 "bag.m"
  MR_Word mercury__bag__param_3,
#line 250 "bag.m"
  MR_Word mercury__bag__param_4,
#line 250 "bag.m"
  MR_Box mercury__bag__param_5,
#line 250 "bag.m"
  MR_Box * mercury__bag__param_6);

#line 243 "bag.m"
MR_bool MR_CALL 
mercury__bag__subset_compare_3_p_0(
#line 243 "bag.m"
  MR_Word mercury__bag__param_1,
#line 243 "bag.m"
  MR_Word * mercury__bag__param_2,
#line 243 "bag.m"
  MR_Word mercury__bag__param_3,
#line 243 "bag.m"
  MR_Word mercury__bag__param_4);

#line 234 "bag.m"
MR_bool MR_CALL 
mercury__bag__remove_smallest_3_p_0(
#line 234 "bag.m"
  MR_Word mercury__bag__param_1,
#line 234 "bag.m"
  MR_Box * mercury__bag__param_2,
#line 234 "bag.m"
  MR_Word mercury__bag__param_3,
#line 234 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 230 "bag.m"
MR_bool MR_CALL 
mercury__bag__is_empty_1_p_0(
#line 230 "bag.m"
  MR_Word mercury__bag__param_1,
#line 230 "bag.m"
  MR_Word mercury__bag__param_2);

#line 226 "bag.m"
MR_bool MR_CALL 
mercury__bag__is_subbag_2_p_0(
#line 226 "bag.m"
  MR_Word mercury__bag__param_1,
#line 226 "bag.m"
  MR_Word mercury__bag__param_2,
#line 226 "bag.m"
  MR_Word mercury__bag__param_3);

#line 217 "bag.m"
void MR_CALL 
mercury__bag__least_upper_bound_3_p_0(
#line 217 "bag.m"
  MR_Word mercury__bag__param_1,
#line 217 "bag.m"
  MR_Word mercury__bag__param_2,
#line 217 "bag.m"
  MR_Word mercury__bag__param_3,
#line 217 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 216 "bag.m"
MR_Word MR_CALL 
mercury__bag__least_upper_bound_2_f_0(
#line 216 "bag.m"
  MR_Word mercury__bag__param_1,
#line 216 "bag.m"
  MR_Word mercury__bag__param_2,
#line 216 "bag.m"
  MR_Word mercury__bag__param_3);

#line 207 "bag.m"
MR_bool MR_CALL 
mercury__bag__intersect_2_p_0(
#line 207 "bag.m"
  MR_Word mercury__bag__param_1,
#line 207 "bag.m"
  MR_Word mercury__bag__param_2,
#line 207 "bag.m"
  MR_Word mercury__bag__param_3);

#line 202 "bag.m"
void MR_CALL 
mercury__bag__intersect_3_p_0(
#line 202 "bag.m"
  MR_Word mercury__bag__param_1,
#line 202 "bag.m"
  MR_Word mercury__bag__param_2,
#line 202 "bag.m"
  MR_Word mercury__bag__param_3,
#line 202 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 201 "bag.m"
MR_Word MR_CALL 
mercury__bag__intersect_2_f_0(
#line 201 "bag.m"
  MR_Word mercury__bag__param_1,
#line 201 "bag.m"
  MR_Word mercury__bag__param_2,
#line 201 "bag.m"
  MR_Word mercury__bag__param_3);

#line 195 "bag.m"
void MR_CALL 
mercury__bag__union_3_p_0(
#line 195 "bag.m"
  MR_Word mercury__bag__param_1,
#line 195 "bag.m"
  MR_Word mercury__bag__param_2,
#line 195 "bag.m"
  MR_Word mercury__bag__param_3,
#line 195 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 194 "bag.m"
MR_Word MR_CALL 
mercury__bag__union_2_f_0(
#line 194 "bag.m"
  MR_Word mercury__bag__param_1,
#line 194 "bag.m"
  MR_Word mercury__bag__param_2,
#line 194 "bag.m"
  MR_Word mercury__bag__param_3);

#line 187 "bag.m"
void MR_CALL 
mercury__bag__subtract_3_p_0(
#line 187 "bag.m"
  MR_Word mercury__bag__param_1,
#line 187 "bag.m"
  MR_Word mercury__bag__param_2,
#line 187 "bag.m"
  MR_Word mercury__bag__param_3,
#line 187 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 186 "bag.m"
MR_Word MR_CALL 
mercury__bag__subtract_2_f_0(
#line 186 "bag.m"
  MR_Word mercury__bag__param_1,
#line 186 "bag.m"
  MR_Word mercury__bag__param_2,
#line 186 "bag.m"
  MR_Word mercury__bag__param_3);

#line 177 "bag.m"
void MR_CALL 
mercury__bag__count_value_3_p_0(
#line 177 "bag.m"
  MR_Word mercury__bag__param_1,
#line 177 "bag.m"
  MR_Word mercury__bag__param_2,
#line 177 "bag.m"
  MR_Box mercury__bag__param_3,
#line 177 "bag.m"
  MR_Integer * mercury__bag__param_4);

#line 176 "bag.m"
MR_Integer MR_CALL 
mercury__bag__count_value_2_f_0(
#line 176 "bag.m"
  MR_Word mercury__bag__param_1,
#line 176 "bag.m"
  MR_Word mercury__bag__param_2,
#line 176 "bag.m"
  MR_Box mercury__bag__param_3);

#line 172 "bag.m"
MR_bool MR_CALL 
mercury__bag__contains_2_p_0(
#line 172 "bag.m"
  MR_Word mercury__bag__param_1,
#line 172 "bag.m"
  MR_Word mercury__bag__param_2,
#line 172 "bag.m"
  MR_Box mercury__bag__param_3);

#line 168 "bag.m"
void MR_CALL 
mercury__bag__delete_all_3_p_0(
#line 168 "bag.m"
  MR_Word mercury__bag__param_1,
#line 168 "bag.m"
  MR_Box mercury__bag__param_2,
#line 168 "bag.m"
  MR_Word mercury__bag__param_3,
#line 168 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 167 "bag.m"
MR_Word MR_CALL 
mercury__bag__delete_all_2_f_0(
#line 167 "bag.m"
  MR_Word mercury__bag__param_1,
#line 167 "bag.m"
  MR_Word mercury__bag__param_2,
#line 167 "bag.m"
  MR_Box mercury__bag__param_3);

#line 163 "bag.m"
MR_bool MR_CALL 
mercury__bag__remove_all_3_p_0(
#line 163 "bag.m"
  MR_Word mercury__bag__param_1,
#line 163 "bag.m"
  MR_Box mercury__bag__param_2,
#line 163 "bag.m"
  MR_Word mercury__bag__param_3,
#line 163 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 158 "bag.m"
void MR_CALL 
mercury__bag__delete_3_p_0(
#line 158 "bag.m"
  MR_Word mercury__bag__param_1,
#line 158 "bag.m"
  MR_Box mercury__bag__param_2,
#line 158 "bag.m"
  MR_Word mercury__bag__param_3,
#line 158 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 157 "bag.m"
MR_Word MR_CALL 
mercury__bag__delete_2_f_0(
#line 157 "bag.m"
  MR_Word mercury__bag__param_1,
#line 157 "bag.m"
  MR_Word mercury__bag__param_2,
#line 157 "bag.m"
  MR_Box mercury__bag__param_3);

#line 152 "bag.m"
void MR_CALL 
mercury__bag__det_remove_set_3_p_0(
#line 152 "bag.m"
  MR_Word mercury__bag__param_1,
#line 152 "bag.m"
  MR_Word mercury__bag__param_2,
#line 152 "bag.m"
  MR_Word mercury__bag__param_3,
#line 152 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 151 "bag.m"
MR_Word MR_CALL 
mercury__bag__det_remove_set_2_f_0(
#line 151 "bag.m"
  MR_Word mercury__bag__param_1,
#line 151 "bag.m"
  MR_Word mercury__bag__param_2,
#line 151 "bag.m"
  MR_Word mercury__bag__param_3);

#line 146 "bag.m"
MR_bool MR_CALL 
mercury__bag__remove_set_3_p_0(
#line 146 "bag.m"
  MR_Word mercury__bag__param_1,
#line 146 "bag.m"
  MR_Word mercury__bag__param_2,
#line 146 "bag.m"
  MR_Word mercury__bag__param_3,
#line 146 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 141 "bag.m"
void MR_CALL 
mercury__bag__det_remove_list_3_p_0(
#line 141 "bag.m"
  MR_Word mercury__bag__param_1,
#line 141 "bag.m"
  MR_Word mercury__bag__param_2,
#line 141 "bag.m"
  MR_Word mercury__bag__param_3,
#line 141 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 140 "bag.m"
MR_Word MR_CALL 
mercury__bag__det_remove_list_2_f_0(
#line 140 "bag.m"
  MR_Word mercury__bag__param_1,
#line 140 "bag.m"
  MR_Word mercury__bag__param_2,
#line 140 "bag.m"
  MR_Word mercury__bag__param_3);

#line 134 "bag.m"
MR_bool MR_CALL 
mercury__bag__remove_list_3_p_0(
#line 134 "bag.m"
  MR_Word mercury__bag__param_1,
#line 134 "bag.m"
  MR_Word mercury__bag__param_2,
#line 134 "bag.m"
  MR_Word mercury__bag__param_3,
#line 134 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 121 "bag.m"
void MR_CALL 
mercury__bag__det_remove_3_p_0(
#line 121 "bag.m"
  MR_Word mercury__bag__param_1,
#line 121 "bag.m"
  MR_Box mercury__bag__param_2,
#line 121 "bag.m"
  MR_Word mercury__bag__param_3,
#line 121 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 120 "bag.m"
MR_Word MR_CALL 
mercury__bag__det_remove_2_f_0(
#line 120 "bag.m"
  MR_Word mercury__bag__param_1,
#line 120 "bag.m"
  MR_Word mercury__bag__param_2,
#line 120 "bag.m"
  MR_Box mercury__bag__param_3);

#line 115 "bag.m"
MR_bool MR_CALL 
mercury__bag__remove_3_p_0(
#line 115 "bag.m"
  MR_Word mercury__bag__param_1,
#line 115 "bag.m"
  MR_Box mercury__bag__param_2,
#line 115 "bag.m"
  MR_Word mercury__bag__param_3,
#line 115 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 110 "bag.m"
void MR_CALL 
mercury__bag__to_set_without_duplicates_2_p_0(
#line 110 "bag.m"
  MR_Word mercury__bag__param_1,
#line 110 "bag.m"
  MR_Word mercury__bag__param_2,
#line 110 "bag.m"
  MR_Word * mercury__bag__param_3);

#line 109 "bag.m"
MR_Word MR_CALL 
mercury__bag__to_set_without_duplicates_1_f_0(
#line 109 "bag.m"
  MR_Word mercury__bag__param_1,
#line 109 "bag.m"
  MR_Word mercury__bag__param_2);

#line 108 "bag.m"
MR_Word MR_CALL 
mercury__bag__to_set_1_f_0(
#line 108 "bag.m"
  MR_Word mercury__bag__param_1,
#line 108 "bag.m"
  MR_Word mercury__bag__param_2);

#line 104 "bag.m"
void MR_CALL 
mercury__bag__to_list_without_duplicates_2_p_0(
#line 104 "bag.m"
  MR_Word mercury__bag__param_1,
#line 104 "bag.m"
  MR_Word mercury__bag__param_2,
#line 104 "bag.m"
  MR_Word * mercury__bag__param_3);

#line 103 "bag.m"
MR_Word MR_CALL 
mercury__bag__to_list_without_duplicates_1_f_0(
#line 103 "bag.m"
  MR_Word mercury__bag__param_1,
#line 103 "bag.m"
  MR_Word mercury__bag__param_2);

#line 98 "bag.m"
void MR_CALL 
mercury__bag__to_assoc_list_2_p_0(
#line 98 "bag.m"
  MR_Word mercury__bag__param_1,
#line 98 "bag.m"
  MR_Word mercury__bag__param_2,
#line 98 "bag.m"
  MR_Word * mercury__bag__param_3);

#line 97 "bag.m"
MR_Word MR_CALL 
mercury__bag__to_assoc_list_1_f_0(
#line 97 "bag.m"
  MR_Word mercury__bag__param_1,
#line 97 "bag.m"
  MR_Word mercury__bag__param_2);

#line 91 "bag.m"
void MR_CALL 
mercury__bag__to_list_2_p_0(
#line 91 "bag.m"
  MR_Word mercury__bag__param_1,
#line 91 "bag.m"
  MR_Word mercury__bag__param_2,
#line 91 "bag.m"
  MR_Word * mercury__bag__param_3);

#line 90 "bag.m"
MR_Word MR_CALL 
mercury__bag__to_list_1_f_0(
#line 90 "bag.m"
  MR_Word mercury__bag__param_1,
#line 90 "bag.m"
  MR_Word mercury__bag__param_2);

#line 84 "bag.m"
void MR_CALL 
mercury__bag__from_sorted_list_2_p_0(
#line 84 "bag.m"
  MR_Word mercury__bag__param_1,
#line 84 "bag.m"
  MR_Word mercury__bag__param_2,
#line 84 "bag.m"
  MR_Word * mercury__bag__param_3);

#line 83 "bag.m"
MR_Word MR_CALL 
mercury__bag__from_sorted_list_1_f_0(
#line 83 "bag.m"
  MR_Word mercury__bag__param_1,
#line 83 "bag.m"
  MR_Word mercury__bag__param_2);

#line 79 "bag.m"
void MR_CALL 
mercury__bag__from_set_2_p_0(
#line 79 "bag.m"
  MR_Word mercury__bag__param_1,
#line 79 "bag.m"
  MR_Word mercury__bag__param_2,
#line 79 "bag.m"
  MR_Word * mercury__bag__param_3);

#line 78 "bag.m"
MR_Word MR_CALL 
mercury__bag__from_set_1_f_0(
#line 78 "bag.m"
  MR_Word mercury__bag__param_1,
#line 78 "bag.m"
  MR_Word mercury__bag__param_2);

#line 74 "bag.m"
void MR_CALL 
mercury__bag__from_list_2_p_0(
#line 74 "bag.m"
  MR_Word mercury__bag__param_1,
#line 74 "bag.m"
  MR_Word mercury__bag__param_2,
#line 74 "bag.m"
  MR_Word * mercury__bag__param_3);

#line 73 "bag.m"
MR_Word MR_CALL 
mercury__bag__from_list_1_f_0(
#line 73 "bag.m"
  MR_Word mercury__bag__param_1,
#line 73 "bag.m"
  MR_Word mercury__bag__param_2);

#line 72 "bag.m"
MR_Word MR_CALL 
mercury__bag__bag_1_f_0(
#line 72 "bag.m"
  MR_Word mercury__bag__param_1,
#line 72 "bag.m"
  MR_Word mercury__bag__param_2);

#line 68 "bag.m"
void MR_CALL 
mercury__bag__member_3_p_0(
#line 68 "bag.m"
  MR_Word mercury__bag__param_1,
#line 68 "bag.m"
  MR_Box * mercury__bag__param_2,
#line 68 "bag.m"
  MR_Word mercury__bag__param_3,
#line 68 "bag.m"
  MR_Word * mercury__bag__param_4,
#line 68 "bag.m"
  MR_Cont mercury__bag__param_5,
#line 68 "bag.m"
  void * mercury__bag__param_6);

#line 61 "bag.m"
MR_bool MR_CALL 
mercury__bag__member_2_p_0(
#line 61 "bag.m"
  MR_Word mercury__bag__param_1,
#line 61 "bag.m"
  MR_Box mercury__bag__param_2,
#line 61 "bag.m"
  MR_Word mercury__bag__param_3);

#line 56 "bag.m"
void MR_CALL 
mercury__bag__insert_set_3_p_0(
#line 56 "bag.m"
  MR_Word mercury__bag__param_1,
#line 56 "bag.m"
  MR_Word mercury__bag__param_2,
#line 56 "bag.m"
  MR_Word mercury__bag__param_3,
#line 56 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 55 "bag.m"
MR_Word MR_CALL 
mercury__bag__insert_set_2_f_0(
#line 55 "bag.m"
  MR_Word mercury__bag__param_1,
#line 55 "bag.m"
  MR_Word mercury__bag__param_2,
#line 55 "bag.m"
  MR_Word mercury__bag__param_3);

#line 51 "bag.m"
void MR_CALL 
mercury__bag__insert_list_3_p_0(
#line 51 "bag.m"
  MR_Word mercury__bag__param_1,
#line 51 "bag.m"
  MR_Word mercury__bag__param_2,
#line 51 "bag.m"
  MR_Word mercury__bag__param_3,
#line 51 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 50 "bag.m"
MR_Word MR_CALL 
mercury__bag__insert_list_2_f_0(
#line 50 "bag.m"
  MR_Word mercury__bag__param_1,
#line 50 "bag.m"
  MR_Word mercury__bag__param_2,
#line 50 "bag.m"
  MR_Word mercury__bag__param_3);

#line 46 "bag.m"
void MR_CALL 
mercury__bag__insert_3_p_0(
#line 46 "bag.m"
  MR_Word mercury__bag__param_1,
#line 46 "bag.m"
  MR_Box mercury__bag__param_2,
#line 46 "bag.m"
  MR_Word mercury__bag__param_3,
#line 46 "bag.m"
  MR_Word * mercury__bag__param_4);

#line 45 "bag.m"
MR_Word MR_CALL 
mercury__bag__insert_2_f_0(
#line 45 "bag.m"
  MR_Word mercury__bag__param_1,
#line 45 "bag.m"
  MR_Word mercury__bag__param_2,
#line 45 "bag.m"
  MR_Box mercury__bag__param_3);

#line 41 "bag.m"
MR_Integer MR_CALL 
mercury__bag__count_unique_1_f_0(
#line 41 "bag.m"
  MR_Word mercury__bag__param_1,
#line 41 "bag.m"
  MR_Word mercury__bag__param_2);

#line 36 "bag.m"
MR_Integer MR_CALL 
mercury__bag__count_1_f_0(
#line 36 "bag.m"
  MR_Word mercury__bag__param_1,
#line 36 "bag.m"
  MR_Word mercury__bag__param_2);

#line 32 "bag.m"
void MR_CALL 
mercury__bag__init_1_p_0(
#line 32 "bag.m"
  MR_Word mercury__bag__param_1,
#line 32 "bag.m"
  MR_Word * mercury__bag__param_2);

#line 31 "bag.m"
MR_Word MR_CALL 
mercury__bag__init_0_f_0(
#line 31 "bag.m"
  MR_Word mercury__bag__param_1);

void mercury__bag__init(void);
void mercury__bag__init_type_tables(void);
void mercury__bag__init_debugger(void);

#ifdef __cplusplus
}
#endif

#endif /* MR_HEADER_GUARD_bag */

/* :- end_interface bag. */
