/*
**
** The C code is generated by ATS/Anairiats
** The compilation time is: 2019-12-18:  5h:29m
**
*/

/* include some .h files */
#ifndef _ATS_HEADER_NONE
#include "ats_config.h"
#include "ats_basics.h"
#include "ats_types.h"
#include "ats_exception.h"
#include "ats_memory.h"
#endif /* _ATS_HEADER_NONE */

/* include some .cats files */
#ifndef _ATS_PRELUDE_NONE
#include "prelude/CATS/basics.cats"
#include "prelude/CATS/integer.cats"
#include "prelude/CATS/sizetype.cats"
#include "prelude/CATS/integer_ptr.cats"
#include "prelude/CATS/integer_fixed.cats"
#include "prelude/CATS/pointer.cats"
#include "prelude/CATS/bool.cats"
#include "prelude/CATS/char.cats"
#include "prelude/CATS/byte.cats"
#include "prelude/CATS/float.cats"
#include "prelude/CATS/string.cats"
#include "prelude/CATS/reference.cats"
#include "prelude/CATS/lazy.cats"
#include "prelude/CATS/lazy_vt.cats"
#include "prelude/CATS/printf.cats"
#include "prelude/CATS/list.cats"
#include "prelude/CATS/option.cats"
#include "prelude/CATS/array.cats"
#include "prelude/CATS/matrix.cats"
#endif /* _ATS_PRELUDE_NONE */
/* prologues from statically loaded files */

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"
/* external codes at top */
/* type definitions */
typedef
struct {
ats_ptr_type atslab_3 ;
ats_ptr_type atslab_4 ;
} anairiats_rec_0 ;

typedef struct {
ats_ptr_type atslab_0 ;
ats_ptr_type atslab_1 ;
ats_ptr_type atslab_2 ;
} anairiats_sum_1 ;

typedef
struct {
ats_ptr_type atslab_s2exp_srt ;
ats_ptr_type atslab_s2exp_node ;
} anairiats_rec_2 ;

typedef struct {
ats_ptr_type atslab_0 ;
ats_ptr_type atslab_1 ;
} anairiats_sum_3 ;

typedef struct {
int tag ;
ats_ptr_type atslab_0 ;
} anairiats_sum_4 ;

typedef struct {
int tag ;
ats_ptr_type atslab_0 ;
ats_ptr_type atslab_1 ;
} anairiats_sum_5 ;

typedef struct {
int tag ;
ats_ptr_type atslab_0 ;
ats_int_type atslab_1 ;
ats_ptr_type atslab_2 ;
} anairiats_sum_6 ;

typedef struct {
int tag ;
ats_ptr_type atslab_0 ;
ats_ptr_type atslab_1 ;
ats_ptr_type atslab_2 ;
} anairiats_sum_7 ;

typedef
struct {
ats_ptr_type atslab_t2mpmarg_loc ;
ats_ptr_type atslab_t2mpmarg_arg ;
} anairiats_rec_8 ;

typedef
struct {
ats_ptr_type atslab_hiimpdec_loc ;
ats_int_type atslab_hiimpdec_knd ;
ats_ptr_type atslab_hiimpdec_cst ;
ats_ptr_type atslab_hiimpdec_imparg ;
ats_ptr_type atslab_hiimpdec_tmparg ;
ats_ptr_type atslab_hiimpdec_def ;
ats_ptr_type atslab_hiimpdec_funlab ;
ats_ptr_type atslab_hiimpdec_instrlst ;
} anairiats_rec_9 ;

typedef struct {
int tag ;
ats_ptr_type atslab_0 ;
ats_ptr_type atslab_1 ;
ats_int_type atslab_2 ;
} anairiats_sum_10 ;

typedef
struct {
ats_ptr_type atslab_hifundec_loc ;
ats_ptr_type atslab_hifundec_var ;
ats_ptr_type atslab_hifundec_imparg ;
ats_ptr_type atslab_hifundec_def ;
ats_ptr_type atslab_hifundec_hidecl ;
ats_ptr_type atslab_hifundec_funlab ;
} anairiats_rec_11 ;

typedef struct {
ats_ptr_type atslab_0 ;
} anairiats_sum_12 ;

typedef
struct {
ats_ptr_type atslab_hidecl_loc ;
ats_ptr_type atslab_hidecl_node ;
} anairiats_rec_13 ;

/* external typedefs */
/* external dynamic constructor declarations */
ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e12_2prelude_2basics_sta_2esats__list_cons_0) ;
ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e12_2prelude_2basics_sta_2esats__list_nil_1) ;
ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e12_2prelude_2basics_sta_2esats__None_0) ;
ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e12_2prelude_2basics_sta_2esats__Some_1) ;
ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e12_2prelude_2basics_sta_2esats__list_vt_cons_0) ;
ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e12_2prelude_2basics_sta_2esats__list_vt_nil_1) ;
ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e12_2prelude_2basics_sta_2esats__None_vt_0) ;
ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e12_2prelude_2basics_sta_2esats__Some_vt_1) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__SLABELED_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__S2Ecst_4) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__S2Evar_7) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__S2Eapp_17) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__S2Etyrec_25) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__S2Eexi_27) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__S2Eerrexp_32) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__HIDfundecs_11) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPSUBcons_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPSUBnil_1) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPCSTMATnone_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPCSTMATsome_1) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPCSTMATsome2_2) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPVARMATnone_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPVARMATsome_1) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPVARMATsome2_2) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__HIFUNDEC2_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__HIIMPDEC2_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__IMPENVnil_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__IMPENVcons_1) ;

/* external dynamic constant declarations */
ATSextern_fun(ats_void_type, atspre_vbox_make_view_ptr) (ats_ptr_type) ;
ATSextern_fun(ats_int_type, atspre_add_int_int) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_lte_int_int) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_gt_int_int) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_int_type, atspre_isucc) (ats_int_type) ;
ATSextern_fun(ats_int_type, atspre_iadd) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_int_type, atspre_isub) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_int_type, atspre_idiv) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_ilt) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_igt) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_igte) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_size_type, atspre_size1_of_int1) (ats_int_type) ;
ATSextern_fun(ats_size_type, atspre_add_size1_int1) (ats_size_type, ats_int_type) ;
ATSextern_fun(ats_size_type, atspre_sub_size1_int1) (ats_size_type, ats_int_type) ;
ATSextern_fun(ats_size_type, atspre_mul2_size1_size1) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_bool_type, atspre_lt_size1_size1) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_bool_type, atspre_gt_size1_int1) (ats_size_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_neq_size1_size1) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_ptr_type, atspre_ptr_alloc_tsz) (ats_size_type) ;
ATSextern_fun(ats_void_type, atspre_ptr_zero_tsz) (ats_ref_type, ats_size_type) ;
ATSextern_fun(ats_ptr_type, atspre_ref_make_elt_tsz) (ats_ref_type, ats_size_type) ;
ATSextern_fun(ats_void_type, atspre_fprint_string) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, ListSubscriptException_make) () ;
ATSextern_fun(ats_ptr_type, atspre_array_ptr_alloc_tsz) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_void_type, atspre_array_ptr_free) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, atspre_array_ptr_initialize_funenv_tsz) (ats_ref_type, ats_size_type, ats_ptr_type, ats_size_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, atspre_array_ptr_initialize_cloenv_tsz) (ats_ref_type, ats_size_type, ats_ref_type, ats_size_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, atspre_array_ptr_split_tsz) (ats_ptr_type, ats_size_type, ats_size_type) ;
ATSextern_fun(ats_ptr_type, atspre_array_ptr_takeout_tsz) (ats_ptr_type, ats_size_type, ats_size_type) ;
ATSextern_fun(anairiats_rec_0, atspre_array_ptr_takeout2_tsz) (ats_ptr_type, ats_size_type, ats_size_type, ats_size_type) ;
ATSextern_fun(ats_void_type, atspre_array_ptr_foreach_funenv_tsz) (ats_ref_type, ats_ptr_type, ats_size_type, ats_size_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, atspre_array_ptr_iforeach_funenv_tsz) (ats_ref_type, ats_ptr_type, ats_size_type, ats_size_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, atspre_array2_ptr_takeout_tsz) (ats_ptr_type, ats_size_type, ats_size_type, ats_size_type) ;
ATSextern_fun(ats_void_type, atslib_qsort) (ats_ref_type, ats_size_type, ats_size_type, ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_label_2esats__eq_label_label) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2rt_ltmat1) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__eq_tyreckind_tyreckind) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__fprint_s2hnf) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__eq_s2cst_s2cst) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2var_get_srt) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__eq_s2var_s2var) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__fprint_s2var) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2exp_errexp) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__eq_d2cst_d2cst) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__eq_d2var_d2var) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__stasub_free) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2exp_hnfize) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2exp2hnf) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2exp2hnf_cast) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2hnf2exp) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2hnf_syneq2) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2hnf_syneq_env) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2explst_syneq_env) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_int_type, _2tmp_2ATS_2dPostiats_2src_2pats_trans2_env_2esats__the_d2varlev_save) () ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_trans2_env_2esats__the_d2varlev_restore) (ats_int_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hifundec_get_hideclopt) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_get_d2copt) (ats_ptr_type) ;
ATSextern_fun(ats_int_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_incget_ncopy) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_set_suffix) (ats_ptr_type, ats_int_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_get_tmparg) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_get_funent) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_set_funent) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__the_funlablst_add) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__tmpsub2stasub) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__tmpsub_append) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__primval_tmpltcstmat) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__primval_tmpltvarmat) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__primval_make2_funlab) (ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec_get_funlabopt) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdec_get_funlabopt) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, patsopt_funent_set_tmpsub) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_inc_tmprecdepth) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_dec_tmprecdepth) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_add_flabsetenv) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_push) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_pop) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_add_tmpsub) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdec_ccomp_if) (ats_ptr_type, ats_int_type, ats_ptr_type, ats_int_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundeclst_ccomp) (ats_ptr_type, ats_int_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdec_tmpcst_match) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_int_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdeclst_tmpcst_match) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_int_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec2tmpvarmat) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccomp_tmpcstmat) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_tmpcst_match) (ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__t2mpmarglst_tsubst) (ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_subst) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funent_subst) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_int_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__print_impenv) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__fprint_impenv) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_find) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_update) (ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__s2hnf_is_err) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_make_nil) () ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_make_svarlst) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_free) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv2tmpsub) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst_none) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst_some) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_tmpcstmat_some) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_tmpvarmat_some) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;

/* external dynamic terminating constant declarations */
#ifdef _ATS_PROOFCHECK
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2SATS_2list_2esats__list_length_is_nonnegative_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2SATS_2list_vt_2esats__list_vt_length_is_nonnegative_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2SATS_2array_2esats__array_v_takeout2_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_vt_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_vt_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_vt_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_vt_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_vt_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2list_vt_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2array_2edats____copy_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2array_2edats____free_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2array_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2DATS_2array_2edats____assert_prfck () ;
#endif /* _ATS_PROOFCHECK */

/* assuming abstract types */
/* sum constructor declarations */
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__IMPENVnil_0) ;
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__IMPENVcons_1) ;

/* exn constructor declarations */
/* global dynamic (non-functional) constant declarations */
/* internal function declarations */
static
ats_void_type loop_2 (ats_ptr_type arg0, ats_ptr_type arg1, ats_int_type arg2) ;
static
ats_bool_type aux_5 (ats_ptr_type env0, ats_ptr_type env1, ats_ptr_type arg0) ;
static
ats_clo_ptr_type aux_5_closure_make (ats_ptr_type env0, ats_ptr_type env1) ;
static
ats_bool_type aux_5_clofun (ats_clo_ptr_type cloptr, ats_ptr_type arg0) ;
static
ats_ptr_type aux_11 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_void_type loop_15 (ats_ptr_type arg0, ats_ref_type arg1) ;
static
ats_ptr_type list_copy_01322_ats_ptr_type (ats_ptr_type arg0) ;
static
ats_ptr_type list_vt_copy_01498_ats_ptr_type (ats_ptr_type arg0) ;
static
ats_ptr_type loop_17 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type list_reverse_append2_vt_01435_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type auxenv_12 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_bool_type auxfvar_18 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_void_type loop_25 (ats_ptr_type arg0) ;
static
ats_void_type list_vt_free_01499_ats_ptr_type (ats_ptr_type arg0) ;
static
ats_bool_type auxmat_19 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) ;
static
ats_bool_type auxmatlst_20 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) ;
static
ats_bool_type auxmat_env_21 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_ptr_type arg4) ;
static
ats_bool_type auxmatlst_env_22 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_ptr_type arg4) ;
static
ats_bool_type auxlabmatlst_env_23 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_ptr_type arg4) ;
static
ats_bool_type auxmatlstlst_26 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) ;
static
ats_ptr_type auxbndlstlst_27 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type auxbndlstlst2_28 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) ;
static
ats_void_type loop_32 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ref_type arg2, ats_ptr_type arg3) ;
static
ats_ptr_type list_map_funenv_01412_ats_ptr_type_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) ;
static
ats_ptr_type list_map_fun_01413_ats_ptr_type_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type __ats_fun_33 (ats_ptr_type arg0) ;

/* partial value template declarations */
/* static temporary variable declarations */
/* external value variable declarations */

/* function implementations */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 2553(line=121, offs=3) -- 2593(line=122, offs=33)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__print_impenv (ats_ptr_type arg0) {
/* local vardec */
// ATSlocal_void (tmp0) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__print_impenv:
/* tmp0 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__fprint_impenv (stdout, arg0) ;
return /* (tmp0) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__print_impenv] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 2647(line=129, offs=1) -- 3215(line=161, offs=4)
*/
ATSstaticdec()
ats_void_type
loop_2 (ats_ptr_type arg0, ats_ptr_type arg1, ats_int_type arg2) {
/* local vardec */
// ATSlocal_void (tmp2) ;
ATSlocal (ats_ptr_type, tmp3) ;
ATSlocal (ats_ptr_type, tmp4) ;
ATSlocal (ats_ptr_type, tmp5) ;
// ATSlocal_void (tmp6) ;
ATSlocal (ats_bool_type, tmp7) ;
// ATSlocal_void (tmp8) ;
// ATSlocal_void (tmp9) ;
// ATSlocal_void (tmp10) ;
ATSlocal (ats_ptr_type, tmp11) ;
ATSlocal (ats_int_type, tmp12) ;

__ats_lab_loop_2:
do {
/* branch: __ats_lab_0 */
__ats_lab_0_0:
if (arg1 != (ats_sum_ptr_type)0) { goto __ats_lab_1_0 ; }
__ats_lab_0_1:
break ;

/* branch: __ats_lab_1 */
__ats_lab_1_0:
// if (arg1 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_1_1:
tmp3 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
tmp4 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_1) ;
tmp5 = &ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_2) ;
tmp7 = atspre_gt_int_int (arg2, 0) ;
if (tmp7) {
/* tmp6 = */ atspre_fprint_string (arg0, ATSstrcst("; ")) ;
} else {
/* empty */
} /* end of [if] */
/* tmp8 = */ _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__fprint_s2var (arg0, tmp3) ;
/* tmp9 = */ atspre_fprint_string (arg0, ATSstrcst(" -> ")) ;
/* tmp10 = */ _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__fprint_s2hnf (arg0, tmp4) ;
tmp11 = ats_ptrget_mac(ats_ptr_type, tmp5) ;
tmp12 = atspre_add_int_int (arg2, 1) ;
arg0 = arg0 ;
arg1 = tmp11 ;
arg2 = tmp12 ;
goto __ats_lab_loop_2 ; // tail call
break ;
} while (0) ;
return /* (tmp2) */ ;
} /* end of [loop_2] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 2623(line=126, offs=3) -- 3263(line=165, offs=4)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__fprint_impenv (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp1) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__fprint_impenv:
/* tmp1 = */ loop_2 (arg0, arg1, 0) ;
return /* (tmp1) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__fprint_impenv] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 3338(line=171, offs=3) -- 3918(line=207, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_find (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp13) ;
ATSlocal (ats_ptr_type, tmp14) ;
ATSlocal (ats_ptr_type, tmp15) ;
ATSlocal (ats_ptr_type, tmp16) ;
ATSlocal (ats_ptr_type, tmp17) ;
ATSlocal (ats_ptr_type, tmp18) ;
ATSlocal (ats_bool_type, tmp19) ;
ATSlocal (ats_ptr_type, tmp20) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_find:
do {
/* branch: __ats_lab_2 */
__ats_lab_2_0:
if (arg0 != (ats_sum_ptr_type)0) { goto __ats_lab_3_0 ; }
__ats_lab_2_1:
tmp14 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2var_get_srt (arg1) ;
tmp15 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2exp_errexp (tmp14) ;
tmp13 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2exp2hnf_cast (tmp15) ;
break ;

/* branch: __ats_lab_3 */
__ats_lab_3_0:
// if (arg0 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_3_1:
tmp16 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
tmp17 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_1) ;
tmp18 = &ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_2) ;
tmp19 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__eq_s2var_s2var (arg1, tmp16) ;
if (tmp19) {
tmp13 = tmp17 ;
} else {
tmp20 = ats_ptrget_mac(ats_ptr_type, tmp18) ;
arg0 = tmp20 ;
arg1 = arg1 ;
goto __ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_find ; // tail call
} /* end of [if] */
break ;
} while (0) ;
return (tmp13) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_find] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 4182(line=228, offs=1) -- 4649(line=258, offs=4)
*/
ATSstaticdec()
ats_bool_type
aux_5 (ats_ptr_type env0, ats_ptr_type env1, ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_bool_type, tmp22) ;
ATSlocal (ats_ptr_type, tmp23) ;
ATSlocal (ats_ptr_type, tmp24) ;
ATSlocal (ats_ptr_type, tmp25) ;
ATSlocal (ats_bool_type, tmp26) ;
ATSlocal (ats_ptr_type, tmp27) ;

__ats_lab_aux_5:
do {
/* branch: __ats_lab_4 */
__ats_lab_4_0:
if (arg0 != (ats_sum_ptr_type)0) { goto __ats_lab_5_0 ; }
__ats_lab_4_1:
tmp22 = ats_false_bool ;
break ;

/* branch: __ats_lab_5 */
__ats_lab_5_0:
// if (arg0 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_5_1:
tmp23 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
tmp24 = &ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_1) ;
tmp25 = &ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_2) ;
tmp26 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__eq_s2var_s2var (env0, tmp23) ;
if (tmp26) {
ats_ptrget_mac(ats_ptr_type, tmp24) = env1 ;
tmp22 = ats_true_bool ;
} else {
tmp27 = ats_ptrget_mac(ats_ptr_type, tmp25) ;
arg0 = tmp27 ;
goto __ats_lab_aux_5 ; // tail call
} /* end of [if] */
break ;
} while (0) ;
return (tmp22) ;
} /* end of [aux_5] */

typedef struct {
ats_fun_ptr_type closure_fun ;
ats_ptr_type closure_env_0 ;
ats_ptr_type closure_env_1 ;
} aux_5_closure_type ;

ats_bool_type
aux_5_clofun (ats_clo_ptr_type cloptr, ats_ptr_type arg0) {
return aux_5 (((aux_5_closure_type*)cloptr)->closure_env_0, ((aux_5_closure_type*)cloptr)->closure_env_1, arg0) ;
} /* end of function */

ATSinline()
ats_void_type
aux_5_closure_init (aux_5_closure_type *p_clo, ats_ptr_type env0, ats_ptr_type env1) {
p_clo->closure_fun = (ats_fun_ptr_type)&aux_5_clofun ;
p_clo->closure_env_0 = env0 ;
p_clo->closure_env_1 = env1 ;
return ;
} /* end of function */

ats_clo_ptr_type
aux_5_closure_make (ats_ptr_type env0, ats_ptr_type env1) {
aux_5_closure_type *p_clo = ATS_MALLOC(sizeof(aux_5_closure_type)) ;
aux_5_closure_init (p_clo, env0, env1) ;
return (ats_clo_ptr_type)p_clo ;
} /* end of function */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 3991(line=213, offs=3) -- 4950(line=281, offs=4)
*/
ATSglobaldec()
ats_bool_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_update (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
ATSlocal (ats_bool_type, tmp21) ;
ATSlocal (ats_ptr_type, tmp28) ;
ATSlocal (ats_ptr_type, tmp29) ;
ATSlocal (ats_ptr_type, tmp30) ;
ATSlocal (ats_bool_type, tmp31) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_update:
tmp28 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2hnf2exp (arg2) ;
tmp29 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_2, tmp28), atslab_s2exp_srt) ;
tmp30 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2var_get_srt (arg1) ;
tmp31 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2rt_ltmat1 (tmp29, tmp30) ;
if (tmp31) {
tmp21 = aux_5 (arg1, arg2, arg0) ;
} else {
tmp21 = ats_false_bool ;
} /* end of [if] */
return (tmp21) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_update] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 5074(line=292, offs=3) -- 5217(line=304, offs=4)
*/
ATSglobaldec()
ats_bool_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__s2hnf_is_err (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_bool_type, tmp32) ;
ATSlocal (ats_ptr_type, tmp33) ;
ATSlocal (ats_ptr_type, tmp34) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__s2hnf_is_err:
tmp33 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2hnf2exp (arg0) ;
tmp34 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_2, tmp33), atslab_s2exp_node) ;
do {
/* branch: __ats_lab_6 */
__ats_lab_6_0:
if (((ats_sum_ptr_type)tmp34)->tag != 32) { goto __ats_lab_7_0 ; }
__ats_lab_6_1:
tmp32 = ats_true_bool ;
break ;

/* branch: __ats_lab_7 */
__ats_lab_7_0:
__ats_lab_7_1:
tmp32 = ats_false_bool ;
break ;
} while (0) ;
return (tmp32) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__s2hnf_is_err] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 5432(line=322, offs=3) -- 5448(line=322, offs=19)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_make_nil () {
/* local vardec */
ATSlocal (ats_ptr_type, tmp35) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_make_nil:
tmp35 = (ats_sum_ptr_type)0 ;
return (tmp35) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_make_nil] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 5484(line=326, offs=3) -- 5851(line=345, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_make_svarlst (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp36) ;
ATSlocal (ats_ptr_type, tmp37) ;
ATSlocal (ats_ptr_type, tmp38) ;
ATSlocal (ats_ptr_type, tmp39) ;
ATSlocal (ats_ptr_type, tmp40) ;
ATSlocal (ats_ptr_type, tmp41) ;
ATSlocal (ats_ptr_type, tmp42) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_make_svarlst:
do {
/* branch: __ats_lab_8 */
__ats_lab_8_0:
if (arg0 != (ats_sum_ptr_type)0) { goto __ats_lab_9_0 ; }
__ats_lab_8_1:
tmp36 = (ats_sum_ptr_type)0 ;
break ;

/* branch: __ats_lab_9 */
__ats_lab_9_0:
// if (arg0 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_9_1:
tmp37 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_0) ;
tmp38 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_1) ;
tmp39 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2var_get_srt (tmp37) ;
tmp40 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2exp_errexp (tmp39) ;
tmp41 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2exp2hnf_cast (tmp40) ;
tmp42 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_make_svarlst (tmp38) ;
tmp36 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
ats_selptrset_mac(anairiats_sum_1, tmp36, atslab_0, tmp37) ;
ats_selptrset_mac(anairiats_sum_1, tmp36, atslab_1, tmp41) ;
ats_selptrset_mac(anairiats_sum_1, tmp36, atslab_2, tmp42) ;
break ;
} while (0) ;
return (tmp36) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_make_svarlst] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 5979(line=355, offs=12) -- 6128(line=368, offs=4)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_free (ats_ptr_type arg0) {
/* local vardec */
// ATSlocal_void (tmp43) ;
ATSlocal (ats_ptr_type, tmp44) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_free:
do {
/* branch: __ats_lab_10 */
__ats_lab_10_0:
if (arg0 != (ats_sum_ptr_type)0) { goto __ats_lab_11_0 ; }
__ats_lab_10_1:
break ;

/* branch: __ats_lab_11 */
__ats_lab_11_0:
// if (arg0 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_11_1:
tmp44 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_2) ;
ATS_FREE(arg0) ;
arg0 = tmp44 ;
goto __ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_free ; // tail call
break ;
} while (0) ;
return /* (tmp43) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_free] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 6276(line=381, offs=5) -- 6535(line=396, offs=4)
*/
ATSstaticdec()
ats_ptr_type
aux_11 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp46) ;
ATSlocal (ats_ptr_type, tmp47) ;
ATSlocal (ats_ptr_type, tmp48) ;
ATSlocal (ats_ptr_type, tmp49) ;
ATSlocal (ats_ptr_type, tmp50) ;
ATSlocal (ats_ptr_type, tmp51) ;

__ats_lab_aux_11:
do {
/* branch: __ats_lab_12 */
__ats_lab_12_0:
if (arg0 != (ats_sum_ptr_type)0) { goto __ats_lab_13_0 ; }
__ats_lab_12_1:
tmp46 = arg1 ;
break ;

/* branch: __ats_lab_13 */
__ats_lab_13_0:
// if (arg0 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_13_1:
tmp47 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
tmp48 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_1) ;
tmp49 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_2) ;
ATS_FREE(arg0) ;
tmp50 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2hnf2exp (tmp48) ;
tmp51 = aux_11 (tmp49, arg1) ;
tmp46 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
ats_selptrset_mac(anairiats_sum_1, tmp46, atslab_0, tmp47) ;
ats_selptrset_mac(anairiats_sum_1, tmp46, atslab_1, tmp50) ;
ats_selptrset_mac(anairiats_sum_1, tmp46, atslab_2, tmp51) ;
break ;
} while (0) ;
return (tmp46) ;
} /* end of [aux_11] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 6257(line=379, offs=3) -- 6592(line=400, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv2tmpsub (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp45) ;
ATSlocal (ats_ptr_type, tmp52) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv2tmpsub:
tmp52 = (ats_sum_ptr_type)0 ;
tmp45 = aux_11 (arg0, tmp52) ;
return (tmp45) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv2tmpsub] */

/*
// /home/ats-lang-anairiats-0.2.12/prelude/DATS/list.dats: 12687(line=466, offs=7) -- 13058(line=477, offs=43)
*/
ATSstaticdec()
ats_void_type
loop_15 (ats_ptr_type arg0, ats_ref_type arg1) {
/* local vardec */
// ATSlocal_void (tmp57) ;
ATSlocal (ats_ptr_type, tmp58) ;
ATSlocal (ats_ptr_type, tmp59) ;
ATSlocal (ats_ptr_type, tmp60) ;
ATSlocal (ats_ptr_type, tmp61) ;
ATSlocal (ats_ptr_type, tmp62) ;

__ats_lab_loop_15:
do {
/* branch: __ats_lab_14 */
__ats_lab_14_0:
if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_15_0 ; }
__ats_lab_14_1:
tmp58 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_0) ;
tmp59 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_1) ;
tmp60 = ATS_MALLOC(sizeof(anairiats_sum_3)) ;
ats_selptrset_mac(anairiats_sum_3, tmp60, atslab_0, tmp58) ;
ats_ptrget_mac(ats_ptr_type, arg1) = tmp60 ;
// if (ats_ptrget_mac(ats_ptr_type, arg1) == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
tmp61 = &ats_caselptrlab_mac(anairiats_sum_3, ats_ptrget_mac(ats_ptr_type, arg1), atslab_1) ;
arg0 = tmp59 ;
arg1 = tmp61 ;
goto __ats_lab_loop_15 ; // tail call
break ;

/* branch: __ats_lab_15 */
__ats_lab_15_0:
// if (arg0 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_15_1:
tmp62 = (ats_sum_ptr_type)0 ;
ats_ptrget_mac(ats_ptr_type, arg1) = tmp62 ;
break ;
} while (0) ;
return /* (tmp57) */ ;
} /* end of [loop_15] */

/*
// /home/ats-lang-anairiats-0.2.12/prelude/DATS/list.dats: 12658(line=464, offs=3) -- 13177(line=483, offs=2)
*/
ATSstaticdec()
ats_ptr_type
list_copy_01322_ats_ptr_type (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp56) ;
ATSlocal (ats_ptr_type, tmp63) ;
// ATSlocal_void (tmp64) ;

__ats_lab_list_copy_01322_ats_ptr_type:
/* ats_ptr_type tmp63 ; */
/* tmp64 = */ loop_15 (arg0, (&tmp63)) ;
tmp56 = tmp63 ;
return (tmp56) ;
} /* end of [list_copy_01322_ats_ptr_type] */

/*
// /home/ats-lang-anairiats-0.2.12/prelude/DATS/list_vt.dats: 4725(line=167, offs=18) -- 4776(line=168, offs=44)
*/
ATSstaticdec()
ats_ptr_type
list_vt_copy_01498_ats_ptr_type (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp55) ;

__ats_lab_list_vt_copy_01498_ats_ptr_type:
tmp55 = list_copy_01322_ats_ptr_type (ats_castfn_mac(ats_ptr_type, arg0)) ;
return (tmp55) ;
} /* end of [list_vt_copy_01498_ats_ptr_type] */

/*
// /home/ats-lang-anairiats-0.2.12/prelude/DATS/list.dats: 61997(line=2223, offs=7) -- 62162(line=2225, offs=74)
*/
ATSstaticdec()
ats_ptr_type
loop_17 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp66) ;
ATSlocal (ats_ptr_type, tmp67) ;
ATSlocal (ats_ptr_type, tmp68) ;
ATSlocal (ats_ptr_type, tmp69) ;

__ats_lab_loop_17:
do {
/* branch: __ats_lab_16 */
__ats_lab_16_0:
if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_17_0 ; }
__ats_lab_16_1:
tmp67 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_0) ;
tmp68 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_1) ;
tmp69 = ATS_MALLOC(sizeof(anairiats_sum_3)) ;
ats_selptrset_mac(anairiats_sum_3, tmp69, atslab_0, tmp67) ;
ats_selptrset_mac(anairiats_sum_3, tmp69, atslab_1, arg1) ;
arg0 = tmp68 ;
arg1 = tmp69 ;
goto __ats_lab_loop_17 ; // tail call
break ;

/* branch: __ats_lab_17 */
__ats_lab_17_0:
// if (arg0 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_17_1:
tmp66 = arg1 ;
break ;
} while (0) ;
return (tmp66) ;
} /* end of [loop_17] */

/*
// /home/ats-lang-anairiats-0.2.12/prelude/DATS/list.dats: 61976(line=2222, offs=25) -- 62297(line=2231, offs=4)
*/
ATSstaticdec()
ats_ptr_type
list_reverse_append2_vt_01435_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp65) ;

__ats_lab_list_reverse_append2_vt_01435_ats_ptr_type:
tmp65 = loop_17 (arg0, arg1) ;
return (tmp65) ;
} /* end of [list_reverse_append2_vt_01435_ats_ptr_type] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 6675(line=409, offs=1) -- 6835(line=419, offs=4)
*/
ATSstaticdec()
ats_ptr_type
auxenv_12 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp53) ;
ATSlocal (ats_ptr_type, tmp54) ;

__ats_lab_auxenv_12:
tmp54 = list_vt_copy_01498_ats_ptr_type (arg0) ;
tmp53 = list_reverse_append2_vt_01435_ats_ptr_type (arg1, tmp54) ;
return (tmp53) ;
} /* end of [auxenv_12] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 6881(line=424, offs=1) -- 7342(line=452, offs=2)
*/
ATSstaticdec()
ats_bool_type
auxfvar_18 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_bool_type, tmp70) ;
ATSlocal (ats_ptr_type, tmp71) ;
ATSlocal (ats_ptr_type, tmp72) ;
ATSlocal (ats_bool_type, tmp73) ;
ATSlocal (ats_ptr_type, tmp74) ;

__ats_lab_auxfvar_18:
do {
/* branch: __ats_lab_18 */
__ats_lab_18_0:
if (arg0 != (ats_sum_ptr_type)0) { goto __ats_lab_19_0 ; }
__ats_lab_18_1:
tmp70 = ats_true_bool ;
break ;

/* branch: __ats_lab_19 */
__ats_lab_19_0:
// if (arg0 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_19_1:
tmp71 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_0) ;
tmp72 = &ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_1) ;
tmp73 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__eq_s2var_s2var (tmp71, arg1) ;
if (tmp73) {
tmp70 = ats_false_bool ;
} else {
tmp74 = ats_ptrget_mac(ats_ptr_type, tmp72) ;
arg0 = tmp74 ;
arg1 = arg1 ;
goto __ats_lab_auxfvar_18 ; // tail call
} /* end of [if] */
break ;
} while (0) ;
return (tmp70) ;
} /* end of [auxfvar_18] */

/*
// /home/ats-lang-anairiats-0.2.12/prelude/DATS/list_vt.dats: 4893(line=177, offs=7) -- 5015(line=178, offs=73)
*/
ATSstaticdec()
ats_void_type
loop_25 (ats_ptr_type arg0) {
/* local vardec */
// ATSlocal_void (tmp81) ;
ATSlocal (ats_ptr_type, tmp82) ;

__ats_lab_loop_25:
do {
/* branch: __ats_lab_20 */
__ats_lab_20_0:
if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_21_0 ; }
__ats_lab_20_1:
tmp82 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_1) ;
ATS_FREE(arg0) ;
arg0 = tmp82 ;
goto __ats_lab_loop_25 ; // tail call
break ;

/* branch: __ats_lab_21 */
__ats_lab_21_0:
// if (arg0 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_21_1:
break ;
} while (0) ;
return /* (tmp81) */ ;
} /* end of [loop_25] */

/*
// /home/ats-lang-anairiats-0.2.12/prelude/DATS/list_vt.dats: 4875(line=176, offs=14) -- 5054(line=182, offs=4)
*/
ATSstaticdec()
ats_void_type
list_vt_free_01499_ats_ptr_type (ats_ptr_type arg0) {
/* local vardec */
// ATSlocal_void (tmp80) ;

__ats_lab_list_vt_free_01499_ats_ptr_type:
/* tmp80 = */ loop_25 (arg0) ;
return /* (tmp80) */ ;
} /* end of [list_vt_free_01499_ats_ptr_type] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 7392(line=457, offs=1) -- 7719(line=479, offs=2)
*/
ATSstaticdec()
ats_bool_type
auxmat_19 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
ATSlocal (ats_bool_type, tmp75) ;
ATSlocal (ats_ptr_type, tmp76) ;
ATSlocal (ats_ptr_type, tmp77) ;
ATSlocal (ats_bool_type, tmp78) ;
// ATSlocal_void (tmp79) ;
// ATSlocal_void (tmp83) ;

__ats_lab_auxmat_19:
tmp76 = (ats_sum_ptr_type)0 ;
tmp77 = (ats_sum_ptr_type)0 ;
tmp78 = auxmat_env_21 (arg0, tmp76, tmp77, arg1, arg2) ;
/* tmp79 = */ list_vt_free_01499_ats_ptr_type (tmp76) ;
/* tmp83 = */ list_vt_free_01499_ats_ptr_type (tmp77) ;
tmp75 = tmp78 ;
return (tmp75) ;
} /* end of [auxmat_19] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 7747(line=482, offs=1) -- 8086(line=504, offs=2)
*/
ATSstaticdec()
ats_bool_type
auxmatlst_20 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
ATSlocal (ats_bool_type, tmp84) ;
ATSlocal (ats_ptr_type, tmp85) ;
ATSlocal (ats_ptr_type, tmp86) ;
ATSlocal (ats_bool_type, tmp87) ;
// ATSlocal_void (tmp88) ;
// ATSlocal_void (tmp89) ;

__ats_lab_auxmatlst_20:
tmp85 = (ats_sum_ptr_type)0 ;
tmp86 = (ats_sum_ptr_type)0 ;
tmp87 = auxmatlst_env_22 (arg0, tmp85, tmp86, arg1, arg2) ;
/* tmp88 = */ list_vt_free_01499_ats_ptr_type (tmp85) ;
/* tmp89 = */ list_vt_free_01499_ats_ptr_type (tmp86) ;
tmp84 = tmp87 ;
return (tmp84) ;
} /* end of [auxmatlst_20] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 8138(line=509, offs=1) -- 12375(line=721, offs=4)
*/
ATSstaticdec()
ats_bool_type
auxmat_env_21 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_ptr_type arg4) {
/* local vardec */
ATSlocal (ats_bool_type, tmp90) ;
ATSlocal (ats_ptr_type, tmp91) ;
ATSlocal (ats_ptr_type, tmp92) ;
ATSlocal (ats_ptr_type, tmp93) ;
ATSlocal (ats_ptr_type, tmp94) ;
ATSlocal (ats_ptr_type, tmp95) ;
ATSlocal (ats_ptr_type, tmp96) ;
ATSlocal (ats_ptr_type, tmp97) ;
ATSlocal (ats_bool_type, tmp98) ;
ATSlocal (ats_ptr_type, tmp99) ;
ATSlocal (ats_bool_type, tmp100) ;
ATSlocal (ats_bool_type, tmp101) ;
ATSlocal (ats_ptr_type, tmp102) ;
ATSlocal (ats_ptr_type, tmp103) ;
ATSlocal (ats_bool_type, tmp104) ;
ATSlocal (ats_ptr_type, tmp105) ;
ATSlocal (ats_ptr_type, tmp106) ;
ATSlocal (ats_ptr_type, tmp107) ;
ATSlocal (ats_ptr_type, tmp108) ;
ATSlocal (ats_bool_type, tmp109) ;
ATSlocal (ats_ptr_type, tmp110) ;
ATSlocal (ats_ptr_type, tmp111) ;
ATSlocal (ats_ptr_type, tmp112) ;
ATSlocal (ats_ptr_type, tmp113) ;
ATSlocal (ats_bool_type, tmp114) ;
ATSlocal (ats_ptr_type, tmp115) ;
ATSlocal (ats_ptr_type, tmp116) ;
ATSlocal (ats_ptr_type, tmp117) ;
ATSlocal (ats_ptr_type, tmp118) ;
ATSlocal (ats_ptr_type, tmp119) ;
ATSlocal (ats_ptr_type, tmp120) ;
ATSlocal (ats_ptr_type, tmp121) ;
ATSlocal (ats_ptr_type, tmp122) ;
ATSlocal (ats_bool_type, tmp123) ;
ATSlocal (ats_bool_type, tmp124) ;
// ATSlocal_void (tmp125) ;
// ATSlocal_void (tmp126) ;
ATSlocal (ats_bool_type, tmp127) ;

__ats_lab_auxmat_env_21:
tmp91 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2exp2hnf (arg3) ;
tmp92 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2exp2hnf (arg4) ;
tmp93 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2hnf2exp (tmp91) ;
tmp94 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2hnf2exp (tmp92) ;
tmp95 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_2, tmp93), atslab_s2exp_node) ;
tmp96 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_2, tmp94), atslab_s2exp_node) ;
do {
/* branch: __ats_lab_22 */
__ats_lab_22_0:
if (((ats_sum_ptr_type)tmp95)->tag != 7) { goto __ats_lab_23_0 ; }
__ats_lab_22_1:
tmp97 = ats_caselptrlab_mac(anairiats_sum_4, tmp95, atslab_0) ;
tmp98 = auxfvar_18 (arg1, tmp97) ;
if (tmp98) {
tmp99 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_find (arg0, tmp97) ;
tmp100 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__s2hnf_is_err (tmp99) ;
if (tmp100) {
tmp101 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_update (arg0, tmp97, tmp92) ;
if (tmp101) {
tmp90 = ats_true_bool ;
} else {
tmp90 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2hnf_syneq2 (tmp91, tmp92) ;
} /* end of [if] */
} else {
tmp90 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2hnf_syneq2 (tmp99, tmp92) ;
} /* end of [if] */
} else {
tmp90 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2hnf_syneq_env (arg1, arg2, tmp91, tmp92) ;
} /* end of [if] */
break ;

/* branch: __ats_lab_23 */
__ats_lab_23_0:
if (((ats_sum_ptr_type)tmp95)->tag != 4) { goto __ats_lab_26_0 ; }
__ats_lab_23_1:
tmp102 = ats_caselptrlab_mac(anairiats_sum_4, tmp95, atslab_0) ;
do {
/* branch: __ats_lab_24 */
__ats_lab_24_0:
if (((ats_sum_ptr_type)tmp96)->tag != 4) { goto __ats_lab_25_0 ; }
__ats_lab_24_1:
tmp103 = ats_caselptrlab_mac(anairiats_sum_4, tmp96, atslab_0) ;
tmp104 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__eq_s2cst_s2cst (tmp102, tmp103) ;
if (tmp104) {
tmp90 = ats_true_bool ;
} else {
tmp90 = ats_false_bool ;
} /* end of [if] */
break ;

/* branch: __ats_lab_25 */
__ats_lab_25_0:
__ats_lab_25_1:
tmp90 = ats_false_bool ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_26 */
__ats_lab_26_0:
if (((ats_sum_ptr_type)tmp95)->tag != 17) { goto __ats_lab_29_0 ; }
__ats_lab_26_1:
tmp105 = ats_caselptrlab_mac(anairiats_sum_5, tmp95, atslab_0) ;
tmp106 = ats_caselptrlab_mac(anairiats_sum_5, tmp95, atslab_1) ;
do {
/* branch: __ats_lab_27 */
__ats_lab_27_0:
if (((ats_sum_ptr_type)tmp96)->tag != 17) { goto __ats_lab_28_0 ; }
__ats_lab_27_1:
tmp107 = ats_caselptrlab_mac(anairiats_sum_5, tmp96, atslab_0) ;
tmp108 = ats_caselptrlab_mac(anairiats_sum_5, tmp96, atslab_1) ;
tmp109 = auxmat_env_21 (arg0, arg1, arg2, tmp105, tmp107) ;
if (tmp109) {
tmp90 = auxmatlst_env_22 (arg0, arg1, arg2, tmp106, tmp108) ;
} else {
tmp90 = ats_false_bool ;
} /* end of [if] */
break ;

/* branch: __ats_lab_28 */
__ats_lab_28_0:
__ats_lab_28_1:
tmp90 = ats_false_bool ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_29 */
__ats_lab_29_0:
if (((ats_sum_ptr_type)tmp95)->tag != 25) { goto __ats_lab_32_0 ; }
__ats_lab_29_1:
tmp110 = ats_caselptrlab_mac(anairiats_sum_6, tmp95, atslab_0) ;
tmp111 = ats_caselptrlab_mac(anairiats_sum_6, tmp95, atslab_2) ;
do {
/* branch: __ats_lab_30 */
__ats_lab_30_0:
if (((ats_sum_ptr_type)tmp96)->tag != 25) { goto __ats_lab_31_0 ; }
__ats_lab_30_1:
tmp112 = ats_caselptrlab_mac(anairiats_sum_6, tmp96, atslab_0) ;
tmp113 = ats_caselptrlab_mac(anairiats_sum_6, tmp96, atslab_2) ;
tmp114 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__eq_tyreckind_tyreckind (tmp110, tmp112) ;
if (tmp114) {
tmp90 = auxlabmatlst_env_23 (arg0, arg1, arg2, tmp111, tmp113) ;
} else {
tmp90 = ats_false_bool ;
} /* end of [if] */
break ;

/* branch: __ats_lab_31 */
__ats_lab_31_0:
__ats_lab_31_1:
tmp90 = ats_false_bool ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_32 */
__ats_lab_32_0:
if (((ats_sum_ptr_type)tmp95)->tag != 27) { goto __ats_lab_35_0 ; }
__ats_lab_32_1:
tmp115 = ats_caselptrlab_mac(anairiats_sum_7, tmp95, atslab_0) ;
tmp116 = ats_caselptrlab_mac(anairiats_sum_7, tmp95, atslab_1) ;
tmp117 = ats_caselptrlab_mac(anairiats_sum_7, tmp95, atslab_2) ;
do {
/* branch: __ats_lab_33 */
__ats_lab_33_0:
if (((ats_sum_ptr_type)tmp96)->tag != 27) { goto __ats_lab_34_0 ; }
__ats_lab_33_1:
tmp118 = ats_caselptrlab_mac(anairiats_sum_7, tmp96, atslab_0) ;
tmp119 = ats_caselptrlab_mac(anairiats_sum_7, tmp96, atslab_1) ;
tmp120 = ats_caselptrlab_mac(anairiats_sum_7, tmp96, atslab_2) ;
tmp121 = auxenv_12 (arg1, tmp115) ;
tmp122 = auxenv_12 (arg2, tmp118) ;
tmp123 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2explst_syneq_env (tmp121, tmp122, tmp116, tmp119) ;
if (tmp123) {
tmp124 = auxmat_env_21 (arg0, tmp121, tmp122, tmp117, tmp120) ;
} else {
tmp124 = ats_false_bool ;
} /* end of [if] */
/* tmp125 = */ list_vt_free_01499_ats_ptr_type (tmp121) ;
/* tmp126 = */ list_vt_free_01499_ats_ptr_type (tmp122) ;
tmp90 = tmp124 ;
break ;

/* branch: __ats_lab_34 */
__ats_lab_34_0:
__ats_lab_34_1:
tmp90 = ats_false_bool ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_35 */
__ats_lab_35_0:
__ats_lab_35_1:
tmp127 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2hnf_syneq_env (arg1, arg2, tmp91, tmp92) ;
if (!tmp127) { goto __ats_lab_36_1 ; }
tmp90 = ats_true_bool ;
break ;

/* branch: __ats_lab_36 */
__ats_lab_36_0:
__ats_lab_36_1:
tmp90 = ats_false_bool ;
break ;
} while (0) ;
return (tmp90) ;
} /* end of [auxmat_env_21] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 12404(line=724, offs=1) -- 13245(line=771, offs=4)
*/
ATSstaticdec()
ats_bool_type
auxmatlst_env_22 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_ptr_type arg4) {
/* local vardec */
ATSlocal (ats_bool_type, tmp128) ;
ATSlocal (ats_ptr_type, tmp129) ;
ATSlocal (ats_ptr_type, tmp130) ;
ATSlocal (ats_ptr_type, tmp131) ;
ATSlocal (ats_ptr_type, tmp132) ;
ATSlocal (ats_bool_type, tmp133) ;

__ats_lab_auxmatlst_env_22:
do {
/* branch: __ats_lab_37 */
__ats_lab_37_0:
if (arg3 != (ats_sum_ptr_type)0) { goto __ats_lab_38_0 ; }
__ats_lab_37_1:
tmp128 = ats_true_bool ;
break ;

/* branch: __ats_lab_38 */
__ats_lab_38_0:
// if (arg3 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_38_1:
tmp129 = ats_caselptrlab_mac(anairiats_sum_3, arg3, atslab_0) ;
tmp130 = ats_caselptrlab_mac(anairiats_sum_3, arg3, atslab_1) ;
do {
/* branch: __ats_lab_39 */
__ats_lab_39_0:
if (arg4 == (ats_sum_ptr_type)0) { goto __ats_lab_40_0 ; }
__ats_lab_39_1:
tmp131 = ats_caselptrlab_mac(anairiats_sum_3, arg4, atslab_0) ;
tmp132 = ats_caselptrlab_mac(anairiats_sum_3, arg4, atslab_1) ;
tmp133 = auxmat_env_21 (arg0, arg1, arg2, tmp129, tmp131) ;
if (tmp133) {
arg0 = arg0 ;
arg1 = arg1 ;
arg2 = arg2 ;
arg3 = tmp130 ;
arg4 = tmp132 ;
goto __ats_lab_auxmatlst_env_22 ; // tail call
} else {
tmp128 = ats_false_bool ;
} /* end of [if] */
break ;

/* branch: __ats_lab_40 */
__ats_lab_40_0:
// if (arg4 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_40_1:
tmp128 = ats_true_bool ;
break ;
} while (0) ;
break ;
} while (0) ;
return (tmp128) ;
} /* end of [auxmatlst_env_22] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 13273(line=774, offs=1) -- 14403(line=820, offs=4)
*/
ATSstaticdec()
ats_bool_type
auxlabmatlst_env_23 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_ptr_type arg4) {
/* local vardec */
ATSlocal (ats_bool_type, tmp134) ;
ATSlocal (ats_ptr_type, tmp135) ;
ATSlocal (ats_ptr_type, tmp136) ;
ATSlocal (ats_ptr_type, tmp137) ;
ATSlocal (ats_ptr_type, tmp138) ;
ATSlocal (ats_ptr_type, tmp139) ;
ATSlocal (ats_ptr_type, tmp140) ;
ATSlocal (ats_ptr_type, tmp141) ;
ATSlocal (ats_ptr_type, tmp142) ;
ATSlocal (ats_bool_type, tmp143) ;
ATSlocal (ats_bool_type, tmp144) ;

__ats_lab_auxlabmatlst_env_23:
do {
/* branch: __ats_lab_41 */
__ats_lab_41_0:
if (arg3 == (ats_sum_ptr_type)0) { goto __ats_lab_44_0 ; }
__ats_lab_41_1:
do {
/* branch: __ats_lab_42 */
__ats_lab_42_0:
if (arg4 == (ats_sum_ptr_type)0) { goto __ats_lab_43_0 ; }
__ats_lab_42_1:
// if (arg3 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
tmp135 = ats_caselptrlab_mac(anairiats_sum_3, arg3, atslab_0) ;
tmp136 = ats_caselptrlab_mac(anairiats_sum_3, arg3, atslab_1) ;
// if (arg4 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
tmp137 = ats_caselptrlab_mac(anairiats_sum_3, arg4, atslab_0) ;
tmp138 = ats_caselptrlab_mac(anairiats_sum_3, arg4, atslab_1) ;
// 
tmp139 = ats_caselptrlab_mac(anairiats_sum_1, tmp135, atslab_0) ;
tmp140 = ats_caselptrlab_mac(anairiats_sum_1, tmp135, atslab_2) ;
// 
tmp141 = ats_caselptrlab_mac(anairiats_sum_1, tmp137, atslab_0) ;
tmp142 = ats_caselptrlab_mac(anairiats_sum_1, tmp137, atslab_2) ;
tmp144 = _2tmp_2ATS_2dPostiats_2src_2pats_label_2esats__eq_label_label (tmp139, tmp141) ;
if (tmp144) {
tmp143 = auxmat_env_21 (arg0, arg1, arg2, tmp140, tmp142) ;
} else {
tmp143 = ats_false_bool ;
} /* end of [if] */
if (tmp143) {
arg0 = arg0 ;
arg1 = arg1 ;
arg2 = arg2 ;
arg3 = tmp136 ;
arg4 = tmp138 ;
goto __ats_lab_auxlabmatlst_env_23 ; // tail call
} else {
tmp134 = ats_false_bool ;
} /* end of [if] */
break ;

/* branch: __ats_lab_43 */
__ats_lab_43_0:
// if (arg4 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_43_1:
tmp134 = ats_false_bool ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_44 */
__ats_lab_44_0:
// if (arg3 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_44_1:
do {
/* branch: __ats_lab_45 */
__ats_lab_45_0:
if (arg4 == (ats_sum_ptr_type)0) { goto __ats_lab_46_0 ; }
__ats_lab_45_1:
tmp134 = ats_false_bool ;
break ;

/* branch: __ats_lab_46 */
__ats_lab_46_0:
// if (arg4 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_46_1:
tmp134 = ats_true_bool ;
break ;
} while (0) ;
break ;
} while (0) ;
return (tmp134) ;
} /* end of [auxlabmatlst_env_23] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 14459(line=825, offs=1) -- 14967(line=848, offs=4)
*/
ATSstaticdec()
ats_bool_type
auxmatlstlst_26 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
ATSlocal (ats_bool_type, tmp145) ;
ATSlocal (ats_ptr_type, tmp146) ;
ATSlocal (ats_ptr_type, tmp147) ;
ATSlocal (ats_ptr_type, tmp148) ;
ATSlocal (ats_ptr_type, tmp149) ;
ATSlocal (ats_bool_type, tmp150) ;
ATSlocal (ats_ptr_type, tmp151) ;

__ats_lab_auxmatlstlst_26:
do {
/* branch: __ats_lab_47 */
__ats_lab_47_0:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_50_0 ; }
__ats_lab_47_1:
tmp146 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_0) ;
tmp147 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_1) ;
do {
/* branch: __ats_lab_48 */
__ats_lab_48_0:
if (arg2 == (ats_sum_ptr_type)0) { goto __ats_lab_49_0 ; }
__ats_lab_48_1:
tmp148 = ats_caselptrlab_mac(anairiats_sum_3, arg2, atslab_0) ;
tmp149 = ats_caselptrlab_mac(anairiats_sum_3, arg2, atslab_1) ;
tmp151 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_8, tmp148), atslab_t2mpmarg_arg) ;
tmp150 = auxmatlst_20 (arg0, tmp146, tmp151) ;
if (tmp150) {
arg0 = arg0 ;
arg1 = tmp147 ;
arg2 = tmp149 ;
goto __ats_lab_auxmatlstlst_26 ; // tail call
} else {
tmp145 = ats_false_bool ;
} /* end of [if] */
break ;

/* branch: __ats_lab_49 */
__ats_lab_49_0:
// if (arg2 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_49_1:
tmp145 = ats_true_bool ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_50 */
__ats_lab_50_0:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_50_1:
tmp145 = ats_true_bool ;
break ;
} while (0) ;
return (tmp145) ;
} /* end of [auxmatlstlst_26] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 15019(line=853, offs=1) -- 15225(line=864, offs=4)
*/
ATSstaticdec()
ats_ptr_type
auxbndlstlst_27 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp152) ;
ATSlocal (ats_ptr_type, tmp153) ;
ATSlocal (ats_ptr_type, tmp154) ;
ATSlocal (ats_ptr_type, tmp155) ;

__ats_lab_auxbndlstlst_27:
do {
/* branch: __ats_lab_51 */
__ats_lab_51_0:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_52_0 ; }
__ats_lab_51_1:
tmp153 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_0) ;
tmp154 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_1) ;
tmp155 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_8, tmp153), atslab_t2mpmarg_arg) ;
tmp152 = auxbndlstlst2_28 (arg0, tmp155, tmp154) ;
break ;

/* branch: __ats_lab_52 */
__ats_lab_52_0:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_52_1:
tmp152 = (ats_sum_ptr_type)0 ;
break ;
} while (0) ;
return (tmp152) ;
} /* end of [auxbndlstlst_27] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 15256(line=867, offs=1) -- 15631(line=884, offs=4)
*/
ATSstaticdec()
ats_ptr_type
auxbndlstlst2_28 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp156) ;
ATSlocal (ats_ptr_type, tmp157) ;
ATSlocal (ats_ptr_type, tmp158) ;
ATSlocal (ats_ptr_type, tmp159) ;
ATSlocal (ats_ptr_type, tmp160) ;
ATSlocal (ats_ptr_type, tmp161) ;
ATSlocal (ats_ptr_type, tmp162) ;

__ats_lab_auxbndlstlst2_28:
do {
/* branch: __ats_lab_53 */
__ats_lab_53_0:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_54_0 ; }
__ats_lab_53_1:
tmp157 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_0) ;
tmp158 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_1) ;
tmp159 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2exp_hnfize (tmp157) ;
if (arg0 == (ats_sum_ptr_type)0) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_template.dats: 15438(line=877, offs=9) -- 15466(line=877, offs=37)") ; }
tmp160 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_0) ;
tmp161 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_1) ;
tmp162 = auxbndlstlst2_28 (tmp161, tmp158, arg2) ;
tmp156 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
ats_selptrset_mac(anairiats_sum_1, tmp156, atslab_0, tmp160) ;
ats_selptrset_mac(anairiats_sum_1, tmp156, atslab_1, tmp159) ;
ats_selptrset_mac(anairiats_sum_1, tmp156, atslab_2, tmp162) ;
break ;

/* branch: __ats_lab_54 */
__ats_lab_54_0:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_54_1:
tmp156 = auxbndlstlst_27 (arg0, arg2) ;
break ;
} while (0) ;
return (tmp156) ;
} /* end of [auxbndlstlst2_28] */

/*
// /home/ats-lang-anairiats-0.2.12/prelude/DATS/list.dats: 52519(line=1874, offs=5) -- 52952(line=1891, offs=4)
*/
ATSstaticdec()
ats_void_type
loop_32 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ref_type arg2, ats_ptr_type arg3) {
/* local vardec */
// ATSlocal_void (tmp169) ;
ATSlocal (ats_ptr_type, tmp170) ;
ATSlocal (ats_ptr_type, tmp171) ;
ATSlocal (ats_ptr_type, tmp172) ;
ATSlocal (ats_ptr_type, tmp173) ;
ATSlocal (ats_ptr_type, tmp174) ;
ATSlocal (ats_ptr_type, tmp175) ;

__ats_lab_loop_32:
do {
/* branch: __ats_lab_55 */
__ats_lab_55_0:
if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_56_0 ; }
__ats_lab_55_1:
tmp170 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_0) ;
tmp171 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_1) ;
tmp172 = ((ats_ptr_type(*)(ats_ptr_type, ats_ptr_type))arg1) (tmp170, arg3) ;
tmp173 = ATS_MALLOC(sizeof(anairiats_sum_3)) ;
ats_selptrset_mac(anairiats_sum_3, tmp173, atslab_0, tmp172) ;
ats_ptrget_mac(ats_ptr_type, arg2) = tmp173 ;
// if (ats_ptrget_mac(ats_ptr_type, arg2) == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
tmp174 = &ats_caselptrlab_mac(anairiats_sum_3, ats_ptrget_mac(ats_ptr_type, arg2), atslab_1) ;
arg0 = tmp171 ;
arg1 = arg1 ;
arg2 = tmp174 ;
arg3 = arg3 ;
goto __ats_lab_loop_32 ; // tail call
break ;

/* branch: __ats_lab_56 */
__ats_lab_56_0:
// if (arg0 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_56_1:
tmp175 = (ats_sum_ptr_type)0 ;
ats_ptrget_mac(ats_ptr_type, arg2) = tmp175 ;
break ;
} while (0) ;
return /* (tmp169) */ ;
} /* end of [loop_32] */

/*
// /home/ats-lang-anairiats-0.2.12/prelude/DATS/list.dats: 52444(line=1870, offs=3) -- 53099(line=1899, offs=4)
*/
ATSstaticdec()
ats_ptr_type
list_map_funenv_01412_ats_ptr_type_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp168) ;
ATSlocal (ats_ptr_type, tmp176) ;
// ATSlocal_void (tmp177) ;

__ats_lab_list_map_funenv_01412_ats_ptr_type_ats_ptr_type:
/* ats_ptr_type tmp176 ; */
/* tmp177 = */ loop_32 (arg0, arg1, (&tmp176), arg2) ;
tmp168 = tmp176 ;
return (tmp168) ;
} /* end of [list_map_funenv_01412_ats_ptr_type_ats_ptr_type] */

/*
// /home/ats-lang-anairiats-0.2.12/prelude/DATS/list.dats: 53173(line=1904, offs=3) -- 53424(line=1911, offs=2)
*/
ATSstaticdec()
ats_ptr_type
list_map_fun_01413_ats_ptr_type_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp167) ;

__ats_lab_list_map_fun_01413_ats_ptr_type_ats_ptr_type:
tmp167 = list_map_funenv_01412_ats_ptr_type_ats_ptr_type (arg0, ats_castfn_mac(ats_ptr_type, arg1), atspre_null_ptr) ;
return (tmp167) ;
} /* end of [list_map_fun_01413_ats_ptr_type_ats_ptr_type] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 15872(line=896, offs=52) -- 15897(line=896, offs=77)
*/
ATSstaticdec()
ats_ptr_type
__ats_fun_33 (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp178) ;

__ats_lab___ats_fun_33:
tmp178 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_8, arg0), atslab_t2mpmarg_arg) ;
return (tmp178) ;
} /* end of [__ats_fun_33] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 15736(line=892, offs=3) -- 16046(line=903, offs=4)
*/
ATSglobaldec()
ats_bool_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_tmparg_match (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_bool_type, tmp163) ;
ATSlocal (ats_ptr_type, tmp164) ;
ATSlocal (ats_ptr_type, tmp165) ;
ATSlocal (ats_ptr_type, tmp166) ;
ATSlocal (ats_bool_type, tmp179) ;
// ATSlocal_void (tmp180) ;
// ATSlocal_void (tmp181) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_tmparg_match:
tmp164 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_make_nil () ;
tmp165 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_get_tmparg (arg0) ;
tmp166 = list_map_fun_01413_ats_ptr_type_ats_ptr_type (tmp165, &__ats_fun_33) ;
tmp179 = auxmatlstlst_26 (tmp164, ats_castfn_mac(ats_ptr_type, tmp166), arg1) ;
/* tmp180 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_free (tmp164) ;
/* tmp181 = */ list_vt_free_01499_ats_ptr_type (tmp166) ;
tmp163 = tmp179 ;
return (tmp163) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_tmparg_match] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 16135(line=909, offs=3) -- 16753(line=948, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdec_tmpcst_match (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_int_type arg3) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp182) ;
ATSlocal (ats_ptr_type, tmp183) ;
ATSlocal (ats_bool_type, tmp184) ;
ATSlocal (ats_ptr_type, tmp185) ;
ATSlocal (ats_ptr_type, tmp186) ;
ATSlocal (ats_bool_type, tmp187) ;
ATSlocal (ats_ptr_type, tmp188) ;
ATSlocal (ats_ptr_type, tmp189) ;
// ATSlocal_void (tmp190) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdec_tmpcst_match:
tmp183 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_9, arg0), atslab_hiimpdec_cst) ;
tmp184 = _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__eq_d2cst_d2cst (arg1, tmp183) ;
if (tmp184) {
tmp186 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_9, arg0), atslab_hiimpdec_imparg) ;
tmp185 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_make_svarlst (tmp186) ;
tmp188 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_9, arg0), atslab_hiimpdec_tmparg) ;
tmp187 = auxmatlstlst_26 (tmp185, tmp188, arg2) ;
if (tmp187) {
tmp189 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv2tmpsub (tmp185) ;
tmp182 = ATS_MALLOC(sizeof(anairiats_sum_10)) ;
((ats_sum_ptr_type)tmp182)->tag = 1 ;
ats_selptrset_mac(anairiats_sum_10, tmp182, atslab_0, arg0) ;
ats_selptrset_mac(anairiats_sum_10, tmp182, atslab_1, tmp189) ;
ats_selptrset_mac(anairiats_sum_10, tmp182, atslab_2, arg3) ;
} else {
/* tmp190 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_free (tmp185) ;
tmp182 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPCSTMATnone_0) ;
} /* end of [if] */
} else {
tmp182 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPCSTMATnone_0) ;
} /* end of [if] */
return (tmp182) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdec_tmpcst_match] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 16845(line=954, offs=3) -- 17595(line=997, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdec2_tmpcst_match (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_int_type arg3) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp191) ;
ATSlocal (ats_ptr_type, tmp192) ;
ATSlocal (ats_ptr_type, tmp193) ;
ATSlocal (ats_ptr_type, tmp194) ;
ATSlocal (ats_ptr_type, tmp195) ;
ATSlocal (ats_ptr_type, tmp196) ;
ATSlocal (ats_bool_type, tmp197) ;
ATSlocal (ats_ptr_type, tmp198) ;
ATSlocal (ats_bool_type, tmp199) ;
ATSlocal (ats_ptr_type, tmp200) ;
ATSlocal (ats_ptr_type, tmp201) ;
// ATSlocal_void (tmp202) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdec2_tmpcst_match:

tmp192 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
tmp193 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_1) ;
tmp194 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_2) ;
tmp195 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_9, tmp192), atslab_hiimpdec_cst) ;
tmp196 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_9, tmp192), atslab_hiimpdec_imparg) ;
tmp197 = _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__eq_d2cst_d2cst (arg1, tmp195) ;
if (tmp197) {
tmp198 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_make_svarlst (tmp196) ;
tmp199 = auxmatlstlst_26 (tmp198, tmp194, arg2) ;
if (tmp199) {
tmp200 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv2tmpsub (tmp198) ;
tmp201 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__tmpsub_append (tmp193, tmp200) ;
tmp191 = ATS_MALLOC(sizeof(anairiats_sum_10)) ;
((ats_sum_ptr_type)tmp191)->tag = 1 ;
ats_selptrset_mac(anairiats_sum_10, tmp191, atslab_0, tmp192) ;
ats_selptrset_mac(anairiats_sum_10, tmp191, atslab_1, tmp201) ;
ats_selptrset_mac(anairiats_sum_10, tmp191, atslab_2, arg3) ;
} else {
/* tmp202 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_free (tmp198) ;
tmp191 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPCSTMATnone_0) ;
} /* end of [if] */
} else {
tmp191 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPCSTMATnone_0) ;
} /* end of [if] */
return (tmp191) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdec2_tmpcst_match] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 17690(line=1003, offs=3) -- 18230(line=1035, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdeclst_tmpcst_match (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_int_type arg3) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp203) ;
ATSlocal (ats_ptr_type, tmp204) ;
ATSlocal (ats_ptr_type, tmp205) ;
ATSlocal (ats_ptr_type, tmp206) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdeclst_tmpcst_match:
do {
/* branch: __ats_lab_57 */
__ats_lab_57_0:
if (arg0 != (ats_sum_ptr_type)0) { goto __ats_lab_58_0 ; }
__ats_lab_57_1:
tmp203 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPCSTMATnone_0) ;
break ;

/* branch: __ats_lab_58 */
__ats_lab_58_0:
// if (arg0 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_58_1:
tmp204 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_0) ;
tmp205 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_1) ;
tmp206 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdec_tmpcst_match (tmp204, arg1, arg2, arg3) ;
do {
/* branch: __ats_lab_59 */
__ats_lab_59_0:
if (((ats_sum_ptr_type)tmp206)->tag != 1) { goto __ats_lab_60_0 ; }
__ats_lab_59_1:
tmp203 = tmp206 ;
break ;

/* branch: __ats_lab_60 */
__ats_lab_60_0:
if (((ats_sum_ptr_type)tmp206)->tag != 2) { goto __ats_lab_61_0 ; }
__ats_lab_60_1:
tmp203 = tmp206 ;
break ;

/* branch: __ats_lab_61 */
__ats_lab_61_0:
// if (((ats_sum_ptr_type)tmp206)->tag != 0) { ats_deadcode_failure_handle () ; }
__ats_lab_61_1:
arg0 = tmp205 ;
arg1 = arg1 ;
arg2 = arg2 ;
arg3 = arg3 ;
goto __ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdeclst_tmpcst_match ; // tail call
break ;
} while (0) ;
break ;
} while (0) ;
return (tmp203) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdeclst_tmpcst_match] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 18325(line=1041, offs=3) -- 18712(line=1072, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__tmpcstmat_tmpcst_match (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp207) ;
ATSlocal (ats_bool_type, tmp208) ;
ATSlocal (ats_ptr_type, tmp209) ;
ATSlocal (ats_ptr_type, tmp210) ;
// ATSlocal_void (tmp211) ;
ATSlocal (ats_bool_type, tmp212) ;
ATSlocal (ats_ptr_type, tmp213) ;
ATSlocal (ats_bool_type, tmp214) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__tmpcstmat_tmpcst_match:
/* ats_bool_type tmp208 ; */
tmp208 = ats_false_bool ;
if (((ats_sum_ptr_type)arg0)->tag != 2) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_template.dats: 18382(line=1045, offs=5) -- 18420(line=1045, offs=43)") ; }
tmp209 = ats_caselptrlab_mac(anairiats_sum_7, arg0, atslab_0) ;
tmp210 = ats_caselptrlab_mac(anairiats_sum_7, arg0, atslab_1) ;
tmp212 = _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__eq_d2cst_d2cst (tmp209, arg1) ;
if (tmp212) {
tmp213 = (ats_sum_ptr_type)0 ;
tmp214 = auxmatlstlst_26 (tmp213, tmp210, arg2) ;
tmp208 = tmp214 ;
/* tmp211 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_free (tmp213) ;
} else {
/* empty */
} /* end of [if] */
if (tmp208) {
tmp207 = arg0 ;
} else {
tmp207 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPCSTMATnone_0) ;
} /* end of [if] */
return (tmp207) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__tmpcstmat_tmpcst_match] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 18801(line=1078, offs=3) -- 18941(line=1085, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec2tmpvarmat (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp215) ;
ATSlocal (ats_ptr_type, tmp216) ;
ATSlocal (ats_ptr_type, tmp217) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec2tmpvarmat:
tmp216 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_11, arg0), atslab_hifundec_imparg) ;
tmp217 = auxbndlstlst_27 (tmp216, arg1) ;
tmp215 = ATS_MALLOC(sizeof(anairiats_sum_10)) ;
((ats_sum_ptr_type)tmp215)->tag = 1 ;
ats_selptrset_mac(anairiats_sum_10, tmp215, atslab_0, arg0) ;
ats_selptrset_mac(anairiats_sum_10, tmp215, atslab_1, tmp217) ;
ats_selptrset_mac(anairiats_sum_10, tmp215, atslab_2, 0) ;
return (tmp215) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec2tmpvarmat] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 19008(line=1089, offs=3) -- 19197(line=1103, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundecopt2tmpvarmat (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp218) ;
ATSlocal (ats_ptr_type, tmp219) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundecopt2tmpvarmat:
do {
/* branch: __ats_lab_62 */
__ats_lab_62_0:
if (arg0 != (ats_sum_ptr_type)0) { goto __ats_lab_63_0 ; }
__ats_lab_62_1:
tmp218 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPVARMATnone_0) ;
break ;

/* branch: __ats_lab_63 */
__ats_lab_63_0:
if (arg0 == (ats_sum_ptr_type)0) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_template.dats: 19094(line=1099, offs=1) -- 19190(line=1101, offs=50)") ; }
__ats_lab_63_1:
tmp219 = ats_caselptrlab_mac(anairiats_sum_12, arg0, atslab_0) ;
ATS_FREE(arg0) ;
tmp218 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec2tmpvarmat (tmp219, arg1) ;
break ;
} while (0) ;
return (tmp218) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundecopt2tmpvarmat] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 19288(line=1109, offs=3) -- 19429(line=1118, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec_tmpvar_match (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp220) ;
ATSlocal (ats_ptr_type, tmp221) ;
ATSlocal (ats_bool_type, tmp222) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec_tmpvar_match:
tmp221 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_11, arg0), atslab_hifundec_var) ;
tmp222 = _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__eq_d2var_d2var (tmp221, arg1) ;
if (tmp222) {
tmp220 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec2tmpvarmat (arg0, arg2) ;
} else {
tmp220 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPVARMATnone_0) ;
} /* end of [if] */
return (tmp220) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec_tmpvar_match] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 19521(line=1124, offs=3) -- 19871(line=1147, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec2_tmpvar_match (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp223) ;
ATSlocal (ats_ptr_type, tmp224) ;
ATSlocal (ats_ptr_type, tmp225) ;
ATSlocal (ats_ptr_type, tmp226) ;
ATSlocal (ats_bool_type, tmp227) ;
ATSlocal (ats_ptr_type, tmp228) ;
ATSlocal (ats_ptr_type, tmp229) ;
ATSlocal (ats_ptr_type, tmp230) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec2_tmpvar_match:

tmp224 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_0) ;
tmp225 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_1) ;
tmp226 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_11, tmp224), atslab_hifundec_var) ;
tmp227 = _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__eq_d2var_d2var (tmp226, arg1) ;
if (tmp227) {
tmp228 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_11, tmp224), atslab_hifundec_imparg) ;
tmp229 = auxbndlstlst_27 (tmp228, arg2) ;
tmp230 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__tmpsub_append (tmp225, tmp229) ;
tmp223 = ATS_MALLOC(sizeof(anairiats_sum_10)) ;
((ats_sum_ptr_type)tmp223)->tag = 1 ;
ats_selptrset_mac(anairiats_sum_10, tmp223, atslab_0, tmp224) ;
ats_selptrset_mac(anairiats_sum_10, tmp223, atslab_1, tmp230) ;
ats_selptrset_mac(anairiats_sum_10, tmp223, atslab_2, 0) ;
} else {
tmp223 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPVARMATnone_0) ;
} /* end of [if] */
return (tmp223) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec2_tmpvar_match] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 19964(line=1153, offs=3) -- 20323(line=1183, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__tmpvarmat_tmpvar_match (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp231) ;
ATSlocal (ats_bool_type, tmp232) ;
ATSlocal (ats_ptr_type, tmp233) ;
ATSlocal (ats_ptr_type, tmp234) ;
// ATSlocal_void (tmp235) ;
ATSlocal (ats_bool_type, tmp236) ;
ATSlocal (ats_ptr_type, tmp237) ;
ATSlocal (ats_bool_type, tmp238) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__tmpvarmat_tmpvar_match:
/* ats_bool_type tmp232 ; */
tmp232 = ats_false_bool ;
if (((ats_sum_ptr_type)arg0)->tag != 2) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_template.dats: 20021(line=1157, offs=5) -- 20059(line=1157, offs=43)") ; }
tmp233 = ats_caselptrlab_mac(anairiats_sum_7, arg0, atslab_0) ;
tmp234 = ats_caselptrlab_mac(anairiats_sum_7, arg0, atslab_1) ;
tmp236 = _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__eq_d2var_d2var (tmp233, arg1) ;
if (tmp236) {
tmp237 = (ats_sum_ptr_type)0 ;
tmp238 = auxmatlstlst_26 (tmp237, tmp234, arg2) ;
tmp232 = tmp238 ;
/* tmp235 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__impenv_free (tmp237) ;
} else {
/* empty */
} /* end of [if] */
if (tmp232) {
tmp231 = arg0 ;
} else {
tmp231 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__TMPVARMATnone_0) ;
} /* end of [if] */
return (tmp231) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__tmpvarmat_tmpvar_match] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 20960(line=1217, offs=3) -- 21255(line=1231, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_ptr_type arg4) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp239) ;
ATSlocal (ats_ptr_type, tmp240) ;
ATSlocal (ats_ptr_type, tmp241) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst:
tmp240 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_get_funent (arg3) ;
do {
/* branch: __ats_lab_64 */
__ats_lab_64_0:
if (tmp240 != (ats_sum_ptr_type)0) { goto __ats_lab_65_0 ; }
__ats_lab_64_1:
tmp239 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst_none (arg0, arg1, arg2, arg3, arg4) ;
break ;

/* branch: __ats_lab_65 */
__ats_lab_65_0:
// if (tmp240 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_65_1:
tmp241 = ats_caselptrlab_mac(anairiats_sum_12, tmp240, atslab_0) ;
tmp239 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst_some (arg0, arg1, arg2, arg3, arg4, tmp241) ;
break ;
} while (0) ;
return (tmp239) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 21351(line=1237, offs=3) -- 21808(line=1255, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst_none (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_ptr_type arg4) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp242) ;
ATSlocal (ats_ptr_type, tmp243) ;
ATSlocal (ats_ptr_type, tmp244) ;
ATSlocal (ats_ptr_type, tmp245) ;
ATSlocal (ats_ptr_type, tmp246) ;
ATSlocal (ats_ptr_type, tmp247) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst_none:
tmp243 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_get_tmparg (arg3) ;
do {
/* branch: __ats_lab_66 */
__ats_lab_66_0:
if (tmp243 != (ats_sum_ptr_type)0) { goto __ats_lab_67_0 ; }
__ats_lab_66_1:
tmp242 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__primval_make2_funlab (arg1, arg2, arg3) ;
break ;

/* branch: __ats_lab_67 */
__ats_lab_67_0:
// if (tmp243 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_67_1:
tmp244 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_get_d2copt (arg3) ;
if (tmp244 == (ats_sum_ptr_type)0) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_template.dats: 21563(line=1248, offs=9) -- 21598(line=1248, offs=44)") ; }
tmp245 = ats_caselptrlab_mac(anairiats_sum_12, tmp244, atslab_0) ;
tmp246 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__t2mpmarglst_tsubst (arg1, arg4, tmp243) ;
tmp247 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_tmpcst_match (arg0, tmp245, tmp246) ;
tmp242 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccomp_tmpcstmat (arg0, arg1, arg2, tmp245, tmp246, tmp247) ;
break ;
} while (0) ;
return (tmp242) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst_none] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 21909(line=1261, offs=3) -- 22769(line=1306, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst_some (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_ptr_type arg4, ats_ptr_type arg5) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp248) ;
ATSlocal (ats_ptr_type, tmp249) ;
ATSlocal (ats_int_type, tmp250) ;
ATSlocal (ats_ptr_type, tmp251) ;
// ATSlocal_void (tmp252) ;
// ATSlocal_void (tmp253) ;
// ATSlocal_void (tmp254) ;
// ATSlocal_void (tmp255) ;
// ATSlocal_void (tmp256) ;
// ATSlocal_void (tmp257) ;
// ATSlocal_void (tmp258) ;
ATSlocal (ats_ptr_type, tmp259) ;
// ATSlocal_void (tmp260) ;
// ATSlocal_void (tmp261) ;
// ATSlocal_void (tmp262) ;
ATSlocal (ats_ptr_type, tmp263) ;
// ATSlocal_void (tmp264) ;
ATSlocal (ats_ptr_type, tmp265) ;
// ATSlocal_void (tmp266) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst_some:
tmp249 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__tmpsub2stasub (arg4) ;
tmp250 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_incget_ncopy (arg3) ;
tmp251 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_subst (tmp249, arg3) ;
/* tmp252 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_set_suffix (tmp251, tmp250) ;
/* tmp253 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__the_funlablst_add (tmp251) ;
/* tmp254 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_add_flabsetenv (arg0, tmp251) ;
/* tmp255 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_push (arg0) ;
/* tmp256 = ats_selsin_mac(tmp255, atslab_1) */ ;
/* tmp257 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_add_tmpsub (arg0, arg4) ;
/* tmp258 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_inc_tmprecdepth (arg0) ;
tmp259 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funent_subst (arg0, tmp249, tmp251, arg5, tmp250) ;
/* tmp260 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_dec_tmprecdepth (arg0) ;
/* tmp261 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccompenv_pop (arg0) ;
tmp263 = ATS_MALLOC(sizeof(anairiats_sum_12)) ;
ats_selptrset_mac(anairiats_sum_12, tmp263, atslab_0, arg4) ;
/* tmp262 = */ patsopt_funent_set_tmpsub (tmp259, tmp263) ;
tmp265 = ATS_MALLOC(sizeof(anairiats_sum_12)) ;
ats_selptrset_mac(anairiats_sum_12, tmp265, atslab_0, tmp259) ;
/* tmp264 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_set_funent (tmp251, tmp265) ;
/* tmp266 = */ _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__stasub_free (tmp249) ;
tmp248 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__primval_make2_funlab (arg1, arg2, tmp251) ;
return (tmp248) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst_some] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 23056(line=1322, offs=3) -- 23735(line=1350, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccomp_tmpcstmat (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_ptr_type arg4, ats_ptr_type arg5) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp267) ;
ATSlocal (ats_ptr_type, tmp268) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccomp_tmpcstmat:
do {
/* branch: __ats_lab_68 */
__ats_lab_68_0:
if (((ats_sum_ptr_type)arg5)->tag != 1) { goto __ats_lab_69_0 ; }
__ats_lab_68_1:
tmp267 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_tmpcstmat_some (arg0, arg1, arg2, arg3, arg4, arg5) ;
break ;

/* branch: __ats_lab_69 */
__ats_lab_69_0:
if (((ats_sum_ptr_type)arg5)->tag != 2) { goto __ats_lab_70_0 ; }
__ats_lab_69_1:
tmp268 = ats_caselptrlab_mac(anairiats_sum_7, arg5, atslab_2) ;
tmp267 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__primval_make2_funlab (arg1, arg2, tmp268) ;
break ;

/* branch: __ats_lab_70 */
__ats_lab_70_0:
// if (((ats_sum_ptr_type)arg5)->tag != 0) { ats_deadcode_failure_handle () ; }
__ats_lab_70_1:
tmp267 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__primval_tmpltcstmat (arg1, arg2, arg3, arg4, arg5) ;
break ;
} while (0) ;
return (tmp267) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccomp_tmpcstmat] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 23798(line=1354, offs=3) -- 24127(line=1373, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_tmpcstmat_some (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_ptr_type arg4, ats_ptr_type arg5) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp269) ;
ATSlocal (ats_ptr_type, tmp270) ;
ATSlocal (ats_ptr_type, tmp271) ;
ATSlocal (ats_int_type, tmp272) ;
ATSlocal (ats_int_type, tmp273) ;
// ATSlocal_void (tmp274) ;
// ATSlocal_void (tmp275) ;
ATSlocal (ats_ptr_type, tmp276) ;
ATSlocal (ats_ptr_type, tmp277) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_tmpcstmat_some:
if (((ats_sum_ptr_type)arg5)->tag != 1) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_template.dats: 23847(line=1357, offs=1) -- 23883(line=1358, offs=23)") ; }
tmp270 = ats_caselptrlab_mac(anairiats_sum_10, arg5, atslab_0) ;
tmp271 = ats_caselptrlab_mac(anairiats_sum_10, arg5, atslab_1) ;
tmp272 = ats_caselptrlab_mac(anairiats_sum_10, arg5, atslab_2) ;
tmp273 = _2tmp_2ATS_2dPostiats_2src_2pats_trans2_env_2esats__the_d2varlev_save () ;
/* tmp274 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdec_ccomp_if (arg0, 0, tmp270, tmp272) ;
/* tmp275 = */ _2tmp_2ATS_2dPostiats_2src_2pats_trans2_env_2esats__the_d2varlev_restore (tmp273) ;
tmp276 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hiimpdec_get_funlabopt (tmp270) ;
if (tmp276 == (ats_sum_ptr_type)0) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_template.dats: 24024(line=1369, offs=5) -- 24064(line=1369, offs=45)") ; }
tmp277 = ats_caselptrlab_mac(anairiats_sum_12, tmp276, atslab_0) ;
tmp269 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst (arg0, arg1, arg2, tmp277, tmp271) ;
return (tmp269) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_tmpcstmat_some] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 24409(line=1390, offs=3) -- 25174(line=1421, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccomp_tmpvarmat (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_ptr_type arg4, ats_ptr_type arg5) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp278) ;
ATSlocal (ats_ptr_type, tmp279) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccomp_tmpvarmat:
do {
/* branch: __ats_lab_71 */
__ats_lab_71_0:
if (((ats_sum_ptr_type)arg5)->tag != 1) { goto __ats_lab_72_0 ; }
__ats_lab_71_1:
tmp278 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_tmpvarmat_some (arg0, arg1, arg2, arg3, arg4, arg5) ;
break ;

/* branch: __ats_lab_72 */
__ats_lab_72_0:
if (((ats_sum_ptr_type)arg5)->tag != 2) { goto __ats_lab_73_0 ; }
__ats_lab_72_1:
tmp279 = ats_caselptrlab_mac(anairiats_sum_7, arg5, atslab_2) ;
tmp278 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__primval_make2_funlab (arg1, arg2, tmp279) ;
break ;

/* branch: __ats_lab_73 */
__ats_lab_73_0:
// if (((ats_sum_ptr_type)arg5)->tag != 0) { ats_deadcode_failure_handle () ; }
__ats_lab_73_1:
tmp278 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__primval_tmpltvarmat (arg1, arg2, arg3, arg4, arg5) ;
break ;
} while (0) ;
return (tmp278) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__ccomp_tmpvarmat] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_template.dats: 25237(line=1425, offs=3) -- 25827(line=1455, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_tmpvarmat_some (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_ptr_type arg4, ats_ptr_type arg5) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp280) ;
ATSlocal (ats_ptr_type, tmp281) ;
ATSlocal (ats_ptr_type, tmp282) ;
ATSlocal (ats_ptr_type, tmp283) ;
// ATSlocal_void (tmp284) ;
ATSlocal (ats_ptr_type, tmp285) ;
ATSlocal (ats_ptr_type, tmp286) ;
ATSlocal (ats_ptr_type, tmp287) ;
ATSlocal (ats_ptr_type, tmp288) ;
ATSlocal (ats_ptr_type, tmp289) ;
ATSlocal (ats_ptr_type, tmp290) ;
ATSlocal (ats_ptr_type, tmp291) ;
ATSlocal (ats_ptr_type, tmp292) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_tmpvarmat_some:
if (((ats_sum_ptr_type)arg5)->tag != 1) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_template.dats: 25286(line=1428, offs=1) -- 25327(line=1429, offs=28)") ; }
tmp281 = ats_caselptrlab_mac(anairiats_sum_10, arg5, atslab_0) ;
tmp282 = ats_caselptrlab_mac(anairiats_sum_10, arg5, atslab_1) ;
tmp283 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec_get_funlabopt (tmp281) ;
do {
/* branch: __ats_lab_74 */
__ats_lab_74_0:
if (tmp283 != (ats_sum_ptr_type)0) { goto __ats_lab_75_0 ; }
__ats_lab_74_1:
tmp285 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hifundec_get_hideclopt (tmp281) ;
if (tmp285 == (ats_sum_ptr_type)0) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_template.dats: 25433(line=1438, offs=9) -- 25480(line=1439, offs=43)") ; }
tmp286 = ats_caselptrlab_mac(anairiats_sum_12, tmp285, atslab_0) ;
tmp287 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_13, tmp286), atslab_hidecl_node) ;
if (((ats_sum_ptr_type)tmp287)->tag != 11) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_template.dats: 25509(line=1441, offs=9) -- 25564(line=1442, offs=45)") ; }
tmp288 = ats_caselptrlab_mac(anairiats_sum_7, tmp287, atslab_0) ;
tmp289 = ats_caselptrlab_mac(anairiats_sum_7, tmp287, atslab_1) ;
tmp290 = ats_caselptrlab_mac(anairiats_sum_7, tmp287, atslab_2) ;
/* tmp284 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundeclst_ccomp (arg0, 0, tmp288, tmp289, tmp290) ;
break ;

/* branch: __ats_lab_75 */
__ats_lab_75_0:
// if (tmp283 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_75_1:
break ;
} while (0) ;
tmp291 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hifundec_get_funlabopt (tmp281) ;
if (tmp291 == (ats_sum_ptr_type)0) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_template.dats: 25724(line=1451, offs=5) -- 25764(line=1451, offs=45)") ; }
tmp292 = ats_caselptrlab_mac(anairiats_sum_12, tmp291, atslab_0) ;
tmp280 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_funlab_tmpsubst (arg0, arg1, arg2, tmp292, tmp282) ;
return (tmp280) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__ccomp_tmpvarmat_some] */

/* static load function */

// extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_atspre_2edats__staload (void) ;
// extern ats_void_type ATS_2d0_2e2_2e12_2prelude_2SATS_2unsafe_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_basics_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_label_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_trans2_env_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__staload (void) ;

ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__staload () {
static int _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__staload_flag = 0 ;
if (_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__staload_flag) return ;
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__staload_flag = 1 ;

// _2tmp_2ATS_2dPostiats_2src_2pats_atspre_2edats__staload () ;
// ATS_2d0_2e2_2e12_2prelude_2SATS_2unsafe_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_basics_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_label_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_trans2_env_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__staload () ;

_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__IMPENVnil_0.tag = 0 ;
// _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__IMPENVcons_1.tag = 1 ;
return ;
} /* staload function */

/* dynamic load function */

// dynload flag declaration
extern ats_int_type _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__dynload_flag ;

ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__dynload () {
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__dynload_flag = 1 ;
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_template_2edats__staload () ;

#ifdef _ATS_PROOFCHECK
ATS_2d0_2e2_2e12_2prelude_2SATS_2list_2esats__list_length_is_nonnegative_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2SATS_2list_vt_2esats__list_vt_length_is_nonnegative_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2SATS_2array_2esats__array_v_takeout2_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_vt_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_vt_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_vt_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_vt_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_vt_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2list_vt_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2array_2edats____copy_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2array_2edats____free_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2array_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2array_2edats____assert_prfck () ;
#endif /* _ATS_PROOFCHECK */

/* marking static variables for GC */

/* marking external values for GC */

/* code for dynamic loading */
return ;
} /* end of [dynload function] */

/* external codes at mid */
/* external codes at bot */

/* ****** ****** */

/* end of [pats_ccomp_template_dats.c] */
