/*
**
** The C code is generated by ATS/Anairiats
** The compilation time is: 2020-11-6:  1h:11m
**
*/

/* 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/bool.cats"
#include "prelude/CATS/char.cats"
#include "prelude/CATS/byte.cats"
#include "prelude/CATS/float.cats"
#include "prelude/CATS/integer.cats"
#include "prelude/CATS/integer_ptr.cats"
#include "prelude/CATS/integer_fixed.cats"
#include "prelude/CATS/sizetype.cats"
#include "prelude/CATS/pointer.cats"
#include "prelude/CATS/reference.cats"
#include "prelude/CATS/string.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_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_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_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"

#include "libats/CATS/hashtable_chain.cats"

#include "libats/CATS/hashtable_chain.cats"
/* external codes at top */

typedef ats_ptr_type hitype ;

/* type definitions */
typedef
struct {
ats_ptr_type atslab_3 ;
ats_ptr_type atslab_4 ;
} anairiats_rec_0 ;

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

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

typedef struct {
int tag ;
ats_int_type atslab_0 ;
ats_ptr_type atslab_1 ;
} anairiats_sum_3 ;

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

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

typedef struct {
ats_ptr_type atslab_0 ;
} anairiats_sum_6 ;

typedef struct {
ats_int_type atslab_0 ;
} anairiats_sum_7 ;

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

typedef struct {
anairiats_rec_8 atslab_0 ;
ats_ptr_type atslab_1 ;
} anairiats_sum_9 ;

typedef
struct {
ats_size_type atslab_sz ;
ats_size_type atslab_tot ;
ats_ptr_type atslab_pbeg ;
ats_clo_ref_type atslab_hash ;
ats_clo_ref_type atslab_eqfn ;
} anairiats_rec_10 ;

typedef struct {
hitype atslab_0 ;
ats_ptr_type atslab_1 ;
ats_ptr_type atslab_2 ;
} anairiats_sum_11 ;

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

typedef
struct {
ats_ptr_type atslab_hisexp_name ;
ats_ptr_type atslab_hisexp_node ;
} anairiats_rec_13 ;

typedef struct {
ats_int_type atslab_0 ;
ats_int_type atslab_1 ;
ats_ptr_type atslab_2 ;
} anairiats_sum_14 ;

typedef struct {
int tag ;
ats_int_type atslab_0 ;
} anairiats_sum_15 ;

/* 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__TYRECKINDbox_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__TYRECKINDbox_lin_1) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__TYRECKINDflt0_2) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__TYRECKINDflt1_3) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__TYRECKINDflt_ext_4) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__S2Eextype_5) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__S2Eextkind_6) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__S2EVar_8) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__S2Eat_12) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__S2ZEextype_5) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__S2ZEextkind_6) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HITNAM_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSLABELED_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSEcst_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSEtyabs_2) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSEapp_3) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSErefarg_6) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSEtyarr_7) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSEtyrec_8) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSEtyrecsin_9) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSEtysum_10) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSEtyvar_11) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSEtyclo_12) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSEvararg_13) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSEs2exp_14) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__HSEs2zexp_15) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HTLABELED_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITnmd_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITapp_1) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyarr_2) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyrec_3) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtysum_4) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyexn_5) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyvar_6) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyclo_7) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITvararg_8) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITrefarg_9) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITundef_10) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITerror_11) ;
ATSextern_val(ats_exn_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e12_2libats_2DATS_2hashtable_chain_2edats__CHAINcons_0) ;
ATSextern_val(ats_sum_type, ATS_2d0_2e2_2e12_2libats_2DATS_2hashtable_chain_2edats__CHAINnil_1) ;

/* external dynamic constant declarations */
ATSextern_fun(ats_void_type, atspre_vbox_make_view_ptr) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, atspre_neg_bool) (ats_bool_type) ;
ATSextern_fun(ats_bool_type, atspre_lt_char_char) (ats_char_type, ats_char_type) ;
ATSextern_fun(ats_bool_type, atspre_gt_char_char) (ats_char_type, ats_char_type) ;
ATSextern_fun(ats_bool_type, atspre_eq_char_char) (ats_char_type, ats_char_type) ;
ATSextern_fun(ats_bool_type, atspre_neq_char_char) (ats_char_type, ats_char_type) ;
ATSextern_fun(ats_int_type, atspre_compare_char_char) (ats_char_type, ats_char_type) ;
ATSextern_fun(ats_void_type, atspre_fprint_char) (ats_ptr_type, ats_char_type) ;
ATSextern_fun(ats_bool_type, atspre_char_isdigit) (ats_char_type) ;
ATSextern_fun(ats_char_type, atspre_char_toupper) (ats_char_type) ;
ATSextern_fun(ats_bool_type, atspre_eq_char_char) (ats_char_type, ats_char_type) ;
ATSextern_fun(ats_double_type, atspre_double_of_size) (ats_size_type) ;
ATSextern_fun(ats_double_type, atspre_div_double_double) (ats_double_type, ats_double_type) ;
ATSextern_fun(ats_bool_type, atspre_lte_double_double) (ats_double_type, ats_double_type) ;
ATSextern_fun(ats_bool_type, atspre_gte_double_double) (ats_double_type, ats_double_type) ;
ATSextern_fun(ats_int_type, atspre_add_int_int) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_lt_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_bool_type, atspre_eq_int_int) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_neq_int_int) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_void_type, atspre_fprint_int) (ats_ptr_type, ats_int_type) ;
ATSextern_fun(ats_uint_type, atspre_add_uint_uint) (ats_uint_type, ats_uint_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_ulint_type, atspre_add_ulint_ulint) (ats_ulint_type, ats_ulint_type) ;
ATSextern_fun(ats_ulint_type, atspre_lsl_ulint_int1) (ats_ulint_type, ats_int_type) ;
ATSextern_fun(ats_llint_type, atspre_llint_of_int) (ats_int_type) ;
ATSextern_fun(ats_llint_type, atspre_mul_llint_llint) (ats_llint_type, ats_llint_type) ;
ATSextern_fun(ats_size_type, atspre_sub_size_size) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_bool_type, atspre_gte_size_size) (ats_size_type, ats_size_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_add_size1_size1) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_size_type, atspre_sub_size1_int1) (ats_size_type, ats_int_type) ;
ATSextern_fun(ats_size_type, atspre_sub_size1_size1) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_size_type, atspre_mul_size1_size1) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_size_type, atspre_mul2_size1_size1) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_size_type, atspre_div_size1_int1) (ats_size_type, ats_int_type) ;
ATSextern_fun(ats_size_type, atspre_mod1_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_gt_size1_size1) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_bool_type, atspre_gte_size1_int1) (ats_size_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_eq_size1_int1) (ats_size_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_eq_size1_size1) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_bool_type, atspre_neq_size1_size1) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_ptr_type, ats_malloc_gc) (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_bytes_strbuf_trans) (ats_ptr_type, ats_size_type) ;
ATSextern_fun(ats_bool_type, atspre_eq_string_string) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_bool_type, atspre_neq_string_string) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, atspre_fprint_string) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_char_type, atspre_string_get_char_at) (ats_ptr_type, ats_size_type) ;
ATSextern_fun(ats_char_type, atspre_string_get_char_at__intsz) (ats_ptr_type, ats_int_type) ;
ATSextern_fun(ats_ptr_type, atspre_string_copy) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, atspre_string_contains) (ats_ptr_type, ats_char_type) ;
ATSextern_fun(ats_size_type, atspre_string_length) (ats_ptr_type) ;
ATSextern_fun(ats_size_type, atspre_string_length) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, atspre_string_isnot_empty) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, atspre_string_isnot_empty) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, atspre_string_isnot_atend) (ats_ptr_type, ats_size_type) ;
ATSextern_val(ats_ptr_type, atspre_stropt_none) ;
ATSextern_fun(ats_bool_type, atspre_stropt_is_some) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, atspre_strptr_free) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, atspre_fprintf_exn) (ats_ptr_type, ats_ptr_type, ...) ;
ATSextern_fun(ats_ptr_type, atspre_tostringf) (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_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_utils_2esats__fprint_stropt) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_utils_2esats__charset_listize) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, patsopt_file2strptr) (ats_int_type) ;
ATSextern_fun(ats_size_type, ATS_2d0_2e2_2e12_2libats_2ngc_2SATS_2deque_arr_2esats__deque_cap) (ats_ref_type) ;
ATSextern_fun(ats_size_type, ATS_2d0_2e2_2e12_2libats_2ngc_2SATS_2deque_arr_2esats__deque_size) (ats_ref_type) ;
ATSextern_fun(ats_bool_type, ATS_2d0_2e2_2e12_2libats_2ngc_2SATS_2deque_arr_2esats__deque_is_empty) (ats_ref_type) ;
ATSextern_fun(ats_bool_type, ATS_2d0_2e2_2e12_2libats_2ngc_2SATS_2deque_arr_2esats__deque_isnot_empty) (ats_ref_type) ;
ATSextern_fun(ats_bool_type, ATS_2d0_2e2_2e12_2libats_2ngc_2SATS_2deque_arr_2esats__deque_is_full) (ats_ref_type) ;
ATSextern_fun(ats_bool_type, ATS_2d0_2e2_2e12_2libats_2ngc_2SATS_2deque_arr_2esats__deque_isnot_full) (ats_ref_type) ;
ATSextern_fun(ats_void_type, atslib_ngc_deque_arr_deque_initialize_tsz) (ats_ref_type, ats_size_type, ats_ptr_type, ats_size_type) ;
ATSextern_fun(ats_ptr_type, atslib_ngc_deque_arr_deque_uninitialize) (ats_ref_type) ;
ATSextern_fun(ats_ptr_type, ATS_2d0_2e2_2e12_2libats_2ngc_2SATS_2deque_arr_2esats__deque_uninitialize_vt) (ats_ref_type) ;
ATSextern_fun(ats_ptr_type, atslib_ngc_deque_arr_deque_takeout_tsz) (ats_ref_type, ats_size_type, ats_size_type) ;
ATSextern_fun(ats_void_type, atslib_ngc_deque_arr_deque_insert_end_many_tsz) (ats_ref_type, ats_size_type, ats_ref_type, ats_size_type) ;
ATSextern_fun(ats_void_type, atslib_ngc_deque_arr_deque_remove_beg_many_tsz) (ats_ref_type, ats_size_type, ats_ref_type, ats_size_type) ;
ATSextern_fun(ats_void_type, ATS_2d0_2e2_2e12_2libats_2ngc_2SATS_2deque_arr_2esats__deque_clear_all) (ats_ref_type) ;
ATSextern_fun(ats_void_type, atslib_ngc_deque_arr_deque_copyout_tsz) (ats_ref_type, ats_size_type, ats_size_type, ats_ref_type, ats_size_type) ;
ATSextern_fun(ats_ptr_type, atslib_ngc_deque_arr_deque_update_capacity_tsz) (ats_ref_type, ats_size_type, ats_ptr_type, ats_size_type) ;
ATSextern_fun(ats_int_type, _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__stamp_get_int) (ats_int_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__neq_stamp_stamp) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__tostring_prefix_stamp) (ats_ptr_type, ats_int_type) ;
ATSextern_fun(ats_int_type, _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__hitype_stamp_make) () ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_symbol_2esats__symbol_get_name) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_label_2esats__label_get_int) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_label_2esats__label_get_sym) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_label_2esats__neq_label_label) (ats_ptr_type, ats_ptr_type) ;
ATSextern_val(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_location_2esats__location_dummy) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2rt_is_boxed_fun) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2cst_get_sym) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2cst_is_datype) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2var_get_sym) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2var_get_srt) (ats_ptr_type) ;
ATSextern_fun(ats_int_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2var_get_stamp) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__neq_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_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__d2con_is_con) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__d2con_is_tagless) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__fpprint_s2explst) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2Var_get_szexp) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__fprint_hisexp) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__s2exp_tyer_shallow) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__s2zexp_tyer) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_funlab) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_int_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_get_stamp) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_RPAREN) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_newline) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_ident) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_labelext) (ats_ptr_type, ats_int_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_funlab) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitype) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitypelst) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hisexp_typize) (ats_int_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hisexp) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_error) () ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tybox) () ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_undef) (ats_ptr_type) ;
ATSextern_fun(ats_int_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_is_tyvarhd) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tyvar_test) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__eq_hitype_hitype) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__s2exp_typize) (ats_int_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__s2zexp_typize) (ats_int_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_hitypelst_sep) (ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ulint_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_hash) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemaplst_get) () ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_search) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_insert) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_size_type, ATS_2d0_2e2_2e12_2libats_2SATS_2hashtable_chain_2esats__hashtbl_size) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, ATS_2d0_2e2_2e12_2libats_2SATS_2hashtable_chain_2esats__hashtbl_make) (ats_clo_ref_type, ats_clo_ref_type) ;
ATSextern_fun(ats_ptr_type, atslib_hashtbl_make_hint__chain) (ats_clo_ref_type, ats_clo_ref_type, ats_size_type) ;
ATSextern_fun(ats_void_type, atslib_hashtbl_free__chain) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, atslib_hashtbl_ptr_make__chain) (ats_size_type) ;
ATSextern_fun(ats_void_type, atslib_hashtbl_ptr_free__chain) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_s2var) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_hitype_app) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tyrec) () ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tysum) () ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tyexn) () ;

/* external dynamic terminating constant declarations */
#ifdef _ATS_PROOFCHECK
extern
ats_void_type ATS_2d0_2e2_2e12_2prelude_2SATS_2extern_2esats__minus_addback_prfck () ;
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 () ;
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_2libats_2ngc_2SATS_2deque_arr_2esats__lemma_deque_param_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_v_encode_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_v_decode_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_v_clear_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_insert_beg_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_insert_end_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_remove_beg_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_remove_end_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
extern
ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_utils_2edats____assert_prfck () ;
extern
ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_utils_2edats____assert_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2DATS_2hashtable_chain_2edats__hashtbl_v_split_prfck () ;
extern
ats_void_type ATS_2d0_2e2_2e12_2libats_2DATS_2hashtable_chain_2edats__hashtbl_v_unsplit_prfck () ;
#endif /* _ATS_PROOFCHECK */

/* assuming abstract types */
int _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__sasp__hitype_type = 0 ;

/* sum constructor declarations */
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HTLABELED_0) ;
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITnmd_0) ;
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITapp_1) ;
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyarr_2) ;
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyrec_3) ;
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtysum_4) ;
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyexn_5) ;
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyvar_6) ;
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyclo_7) ;
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITvararg_8) ;
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITrefarg_9) ;
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITundef_10) ;
ATSglobal(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITerror_11) ;

/* exn constructor declarations */
ATSglobal(ats_exn_type, _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;

/* global dynamic (non-functional) constant declarations */
/* internal function declarations */
static
ats_void_type aux_5 (ats_ptr_type env0, ats_ptr_type env1, ats_ptr_type env2, ats_ptr_type arg0, ats_int_type arg1) ;
static
ats_clo_ptr_type aux_5_closure_make (ats_ptr_type env0, ats_ptr_type env1, ats_ptr_type env2) ;
static
ats_void_type aux_5_clofun (ats_clo_ptr_type cloptr, ats_ptr_type arg0, ats_int_type arg1) ;
static
ats_void_type fprintlst_01889_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3) ;
static
ats_bool_type aux_8 (ats_ptr_type arg0) ;
static
ats_bool_type auxlablst_9 (ats_ptr_type arg0) ;
static
ats_void_type aux_11 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_void_type auxlst_12 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_void_type auxlablst_13 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_void_type auxint_14 (ats_ref_type arg0, ats_int_type arg1) ;
static
ats_char_type ptr0_get_01759_ats_char_type (ats_ptr_type arg0) ;
static
ats_char_type ptrget_01763_ats_char_type (ats_ptr_type arg0) ;
static
ats_void_type auxstr_15 (ats_ref_type arg0, ats_ptr_type arg1) ;
static
ats_void_type auxsym_18 (ats_ref_type arg0, ats_ptr_type arg1) ;
static
ats_void_type aux_19 (ats_ref_type arg0, ats_ptr_type arg1) ;
static
ats_void_type auxlst_20 (ats_ref_type arg0, ats_ptr_type arg1) ;
static
ats_void_type auxlab_21 (ats_ref_type arg0, ats_ptr_type arg1) ;
static
ats_void_type auxlablst_22 (ats_ref_type arg0, ats_ptr_type arg1) ;
static
ats_ulint_type hash_key_05259_hitype (hitype arg0, ats_clo_ref_type arg1) ;
static
ats_bool_type equal_key_key_05260_hitype (hitype arg0, hitype arg1, ats_clo_ref_type arg2) ;
static
ats_ptr_type ref_01088_ats_ptr_type (ats_ptr_type arg0) ;
static
ats_ptr_type revapp_30 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type list_vt_reverse_append_01507_anairiats_rec_8 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type list_vt_reverse_01506_anairiats_rec_8 (ats_ptr_type arg0) ;
static
ats_ptr_type hashtbl_ptr_split_04107_hitype_2cats_ptr_type (ats_ptr_type arg0, ats_size_type arg1) ;
static
ats_ptr_type chain_search_04044_hitype_2cats_ptr_type (ats_ptr_type arg0, hitype arg1, ats_clo_ref_type arg2) ;
static
ats_ptr_type hashtbl_ptr_search_ofs_04115_hitype_2cats_ptr_type (ats_ptr_type arg0, hitype arg1, ats_clo_ref_type arg2, ats_size_type arg3) ;
static
ats_ptr_type hashtbl_search_ref_05266_hitype_2cats_ptr_type (ats_ptr_type arg0, hitype arg1) ;
static
ats_bool_type hashtbl_search_05265_hitype_2cats_ptr_type (ats_ptr_type arg0, hitype arg1, ats_ref_type arg2) ;
static
ats_void_type chain_insert_04053_hitype_2cats_ptr_type (ats_ref_type arg0, hitype arg1, ats_ptr_type arg2) ;
static
ats_void_type hashtbl_ptr_insert_ofs_04143_hitype_2cats_ptr_type (ats_ptr_type arg0, hitype arg1, ats_ptr_type arg2, ats_size_type arg3) ;
static
ats_void_type hashtbl_ptr_insert_chain_04170_hitype_2cats_ptr_type (ats_size_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_clo_ref_type arg3) ;
static
ats_void_type hashtbl_ptr_relocate_04188_hitype_2cats_ptr_type (ats_size_type arg0, ats_size_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_clo_ref_type arg4) ;
static
ats_void_type hashtbl_resize_04199_hitype_2cats_ptr_type (ats_ptr_type arg0, ats_size_type arg1) ;
static
ats_void_type hashtbl_resize_double_04208_hitype_2cats_ptr_type (ats_ptr_type arg0) ;
static
ats_void_type hashtbl_insert_05267_hitype_2cats_ptr_type (ats_ptr_type arg0, hitype arg1, ats_ptr_type arg2) ;
static
ats_void_type aux_50 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_void_type auxlst_53 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_int_type arg3) ;
static
ats_void_type loop_56 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_int_type arg3) ;
static
ats_ptr_type auxlst_62 (ats_int_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type auxlstlst_app_63 (ats_int_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) ;
static
ats_ptr_type aux_65 (ats_int_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type aux_s2cst_66 (ats_ptr_type arg0) ;
static
ats_ptr_type aux_tyarr_67 (ats_int_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type aux_tyrec_68 (ats_int_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type aux_tyrec2_69 (ats_int_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type aux_tysum_70 (ats_int_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type aux_tyexn_71 (ats_int_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type auxlst_72 (ats_int_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type auxlablst_73 (ats_int_type arg0, ats_ptr_type arg1) ;
static
ats_void_type auxfld_75 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_void_type auxfldlst_76 (ats_ptr_type arg0, ats_ptr_type arg1, ats_int_type arg2) ;
static
ats_void_type auxkey_77 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_void_type auxlst_79 (ats_ptr_type arg0, ats_ptr_type arg1) ;

/* partial value template declarations */
/* static temporary variable declarations */
ATSstatic (ats_ptr_type, statmp227) ;
ATSstatic (ats_ptr_type, statmp228) ;
ATSstatic (ats_ptr_type, statmp231) ;

/* external value variable declarations */

/* function implementations */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 2990(line=128, offs=14) -- 3029(line=128, offs=53)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__print_hitype (ats_ptr_type arg0) {
/* local vardec */
// ATSlocal_void (tmp0) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__print_hitype:
/* tmp0 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitype (stdout, arg0) ;
return /* (tmp0) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__print_hitype] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 3053(line=130, offs=14) -- 3092(line=130, offs=53)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__prerr_hitype (ats_ptr_type arg0) {
/* local vardec */
// ATSlocal_void (tmp1) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__prerr_hitype:
/* tmp1 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitype (stderr, arg0) ;
return /* (tmp1) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__prerr_hitype] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 3141(line=136, offs=3) -- 4925(line=229, offs=4)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitype (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp2) ;
ATSlocal (ats_ptr_type, tmp3) ;
// ATSlocal_void (tmp4) ;
// ATSlocal_void (tmp5) ;
ATSlocal (ats_ptr_type, tmp6) ;
ATSlocal (ats_ptr_type, tmp7) ;
// ATSlocal_void (tmp8) ;
// ATSlocal_void (tmp9) ;
// ATSlocal_void (tmp10) ;
// ATSlocal_void (tmp11) ;
ATSlocal (ats_ptr_type, tmp12) ;
ATSlocal (ats_ptr_type, tmp13) ;
// ATSlocal_void (tmp14) ;
// ATSlocal_void (tmp15) ;
// ATSlocal_void (tmp16) ;
// ATSlocal_void (tmp17) ;
// ATSlocal_void (tmp18) ;
// ATSlocal_void (tmp19) ;
// ATSlocal_void (tmp20) ;
// ATSlocal_void (tmp21) ;
// ATSlocal_void (tmp22) ;
// ATSlocal_void (tmp23) ;
// ATSlocal_void (tmp24) ;
ATSlocal (ats_ptr_type, tmp25) ;
// ATSlocal_void (tmp26) ;
// ATSlocal_void (tmp27) ;
ATSlocal (ats_ptr_type, tmp28) ;
// ATSlocal_void (tmp29) ;
// ATSlocal_void (tmp30) ;
ATSlocal (ats_ptr_type, tmp31) ;
// ATSlocal_void (tmp32) ;
// ATSlocal_void (tmp33) ;
ATSlocal (ats_int_type, tmp34) ;
ATSlocal (ats_ptr_type, tmp35) ;
// ATSlocal_void (tmp36) ;
// ATSlocal_void (tmp37) ;
// ATSlocal_void (tmp38) ;
// ATSlocal_void (tmp39) ;
ATSlocal (ats_ptr_type, tmp40) ;
// ATSlocal_void (tmp41) ;
// ATSlocal_void (tmp42) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitype:
do {
/* branch: __ats_lab_0 */
__ats_lab_0_0:
if (((ats_sum_ptr_type)arg1)->tag != 0) { goto __ats_lab_1_0 ; }
__ats_lab_0_1:
tmp3 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp4 = */ atspre_fprint_string (arg0, ATSstrcst("HITnmd(")) ;
/* tmp5 = */ atspre_fprint_string (arg0, tmp3) ;
/* tmp2 = */ atspre_fprint_string (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_1 */
__ats_lab_1_0:
if (((ats_sum_ptr_type)arg1)->tag != 1) { goto __ats_lab_2_0 ; }
__ats_lab_1_1:
tmp6 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_0) ;
tmp7 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_1) ;
/* tmp8 = */ atspre_fprint_string (arg0, ATSstrcst("HITapp(")) ;
/* tmp9 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitype (arg0, tmp6) ;
/* tmp10 = */ atspre_fprint_string (arg0, ATSstrcst("; ")) ;
/* tmp11 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitypelst (arg0, tmp7) ;
/* tmp2 = */ atspre_fprint_string (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_2 */
__ats_lab_2_0:
if (((ats_sum_ptr_type)arg1)->tag != 2) { goto __ats_lab_3_0 ; }
__ats_lab_2_1:
tmp12 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_0) ;
tmp13 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_1) ;
/* tmp14 = */ atspre_fprint_string (arg0, ATSstrcst("HITtyarr(")) ;
/* tmp15 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitype (arg0, tmp12) ;
/* tmp16 = */ atspre_fprint_string (arg0, ATSstrcst("[")) ;
/* tmp17 = */ _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__fpprint_s2explst (arg0, tmp13) ;
/* tmp18 = */ atspre_fprint_string (arg0, ATSstrcst("]")) ;
/* tmp2 = */ atspre_fprint_string (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_3 */
__ats_lab_3_0:
if (((ats_sum_ptr_type)arg1)->tag != 3) { goto __ats_lab_4_0 ; }
__ats_lab_3_1:
/* tmp19 = */ atspre_fprint_string (arg0, ATSstrcst("HITtyrec(")) ;
/* tmp20 = */ atspre_fprint_string (arg0, ATSstrcst("...")) ;
/* tmp2 = */ atspre_fprint_string (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_4 */
__ats_lab_4_0:
if (((ats_sum_ptr_type)arg1)->tag != 4) { goto __ats_lab_5_0 ; }
__ats_lab_4_1:
/* tmp21 = */ atspre_fprint_string (arg0, ATSstrcst("HITtysum(")) ;
/* tmp22 = */ atspre_fprint_string (arg0, ATSstrcst("...")) ;
/* tmp2 = */ atspre_fprint_string (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_5 */
__ats_lab_5_0:
if (((ats_sum_ptr_type)arg1)->tag != 5) { goto __ats_lab_6_0 ; }
__ats_lab_5_1:
/* tmp23 = */ atspre_fprint_string (arg0, ATSstrcst("HITtyexn(")) ;
/* tmp24 = */ atspre_fprint_string (arg0, ATSstrcst("...")) ;
/* tmp2 = */ atspre_fprint_string (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_6 */
__ats_lab_6_0:
if (((ats_sum_ptr_type)arg1)->tag != 6) { goto __ats_lab_7_0 ; }
__ats_lab_6_1:
tmp25 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp26 = */ atspre_fprint_string (arg0, ATSstrcst("HITtyvar(")) ;
/* tmp27 = */ _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__fprint_s2var (arg0, tmp25) ;
/* tmp2 = */ atspre_fprint_string (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_7 */
__ats_lab_7_0:
if (((ats_sum_ptr_type)arg1)->tag != 7) { goto __ats_lab_8_0 ; }
__ats_lab_7_1:
tmp28 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp29 = */ atspre_fprint_string (arg0, ATSstrcst("HITtyclo(")) ;
/* tmp30 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_funlab (arg0, tmp28) ;
/* tmp2 = */ atspre_fprint_string (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_8 */
__ats_lab_8_0:
if (((ats_sum_ptr_type)arg1)->tag != 8) { goto __ats_lab_9_0 ; }
__ats_lab_8_1:
tmp31 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp32 = */ atspre_fprint_string (arg0, ATSstrcst("HITvararg(")) ;
/* tmp33 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitype (arg0, tmp31) ;
/* tmp2 = */ atspre_fprint_string (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_9 */
__ats_lab_9_0:
if (((ats_sum_ptr_type)arg1)->tag != 9) { goto __ats_lab_10_0 ; }
__ats_lab_9_1:
tmp34 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_0) ;
tmp35 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_1) ;
/* tmp36 = */ atspre_fprint_string (arg0, ATSstrcst("HITrefarg(")) ;
/* tmp37 = */ atspre_fprint_int (arg0, tmp34) ;
/* tmp38 = */ atspre_fprint_string (arg0, ATSstrcst(", ")) ;
/* tmp39 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitype (arg0, tmp35) ;
/* tmp2 = */ atspre_fprint_string (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_10 */
__ats_lab_10_0:
if (((ats_sum_ptr_type)arg1)->tag != 10) { goto __ats_lab_11_0 ; }
__ats_lab_10_1:
tmp40 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_1) ;
/* tmp41 = */ atspre_fprint_string (arg0, ATSstrcst("HITundef(")) ;
/* tmp42 = */ _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__fprint_hisexp (arg0, tmp40) ;
/* tmp2 = */ atspre_fprint_string (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_11 */
__ats_lab_11_0:
// if (((ats_sum_ptr_type)arg1)->tag != 11) { ats_deadcode_failure_handle () ; }
__ats_lab_11_1:
/* tmp2 = */ atspre_fprint_string (arg0, ATSstrcst("HITerror()")) ;
break ;
} while (0) ;
return /* (tmp2) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitype] */

/*
// /tmp/ATS-Postiats/src/pats_utils.dats: 11884(line=651, offs=1) -- 12164(line=665, offs=2)
*/
ATSstaticdec()
ats_void_type
aux_5 (ats_ptr_type env0, ats_ptr_type env1, ats_ptr_type env2, ats_ptr_type arg0, ats_int_type arg1) {
/* local vardec */
// ATSlocal_void (tmp45) ;
ATSlocal (ats_ptr_type, tmp46) ;
ATSlocal (ats_ptr_type, tmp47) ;
// ATSlocal_void (tmp48) ;
ATSlocal (ats_bool_type, tmp49) ;
// ATSlocal_void (tmp50) ;
ATSlocal (ats_int_type, tmp51) ;

__ats_lab_aux_5:
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:
break ;

/* branch: __ats_lab_13 */
__ats_lab_13_0:
// if (arg0 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_13_1:
tmp46 = ats_caselptrlab_mac(anairiats_sum_4, arg0, atslab_0) ;
tmp47 = ats_caselptrlab_mac(anairiats_sum_4, arg0, atslab_1) ;
tmp49 = atspre_gt_int_int (arg1, 0) ;
if (tmp49) {
/* tmp48 = */ atspre_fprint_string (env0, env1) ;
} else {
/* empty */
} /* end of [if] */
/* tmp50 = */ ((ats_void_type(*)(ats_ptr_type, ats_ptr_type))env2) (env0, tmp46) ;
tmp51 = atspre_add_int_int (arg1, 1) ;
arg0 = tmp47 ;
arg1 = tmp51 ;
goto __ats_lab_aux_5 ; // tail call
break ;
} while (0) ;
return /* (tmp45) */ ;
} /* end of [aux_5] */

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

ats_void_type
aux_5_clofun (ats_clo_ptr_type cloptr, ats_ptr_type arg0, ats_int_type arg1) {
aux_5 (((aux_5_closure_type*)cloptr)->closure_env_0, ((aux_5_closure_type*)cloptr)->closure_env_1, ((aux_5_closure_type*)cloptr)->closure_env_2, arg0, arg1) ; return ;
} /* 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, ats_ptr_type env2) {
p_clo->closure_fun = (ats_fun_ptr_type)&aux_5_clofun ;
p_clo->closure_env_0 = env0 ;
p_clo->closure_env_1 = env1 ;
p_clo->closure_env_2 = env2 ;
return ;
} /* end of function */

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

/*
// /tmp/ATS-Postiats/src/pats_utils.dats: 11844(line=646, offs=11) -- 12207(line=669, offs=4)
*/
ATSstaticdec()
ats_void_type
fprintlst_01889_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_ptr_type arg3) {
/* local vardec */
// ATSlocal_void (tmp44) ;

__ats_lab_fprintlst_01889_ats_ptr_type:
/* tmp44 = */ aux_5 (arg0, arg2, arg3, arg1, 0) ;
return /* (tmp44) */ ;
} /* end of [fprintlst_01889_ats_ptr_type] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 4982(line=233, offs=3) -- 5042(line=233, offs=63)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitypelst (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp43) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitypelst:
/* tmp43 = */ fprintlst_01889_ats_ptr_type (arg0, arg1, ATSstrcst(", "), &_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitype) ;
return /* (tmp43) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__fprint_hitypelst] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 5429(line=260, offs=3) -- 5813(line=283, offs=4)
*/
ATSglobaldec()
ats_int_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_is_tyvarhd (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_int_type, tmp52) ;
ATSlocal (ats_ptr_type, tmp53) ;
ATSlocal (ats_ptr_type, tmp54) ;
ATSlocal (ats_ptr_type, tmp55) ;
ATSlocal (ats_bool_type, tmp56) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_is_tyvarhd:
do {
/* branch: __ats_lab_14 */
__ats_lab_14_0:
if (((ats_sum_ptr_type)arg0)->tag != 1) { goto __ats_lab_15_0 ; }
__ats_lab_14_1:
tmp53 = ats_caselptrlab_mac(anairiats_sum_2, arg0, atslab_0) ;
arg0 = tmp53 ;
goto __ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_is_tyvarhd ; // tail call
break ;

/* branch: __ats_lab_15 */
__ats_lab_15_0:
if (((ats_sum_ptr_type)arg0)->tag != 6) { goto __ats_lab_16_0 ; }
__ats_lab_15_1:
tmp54 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
tmp55 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2var_get_srt (tmp54) ;
tmp56 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2rt_is_boxed_fun (tmp55) ;
if (tmp56) {
tmp52 = 1 ;
} else {
tmp52 = -1 ;
} /* end of [if] */
break ;

/* branch: __ats_lab_16 */
__ats_lab_16_0:
__ats_lab_16_1:
tmp52 = 0 ;
break ;
} while (0) ;
return (tmp52) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_is_tyvarhd] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 6004(line=299, offs=1) -- 6394(line=320, offs=2)
*/
ATSstaticdec()
ats_bool_type
aux_8 (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_bool_type, tmp58) ;
ATSlocal (ats_ptr_type, tmp59) ;
ATSlocal (ats_ptr_type, tmp60) ;
ATSlocal (ats_ptr_type, tmp61) ;
ATSlocal (ats_ptr_type, tmp62) ;
ATSlocal (ats_ptr_type, tmp63) ;
ATSlocal (ats_ptr_type, tmp64) ;
ATSlocal (ats_bool_type, tmp65) ;

__ats_lab_aux_8:
do {
/* branch: __ats_lab_17 */
__ats_lab_17_0:
if (((ats_sum_ptr_type)arg0)->tag != 1) { goto __ats_lab_18_0 ; }
__ats_lab_17_1:
tmp59 = ats_caselptrlab_mac(anairiats_sum_2, arg0, atslab_0) ;
arg0 = tmp59 ;
goto __ats_lab_aux_8 ; // tail call
break ;

/* branch: __ats_lab_18 */
__ats_lab_18_0:
if (((ats_sum_ptr_type)arg0)->tag != 3) { goto __ats_lab_19_0 ; }
__ats_lab_18_1:
tmp60 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
tmp58 = auxlablst_9 (tmp60) ;
break ;

/* branch: __ats_lab_19 */
__ats_lab_19_0:
if (((ats_sum_ptr_type)arg0)->tag != 4) { goto __ats_lab_20_0 ; }
__ats_lab_19_1:
tmp61 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_1) ;
tmp58 = auxlablst_9 (tmp61) ;
break ;

/* branch: __ats_lab_20 */
__ats_lab_20_0:
if (((ats_sum_ptr_type)arg0)->tag != 5) { goto __ats_lab_21_0 ; }
__ats_lab_20_1:
tmp62 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
tmp58 = auxlablst_9 (tmp62) ;
break ;

/* branch: __ats_lab_21 */
__ats_lab_21_0:
if (((ats_sum_ptr_type)arg0)->tag != 6) { goto __ats_lab_22_0 ; }
__ats_lab_21_1:
tmp63 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
tmp64 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2var_get_srt (tmp63) ;
tmp65 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2rt_is_boxed_fun (tmp64) ;
if (tmp65) {
tmp58 = ats_false_bool ;
} else {
tmp58 = ats_true_bool ;
} /* end of [if] */
break ;

/* branch: __ats_lab_22 */
__ats_lab_22_0:
__ats_lab_22_1:
tmp58 = ats_false_bool ;
break ;
} while (0) ;
return (tmp58) ;
} /* end of [aux_8] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 6419(line=323, offs=1) -- 6647(line=336, offs=2)
*/
ATSstaticdec()
ats_bool_type
auxlablst_9 (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_bool_type, tmp66) ;
ATSlocal (ats_ptr_type, tmp67) ;
ATSlocal (ats_ptr_type, tmp68) ;
ATSlocal (ats_ptr_type, tmp69) ;
ATSlocal (ats_bool_type, tmp70) ;

__ats_lab_auxlablst_9:
do {
/* branch: __ats_lab_23 */
__ats_lab_23_0:
if (arg0 != (ats_sum_ptr_type)0) { goto __ats_lab_24_0 ; }
__ats_lab_23_1:
tmp66 = ats_false_bool ;
break ;

/* branch: __ats_lab_24 */
__ats_lab_24_0:
// if (arg0 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_24_1:
tmp67 = ats_caselptrlab_mac(anairiats_sum_4, arg0, atslab_0) ;
tmp68 = ats_caselptrlab_mac(anairiats_sum_4, arg0, atslab_1) ;
// 
tmp69 = ats_caselptrlab_mac(anairiats_sum_5, tmp67, atslab_2) ;
tmp70 = aux_8 (tmp69) ;
if (tmp70) {
tmp66 = ats_true_bool ;
} else {
arg0 = tmp68 ;
goto __ats_lab_auxlablst_9 ; // tail call
} /* end of [if] */
break ;
} while (0) ;
return (tmp66) ;
} /* end of [auxlablst_9] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 5970(line=295, offs=3) -- 6677(line=338, offs=2)
*/
ATSglobaldec()
ats_bool_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tyvar_test (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_bool_type, tmp57) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tyvar_test:
tmp57 = aux_8 (arg0) ;
return (tmp57) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tyvar_test] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 7210(line=376, offs=1) -- 9417(line=494, offs=4)
*/
ATSstaticdec()
ats_void_type
aux_11 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp72) ;
ATSlocal (ats_ptr_type, tmp73) ;
ATSlocal (ats_ptr_type, tmp74) ;
ATSlocal (ats_bool_type, tmp75) ;
ATSlocal (ats_ptr_type, tmp76) ;
ATSlocal (ats_ptr_type, tmp77) ;
ATSlocal (ats_ptr_type, tmp78) ;
ATSlocal (ats_ptr_type, tmp79) ;
ATSlocal (ats_ptr_type, tmp80) ;
ATSlocal (ats_ptr_type, tmp81) ;
// ATSlocal_void (tmp82) ;
ATSlocal (ats_ptr_type, tmp83) ;
ATSlocal (ats_ptr_type, tmp84) ;
ATSlocal (ats_ptr_type, tmp85) ;
ATSlocal (ats_ptr_type, tmp86) ;
ATSlocal (ats_ptr_type, tmp87) ;
ATSlocal (ats_int_type, tmp88) ;
ATSlocal (ats_ptr_type, tmp89) ;
ATSlocal (ats_int_type, tmp90) ;
ATSlocal (ats_ptr_type, tmp91) ;
ATSlocal (ats_bool_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_ptr_type, tmp98) ;
ATSlocal (ats_ptr_type, tmp99) ;
ATSlocal (ats_bool_type, tmp100) ;
ATSlocal (ats_ptr_type, tmp101) ;
ATSlocal (ats_ptr_type, tmp102) ;
ATSlocal (ats_ptr_type, tmp103) ;
ATSlocal (ats_ptr_type, tmp104) ;
ATSlocal (ats_bool_type, tmp105) ;
ATSlocal (ats_ptr_type, tmp106) ;
ATSlocal (ats_ptr_type, tmp107) ;
ATSlocal (ats_ptr_type, tmp108) ;
ATSlocal (ats_ptr_type, tmp109) ;
ATSlocal (ats_ptr_type, tmp110) ;
ATSlocal (ats_int_type, tmp111) ;
ATSlocal (ats_ptr_type, tmp112) ;
ATSlocal (ats_int_type, tmp113) ;
ATSlocal (ats_ptr_type, tmp114) ;
ATSlocal (ats_bool_type, tmp115) ;
ATSlocal (ats_ptr_type, tmp116) ;
ATSlocal (ats_ptr_type, tmp117) ;
ATSlocal (ats_int_type, tmp118) ;
ATSlocal (ats_int_type, tmp119) ;
ATSlocal (ats_bool_type, tmp120) ;
ATSlocal (ats_ptr_type, tmp121) ;
ATSlocal (ats_ptr_type, tmp122) ;
ATSlocal (ats_ptr_type, tmp123) ;

__ats_lab_aux_11:
do {
/* branch: __ats_lab_25 */
__ats_lab_25_0:
if (((ats_sum_ptr_type)arg0)->tag != 0) { goto __ats_lab_28_0 ; }
__ats_lab_25_1:
tmp73 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
do {
/* branch: __ats_lab_26 */
__ats_lab_26_0:
if (((ats_sum_ptr_type)arg1)->tag != 0) { goto __ats_lab_27_0 ; }
__ats_lab_26_1:
tmp74 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
tmp75 = atspre_neq_string_string (tmp73, tmp74) ;
if (tmp75) {
tmp76 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp76) ;
} else {
/* empty */
} /* end of [if] */
break ;

/* branch: __ats_lab_27 */
__ats_lab_27_0:
__ats_lab_27_1:
tmp77 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp77) ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_28 */
__ats_lab_28_0:
if (((ats_sum_ptr_type)arg0)->tag != 1) { goto __ats_lab_31_0 ; }
__ats_lab_28_1:
tmp78 = ats_caselptrlab_mac(anairiats_sum_2, arg0, atslab_0) ;
tmp79 = ats_caselptrlab_mac(anairiats_sum_2, arg0, atslab_1) ;
do {
/* branch: __ats_lab_29 */
__ats_lab_29_0:
if (((ats_sum_ptr_type)arg1)->tag != 1) { goto __ats_lab_30_0 ; }
__ats_lab_29_1:
tmp80 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_0) ;
tmp81 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_1) ;
/* tmp82 = */ aux_11 (tmp78, tmp80) ;
/* tmp72 = */ auxlst_12 (tmp79, tmp81) ;
break ;

/* branch: __ats_lab_30 */
__ats_lab_30_0:
__ats_lab_30_1:
tmp83 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp83) ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_31 */
__ats_lab_31_0:
if (((ats_sum_ptr_type)arg0)->tag != 2) { goto __ats_lab_32_0 ; }
__ats_lab_31_1:
tmp84 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp84) ;
break ;

/* branch: __ats_lab_32 */
__ats_lab_32_0:
if (((ats_sum_ptr_type)arg0)->tag != 3) { goto __ats_lab_35_0 ; }
__ats_lab_32_1:
tmp85 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
do {
/* branch: __ats_lab_33 */
__ats_lab_33_0:
if (((ats_sum_ptr_type)arg1)->tag != 3) { goto __ats_lab_34_0 ; }
__ats_lab_33_1:
tmp86 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp72 = */ auxlablst_13 (tmp85, tmp86) ;
break ;

/* branch: __ats_lab_34 */
__ats_lab_34_0:
__ats_lab_34_1:
tmp87 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp87) ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_35 */
__ats_lab_35_0:
if (((ats_sum_ptr_type)arg0)->tag != 4) { goto __ats_lab_38_0 ; }
__ats_lab_35_1:
tmp88 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_0) ;
tmp89 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_1) ;
do {
/* branch: __ats_lab_36 */
__ats_lab_36_0:
if (((ats_sum_ptr_type)arg1)->tag != 4) { goto __ats_lab_37_0 ; }
__ats_lab_36_1:
tmp90 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_0) ;
tmp91 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_1) ;
tmp92 = atspre_eq_int_int (tmp88, tmp90) ;
if (tmp92) {
/* tmp72 = */ auxlablst_13 (tmp89, tmp91) ;
} else {
tmp93 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp93) ;
} /* end of [if] */
break ;

/* branch: __ats_lab_37 */
__ats_lab_37_0:
__ats_lab_37_1:
tmp94 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp94) ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_38 */
__ats_lab_38_0:
if (((ats_sum_ptr_type)arg0)->tag != 5) { goto __ats_lab_41_0 ; }
__ats_lab_38_1:
tmp95 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
do {
/* branch: __ats_lab_39 */
__ats_lab_39_0:
if (((ats_sum_ptr_type)arg1)->tag != 5) { goto __ats_lab_40_0 ; }
__ats_lab_39_1:
tmp96 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp72 = */ auxlablst_13 (tmp95, tmp96) ;
break ;

/* branch: __ats_lab_40 */
__ats_lab_40_0:
__ats_lab_40_1:
tmp97 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp97) ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_41 */
__ats_lab_41_0:
if (((ats_sum_ptr_type)arg0)->tag != 6) { goto __ats_lab_44_0 ; }
__ats_lab_41_1:
tmp98 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
do {
/* branch: __ats_lab_42 */
__ats_lab_42_0:
if (((ats_sum_ptr_type)arg1)->tag != 6) { goto __ats_lab_43_0 ; }
__ats_lab_42_1:
tmp99 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
tmp100 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__neq_s2var_s2var (tmp98, tmp99) ;
if (tmp100) {
tmp101 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp101) ;
} else {
/* empty */
} /* end of [if] */
break ;

/* branch: __ats_lab_43 */
__ats_lab_43_0:
__ats_lab_43_1:
tmp102 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp102) ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_44 */
__ats_lab_44_0:
if (((ats_sum_ptr_type)arg0)->tag != 7) { goto __ats_lab_47_0 ; }
__ats_lab_44_1:
tmp103 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
do {
/* branch: __ats_lab_45 */
__ats_lab_45_0:
if (((ats_sum_ptr_type)arg1)->tag != 7) { goto __ats_lab_46_0 ; }
__ats_lab_45_1:
tmp104 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
tmp105 = atspre_pneq (ats_castfn_mac(ats_ptr_type, tmp103), ats_castfn_mac(ats_ptr_type, tmp104)) ;
if (tmp105) {
tmp106 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp106) ;
} else {
/* empty */
} /* end of [if] */
break ;

/* branch: __ats_lab_46 */
__ats_lab_46_0:
__ats_lab_46_1:
tmp107 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp107) ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_47 */
__ats_lab_47_0:
if (((ats_sum_ptr_type)arg0)->tag != 8) { goto __ats_lab_50_0 ; }
__ats_lab_47_1:
tmp108 = ats_caselptrlab_mac(anairiats_sum_1, arg0, atslab_0) ;
do {
/* branch: __ats_lab_48 */
__ats_lab_48_0:
if (((ats_sum_ptr_type)arg1)->tag != 8) { goto __ats_lab_49_0 ; }
__ats_lab_48_1:
tmp109 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
arg0 = tmp108 ;
arg1 = tmp109 ;
goto __ats_lab_aux_11 ; // tail call
break ;

/* branch: __ats_lab_49 */
__ats_lab_49_0:
__ats_lab_49_1:
tmp110 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp110) ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_50 */
__ats_lab_50_0:
if (((ats_sum_ptr_type)arg0)->tag != 9) { goto __ats_lab_53_0 ; }
__ats_lab_50_1:
tmp111 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_0) ;
tmp112 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_1) ;
do {
/* branch: __ats_lab_51 */
__ats_lab_51_0:
if (((ats_sum_ptr_type)arg1)->tag != 9) { goto __ats_lab_52_0 ; }
__ats_lab_51_1:
tmp113 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_0) ;
tmp114 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_1) ;
tmp115 = atspre_eq_int_int (tmp111, tmp113) ;
if (tmp115) {
arg0 = tmp112 ;
arg1 = tmp114 ;
goto __ats_lab_aux_11 ; // tail call
} else {
tmp116 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp116) ;
} /* end of [if] */
break ;

/* branch: __ats_lab_52 */
__ats_lab_52_0:
__ats_lab_52_1:
tmp117 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp117) ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_53 */
__ats_lab_53_0:
if (((ats_sum_ptr_type)arg0)->tag != 10) { goto __ats_lab_56_0 ; }
__ats_lab_53_1:
tmp118 = ats_caselptrlab_mac(anairiats_sum_3, arg0, atslab_0) ;
do {
/* branch: __ats_lab_54 */
__ats_lab_54_0:
if (((ats_sum_ptr_type)arg1)->tag != 10) { goto __ats_lab_55_0 ; }
__ats_lab_54_1:
tmp119 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_0) ;
tmp120 = _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__neq_stamp_stamp (tmp118, tmp119) ;
if (tmp120) {
tmp121 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp121) ;
} else {
/* empty */
} /* end of [if] */
break ;

/* branch: __ats_lab_55 */
__ats_lab_55_0:
__ats_lab_55_1:
tmp122 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp122) ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_56 */
__ats_lab_56_0:
// if (((ats_sum_ptr_type)arg0)->tag != 11) { ats_deadcode_failure_handle () ; }
__ats_lab_56_1:
tmp123 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp72 = */ ats_raise_exn (tmp123) ;
break ;
} while (0) ;
return /* (tmp72) */ ;
} /* end of [aux_11] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 9439(line=497, offs=1) -- 9769(line=517, offs=4)
*/
ATSstaticdec()
ats_void_type
auxlst_12 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp124) ;
ATSlocal (ats_ptr_type, tmp125) ;
ATSlocal (ats_ptr_type, tmp126) ;
ATSlocal (ats_ptr_type, tmp127) ;
ATSlocal (ats_ptr_type, tmp128) ;
// ATSlocal_void (tmp129) ;
ATSlocal (ats_ptr_type, tmp130) ;
ATSlocal (ats_ptr_type, tmp131) ;

__ats_lab_auxlst_12:
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:
if (arg1 != (ats_sum_ptr_type)0) { goto __ats_lab_59_1 ; }
__ats_lab_57_2:
break ;

/* branch: __ats_lab_58 */
__ats_lab_58_0:
if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_59_0 ; }
__ats_lab_58_1:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_60_1 ; }
__ats_lab_58_2:
tmp125 = ats_caselptrlab_mac(anairiats_sum_4, arg0, atslab_0) ;
tmp126 = ats_caselptrlab_mac(anairiats_sum_4, arg0, atslab_1) ;
tmp127 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_0) ;
tmp128 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_1) ;
/* tmp129 = */ aux_11 (tmp125, tmp127) ;
arg0 = tmp126 ;
arg1 = tmp128 ;
goto __ats_lab_auxlst_12 ; // tail call
break ;

/* branch: __ats_lab_59 */
__ats_lab_59_0:
if (arg0 != (ats_sum_ptr_type)0) { goto __ats_lab_60_0 ; }
__ats_lab_59_1:
// if (arg1 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_59_2:
tmp130 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp124 = */ ats_raise_exn (tmp130) ;
break ;

/* branch: __ats_lab_60 */
__ats_lab_60_0:
// if (arg0 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_60_1:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_60_2:
tmp131 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp124 = */ ats_raise_exn (tmp131) ;
break ;
} while (0) ;
return /* (tmp124) */ ;
} /* end of [auxlst_12] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 9794(line=520, offs=1) -- 10536(line=556, offs=4)
*/
ATSstaticdec()
ats_void_type
auxlablst_13 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp132) ;
ATSlocal (ats_ptr_type, tmp133) ;
ATSlocal (ats_ptr_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_void (tmp143) ;
ATSlocal (ats_bool_type, tmp144) ;
ATSlocal (ats_ptr_type, tmp145) ;
// ATSlocal_void (tmp146) ;
ATSlocal (ats_ptr_type, tmp147) ;
ATSlocal (ats_ptr_type, tmp148) ;
ATSlocal (ats_bool_type, tmp149) ;
ATSlocal (ats_ptr_type, tmp150) ;
ATSlocal (ats_ptr_type, tmp151) ;
// ATSlocal_void (tmp152) ;
ATSlocal (ats_ptr_type, tmp153) ;
ATSlocal (ats_ptr_type, tmp154) ;

__ats_lab_auxlablst_13:
do {
/* branch: __ats_lab_61 */
__ats_lab_61_0:
if (arg0 != (ats_sum_ptr_type)0) { goto __ats_lab_62_0 ; }
__ats_lab_61_1:
if (arg1 != (ats_sum_ptr_type)0) { goto __ats_lab_66_1 ; }
__ats_lab_61_2:
break ;

/* branch: __ats_lab_62 */
__ats_lab_62_0:
if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_66_0 ; }
__ats_lab_62_1:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_67_1 ; }
__ats_lab_62_2:
tmp133 = ats_caselptrlab_mac(anairiats_sum_4, arg0, atslab_0) ;
tmp134 = ats_caselptrlab_mac(anairiats_sum_4, arg0, atslab_1) ;
tmp135 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_0) ;
tmp136 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_1) ;

tmp137 = ats_caselptrlab_mac(anairiats_sum_5, tmp133, atslab_0) ;
tmp138 = ats_caselptrlab_mac(anairiats_sum_5, tmp133, atslab_1) ;
tmp139 = ats_caselptrlab_mac(anairiats_sum_5, tmp133, atslab_2) ;

tmp140 = ats_caselptrlab_mac(anairiats_sum_5, tmp135, atslab_0) ;
tmp141 = ats_caselptrlab_mac(anairiats_sum_5, tmp135, atslab_1) ;
tmp142 = ats_caselptrlab_mac(anairiats_sum_5, tmp135, atslab_2) ;
tmp144 = _2tmp_2ATS_2dPostiats_2src_2pats_label_2esats__neq_label_label (tmp137, tmp140) ;
if (tmp144) {
tmp145 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp143 = */ ats_raise_exn (tmp145) ;
} else {
/* empty */
} /* end of [if] */
do {
/* branch: __ats_lab_63 */
__ats_lab_63_0:
if (tmp138 != (ats_sum_ptr_type)0) { goto __ats_lab_64_0 ; }
__ats_lab_63_1:
if (tmp141 != (ats_sum_ptr_type)0) { goto __ats_lab_65_1 ; }
__ats_lab_63_2:
break ;

/* branch: __ats_lab_64 */
__ats_lab_64_0:
if (tmp138 == (ats_sum_ptr_type)0) { goto __ats_lab_65_0 ; }
__ats_lab_64_1:
if (tmp141 == (ats_sum_ptr_type)0) { goto __ats_lab_65_1 ; }
__ats_lab_64_2:
tmp147 = ats_caselptrlab_mac(anairiats_sum_6, tmp138, atslab_0) ;
tmp148 = ats_caselptrlab_mac(anairiats_sum_6, tmp141, atslab_0) ;
tmp149 = atspre_neq_string_string (tmp147, tmp148) ;
if (tmp149) {
tmp150 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp146 = */ ats_raise_exn (tmp150) ;
} else {
/* empty */
} /* end of [if] */
break ;

/* branch: __ats_lab_65 */
__ats_lab_65_0:
__ats_lab_65_1:
__ats_lab_65_2:
tmp151 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp146 = */ ats_raise_exn (tmp151) ;
break ;
} while (0) ;
/* tmp152 = */ aux_11 (tmp139, tmp142) ;
arg0 = tmp134 ;
arg1 = tmp136 ;
goto __ats_lab_auxlablst_13 ; // tail call
break ;

/* branch: __ats_lab_66 */
__ats_lab_66_0:
if (arg0 != (ats_sum_ptr_type)0) { goto __ats_lab_67_0 ; }
__ats_lab_66_1:
// if (arg1 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_66_2:
tmp153 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp132 = */ ats_raise_exn (tmp153) ;
break ;

/* branch: __ats_lab_67 */
__ats_lab_67_0:
// if (arg0 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_67_1:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_67_2:
tmp154 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) ;
/* tmp132 = */ ats_raise_exn (tmp154) ;
break ;
} while (0) ;
return /* (tmp132) */ ;
} /* end of [auxlablst_13] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 7151(line=370, offs=3) -- 10681(line=568, offs=4)
*/
ATSglobaldec()
ats_bool_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__eq_hitype_hitype (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_bool_type, tmp71) ;
// ATSlocal_void (tmp155) ;
ATSlocal (ats_ptr_type, tmp156) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__eq_hitype_hitype:
ATS_TRYWITH_TRY(tmp156)
/* tmp155 = */ aux_11 (arg0, arg1) ;
tmp71 = ats_true_bool ;
ATS_TRYWITH_WITH(tmp156)
do {
/* branch: __ats_lab_68 */
__ats_lab_68_0:
if (tmp156 != &_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn) { ats_raise_exn (tmp156) ; }
__ats_lab_68_1:
tmp71 = ats_false_bool ;
break ;
} while (0) ;
ATS_TRYWITH_END() ;

return (tmp71) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__eq_hitype_hitype] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 10812(line=581, offs=1) -- 10959(line=587, offs=4)
*/
ATSstaticdec()
ats_void_type
auxint_14 (ats_ref_type arg0, ats_int_type arg1) {
/* local vardec */
// ATSlocal_void (tmp157) ;
ATSlocal (ats_ulint_type, tmp158) ;
ATSlocal (ats_ulint_type, tmp159) ;
ATSlocal (ats_ulint_type, tmp160) ;

__ats_lab_auxint_14:
tmp160 = atspre_lsl_ulint_int1 (ats_ptrget_mac(ats_ulint_type, arg0), 8) ;
tmp159 = atspre_add_ulint_ulint (tmp160, ats_ptrget_mac(ats_ulint_type, arg0)) ;
tmp158 = atspre_add_ulint_ulint (tmp159, ats_castfn_mac(ats_ulint_type, arg1)) ;
ats_ptrget_mac(ats_ulint_type, arg0) = tmp158 ;
return /* (tmp157) */ ;
} /* end of [auxint_14] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/unsafe.dats: 1763(line=50, offs=10) -- 1979(line=60, offs=2)
*/
ATSstaticdec()
ats_char_type
ptr0_get_01759_ats_char_type (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_char_type, tmp165) ;

__ats_lab_ptr0_get_01759_ats_char_type:
tmp165 = ats_ptrget_mac(ats_char_type, ats_castfn_mac(ats_ptr_type, arg0)) ;
return (tmp165) ;
} /* end of [ptr0_get_01759_ats_char_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/unsafe.dats: 2430(line=82, offs=21) -- 2450(line=82, offs=41)
*/
ATSstaticdec()
ats_char_type
ptrget_01763_ats_char_type (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_char_type, tmp164) ;

__ats_lab_ptrget_01763_ats_char_type:
tmp164 = ptr0_get_01759_ats_char_type (arg0) ;
return (tmp164) ;
} /* end of [ptrget_01763_ats_char_type] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 10984(line=590, offs=1) -- 11327(line=608, offs=4)
*/
ATSstaticdec()
ats_void_type
auxstr_15 (ats_ref_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp161) ;
ATSlocal (ats_bool_type, tmp162) ;
ATSlocal (ats_char_type, tmp163) ;
ATSlocal (ats_ulint_type, tmp166) ;
ATSlocal (ats_ulint_type, tmp167) ;
ATSlocal (ats_ulint_type, tmp168) ;
ATSlocal (ats_ptr_type, tmp169) ;
ATSlocal (ats_ptr_type, tmp170) ;

__ats_lab_auxstr_15:
tmp162 = atspre_string_isnot_empty (arg1) ;
if (tmp162) {
tmp163 = ptrget_01763_ats_char_type (ats_castfn_mac(ats_ptr_type, arg1)) ;
tmp168 = atspre_lsl_ulint_int1 (ats_ptrget_mac(ats_ulint_type, arg0), 5) ;
tmp167 = atspre_add_ulint_ulint (tmp168, ats_ptrget_mac(ats_ulint_type, arg0)) ;
tmp166 = atspre_add_ulint_ulint (tmp167, ats_castfn_mac(ats_ulint_type, tmp163)) ;
ats_ptrget_mac(ats_ulint_type, arg0) = tmp166 ;
tmp169 = atspre_padd_int (ats_castfn_mac(ats_ptr_type, arg1), 1) ;
tmp170 = ats_castfn_mac(ats_ptr_type, tmp169) ;
arg0 = arg0 ;
arg1 = tmp170 ;
goto __ats_lab_auxstr_15 ; // tail call
} else {
/* empty */
} /* end of [if] */
return /* (tmp161) */ ;
} /* end of [auxstr_15] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 11352(line=611, offs=1) -- 11443(line=614, offs=44)
*/
ATSstaticdec()
ats_void_type
auxsym_18 (ats_ref_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp171) ;
ATSlocal (ats_ptr_type, tmp172) ;

__ats_lab_auxsym_18:
tmp172 = _2tmp_2ATS_2dPostiats_2src_2pats_symbol_2esats__symbol_get_name (arg1) ;
/* tmp171 = */ auxstr_15 (arg0, tmp172) ;
return /* (tmp171) */ ;
} /* end of [auxsym_18] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 11468(line=617, offs=5) -- 13299(line=706, offs=4)
*/
ATSstaticdec()
ats_void_type
aux_19 (ats_ref_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp173) ;
ATSlocal (ats_ptr_type, tmp174) ;
ATSlocal (ats_ptr_type, tmp175) ;
ATSlocal (ats_ptr_type, tmp176) ;
// ATSlocal_void (tmp177) ;
// ATSlocal_void (tmp178) ;
ATSlocal (ats_ptr_type, tmp179) ;
// ATSlocal_void (tmp180) ;
ATSlocal (ats_ptr_type, tmp181) ;
// ATSlocal_void (tmp182) ;
ATSlocal (ats_int_type, tmp183) ;
ATSlocal (ats_ptr_type, tmp184) ;
// ATSlocal_void (tmp185) ;
// ATSlocal_void (tmp186) ;
ATSlocal (ats_ptr_type, tmp187) ;
// ATSlocal_void (tmp188) ;
ATSlocal (ats_ptr_type, tmp189) ;
// ATSlocal_void (tmp190) ;
ATSlocal (ats_int_type, tmp191) ;
ATSlocal (ats_int_type, tmp192) ;
ATSlocal (ats_ptr_type, tmp193) ;
// ATSlocal_void (tmp194) ;
ATSlocal (ats_int_type, tmp195) ;
ATSlocal (ats_int_type, tmp196) ;
ATSlocal (ats_ptr_type, tmp197) ;
// ATSlocal_void (tmp198) ;
ATSlocal (ats_int_type, tmp199) ;
ATSlocal (ats_ptr_type, tmp200) ;
// ATSlocal_void (tmp201) ;
ATSlocal (ats_bool_type, tmp202) ;
ATSlocal (ats_int_type, tmp203) ;
ATSlocal (ats_int_type, tmp204) ;

__ats_lab_aux_19:
do {
/* branch: __ats_lab_69 */
__ats_lab_69_0:
if (((ats_sum_ptr_type)arg1)->tag != 0) { goto __ats_lab_70_0 ; }
__ats_lab_69_1:
tmp174 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp173 = */ auxstr_15 (arg0, tmp174) ;
break ;

/* branch: __ats_lab_70 */
__ats_lab_70_0:
if (((ats_sum_ptr_type)arg1)->tag != 1) { goto __ats_lab_71_0 ; }
__ats_lab_70_1:
tmp175 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_0) ;
tmp176 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_1) ;
/* tmp177 = */ aux_19 (arg0, tmp175) ;
/* tmp178 = */ auxlst_20 (arg0, tmp176) ;
/* tmp173 = */ auxstr_15 (arg0, ATSstrcst("postiats_app")) ;
break ;

/* branch: __ats_lab_71 */
__ats_lab_71_0:
if (((ats_sum_ptr_type)arg1)->tag != 2) { goto __ats_lab_72_0 ; }
__ats_lab_71_1:
tmp179 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_0) ;
/* tmp180 = */ aux_19 (arg0, tmp179) ;
/* tmp173 = */ auxstr_15 (arg0, ATSstrcst("postiats_tyarr")) ;
break ;

/* branch: __ats_lab_72 */
__ats_lab_72_0:
if (((ats_sum_ptr_type)arg1)->tag != 3) { goto __ats_lab_73_0 ; }
__ats_lab_72_1:
tmp181 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp182 = */ auxlablst_22 (arg0, tmp181) ;
/* tmp173 = */ auxstr_15 (arg0, ATSstrcst("postiats_tyrec")) ;
break ;

/* branch: __ats_lab_73 */
__ats_lab_73_0:
if (((ats_sum_ptr_type)arg1)->tag != 4) { goto __ats_lab_74_0 ; }
__ats_lab_73_1:
tmp183 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_0) ;
tmp184 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_1) ;
/* tmp185 = */ auxint_14 (arg0, tmp183) ;
/* tmp186 = */ auxlablst_22 (arg0, tmp184) ;
/* tmp173 = */ auxstr_15 (arg0, ATSstrcst("postiats_tysum")) ;
break ;

/* branch: __ats_lab_74 */
__ats_lab_74_0:
if (((ats_sum_ptr_type)arg1)->tag != 5) { goto __ats_lab_75_0 ; }
__ats_lab_74_1:
tmp187 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp188 = */ auxlablst_22 (arg0, tmp187) ;
/* tmp173 = */ auxstr_15 (arg0, ATSstrcst("postiats_tyexn")) ;
break ;

/* branch: __ats_lab_75 */
__ats_lab_75_0:
if (((ats_sum_ptr_type)arg1)->tag != 6) { goto __ats_lab_76_0 ; }
__ats_lab_75_1:
tmp189 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp190 = */ auxstr_15 (arg0, ATSstrcst("postiats_tyvar")) ;
tmp191 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2var_get_stamp (tmp189) ;
tmp192 = _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__stamp_get_int (tmp191) ;
/* tmp173 = */ auxint_14 (arg0, tmp192) ;
break ;

/* branch: __ats_lab_76 */
__ats_lab_76_0:
if (((ats_sum_ptr_type)arg1)->tag != 7) { goto __ats_lab_77_0 ; }
__ats_lab_76_1:
tmp193 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp194 = */ auxstr_15 (arg0, ATSstrcst("postiats_tyclo")) ;
tmp195 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__funlab_get_stamp (tmp193) ;
tmp196 = _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__stamp_get_int (tmp195) ;
/* tmp173 = */ auxint_14 (arg0, tmp196) ;
break ;

/* branch: __ats_lab_77 */
__ats_lab_77_0:
if (((ats_sum_ptr_type)arg1)->tag != 8) { goto __ats_lab_78_0 ; }
__ats_lab_77_1:
tmp197 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp198 = */ aux_19 (arg0, tmp197) ;
/* tmp173 = */ auxstr_15 (arg0, ATSstrcst("postiats_vararg")) ;
break ;

/* branch: __ats_lab_78 */
__ats_lab_78_0:
if (((ats_sum_ptr_type)arg1)->tag != 9) { goto __ats_lab_79_0 ; }
__ats_lab_78_1:
tmp199 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_0) ;
tmp200 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_1) ;
/* tmp201 = */ aux_19 (arg0, tmp200) ;
tmp202 = atspre_eq_int_int (tmp199, 0) ;
if (tmp202) {
/* tmp173 = */ auxstr_15 (arg0, ATSstrcst("postiats_refarg0")) ;
} else {
/* tmp173 = */ auxstr_15 (arg0, ATSstrcst("postiats_refarg1")) ;
} /* end of [if] */
break ;

/* branch: __ats_lab_79 */
__ats_lab_79_0:
if (((ats_sum_ptr_type)arg1)->tag != 10) { goto __ats_lab_80_0 ; }
__ats_lab_79_1:
tmp203 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_0) ;
tmp204 = _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__stamp_get_int (tmp203) ;
/* tmp173 = */ auxint_14 (arg0, tmp204) ;
break ;

/* branch: __ats_lab_80 */
__ats_lab_80_0:
// if (((ats_sum_ptr_type)arg1)->tag != 11) { ats_deadcode_failure_handle () ; }
__ats_lab_80_1:
/* tmp173 = */ auxstr_15 (arg0, ATSstrcst("postiats_error")) ;
break ;
} while (0) ;
return /* (tmp173) */ ;
} /* end of [aux_19] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 13321(line=709, offs=1) -- 13544(line=722, offs=4)
*/
ATSstaticdec()
ats_void_type
auxlst_20 (ats_ref_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp205) ;
ATSlocal (ats_ptr_type, tmp206) ;
ATSlocal (ats_ptr_type, tmp207) ;
// ATSlocal_void (tmp208) ;

__ats_lab_auxlst_20:
do {
/* branch: __ats_lab_81 */
__ats_lab_81_0:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_82_0 ; }
__ats_lab_81_1:
tmp206 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_0) ;
tmp207 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_1) ;
/* tmp208 = */ aux_19 (arg0, tmp206) ;
arg0 = arg0 ;
arg1 = tmp207 ;
goto __ats_lab_auxlst_20 ; // tail call
break ;

/* branch: __ats_lab_82 */
__ats_lab_82_0:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_82_1:
break ;
} while (0) ;
return /* (tmp205) */ ;
} /* end of [auxlst_20] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 13569(line=724, offs=5) -- 13974(line=743, offs=4)
*/
ATSstaticdec()
ats_void_type
auxlab_21 (ats_ref_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp209) ;
ATSlocal (ats_ptr_type, tmp210) ;
ATSlocal (ats_ptr_type, tmp211) ;
ATSlocal (ats_ptr_type, tmp212) ;
// ATSlocal_void (tmp213) ;
ATSlocal (ats_int_type, tmp214) ;
ATSlocal (ats_ptr_type, tmp215) ;
// ATSlocal_void (tmp216) ;
ATSlocal (ats_ptr_type, tmp217) ;

__ats_lab_auxlab_21:
// 
tmp210 = ats_caselptrlab_mac(anairiats_sum_5, arg1, atslab_0) ;
tmp211 = ats_caselptrlab_mac(anairiats_sum_5, arg1, atslab_2) ;
tmp212 = _2tmp_2ATS_2dPostiats_2src_2pats_label_2esats__label_get_int (tmp210) ;
do {
/* branch: __ats_lab_83 */
__ats_lab_83_0:
if (tmp212 == (ats_sum_ptr_type)0) { goto __ats_lab_84_0 ; }
__ats_lab_83_1:
tmp214 = ats_caselptrlab_mac(anairiats_sum_7, tmp212, atslab_0) ;
ATS_FREE(tmp212) ;
/* tmp213 = */ auxint_14 (arg0, tmp214) ;
break ;

/* branch: __ats_lab_84 */
__ats_lab_84_0:
// if (tmp212 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_84_1:
break ;
} while (0) ;
tmp215 = _2tmp_2ATS_2dPostiats_2src_2pats_label_2esats__label_get_sym (tmp210) ;
do {
/* branch: __ats_lab_85 */
__ats_lab_85_0:
if (tmp215 == (ats_sum_ptr_type)0) { goto __ats_lab_86_0 ; }
__ats_lab_85_1:
tmp217 = ats_caselptrlab_mac(anairiats_sum_6, tmp215, atslab_0) ;
ATS_FREE(tmp215) ;
/* tmp216 = */ auxsym_18 (arg0, tmp217) ;
break ;

/* branch: __ats_lab_86 */
__ats_lab_86_0:
// if (tmp215 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_86_1:
break ;
} while (0) ;
/* tmp209 = */ aux_19 (arg0, tmp211) ;
return /* (tmp209) */ ;
} /* end of [auxlab_21] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 13999(line=746, offs=1) -- 14234(line=758, offs=4)
*/
ATSstaticdec()
ats_void_type
auxlablst_22 (ats_ref_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp218) ;
ATSlocal (ats_ptr_type, tmp219) ;
ATSlocal (ats_ptr_type, tmp220) ;
// ATSlocal_void (tmp221) ;

__ats_lab_auxlablst_22:
do {
/* branch: __ats_lab_87 */
__ats_lab_87_0:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_88_0 ; }
__ats_lab_87_1:
tmp219 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_0) ;
tmp220 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_1) ;
/* tmp221 = */ auxlab_21 (arg0, tmp219) ;
arg0 = arg0 ;
arg1 = tmp220 ;
goto __ats_lab_auxlablst_22 ; // tail call
break ;

/* branch: __ats_lab_88 */
__ats_lab_88_0:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_88_1:
break ;
} while (0) ;
return /* (tmp218) */ ;
} /* end of [auxlablst_22] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 14304(line=763, offs=13) -- 14413(line=769, offs=4)
*/
ATSglobaldec()
ats_ulint_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_hash (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ulint_type, tmp222) ;
ATSlocal (ats_ulint_type, tmp223) ;
// ATSlocal_void (tmp224) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_hash:
/* ats_ulint_type tmp223 ; */
tmp223 = 618034ul ;
/* tmp224 = */ aux_19 ((&tmp223), arg0) ;
tmp222 = tmp223 ;
return (tmp222) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_hash] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 15351(line=830, offs=3) -- 15425(line=834, offs=4)
*/
ATSstaticdec()
ats_ulint_type
hash_key_05259_hitype (hitype arg0, ats_clo_ref_type arg1) {
/* local vardec */
ATSlocal (ats_ulint_type, tmp225) ;

__ats_lab_hash_key_05259_hitype:
tmp225 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_hash (ats_castfn_mac(ats_ptr_type, arg0)) ;
return (tmp225) ;
} /* end of [hash_key_05259_hitype] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 15481(line=837, offs=3) -- 15598(line=841, offs=4)
*/
ATSstaticdec()
ats_bool_type
equal_key_key_05260_hitype (hitype arg0, hitype arg1, ats_clo_ref_type arg2) {
/* local vardec */
ATSlocal (ats_bool_type, tmp226) ;

__ats_lab_equal_key_key_05260_hitype:
tmp226 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__eq_hitype_hitype (ats_castfn_mac(ats_ptr_type, arg0), ats_castfn_mac(ats_ptr_type, arg1)) ;
return (tmp226) ;
} /* end of [equal_key_key_05260_hitype] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/reference.dats: 1828(line=57, offs=18) -- 1902(line=59, offs=4)
*/
ATSstaticdec()
ats_ptr_type
ref_01088_ats_ptr_type (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp229) ;
ATSlocal (ats_ptr_type, tmp230) ;

__ats_lab_ref_01088_ats_ptr_type:
/* ats_ptr_type tmp230 ; */
tmp230 = arg0 ;
tmp229 = atspre_ref_make_elt_tsz ((&tmp230), sizeof(ats_ptr_type)) ;
return (tmp229) ;
} /* end of [ref_01088_ats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/list_vt.dats: 7889(line=308, offs=7) -- 8174(line=317, offs=28)
*/
ATSstaticdec()
ats_ptr_type
revapp_30 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp238) ;
ATSlocal (ats_ptr_type, tmp239) ;
ATSlocal (ats_ptr_type, tmp240) ;
ATSlocal (ats_ptr_type, tmp241) ;

__ats_lab_revapp_30:
do {
/* branch: __ats_lab_89 */
__ats_lab_89_0:
if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_90_0 ; }
__ats_lab_89_1:
tmp239 = &ats_caselptrlab_mac(anairiats_sum_9, arg0, atslab_1) ;
tmp240 = ats_ptrget_mac(ats_ptr_type, tmp239) ;
ats_ptrget_mac(ats_ptr_type, tmp239) = arg1 ;
tmp241 = arg0 ;
arg0 = tmp240 ;
arg1 = tmp241 ;
goto __ats_lab_revapp_30 ; // tail call
break ;

/* branch: __ats_lab_90 */
__ats_lab_90_0:
// if (arg0 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_90_1:
tmp238 = arg1 ;
break ;
} while (0) ;
return (tmp238) ;
} /* end of [revapp_30] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/list_vt.dats: 7770(line=303, offs=24) -- 8220(line=321, offs=4)
*/
ATSstaticdec()
ats_ptr_type
list_vt_reverse_append_01507_anairiats_rec_8 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp237) ;

__ats_lab_list_vt_reverse_append_01507_anairiats_rec_8:
tmp237 = revapp_30 (arg0, arg1) ;
return (tmp237) ;
} /* end of [list_vt_reverse_append_01507_anairiats_rec_8] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/list_vt.dats: 7652(line=298, offs=17) -- 7704(line=299, offs=46)
*/
ATSstaticdec()
ats_ptr_type
list_vt_reverse_01506_anairiats_rec_8 (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp236) ;
ATSlocal (ats_ptr_type, tmp242) ;

__ats_lab_list_vt_reverse_01506_anairiats_rec_8:
tmp242 = (ats_sum_ptr_type)0 ;
tmp236 = list_vt_reverse_append_01507_anairiats_rec_8 (arg0, tmp242) ;
return (tmp236) ;
} /* end of [list_vt_reverse_01506_anairiats_rec_8] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 16155(line=869, offs=3) -- 16315(line=880, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemaplst_get () {
/* local vardec */
ATSlocal (ats_ptr_type, tmp232) ;
ATSlocal (ats_ptr_type, tmp233) ;
ATSlocal (ats_ptr_type, tmp234) ;
ATSlocal (ats_ptr_type, tmp235) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemaplst_get:
tmp233 = ats_selsin_mac(ats_castfn_mac(ats_ptr_type, statmp228), atslab_1) ;
tmp234 = ats_ptrget_mac(ats_ptr_type, tmp233) ;
tmp235 = (ats_sum_ptr_type)0 ;
ats_ptrget_mac(ats_ptr_type, tmp233) = tmp235 ;
tmp232 = list_vt_reverse_01506_anairiats_rec_8 (tmp234) ;
return (tmp232) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemaplst_get] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/libats/DATS/hashtable_chain.dats: 9953(line=352, offs=51) -- 10390(line=364, offs=4)
*/
ATSstaticdec()
ats_ptr_type
hashtbl_ptr_split_04107_hitype_2cats_ptr_type (ats_ptr_type arg0, ats_size_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp257) ;
ATSlocal (ats_size_type, tmp258) ;
ATSlocal (ats_size_type, tmp259) ;

__ats_lab_hashtbl_ptr_split_04107_hitype_2cats_ptr_type:
tmp258 = atspre_mul2_size1_size1 (arg1, sizeof(ats_ptr_type)) ;
tmp259 = ats_selsin_mac(tmp258, atslab_1) ;
tmp257 = atspre_padd_size (arg0, tmp259) ;
return (tmp257) ;
} /* end of [hashtbl_ptr_split_04107_hitype_2cats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/libats/DATS/hashtable_chain.dats: 3031(line=107, offs=17) -- 3411(line=122, offs=37)
*/
ATSstaticdec()
ats_ptr_type
chain_search_04044_hitype_2cats_ptr_type (ats_ptr_type arg0, hitype arg1, ats_clo_ref_type arg2) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp261) ;
ATSlocal (hitype, tmp262) ;
ATSlocal (ats_ptr_type, tmp263) ;
ATSlocal (ats_ptr_type, tmp264) ;
ATSlocal (ats_bool_type, tmp265) ;
ATSlocal (ats_ptr_type, tmp266) ;

__ats_lab_chain_search_04044_hitype_2cats_ptr_type:
do {
/* branch: __ats_lab_91 */
__ats_lab_91_0:
if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_92_0 ; }
__ats_lab_91_1:
tmp262 = ats_caselptrlab_mac(anairiats_sum_11, arg0, atslab_0) ;
tmp263 = &ats_caselptrlab_mac(anairiats_sum_11, arg0, atslab_1) ;
tmp264 = &ats_caselptrlab_mac(anairiats_sum_11, arg0, atslab_2) ;
tmp265 = equal_key_key_05260_hitype (arg1, tmp262, arg2) ;
if (tmp265) {
tmp261 = tmp263 ;
} else {
tmp266 = ats_ptrget_mac(ats_ptr_type, tmp264) ;
arg0 = tmp266 ;
arg1 = arg1 ;
arg2 = arg2 ;
goto __ats_lab_chain_search_04044_hitype_2cats_ptr_type ; // tail call
} /* end of [if] */
break ;

/* branch: __ats_lab_92 */
__ats_lab_92_0:
// if (arg0 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_92_1:
tmp261 = atspre_null_ptr ;
break ;
} while (0) ;
return (tmp261) ;
} /* end of [chain_search_04044_hitype_2cats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/libats/DATS/hashtable_chain.dats: 10701(line=380, offs=22) -- 11153(line=392, offs=4)
*/
ATSstaticdec()
ats_ptr_type
hashtbl_ptr_search_ofs_04115_hitype_2cats_ptr_type (ats_ptr_type arg0, hitype arg1, ats_clo_ref_type arg2, ats_size_type arg3) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp255) ;
ATSlocal (ats_ptr_type, tmp256) ;
ATSlocal (ats_ptr_type, tmp260) ;
ATSlocal (ats_ptr_type, tmp267) ;

__ats_lab_hashtbl_ptr_search_ofs_04115_hitype_2cats_ptr_type:
tmp256 = hashtbl_ptr_split_04107_hitype_2cats_ptr_type (arg0, arg3) ;
tmp260 = ats_selsin_mac(tmp256, atslab_2) ;
tmp267 = ats_ptrget_mac(ats_ptr_type, tmp260) ;
tmp255 = chain_search_04044_hitype_2cats_ptr_type (tmp267, arg1, arg2) ;
return (tmp255) ;
} /* end of [hashtbl_ptr_search_ofs_04115_hitype_2cats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/libats/DATS/hashtable_chain.dats: 11228(line=395, offs=20) -- 11563(line=405, offs=4)
*/
ATSstaticdec()
ats_ptr_type
hashtbl_search_ref_05266_hitype_2cats_ptr_type (ats_ptr_type arg0, hitype arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp249) ;
ATSlocal (ats_ptr_type, tmp250) ;
ATSlocal (ats_ulint_type, tmp251) ;
ATSlocal (ats_clo_ref_type, tmp252) ;
ATSlocal (ats_size_type, tmp253) ;
ATSlocal (ats_size_type, tmp254) ;
ATSlocal (ats_ptr_type, tmp268) ;
ATSlocal (ats_clo_ref_type, tmp269) ;

__ats_lab_hashtbl_search_ref_05266_hitype_2cats_ptr_type:
tmp250 = ats_selsin_mac(ats_castfn_mac(ats_ptr_type, arg0), atslab_2) ;
tmp252 = ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp250), atslab_hash) ;
tmp251 = hash_key_05259_hitype (arg1, tmp252) ;
tmp254 = ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp250), atslab_sz) ;
tmp253 = atspre_mod1_size1_size1 (ats_castfn_mac(ats_size_type, tmp251), tmp254) ;
tmp268 = ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp250), atslab_pbeg) ;
tmp269 = ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp250), atslab_eqfn) ;
tmp249 = hashtbl_ptr_search_ofs_04115_hitype_2cats_ptr_type (tmp268, arg1, tmp269, tmp253) ;
return (tmp249) ;
} /* end of [hashtbl_search_ref_05266_hitype_2cats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/libats/DATS/hashtable_chain.dats: 11630(line=408, offs=16) -- 12049(line=423, offs=4)
*/
ATSstaticdec()
ats_bool_type
hashtbl_search_05265_hitype_2cats_ptr_type (ats_ptr_type arg0, hitype arg1, ats_ref_type arg2) {
/* local vardec */
ATSlocal (ats_bool_type, tmp247) ;
ATSlocal (ats_ptr_type, tmp248) ;
ATSlocal (ats_bool_type, tmp270) ;
ATSlocal (ats_ptr_type, tmp271) ;

__ats_lab_hashtbl_search_05265_hitype_2cats_ptr_type:
tmp248 = hashtbl_search_ref_05266_hitype_2cats_ptr_type (arg0, arg1) ;
tmp270 = atspre_pgt (tmp248, atspre_null_ptr) ;
if (tmp270) {
tmp271 = ats_ptrget_mac(ats_ptr_type, tmp248) ;
ats_ptrget_mac(ats_ptr_type, arg2) = tmp271 ;
tmp247 = ats_true_bool ;
} else {
tmp247 = ats_false_bool ;
} /* end of [if] */
return (tmp247) ;
} /* end of [hashtbl_search_05265_hitype_2cats_ptr_type] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 16404(line=886, offs=3) -- 16771(line=907, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_search (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp243) ;
ATSlocal (ats_ptr_type, tmp244) ;
ATSlocal (ats_ptr_type, tmp245) ;
ATSlocal (ats_bool_type, tmp246) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_search:
tmp244 = ats_selsin_mac(ats_castfn_mac(ats_ptr_type, ats_castfn_mac(ats_ptr_type, statmp227)), atslab_1) ;
/* ats_ptr_type tmp245 ; */
tmp246 = hashtbl_search_05265_hitype_2cats_ptr_type (tmp244, ats_castfn_mac(hitype, arg0), (&tmp245)) ;
if (tmp246) {
tmp243 = ATS_MALLOC(sizeof(anairiats_sum_6)) ;
ats_selptrset_mac(anairiats_sum_6, tmp243, atslab_0, tmp245) ;
} else {
tmp243 = (ats_sum_ptr_type)0 ;
} /* end of [if] */
return (tmp243) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_search] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/libats/DATS/hashtable_chain.dats: 3501(line=128, offs=22) -- 3611(line=131, offs=31)
*/
ATSstaticdec()
ats_void_type
chain_insert_04053_hitype_2cats_ptr_type (ats_ref_type arg0, hitype arg1, ats_ptr_type arg2) {
/* local vardec */
// ATSlocal_void (tmp292) ;
ATSlocal (ats_ptr_type, tmp293) ;

__ats_lab_chain_insert_04053_hitype_2cats_ptr_type:
tmp293 = ATS_MALLOC(sizeof(anairiats_sum_11)) ;
ats_selptrset_mac(anairiats_sum_11, tmp293, atslab_0, arg1) ;
ats_selptrset_mac(anairiats_sum_11, tmp293, atslab_1, arg2) ;
ats_selptrset_mac(anairiats_sum_11, tmp293, atslab_2, ats_ptrget_mac(ats_ptr_type, arg0)) ;
ats_ptrget_mac(ats_ptr_type, arg0) = tmp293 ;
return /* (tmp292) */ ;
} /* end of [chain_insert_04053_hitype_2cats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/libats/DATS/hashtable_chain.dats: 12194(line=430, offs=22) -- 12651(line=443, offs=4)
*/
ATSstaticdec()
ats_void_type
hashtbl_ptr_insert_ofs_04143_hitype_2cats_ptr_type (ats_ptr_type arg0, hitype arg1, ats_ptr_type arg2, ats_size_type arg3) {
/* local vardec */
// ATSlocal_void (tmp289) ;
ATSlocal (ats_ptr_type, tmp290) ;
ATSlocal (ats_ptr_type, tmp291) ;

__ats_lab_hashtbl_ptr_insert_ofs_04143_hitype_2cats_ptr_type:
tmp290 = hashtbl_ptr_split_04107_hitype_2cats_ptr_type (arg0, arg3) ;
tmp291 = ats_selsin_mac(tmp290, atslab_2) ;
/* tmp289 = */ chain_insert_04053_hitype_2cats_ptr_type (tmp291, arg1, arg2) ;
return /* (tmp289) */ ;
} /* end of [hashtbl_ptr_insert_ofs_04143_hitype_2cats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/libats/DATS/hashtable_chain.dats: 13487(line=471, offs=28) -- 14334(line=495, offs=4)
*/
ATSstaticdec()
ats_void_type
hashtbl_ptr_insert_chain_04170_hitype_2cats_ptr_type (ats_size_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_clo_ref_type arg3) {
/* local vardec */
// ATSlocal_void (tmp309) ;
ATSlocal (hitype, tmp310) ;
ATSlocal (ats_ptr_type, tmp311) ;
ATSlocal (ats_ptr_type, tmp312) ;
// ATSlocal_void (tmp313) ;
ATSlocal (ats_ulint_type, tmp314) ;
ATSlocal (ats_size_type, tmp315) ;
ATSlocal (ats_ptr_type, tmp316) ;
ATSlocal (ats_ptr_type, tmp317) ;

__ats_lab_hashtbl_ptr_insert_chain_04170_hitype_2cats_ptr_type:
do {
/* branch: __ats_lab_93 */
__ats_lab_93_0:
if (arg2 == (ats_sum_ptr_type)0) { goto __ats_lab_94_0 ; }
__ats_lab_93_1:
tmp310 = ats_caselptrlab_mac(anairiats_sum_11, arg2, atslab_0) ;
tmp311 = ats_caselptrlab_mac(anairiats_sum_11, arg2, atslab_1) ;
tmp312 = ats_caselptrlab_mac(anairiats_sum_11, arg2, atslab_2) ;
ATS_FREE(arg2) ;
/* tmp313 = */ hashtbl_ptr_insert_chain_04170_hitype_2cats_ptr_type (arg0, arg1, tmp312, arg3) ;
tmp314 = hash_key_05259_hitype (tmp310, arg3) ;
tmp315 = atspre_mod1_size1_size1 (ats_castfn_mac(ats_size_type, tmp314), arg0) ;
tmp316 = hashtbl_ptr_split_04107_hitype_2cats_ptr_type (arg1, tmp315) ;
tmp317 = ats_selsin_mac(tmp316, atslab_2) ;
/* tmp309 = */ chain_insert_04053_hitype_2cats_ptr_type (tmp317, tmp310, tmp311) ;
break ;

/* branch: __ats_lab_94 */
__ats_lab_94_0:
// if (arg2 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_94_1:
break ;
} while (0) ;
return /* (tmp309) */ ;
} /* end of [hashtbl_ptr_insert_chain_04170_hitype_2cats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/libats/DATS/hashtable_chain.dats: 14518(line=503, offs=11) -- 15357(line=526, offs=4)
*/
ATSstaticdec()
ats_void_type
hashtbl_ptr_relocate_04188_hitype_2cats_ptr_type (ats_size_type arg0, ats_size_type arg1, ats_ptr_type arg2, ats_ptr_type arg3, ats_clo_ref_type arg4) {
/* local vardec */
// ATSlocal_void (tmp304) ;
ATSlocal (ats_bool_type, tmp305) ;
ATSlocal (ats_ptr_type, tmp306) ;
ATSlocal (ats_ptr_type, tmp307) ;
// ATSlocal_void (tmp308) ;
ATSlocal (ats_size_type, tmp318) ;
ATSlocal (ats_ptr_type, tmp319) ;

__ats_lab_hashtbl_ptr_relocate_04188_hitype_2cats_ptr_type:
tmp305 = atspre_gt_size1_int1 (arg0, 0) ;
if (tmp305) {
tmp306 = ats_ptrget_mac(ats_ptr_type, arg2) ;
tmp307 = (ats_sum_ptr_type)0 ;
ats_ptrget_mac(ats_ptr_type, arg2) = tmp307 ;
/* tmp308 = */ hashtbl_ptr_insert_chain_04170_hitype_2cats_ptr_type (arg1, arg3, tmp306, arg4) ;
tmp318 = atspre_sub_size1_int1 (arg0, 1) ;
tmp319 = atspre_padd_size (arg2, sizeof(ats_ptr_type)) ;
arg0 = tmp318 ;
arg1 = arg1 ;
arg2 = tmp319 ;
arg3 = arg3 ;
arg4 = arg4 ;
goto __ats_lab_hashtbl_ptr_relocate_04188_hitype_2cats_ptr_type ; // tail call
} else {
/* empty */
} /* end of [if] */
return /* (tmp304) */ ;
} /* end of [hashtbl_ptr_relocate_04188_hitype_2cats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/libats/DATS/hashtable_chain.dats: 15470(line=531, offs=37) -- 16007(line=545, offs=2)
*/
ATSstaticdec()
ats_void_type
hashtbl_resize_04199_hitype_2cats_ptr_type (ats_ptr_type arg0, ats_size_type arg1) {
/* local vardec */
// ATSlocal_void (tmp299) ;
ATSlocal (ats_ptr_type, tmp300) ;
ATSlocal (ats_ptr_type, tmp301) ;
ATSlocal (ats_ptr_type, tmp302) ;
// ATSlocal_void (tmp303) ;
ATSlocal (ats_size_type, tmp320) ;
ATSlocal (ats_ptr_type, tmp321) ;
ATSlocal (ats_clo_ref_type, tmp322) ;
// ATSlocal_void (tmp323) ;
ATSlocal (ats_ptr_type, tmp324) ;

__ats_lab_hashtbl_resize_04199_hitype_2cats_ptr_type:
tmp300 = ats_selsin_mac(ats_castfn_mac(ats_ptr_type, arg0), atslab_2) ;
tmp301 = atslib_hashtbl_ptr_make__chain (arg1) ;
tmp302 = ats_selsin_mac(tmp301, atslab_2) ;
tmp320 = ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp300), atslab_sz) ;
tmp321 = ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp300), atslab_pbeg) ;
tmp322 = ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp300), atslab_hash) ;
/* tmp303 = */ hashtbl_ptr_relocate_04188_hitype_2cats_ptr_type (tmp320, arg1, tmp321, tmp302, tmp322) ;
tmp324 = ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp300), atslab_pbeg) ;
/* tmp323 = */ atslib_hashtbl_ptr_free__chain (tmp324) ;
ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp300), atslab_sz) = arg1 ;
ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp300), atslab_pbeg) = tmp302 ;
return /* (tmp299) */ ;
} /* end of [hashtbl_resize_04199_hitype_2cats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/libats/DATS/hashtable_chain.dats: 16396(line=562, offs=11) -- 16599(line=569, offs=4)
*/
ATSstaticdec()
ats_void_type
hashtbl_resize_double_04208_hitype_2cats_ptr_type (ats_ptr_type arg0) {
/* local vardec */
// ATSlocal_void (tmp296) ;
ATSlocal (ats_size_type, tmp297) ;
ATSlocal (ats_bool_type, tmp298) ;
ATSlocal (ats_size_type, tmp325) ;

__ats_lab_hashtbl_resize_double_04208_hitype_2cats_ptr_type:
tmp297 = ATS_2d0_2e2_2e12_2libats_2SATS_2hashtable_chain_2esats__hashtbl_size (arg0) ;
tmp298 = atspre_gt_size1_int1 (ats_castfn_mac(ats_size_type, tmp297), 0) ;
if (tmp298) {
tmp325 = atspre_add_size1_size1 (ats_castfn_mac(ats_size_type, tmp297), ats_castfn_mac(ats_size_type, tmp297)) ;
/* tmp296 = */ hashtbl_resize_04199_hitype_2cats_ptr_type (arg0, tmp325) ;
} else {
/* empty */
} /* end of [if] */
return /* (tmp296) */ ;
} /* end of [hashtbl_resize_double_04208_hitype_2cats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/libats/DATS/hashtable_chain.dats: 17030(line=589, offs=3) -- 17572(line=602, offs=2)
*/
ATSstaticdec()
ats_void_type
hashtbl_insert_05267_hitype_2cats_ptr_type (ats_ptr_type arg0, hitype arg1, ats_ptr_type arg2) {
/* local vardec */
// ATSlocal_void (tmp275) ;
ATSlocal (ats_double_type, tmp276) ;
ATSlocal (ats_ptr_type, tmp277) ;
ATSlocal (ats_size_type, tmp278) ;
ATSlocal (ats_size_type, tmp279) ;
ATSlocal (ats_double_type, tmp280) ;
ATSlocal (ats_double_type, tmp281) ;
ATSlocal (ats_double_type, tmp282) ;
ATSlocal (ats_size_type, tmp283) ;
ATSlocal (ats_ulint_type, tmp284) ;
ATSlocal (ats_clo_ref_type, tmp285) ;
ATSlocal (ats_size_type, tmp286) ;
ATSlocal (ats_size_type, tmp287) ;
// ATSlocal_void (tmp288) ;
ATSlocal (ats_ptr_type, tmp294) ;
ATSlocal (ats_bool_type, tmp295) ;

__ats_lab_hashtbl_insert_05267_hitype_2cats_ptr_type:
/* ats_double_type tmp276 ; */
tmp276 = 0.0 ;
tmp277 = ats_selsin_mac(ats_castfn_mac(ats_ptr_type, arg0), atslab_2) ;
tmp279 = ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp277), atslab_tot) ;
tmp278 = atspre_add_size1_int1 (tmp279, 1) ;
tmp281 = atspre_double_of_size (tmp278) ;
tmp283 = ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp277), atslab_sz) ;
tmp282 = atspre_double_of_size (tmp283) ;
tmp280 = atspre_div_double_double (tmp281, tmp282) ;
tmp276 = tmp280 ;
tmp285 = ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp277), atslab_hash) ;
tmp284 = hash_key_05259_hitype (arg1, tmp285) ;
tmp287 = ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp277), atslab_sz) ;
tmp286 = atspre_mod1_size1_size1 (ats_castfn_mac(ats_size_type, tmp284), tmp287) ;
tmp294 = ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp277), atslab_pbeg) ;
/* tmp288 = */ hashtbl_ptr_insert_ofs_04143_hitype_2cats_ptr_type (tmp294, arg1, arg2, tmp286) ;
ats_selptr_mac(ats_castptr_mac(anairiats_rec_10, tmp277), atslab_tot) = tmp278 ;
tmp295 = atspre_gte_double_double (tmp276, 5.0) ;
if (tmp295) {
/* tmp275 = */ hashtbl_resize_double_04208_hitype_2cats_ptr_type (arg0) ;
} else {
/* empty */
} /* end of [if] */
return /* (tmp275) */ ;
} /* end of [hashtbl_insert_05267_hitype_2cats_ptr_type] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 16860(line=913, offs=3) -- 17206(line=932, offs=4)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_insert (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp272) ;
ATSlocal (ats_ptr_type, tmp273) ;
// ATSlocal_void (tmp274) ;
ATSlocal (ats_ptr_type, tmp326) ;
ATSlocal (ats_ptr_type, tmp327) ;
ATSlocal (anairiats_rec_8, tmp328) ;
ATSlocal (ats_ptr_type, tmp329) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_insert:
tmp273 = ats_selsin_mac(ats_castfn_mac(ats_ptr_type, ats_castfn_mac(ats_ptr_type, statmp227)), atslab_1) ;
/* tmp274 = */ hashtbl_insert_05267_hitype_2cats_ptr_type (tmp273, ats_castfn_mac(hitype, arg0), arg1) ;
tmp326 = ats_selsin_mac(ats_castfn_mac(ats_ptr_type, statmp228), atslab_1) ;
tmp328.atslab_0 = arg0 ;
tmp328.atslab_1 = arg1 ;

tmp329 = ats_ptrget_mac(ats_ptr_type, tmp326) ;
tmp327 = ATS_MALLOC(sizeof(anairiats_sum_9)) ;
ats_selptrset_mac(anairiats_sum_9, tmp327, atslab_0, tmp328) ;
ats_selptrset_mac(anairiats_sum_9, tmp327, atslab_1, tmp329) ;
ats_ptrget_mac(ats_ptr_type, tmp326) = tmp327 ;
return /* (tmp272) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_insert] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 17309(line=939, offs=13) -- 17334(line=940, offs=21)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_error () {
/* local vardec */
ATSlocal (ats_ptr_type, tmp330) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_error:
tmp330 = (ats_sum_ptr_type)(&_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITerror_11) ;
return (tmp330) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_error] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 17360(line=943, offs=13) -- 17387(line=943, offs=40)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tybox () {
/* local vardec */
ATSlocal (ats_ptr_type, tmp331) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tybox:
tmp331 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp331)->tag = 0 ;
ats_selptrset_mac(anairiats_sum_1, tmp331, atslab_0, ATSstrcst("atstype_boxed")) ;
return (tmp331) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tybox] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 17414(line=946, offs=13) -- 17485(line=948, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_undef (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp332) ;
ATSlocal (ats_int_type, tmp333) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_undef:
tmp333 = _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__hitype_stamp_make () ;
tmp332 = ATS_MALLOC(sizeof(anairiats_sum_3)) ;
((ats_sum_ptr_type)tmp332)->tag = 10 ;
ats_selptrset_mac(anairiats_sum_3, tmp332, atslab_0, tmp333) ;
ats_selptrset_mac(anairiats_sum_3, tmp332, atslab_1, arg0) ;
return (tmp332) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_undef] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 17620(line=959, offs=3) -- 17740(line=964, offs=4)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_s2var (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp334) ;
ATSlocal (ats_ptr_type, tmp335) ;
ATSlocal (ats_ptr_type, tmp336) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_s2var:
tmp335 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2var_get_sym (arg1) ;
tmp336 = _2tmp_2ATS_2dPostiats_2src_2pats_symbol_2esats__symbol_get_name (tmp335) ;
/* tmp334 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_ident (arg0, tmp336) ;
return /* (tmp334) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_s2var] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 17927(line=979, offs=5) -- 18395(line=1007, offs=4)
*/
ATSstaticdec()
ats_void_type
aux_50 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp338) ;
ATSlocal (ats_ptr_type, tmp339) ;
ATSlocal (ats_ptr_type, tmp340) ;
// ATSlocal_void (tmp341) ;
// ATSlocal_void (tmp342) ;
// ATSlocal_void (tmp343) ;
ATSlocal (ats_ptr_type, tmp344) ;

__ats_lab_aux_50:
do {
/* branch: __ats_lab_95 */
__ats_lab_95_0:
if (((ats_sum_ptr_type)arg1)->tag != 1) { goto __ats_lab_96_0 ; }
__ats_lab_95_1:
tmp339 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_0) ;
tmp340 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_1) ;
/* tmp341 = */ aux_50 (arg0, tmp339) ;
/* tmp342 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("(")) ;
/* tmp343 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_hitypelst_sep (arg0, tmp340, ATSstrcst(", ")) ;
/* tmp338 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_96 */
__ats_lab_96_0:
if (((ats_sum_ptr_type)arg1)->tag != 6) { goto __ats_lab_97_0 ; }
__ats_lab_96_1:
tmp344 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp338 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_s2var (arg0, tmp344) ;
break ;

/* branch: __ats_lab_97 */
__ats_lab_97_0:
__ats_lab_97_1:
/* tmp338 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype (arg0, arg1) ;
break ;
} while (0) ;
return /* (tmp338) */ ;
} /* end of [aux_50] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 17902(line=977, offs=3) -- 18675(line=1024, offs=4)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_hitype_app (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp337) ;
ATSlocal (ats_int_type, tmp345) ;
// ATSlocal_void (tmp346) ;
ATSlocal (ats_bool_type, tmp347) ;
// ATSlocal_void (tmp348) ;
ATSlocal (ats_bool_type, tmp349) ;
// ATSlocal_void (tmp350) ;
ATSlocal (ats_bool_type, tmp351) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_hitype_app:
tmp345 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_is_tyvarhd (arg1) ;
tmp347 = atspre_gt_int_int (tmp345, 0) ;
if (tmp347) {
/* tmp346 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atstybox_type(")) ;
} else {
/* empty */
} /* end of [if] */
tmp349 = atspre_lt_int_int (tmp345, 0) ;
if (tmp349) {
/* tmp348 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atstyvar_type(")) ;
} else {
/* empty */
} /* end of [if] */
/* tmp350 = */ aux_50 (arg0, arg1) ;
tmp351 = atspre_neq_int_int (tmp345, 0) ;
if (tmp351) {
/* tmp337 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst(")")) ;
} else {
/* empty */
} /* end of [if] */
return /* (tmp337) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_hitype_app] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 18752(line=1030, offs=3) -- 20587(line=1117, offs=4)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp352) ;
ATSlocal (ats_ptr_type, tmp353) ;
ATSlocal (ats_ptr_type, tmp354) ;
// ATSlocal_void (tmp355) ;
// ATSlocal_void (tmp356) ;
ATSlocal (ats_ptr_type, tmp357) ;
// ATSlocal_void (tmp358) ;
// ATSlocal_void (tmp359) ;
ATSlocal (ats_ptr_type, tmp360) ;
// ATSlocal_void (tmp361) ;
// ATSlocal_void (tmp362) ;
ATSlocal (ats_ptr_type, tmp363) ;
// ATSlocal_void (tmp364) ;
// ATSlocal_void (tmp365) ;
ATSlocal (ats_int_type, tmp366) ;
ATSlocal (ats_ptr_type, tmp367) ;
// ATSlocal_void (tmp368) ;
ATSlocal (ats_bool_type, tmp369) ;
// ATSlocal_void (tmp370) ;
ATSlocal (ats_ptr_type, tmp371) ;
// ATSlocal_void (tmp372) ;
// ATSlocal_void (tmp373) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype:
do {
/* branch: __ats_lab_98 */
__ats_lab_98_0:
if (((ats_sum_ptr_type)arg1)->tag != 0) { goto __ats_lab_99_0 ; }
__ats_lab_98_1:
tmp353 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp352 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, tmp353) ;
break ;

/* branch: __ats_lab_99 */
__ats_lab_99_0:
if (((ats_sum_ptr_type)arg1)->tag != 1) { goto __ats_lab_100_0 ; }
__ats_lab_99_1:
/* tmp352 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_hitype_app (arg0, arg1) ;
break ;

/* branch: __ats_lab_100 */
__ats_lab_100_0:
if (((ats_sum_ptr_type)arg1)->tag != 2) { goto __ats_lab_101_0 ; }
__ats_lab_100_1:
tmp354 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_0) ;
/* tmp355 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atstyarr_type(")) ;
/* tmp356 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype (arg0, tmp354) ;
/* tmp352 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_101 */
__ats_lab_101_0:
if (((ats_sum_ptr_type)arg1)->tag != 3) { goto __ats_lab_102_0 ; }
__ats_lab_101_1:
/* tmp352 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atstyrec_type(*ERROR*)")) ;
break ;

/* branch: __ats_lab_102 */
__ats_lab_102_0:
if (((ats_sum_ptr_type)arg1)->tag != 4) { goto __ats_lab_103_0 ; }
__ats_lab_102_1:
/* tmp352 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atstysum_type(*ERROR*)")) ;
break ;

/* branch: __ats_lab_103 */
__ats_lab_103_0:
if (((ats_sum_ptr_type)arg1)->tag != 5) { goto __ats_lab_104_0 ; }
__ats_lab_103_1:
/* tmp352 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atstyexn_type(*ERROR*)")) ;
break ;

/* branch: __ats_lab_104 */
__ats_lab_104_0:
if (((ats_sum_ptr_type)arg1)->tag != 7) { goto __ats_lab_105_0 ; }
__ats_lab_104_1:
tmp357 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp358 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atstyclo_type(")) ;
/* tmp359 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_funlab (arg0, tmp357) ;
/* tmp352 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_105 */
__ats_lab_105_0:
if (((ats_sum_ptr_type)arg1)->tag != 6) { goto __ats_lab_106_0 ; }
__ats_lab_105_1:
tmp360 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp361 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atstyvar_type(")) ;
/* tmp362 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_s2var (arg0, tmp360) ;
/* tmp352 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_RPAREN (arg0) ;
break ;

/* branch: __ats_lab_106 */
__ats_lab_106_0:
if (((ats_sum_ptr_type)arg1)->tag != 8) { goto __ats_lab_107_0 ; }
__ats_lab_106_1:
tmp363 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp364 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atsvararg_type(")) ;
/* tmp365 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype (arg0, tmp363) ;
/* tmp352 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_RPAREN (arg0) ;
break ;

/* branch: __ats_lab_107 */
__ats_lab_107_0:
if (((ats_sum_ptr_type)arg1)->tag != 9) { goto __ats_lab_108_0 ; }
__ats_lab_107_1:
tmp366 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_0) ;
tmp367 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_1) ;
tmp369 = atspre_eq_int_int (tmp366, 0) ;
if (tmp369) {
/* tmp368 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atsrefarg0_type(")) ;
} else {
/* tmp368 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atsrefarg1_type(")) ;
} /* end of [if] */
/* tmp370 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype (arg0, tmp367) ;
/* tmp352 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_RPAREN (arg0) ;
break ;

/* branch: __ats_lab_108 */
__ats_lab_108_0:
if (((ats_sum_ptr_type)arg1)->tag != 10) { goto __ats_lab_109_0 ; }
__ats_lab_108_1:
tmp371 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_1) ;
/* tmp372 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("postiats_undef(")) ;
/* tmp373 = */ _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__fprint_hisexp (arg0, tmp371) ;
/* tmp352 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_109 */
__ats_lab_109_0:
// if (((ats_sum_ptr_type)arg1)->tag != 11) { ats_deadcode_failure_handle () ; }
__ats_lab_109_1:
/* tmp352 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("postiats_error()")) ;
break ;
} while (0) ;
return /* (tmp352) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 20674(line=1124, offs=1) -- 20977(line=1141, offs=4)
*/
ATSstaticdec()
ats_void_type
auxlst_53 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_int_type arg3) {
/* local vardec */
// ATSlocal_void (tmp375) ;
ATSlocal (ats_ptr_type, tmp376) ;
ATSlocal (ats_ptr_type, tmp377) ;
// ATSlocal_void (tmp378) ;
ATSlocal (ats_bool_type, tmp379) ;
// ATSlocal_void (tmp380) ;
ATSlocal (ats_int_type, tmp381) ;

__ats_lab_auxlst_53:
do {
/* branch: __ats_lab_110 */
__ats_lab_110_0:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_111_0 ; }
__ats_lab_110_1:
tmp376 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_0) ;
tmp377 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_1) ;
tmp379 = atspre_gt_int_int (arg3, 0) ;
if (tmp379) {
/* tmp378 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, arg2) ;
} else {
/* empty */
} /* end of [if] */
/* tmp380 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype (arg0, tmp376) ;
tmp381 = atspre_add_int_int (arg3, 1) ;
arg0 = arg0 ;
arg1 = tmp377 ;
arg2 = arg2 ;
arg3 = tmp381 ;
goto __ats_lab_auxlst_53 ; // tail call
break ;

/* branch: __ats_lab_111 */
__ats_lab_111_0:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_111_1:
break ;
} while (0) ;
return /* (tmp375) */ ;
} /* end of [auxlst_53] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 20644(line=1121, offs=3) -- 21035(line=1145, offs=4)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_hitypelst_sep (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
// ATSlocal_void (tmp374) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_hitypelst_sep:
/* tmp374 = */ auxlst_53 (arg0, arg1, arg2, 0) ;
return /* (tmp374) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__emit_hitypelst_sep] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 21113(line=1151, offs=3) -- 21483(line=1175, offs=4)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hisexp (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp382) ;
ATSlocal (ats_ptr_type, tmp383) ;
// ATSlocal_void (tmp384) ;
// ATSlocal_void (tmp385) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hisexp:
tmp383 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hisexp_typize (1, arg1) ;
do {
/* branch: __ats_lab_112 */
__ats_lab_112_0:
if (((ats_sum_ptr_type)tmp383)->tag != 10) { goto __ats_lab_113_0 ; }
__ats_lab_112_1:
/* tmp384 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("HITundef(")) ;
/* tmp385 = */ _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__fprint_hisexp (arg0, arg1) ;
/* tmp382 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_113 */
__ats_lab_113_0:
__ats_lab_113_1:
/* tmp382 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype (arg0, tmp383) ;
break ;
} while (0) ;
return /* (tmp382) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hisexp] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 21591(line=1184, offs=1) -- 22048(line=1217, offs=4)
*/
ATSstaticdec()
ats_void_type
loop_56 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2, ats_int_type arg3) {
/* local vardec */
// ATSlocal_void (tmp387) ;
ATSlocal (ats_ptr_type, tmp388) ;
ATSlocal (ats_ptr_type, tmp389) ;
// ATSlocal_void (tmp390) ;
ATSlocal (ats_bool_type, tmp391) ;
// ATSlocal_void (tmp392) ;
ATSlocal (ats_int_type, tmp393) ;

__ats_lab_loop_56:
do {
/* branch: __ats_lab_114 */
__ats_lab_114_0:
if (arg1 != (ats_sum_ptr_type)0) { goto __ats_lab_115_0 ; }
__ats_lab_114_1:
break ;

/* branch: __ats_lab_115 */
__ats_lab_115_0:
// if (arg1 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_115_1:
tmp388 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_0) ;
tmp389 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_1) ;
tmp391 = atspre_gt_int_int (arg3, 0) ;
if (tmp391) {
/* tmp390 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, arg2) ;
} else {
/* empty */
} /* end of [if] */
/* tmp392 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hisexp (arg0, tmp388) ;
tmp393 = atspre_add_int_int (arg3, 1) ;
arg0 = arg0 ;
arg1 = tmp389 ;
arg2 = arg2 ;
arg3 = tmp393 ;
goto __ats_lab_loop_56 ; // tail call
break ;
} while (0) ;
return /* (tmp387) */ ;
} /* end of [loop_56] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 21561(line=1181, offs=3) -- 22102(line=1221, offs=4)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hisexplst_sep (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
// ATSlocal_void (tmp386) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hisexplst_sep:
/* tmp386 = */ loop_56 (arg0, arg1, arg2, 0) ;
return /* (tmp386) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hisexplst_sep] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 22184(line=1227, offs=3) -- 22550(line=1248, offs=4)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hisexp_sel (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp394) ;
ATSlocal (ats_ptr_type, tmp395) ;
// ATSlocal_void (tmp396) ;
// ATSlocal_void (tmp397) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hisexp_sel:
tmp395 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hisexp_typize (0, arg1) ;
do {
/* branch: __ats_lab_116 */
__ats_lab_116_0:
if (((ats_sum_ptr_type)tmp395)->tag != 10) { goto __ats_lab_117_0 ; }
__ats_lab_116_1:
/* tmp396 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("HITundef(")) ;
/* tmp397 = */ _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__fprint_hisexp (arg0, arg1) ;
/* tmp394 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst(")")) ;
break ;

/* branch: __ats_lab_117 */
__ats_lab_117_0:
__ats_lab_117_1:
/* tmp394 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype (arg0, tmp395) ;
break ;
} while (0) ;
return /* (tmp394) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hisexp_sel] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 22667(line=1256, offs=18) -- 22799(line=1261, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tyrec () {
/* local vardec */
ATSlocal (ats_ptr_type, tmp398) ;
ATSlocal (ats_int_type, tmp399) ;
ATSlocal (ats_ptr_type, tmp400) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tyrec:
tmp399 = _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__hitype_stamp_make () ;
tmp400 = _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__tostring_prefix_stamp (ATSstrcst("postiats_tyrec_"), tmp399) ;
tmp398 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp398)->tag = 0 ;
ats_selptrset_mac(anairiats_sum_1, tmp398, atslab_0, tmp400) ;
return (tmp398) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tyrec] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 22896(line=1267, offs=18) -- 23028(line=1272, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tysum () {
/* local vardec */
ATSlocal (ats_ptr_type, tmp401) ;
ATSlocal (ats_int_type, tmp402) ;
ATSlocal (ats_ptr_type, tmp403) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tysum:
tmp402 = _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__hitype_stamp_make () ;
tmp403 = _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__tostring_prefix_stamp (ATSstrcst("postiats_tysum_"), tmp402) ;
tmp401 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp401)->tag = 0 ;
ats_selptrset_mac(anairiats_sum_1, tmp401, atslab_0, tmp403) ;
return (tmp401) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tysum] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 23125(line=1277, offs=18) -- 23257(line=1282, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tyexn () {
/* local vardec */
ATSlocal (ats_ptr_type, tmp404) ;
ATSlocal (ats_int_type, tmp405) ;
ATSlocal (ats_ptr_type, tmp406) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tyexn:
tmp405 = _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__hitype_stamp_make () ;
tmp406 = _2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__tostring_prefix_stamp (ATSstrcst("postiats_tyexn_"), tmp405) ;
tmp404 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp404)->tag = 0 ;
ats_selptrset_mac(anairiats_sum_1, tmp404, atslab_0, tmp406) ;
return (tmp404) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tyexn] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 23422(line=1297, offs=1) -- 23646(line=1309, offs=2)
*/
ATSstaticdec()
ats_ptr_type
auxlst_62 (ats_int_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp408) ;
ATSlocal (ats_ptr_type, tmp409) ;
ATSlocal (ats_ptr_type, tmp410) ;
ATSlocal (ats_ptr_type, tmp411) ;
ATSlocal (ats_ptr_type, tmp412) ;

__ats_lab_auxlst_62:
do {
/* branch: __ats_lab_118 */
__ats_lab_118_0:
if (arg1 != (ats_sum_ptr_type)0) { goto __ats_lab_119_0 ; }
__ats_lab_118_1:
tmp408 = (ats_sum_ptr_type)0 ;
break ;

/* branch: __ats_lab_119 */
__ats_lab_119_0:
// if (arg1 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_119_1:
tmp409 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_0) ;
tmp410 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_1) ;
tmp411 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__s2exp_typize (arg0, tmp409) ;
tmp412 = auxlst_62 (arg0, tmp410) ;
tmp408 = ATS_MALLOC(sizeof(anairiats_sum_4)) ;
ats_selptrset_mac(anairiats_sum_4, tmp408, atslab_0, tmp411) ;
ats_selptrset_mac(anairiats_sum_4, tmp408, atslab_1, tmp412) ;
break ;
} while (0) ;
return (tmp408) ;
} /* end of [auxlst_62] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 23654(line=1312, offs=1) -- 23941(line=1325, offs=2)
*/
ATSstaticdec()
ats_ptr_type
auxlstlst_app_63 (ats_int_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp413) ;
ATSlocal (ats_ptr_type, tmp414) ;
ATSlocal (ats_ptr_type, tmp415) ;
ATSlocal (ats_ptr_type, tmp416) ;
ATSlocal (ats_ptr_type, tmp417) ;

__ats_lab_auxlstlst_app_63:
do {
/* branch: __ats_lab_120 */
__ats_lab_120_0:
if (arg2 != (ats_sum_ptr_type)0) { goto __ats_lab_121_0 ; }
__ats_lab_120_1:
tmp413 = arg1 ;
break ;

/* branch: __ats_lab_121 */
__ats_lab_121_0:
// if (arg2 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_121_1:
tmp414 = ats_caselptrlab_mac(anairiats_sum_4, arg2, atslab_0) ;
tmp415 = ats_caselptrlab_mac(anairiats_sum_4, arg2, atslab_1) ;
tmp416 = auxlst_62 (arg0, tmp414) ;
tmp417 = ATS_MALLOC(sizeof(anairiats_sum_2)) ;
((ats_sum_ptr_type)tmp417)->tag = 1 ;
ats_selptrset_mac(anairiats_sum_2, tmp417, atslab_0, arg1) ;
ats_selptrset_mac(anairiats_sum_2, tmp417, atslab_1, tmp416) ;
arg0 = arg0 ;
arg1 = tmp417 ;
arg2 = tmp415 ;
goto __ats_lab_auxlstlst_app_63 ; // tail call
break ;
} while (0) ;
return (tmp413) ;
} /* end of [auxlstlst_app_63] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 23334(line=1288, offs=3) -- 24513(line=1357, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__s2exp_typize (ats_int_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp407) ;
ATSlocal (ats_ptr_type, tmp418) ;
ATSlocal (ats_ptr_type, tmp419) ;
ATSlocal (ats_ptr_type, tmp420) ;
ATSlocal (ats_ptr_type, tmp421) ;
ATSlocal (ats_ptr_type, tmp422) ;
ATSlocal (ats_ptr_type, tmp423) ;
ATSlocal (ats_ptr_type, tmp424) ;
ATSlocal (ats_ptr_type, tmp425) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__s2exp_typize:
tmp418 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_12, arg1), atslab_s2exp_node) ;
do {
/* branch: __ats_lab_122 */
__ats_lab_122_0:
if (((ats_sum_ptr_type)tmp418)->tag != 5) { goto __ats_lab_123_0 ; }
__ats_lab_122_1:
tmp419 = ats_caselptrlab_mac(anairiats_sum_2, tmp418, atslab_0) ;
tmp420 = ats_caselptrlab_mac(anairiats_sum_2, tmp418, atslab_1) ;
tmp421 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp421)->tag = 0 ;
ats_selptrset_mac(anairiats_sum_1, tmp421, atslab_0, tmp419) ;
tmp407 = auxlstlst_app_63 (arg0, tmp421, tmp420) ;
break ;

/* branch: __ats_lab_123 */
__ats_lab_123_0:
if (((ats_sum_ptr_type)tmp418)->tag != 6) { goto __ats_lab_124_0 ; }
__ats_lab_123_1:
tmp422 = ats_caselptrlab_mac(anairiats_sum_2, tmp418, atslab_0) ;
tmp407 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp407)->tag = 0 ;
ats_selptrset_mac(anairiats_sum_1, tmp407, atslab_0, tmp422) ;
break ;

/* branch: __ats_lab_124 */
__ats_lab_124_0:
if (((ats_sum_ptr_type)tmp418)->tag != 8) { goto __ats_lab_125_0 ; }
__ats_lab_124_1:
tmp423 = ats_caselptrlab_mac(anairiats_sum_1, tmp418, atslab_0) ;
tmp424 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2Var_get_szexp (tmp423) ;
tmp407 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__s2zexp_typize (arg0, tmp424) ;
break ;

/* branch: __ats_lab_125 */
__ats_lab_125_0:
if (((ats_sum_ptr_type)tmp418)->tag != 12) { goto __ats_lab_126_0 ; }
__ats_lab_125_1:
tmp407 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_error () ;
break ;

/* branch: __ats_lab_126 */
__ats_lab_126_0:
__ats_lab_126_1:
tmp425 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__s2exp_tyer_shallow (_2tmp_2ATS_2dPostiats_2src_2pats_location_2esats__location_dummy, arg1) ;
tmp407 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hisexp_typize (arg0, tmp425) ;
break ;
} while (0) ;
return (tmp407) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__s2exp_typize] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 24587(line=1363, offs=3) -- 24924(line=1383, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__s2zexp_typize (ats_int_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp426) ;
ATSlocal (ats_ptr_type, tmp427) ;
ATSlocal (ats_ptr_type, tmp428) ;
ATSlocal (ats_ptr_type, tmp429) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__s2zexp_typize:
do {
/* branch: __ats_lab_127 */
__ats_lab_127_0:
if (((ats_sum_ptr_type)arg1)->tag != 5) { goto __ats_lab_128_0 ; }
__ats_lab_127_1:
tmp427 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_0) ;
tmp426 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp426)->tag = 0 ;
ats_selptrset_mac(anairiats_sum_1, tmp426, atslab_0, tmp427) ;
break ;

/* branch: __ats_lab_128 */
__ats_lab_128_0:
if (((ats_sum_ptr_type)arg1)->tag != 6) { goto __ats_lab_129_0 ; }
__ats_lab_128_1:
tmp428 = ats_caselptrlab_mac(anairiats_sum_2, arg1, atslab_0) ;
tmp426 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp426)->tag = 0 ;
ats_selptrset_mac(anairiats_sum_1, tmp426, atslab_0, tmp428) ;
break ;

/* branch: __ats_lab_129 */
__ats_lab_129_0:
__ats_lab_129_1:
tmp429 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__s2zexp_tyer (_2tmp_2ATS_2dPostiats_2src_2pats_location_2esats__location_dummy, arg1) ;
tmp426 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hisexp_typize (arg0, tmp429) ;
break ;
} while (0) ;
return (tmp426) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__s2zexp_typize] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 24984(line=1390, offs=1) -- 26714(line=1476, offs=4)
*/
ATSstaticdec()
ats_ptr_type
aux_65 (ats_int_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp430) ;
ATSlocal (ats_ptr_type, tmp431) ;
ATSlocal (ats_int_type, tmp432) ;
ATSlocal (ats_ptr_type, tmp433) ;
ATSlocal (ats_ptr_type, tmp434) ;
ATSlocal (ats_bool_type, tmp435) ;
ATSlocal (ats_ptr_type, tmp436) ;
ATSlocal (ats_ptr_type, tmp437) ;
ATSlocal (ats_ptr_type, tmp438) ;
ATSlocal (ats_ptr_type, tmp439) ;
ATSlocal (ats_ptr_type, tmp440) ;
ATSlocal (ats_ptr_type, tmp441) ;
ATSlocal (ats_ptr_type, tmp442) ;
ATSlocal (ats_ptr_type, tmp443) ;
ATSlocal (ats_ptr_type, tmp444) ;
ATSlocal (ats_ptr_type, tmp445) ;
ATSlocal (ats_bool_type, tmp446) ;
ATSlocal (ats_ptr_type, tmp447) ;
ATSlocal (ats_ptr_type, tmp448) ;
ATSlocal (ats_ptr_type, tmp449) ;
ATSlocal (ats_int_type, tmp450) ;
ATSlocal (ats_ptr_type, tmp451) ;
ATSlocal (ats_ptr_type, tmp452) ;
ATSlocal (ats_ptr_type, tmp453) ;
ATSlocal (ats_ptr_type, tmp454) ;
ATSlocal (ats_ptr_type, tmp455) ;
ATSlocal (ats_ptr_type, tmp456) ;
ATSlocal (ats_ptr_type, tmp457) ;

__ats_lab_aux_65:
tmp431 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_13, arg1), atslab_hisexp_name) ;

tmp432 = ats_caselptrlab_mac(anairiats_sum_14, tmp431, atslab_1) ;
tmp433 = ats_caselptrlab_mac(anairiats_sum_14, tmp431, atslab_2) ;
tmp434 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_13, arg1), atslab_hisexp_node) ;
do {
/* branch: __ats_lab_130 */
__ats_lab_130_0:
__ats_lab_130_1:
tmp435 = atspre_gt_int_int (tmp432, 0) ;
if (!tmp435) { goto __ats_lab_131_0 ; }
tmp430 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp430)->tag = 0 ;
ats_selptrset_mac(anairiats_sum_1, tmp430, atslab_0, tmp433) ;
break ;

/* branch: __ats_lab_131 */
__ats_lab_131_0:
if (((ats_sum_ptr_type)tmp434)->tag != 0) { goto __ats_lab_132_0 ; }
__ats_lab_131_1:
tmp436 = ats_caselptrlab_mac(anairiats_sum_1, tmp434, atslab_0) ;
tmp430 = aux_s2cst_66 (tmp436) ;
break ;

/* branch: __ats_lab_132 */
__ats_lab_132_0:
if (((ats_sum_ptr_type)tmp434)->tag != 3) { goto __ats_lab_133_0 ; }
__ats_lab_132_1:
tmp437 = ats_caselptrlab_mac(anairiats_sum_2, tmp434, atslab_0) ;
tmp438 = ats_caselptrlab_mac(anairiats_sum_2, tmp434, atslab_1) ;
tmp439 = aux_65 (arg0, tmp437) ;
tmp440 = auxlst_72 (arg0, tmp438) ;
tmp430 = ATS_MALLOC(sizeof(anairiats_sum_2)) ;
((ats_sum_ptr_type)tmp430)->tag = 1 ;
ats_selptrset_mac(anairiats_sum_2, tmp430, atslab_0, tmp439) ;
ats_selptrset_mac(anairiats_sum_2, tmp430, atslab_1, tmp440) ;
break ;

/* branch: __ats_lab_133 */
__ats_lab_133_0:
if (((ats_sum_ptr_type)tmp434)->tag != 2) { goto __ats_lab_134_0 ; }
__ats_lab_133_1:
tmp441 = ats_caselptrlab_mac(anairiats_sum_1, tmp434, atslab_0) ;
tmp442 = _2tmp_2ATS_2dPostiats_2src_2pats_symbol_2esats__symbol_get_name (tmp441) ;
tmp430 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp430)->tag = 0 ;
ats_selptrset_mac(anairiats_sum_1, tmp430, atslab_0, tmp442) ;
break ;

/* branch: __ats_lab_134 */
__ats_lab_134_0:
if (((ats_sum_ptr_type)tmp434)->tag != 7) { goto __ats_lab_135_0 ; }
__ats_lab_134_1:
tmp430 = aux_tyarr_67 (arg0, arg1) ;
break ;

/* branch: __ats_lab_135 */
__ats_lab_135_0:
if (((ats_sum_ptr_type)tmp434)->tag != 8) { goto __ats_lab_136_0 ; }
__ats_lab_135_1:
tmp430 = aux_tyrec_68 (arg0, arg1) ;
break ;

/* branch: __ats_lab_136 */
__ats_lab_136_0:
if (((ats_sum_ptr_type)tmp434)->tag != 9) { goto __ats_lab_137_0 ; }
__ats_lab_136_1:
tmp443 = ats_caselptrlab_mac(anairiats_sum_1, tmp434, atslab_0) ;
// 
tmp444 = ats_caselptrlab_mac(anairiats_sum_5, tmp443, atslab_2) ;
arg0 = arg0 ;
arg1 = tmp444 ;
goto __ats_lab_aux_65 ; // tail call
break ;

/* branch: __ats_lab_137 */
__ats_lab_137_0:
if (((ats_sum_ptr_type)tmp434)->tag != 10) { goto __ats_lab_138_0 ; }
__ats_lab_137_1:
tmp445 = ats_caselptrlab_mac(anairiats_sum_2, tmp434, atslab_0) ;
tmp446 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__d2con_is_con (tmp445) ;
if (tmp446) {
tmp430 = aux_tysum_70 (arg0, arg1) ;
} else {
tmp430 = aux_tyexn_71 (arg0, arg1) ;
} /* end of [if] */
break ;

/* branch: __ats_lab_138 */
__ats_lab_138_0:
if (((ats_sum_ptr_type)tmp434)->tag != 12) { goto __ats_lab_139_0 ; }
__ats_lab_138_1:
tmp447 = ats_caselptrlab_mac(anairiats_sum_1, tmp434, atslab_0) ;
tmp430 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp430)->tag = 7 ;
ats_selptrset_mac(anairiats_sum_1, tmp430, atslab_0, ats_castfn_mac(ats_ptr_type, tmp447)) ;
break ;

/* branch: __ats_lab_139 */
__ats_lab_139_0:
if (((ats_sum_ptr_type)tmp434)->tag != 13) { goto __ats_lab_140_0 ; }
__ats_lab_139_1:
tmp448 = ats_caselptrlab_mac(anairiats_sum_1, tmp434, atslab_0) ;
tmp449 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__s2exp_typize (arg0, tmp448) ;
tmp430 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp430)->tag = 8 ;
ats_selptrset_mac(anairiats_sum_1, tmp430, atslab_0, tmp449) ;
break ;

/* branch: __ats_lab_140 */
__ats_lab_140_0:
if (((ats_sum_ptr_type)tmp434)->tag != 6) { goto __ats_lab_141_0 ; }
__ats_lab_140_1:
tmp450 = ats_caselptrlab_mac(anairiats_sum_3, tmp434, atslab_0) ;
tmp451 = ats_caselptrlab_mac(anairiats_sum_3, tmp434, atslab_1) ;
tmp452 = aux_65 (arg0, tmp451) ;
tmp430 = ATS_MALLOC(sizeof(anairiats_sum_3)) ;
((ats_sum_ptr_type)tmp430)->tag = 9 ;
ats_selptrset_mac(anairiats_sum_3, tmp430, atslab_0, tmp450) ;
ats_selptrset_mac(anairiats_sum_3, tmp430, atslab_1, tmp452) ;
break ;

/* branch: __ats_lab_141 */
__ats_lab_141_0:
if (((ats_sum_ptr_type)tmp434)->tag != 14) { goto __ats_lab_144_0 ; }
__ats_lab_141_1:
tmp453 = ats_caselptrlab_mac(anairiats_sum_1, tmp434, atslab_0) ;
tmp454 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__s2exp_typize (arg0, tmp453) ;
do {
/* branch: __ats_lab_142 */
__ats_lab_142_0:
if (((ats_sum_ptr_type)tmp454)->tag != 11) { goto __ats_lab_143_0 ; }
__ats_lab_142_1:
tmp430 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_undef (arg1) ;
break ;

/* branch: __ats_lab_143 */
__ats_lab_143_0:
__ats_lab_143_1:
tmp430 = tmp454 ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_144 */
__ats_lab_144_0:
if (((ats_sum_ptr_type)tmp434)->tag != 15) { goto __ats_lab_147_0 ; }
__ats_lab_144_1:
tmp455 = ats_caselptrlab_mac(anairiats_sum_1, tmp434, atslab_0) ;
tmp456 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__s2zexp_typize (arg0, tmp455) ;
do {
/* branch: __ats_lab_145 */
__ats_lab_145_0:
if (((ats_sum_ptr_type)tmp456)->tag != 11) { goto __ats_lab_146_0 ; }
__ats_lab_145_1:
tmp430 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_undef (arg1) ;
break ;

/* branch: __ats_lab_146 */
__ats_lab_146_0:
__ats_lab_146_1:
tmp430 = tmp456 ;
break ;
} while (0) ;
break ;

/* branch: __ats_lab_147 */
__ats_lab_147_0:
if (((ats_sum_ptr_type)tmp434)->tag != 11) { goto __ats_lab_148_0 ; }
__ats_lab_147_1:
tmp457 = ats_caselptrlab_mac(anairiats_sum_1, tmp434, atslab_0) ;
tmp430 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp430)->tag = 6 ;
ats_selptrset_mac(anairiats_sum_1, tmp430, atslab_0, tmp457) ;
break ;

/* branch: __ats_lab_148 */
__ats_lab_148_0:
__ats_lab_148_1:
tmp430 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_undef (arg1) ;
break ;
} while (0) ;
return (tmp430) ;
} /* end of [aux_65] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 26736(line=1479, offs=1) -- 27027(line=1495, offs=4)
*/
ATSstaticdec()
ats_ptr_type
aux_s2cst_66 (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp458) ;
ATSlocal (ats_bool_type, tmp459) ;
ATSlocal (ats_ptr_type, tmp460) ;
ATSlocal (ats_ptr_type, tmp461) ;

__ats_lab_aux_s2cst_66:
do {
/* branch: __ats_lab_149 */
__ats_lab_149_0:
__ats_lab_149_1:
tmp459 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2cst_is_datype (arg0) ;
if (!tmp459) { goto __ats_lab_150_1 ; }
tmp458 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tybox () ;
break ;

/* branch: __ats_lab_150 */
__ats_lab_150_0:
__ats_lab_150_1:
tmp460 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__s2cst_get_sym (arg0) ;
tmp461 = _2tmp_2ATS_2dPostiats_2src_2pats_symbol_2esats__symbol_get_name (tmp460) ;
tmp458 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp458)->tag = 0 ;
ats_selptrset_mac(anairiats_sum_1, tmp458, atslab_0, tmp461) ;
break ;
} while (0) ;
return (tmp458) ;
} /* end of [aux_s2cst_66] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 27055(line=1498, offs=1) -- 27233(line=1509, offs=4)
*/
ATSstaticdec()
ats_ptr_type
aux_tyarr_67 (ats_int_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp462) ;
ATSlocal (ats_ptr_type, tmp463) ;
ATSlocal (ats_ptr_type, tmp464) ;
ATSlocal (ats_ptr_type, tmp465) ;
ATSlocal (ats_ptr_type, tmp466) ;
ATSlocal (ats_int_type, tmp467) ;

__ats_lab_aux_tyarr_67:
tmp463 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_13, arg1), atslab_hisexp_node) ;
if (((ats_sum_ptr_type)tmp463)->tag != 7) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 27117(line=1503, offs=5) -- 27161(line=1504, offs=36)") ; }
tmp464 = ats_caselptrlab_mac(anairiats_sum_2, tmp463, atslab_0) ;
tmp465 = ats_caselptrlab_mac(anairiats_sum_2, tmp463, atslab_1) ;
tmp467 = atspre_add_int_int (arg0, 1) ;
tmp466 = aux_65 (tmp467, tmp464) ;
tmp462 = ATS_MALLOC(sizeof(anairiats_sum_2)) ;
((ats_sum_ptr_type)tmp462)->tag = 2 ;
ats_selptrset_mac(anairiats_sum_2, tmp462, atslab_0, tmp466) ;
ats_selptrset_mac(anairiats_sum_2, tmp462, atslab_1, tmp465) ;
return (tmp462) ;
} /* end of [aux_tyarr_67] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 27261(line=1512, offs=1) -- 27767(line=1539, offs=4)
*/
ATSstaticdec()
ats_ptr_type
aux_tyrec_68 (ats_int_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp468) ;
ATSlocal (ats_ptr_type, tmp469) ;
ATSlocal (ats_ptr_type, tmp470) ;
ATSlocal (ats_ptr_type, tmp471) ;
ATSlocal (ats_bool_type, tmp472) ;
ATSlocal (ats_bool_type, tmp473) ;
ATSlocal (ats_ptr_type, tmp474) ;

__ats_lab_aux_tyrec_68:
tmp469 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_13, arg1), atslab_hisexp_node) ;
if (((ats_sum_ptr_type)tmp469)->tag != 8) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 27323(line=1517, offs=5) -- 27363(line=1518, offs=32)") ; }
tmp470 = ats_caselptrlab_mac(anairiats_sum_2, tmp469, atslab_0) ;
tmp471 = ats_caselptrlab_mac(anairiats_sum_2, tmp469, atslab_1) ;
do {
/* branch: __ats_lab_151 */
__ats_lab_151_0:
if (((ats_sum_ptr_type)tmp470)->tag != 0) { goto __ats_lab_152_0 ; }
__ats_lab_151_1:
tmp472 = atspre_gt_int_int (arg0, 0) ;
if (tmp472) {
tmp468 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tybox () ;
} else {
tmp468 = aux_tyrec2_69 (arg0, tmp471) ;
} /* end of [if] */
break ;

/* branch: __ats_lab_152 */
__ats_lab_152_0:
if (((ats_sum_ptr_type)tmp470)->tag != 1) { goto __ats_lab_153_0 ; }
__ats_lab_152_1:
tmp473 = atspre_gt_int_int (arg0, 0) ;
if (tmp473) {
tmp468 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tybox () ;
} else {
tmp468 = aux_tyrec2_69 (arg0, tmp471) ;
} /* end of [if] */
break ;

/* branch: __ats_lab_153 */
__ats_lab_153_0:
if (((ats_sum_ptr_type)tmp470)->tag != 2) { goto __ats_lab_154_0 ; }
__ats_lab_153_1:
tmp468 = aux_tyrec2_69 (arg0, tmp471) ;
break ;

/* branch: __ats_lab_154 */
__ats_lab_154_0:
if (((ats_sum_ptr_type)tmp470)->tag != 3) { goto __ats_lab_155_0 ; }
__ats_lab_154_1:
tmp468 = aux_tyrec2_69 (arg0, tmp471) ;
break ;

/* branch: __ats_lab_155 */
__ats_lab_155_0:
// if (((ats_sum_ptr_type)tmp470)->tag != 4) { ats_deadcode_failure_handle () ; }
__ats_lab_155_1:
tmp474 = ats_caselptrlab_mac(anairiats_sum_1, tmp470, atslab_0) ;
tmp468 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp468)->tag = 0 ;
ats_selptrset_mac(anairiats_sum_1, tmp468, atslab_0, tmp474) ;
break ;
} while (0) ;
return (tmp468) ;
} /* end of [aux_tyrec_68] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 27795(line=1542, offs=1) -- 28138(line=1564, offs=4)
*/
ATSstaticdec()
ats_ptr_type
aux_tyrec2_69 (ats_int_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp475) ;
ATSlocal (ats_ptr_type, tmp476) ;
ATSlocal (ats_ptr_type, tmp477) ;
ATSlocal (ats_ptr_type, tmp478) ;
ATSlocal (ats_ptr_type, tmp479) ;
// ATSlocal_void (tmp480) ;
ATSlocal (ats_ptr_type, tmp481) ;

__ats_lab_aux_tyrec2_69:
tmp476 = auxlablst_73 (arg0, arg1) ;
tmp477 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp477)->tag = 3 ;
ats_selptrset_mac(anairiats_sum_1, tmp477, atslab_0, tmp476) ;
tmp478 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_search (tmp477) ;
do {
/* branch: __ats_lab_156 */
__ats_lab_156_0:
if (tmp478 != (ats_sum_ptr_type)0) { goto __ats_lab_157_0 ; }
__ats_lab_156_1:
tmp479 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tyrec () ;
/* tmp480 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_insert (tmp477, tmp479) ;
tmp475 = tmp479 ;
break ;

/* branch: __ats_lab_157 */
__ats_lab_157_0:
// if (tmp478 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_157_1:
tmp481 = ats_caselptrlab_mac(anairiats_sum_6, tmp478, atslab_0) ;
ATS_FREE(tmp478) ;
tmp475 = tmp481 ;
break ;
} while (0) ;
return (tmp475) ;
} /* end of [aux_tyrec2_69] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 28167(line=1567, offs=1) -- 28796(line=1602, offs=4)
*/
ATSstaticdec()
ats_ptr_type
aux_tysum_70 (ats_int_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp482) ;
ATSlocal (ats_ptr_type, tmp483) ;
ATSlocal (ats_ptr_type, tmp484) ;
ATSlocal (ats_ptr_type, tmp485) ;
ATSlocal (ats_bool_type, tmp486) ;
ATSlocal (ats_bool_type, tmp487) ;
ATSlocal (ats_int_type, tmp488) ;
ATSlocal (ats_bool_type, tmp489) ;
ATSlocal (ats_ptr_type, tmp490) ;
ATSlocal (ats_ptr_type, tmp491) ;
ATSlocal (ats_ptr_type, tmp492) ;
ATSlocal (ats_ptr_type, tmp493) ;
// ATSlocal_void (tmp494) ;
ATSlocal (ats_ptr_type, tmp495) ;

__ats_lab_aux_tysum_70:
tmp483 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_13, arg1), atslab_hisexp_node) ;
if (((ats_sum_ptr_type)tmp483)->tag != 10) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 28230(line=1573, offs=1) -- 28270(line=1574, offs=32)") ; }
tmp484 = ats_caselptrlab_mac(anairiats_sum_2, tmp483, atslab_0) ;
tmp485 = ats_caselptrlab_mac(anairiats_sum_2, tmp483, atslab_1) ;
tmp487 = atspre_gt_int_int (arg0, 0) ;
if (tmp487) {
tmp486 = ats_true_bool ;
} else {
tmp486 = ats_false_bool ;
} /* end of [if] */
if (tmp486) {
tmp482 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tybox () ;
} else {
tmp489 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__d2con_is_tagless (tmp484) ;
if (tmp489) {
tmp488 = 0 ;
} else {
tmp488 = 1 ;
} /* end of [if] */
tmp490 = auxlablst_73 (arg0, tmp485) ;
tmp491 = ATS_MALLOC(sizeof(anairiats_sum_3)) ;
((ats_sum_ptr_type)tmp491)->tag = 4 ;
ats_selptrset_mac(anairiats_sum_3, tmp491, atslab_0, tmp488) ;
ats_selptrset_mac(anairiats_sum_3, tmp491, atslab_1, tmp490) ;
tmp492 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_search (tmp491) ;
do {
/* branch: __ats_lab_158 */
__ats_lab_158_0:
if (tmp492 != (ats_sum_ptr_type)0) { goto __ats_lab_159_0 ; }
__ats_lab_158_1:
tmp493 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tysum () ;
/* tmp494 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_insert (tmp491, tmp493) ;
tmp482 = tmp493 ;
break ;

/* branch: __ats_lab_159 */
__ats_lab_159_0:
// if (tmp492 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_159_1:
tmp495 = ats_caselptrlab_mac(anairiats_sum_6, tmp492, atslab_0) ;
ATS_FREE(tmp492) ;
tmp482 = tmp495 ;
break ;
} while (0) ;
} /* end of [if] */
return (tmp482) ;
} /* end of [aux_tysum_70] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 28824(line=1605, offs=1) -- 29364(line=1637, offs=4)
*/
ATSstaticdec()
ats_ptr_type
aux_tyexn_71 (ats_int_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp496) ;
ATSlocal (ats_ptr_type, tmp497) ;
ATSlocal (ats_ptr_type, tmp498) ;
ATSlocal (ats_bool_type, tmp499) ;
ATSlocal (ats_bool_type, tmp500) ;
ATSlocal (ats_ptr_type, tmp501) ;
ATSlocal (ats_ptr_type, tmp502) ;
ATSlocal (ats_ptr_type, tmp503) ;
ATSlocal (ats_ptr_type, tmp504) ;
// ATSlocal_void (tmp505) ;
ATSlocal (ats_ptr_type, tmp506) ;

__ats_lab_aux_tyexn_71:
tmp497 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_13, arg1), atslab_hisexp_node) ;
if (((ats_sum_ptr_type)tmp497)->tag != 10) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 28887(line=1611, offs=1) -- 28927(line=1612, offs=32)") ; }
tmp498 = ats_caselptrlab_mac(anairiats_sum_2, tmp497, atslab_1) ;
tmp500 = atspre_gt_int_int (arg0, 0) ;
if (tmp500) {
tmp499 = ats_true_bool ;
} else {
tmp499 = ats_false_bool ;
} /* end of [if] */
if (tmp499) {
tmp496 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tybox () ;
} else {
tmp501 = auxlablst_73 (arg0, tmp498) ;
tmp502 = ATS_MALLOC(sizeof(anairiats_sum_1)) ;
((ats_sum_ptr_type)tmp502)->tag = 5 ;
ats_selptrset_mac(anairiats_sum_1, tmp502, atslab_0, tmp501) ;
tmp503 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_search (tmp502) ;
do {
/* branch: __ats_lab_160 */
__ats_lab_160_0:
if (tmp503 != (ats_sum_ptr_type)0) { goto __ats_lab_161_0 ; }
__ats_lab_160_1:
tmp504 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_gen_tyexn () ;
/* tmp505 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemap_insert (tmp502, tmp504) ;
tmp496 = tmp504 ;
break ;

/* branch: __ats_lab_161 */
__ats_lab_161_0:
// if (tmp503 == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_161_1:
tmp506 = ats_caselptrlab_mac(anairiats_sum_6, tmp503, atslab_0) ;
ATS_FREE(tmp503) ;
tmp496 = tmp506 ;
break ;
} while (0) ;
} /* end of [if] */
return (tmp496) ;
} /* end of [aux_tyexn_71] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 29392(line=1640, offs=1) -- 29658(line=1658, offs=4)
*/
ATSstaticdec()
ats_ptr_type
auxlst_72 (ats_int_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp507) ;
ATSlocal (ats_ptr_type, tmp508) ;
ATSlocal (ats_ptr_type, tmp509) ;
ATSlocal (ats_ptr_type, tmp510) ;
ATSlocal (ats_int_type, tmp511) ;
ATSlocal (ats_ptr_type, tmp512) ;

__ats_lab_auxlst_72:
do {
/* branch: __ats_lab_162 */
__ats_lab_162_0:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_163_0 ; }
__ats_lab_162_1:
tmp508 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_0) ;
tmp509 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_1) ;
tmp511 = atspre_add_int_int (arg0, 1) ;
tmp510 = aux_65 (tmp511, tmp508) ;
tmp512 = auxlst_72 (arg0, tmp509) ;
tmp507 = ATS_MALLOC(sizeof(anairiats_sum_4)) ;
ats_selptrset_mac(anairiats_sum_4, tmp507, atslab_0, tmp510) ;
ats_selptrset_mac(anairiats_sum_4, tmp507, atslab_1, tmp512) ;
break ;

/* branch: __ats_lab_163 */
__ats_lab_163_0:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_163_1:
tmp507 = (ats_sum_ptr_type)0 ;
break ;
} while (0) ;
return (tmp507) ;
} /* end of [auxlst_72] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 29683(line=1661, offs=1) -- 30071(line=1684, offs=4)
*/
ATSstaticdec()
ats_ptr_type
auxlablst_73 (ats_int_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp513) ;
ATSlocal (ats_ptr_type, tmp514) ;
ATSlocal (ats_ptr_type, tmp515) ;
ATSlocal (ats_ptr_type, tmp516) ;
ATSlocal (ats_ptr_type, tmp517) ;
ATSlocal (ats_ptr_type, tmp518) ;
ATSlocal (ats_ptr_type, tmp519) ;
ATSlocal (ats_int_type, tmp520) ;
ATSlocal (ats_ptr_type, tmp521) ;
ATSlocal (ats_ptr_type, tmp522) ;

__ats_lab_auxlablst_73:
do {
/* branch: __ats_lab_164 */
__ats_lab_164_0:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_165_0 ; }
__ats_lab_164_1:
tmp514 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_0) ;
tmp515 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_1) ;
// 
tmp516 = ats_caselptrlab_mac(anairiats_sum_5, tmp514, atslab_0) ;
tmp517 = ats_caselptrlab_mac(anairiats_sum_5, tmp514, atslab_1) ;
tmp518 = ats_caselptrlab_mac(anairiats_sum_5, tmp514, atslab_2) ;
tmp520 = atspre_add_int_int (arg0, 1) ;
tmp519 = aux_65 (tmp520, tmp518) ;
tmp521 = ATS_MALLOC(sizeof(anairiats_sum_5)) ;
ats_selptrset_mac(anairiats_sum_5, tmp521, atslab_0, tmp516) ;
ats_selptrset_mac(anairiats_sum_5, tmp521, atslab_1, tmp517) ;
ats_selptrset_mac(anairiats_sum_5, tmp521, atslab_2, tmp519) ;
tmp522 = auxlablst_73 (arg0, tmp515) ;
tmp513 = ATS_MALLOC(sizeof(anairiats_sum_4)) ;
ats_selptrset_mac(anairiats_sum_4, tmp513, atslab_0, tmp521) ;
ats_selptrset_mac(anairiats_sum_4, tmp513, atslab_1, tmp522) ;
break ;

/* branch: __ats_lab_165 */
__ats_lab_165_0:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_165_1:
tmp513 = (ats_sum_ptr_type)0 ;
break ;
} while (0) ;
return (tmp513) ;
} /* end of [auxlablst_73] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 30143(line=1689, offs=15) -- 30168(line=1689, offs=40)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hisexp_typize (ats_int_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp523) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hisexp_typize:
tmp523 = aux_65 (arg0, arg1) ;
return (tmp523) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__hisexp_typize] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 30225(line=1698, offs=1) -- 31116(line=1754, offs=4)
*/
ATSstaticdec()
ats_void_type
auxfld_75 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp524) ;
ATSlocal (ats_ptr_type, tmp525) ;
ATSlocal (ats_ptr_type, tmp526) ;
ATSlocal (ats_ptr_type, tmp527) ;
ATSlocal (ats_bool_type, tmp528) ;
ATSlocal (ats_ptr_type, tmp529) ;
// ATSlocal_void (tmp530) ;
ATSlocal (ats_ptr_type, tmp531) ;
ATSlocal (ats_ptr_type, tmp532) ;
// ATSlocal_void (tmp533) ;
// ATSlocal_void (tmp534) ;
// ATSlocal_void (tmp535) ;
ATSlocal (ats_ptr_type, tmp536) ;

__ats_lab_auxfld_75:
// 
tmp525 = ats_caselptrlab_mac(anairiats_sum_5, arg1, atslab_0) ;
tmp526 = ats_caselptrlab_mac(anairiats_sum_5, arg1, atslab_1) ;
tmp527 = ats_caselptrlab_mac(anairiats_sum_5, arg1, atslab_2) ;
/* ats_bool_type tmp528 ; */
tmp528 = ats_false_bool ;
/* ats_ptr_type tmp529 ; */
tmp529 = (ats_sum_ptr_type)0 ;
do {
/* branch: __ats_lab_166 */
__ats_lab_166_0:
if (((ats_sum_ptr_type)tmp527)->tag != 2) { goto __ats_lab_167_0 ; }
__ats_lab_166_1:
tmp531 = ats_caselptrlab_mac(anairiats_sum_2, tmp527, atslab_0) ;
tmp532 = ats_caselptrlab_mac(anairiats_sum_2, tmp527, atslab_1) ;
tmp528 = ats_true_bool ;
tmp529 = tmp532 ;
/* tmp530 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype (arg0, tmp531) ;
break ;

/* branch: __ats_lab_167 */
__ats_lab_167_0:
__ats_lab_167_1:
/* tmp530 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype (arg0, tmp527) ;
break ;
} while (0) ;
/* tmp533 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst(" ")) ;
if (tmp528) {
/* tmp534 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atstyarr_field(")) ;
} else {
/* empty */
} /* end of [if] */
do {
/* branch: __ats_lab_168 */
__ats_lab_168_0:
if (tmp526 == (ats_sum_ptr_type)0) { goto __ats_lab_169_0 ; }
__ats_lab_168_1:
tmp536 = ats_caselptrlab_mac(anairiats_sum_6, tmp526, atslab_0) ;
/* tmp535 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, tmp536) ;
break ;

/* branch: __ats_lab_169 */
__ats_lab_169_0:
// if (tmp526 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_169_1:
/* tmp535 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_labelext (arg0, 0, tmp525) ;
break ;
} while (0) ;
if (tmp528) {
/* tmp524 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst(") ;")) ;
} else {
/* tmp524 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst(" ;")) ;
} /* end of [if] */
return /* (tmp524) */ ;
} /* end of [auxfld_75] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 31141(line=1757, offs=1) -- 31513(line=1778, offs=4)
*/
ATSstaticdec()
ats_void_type
auxfldlst_76 (ats_ptr_type arg0, ats_ptr_type arg1, ats_int_type arg2) {
/* local vardec */
// ATSlocal_void (tmp537) ;
ATSlocal (ats_ptr_type, tmp538) ;
ATSlocal (ats_ptr_type, tmp539) ;
// ATSlocal_void (tmp540) ;
ATSlocal (ats_bool_type, tmp541) ;
// ATSlocal_void (tmp542) ;
ATSlocal (ats_int_type, tmp543) ;

__ats_lab_auxfldlst_76:
do {
/* branch: __ats_lab_170 */
__ats_lab_170_0:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_171_0 ; }
__ats_lab_170_1:
tmp538 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_0) ;
tmp539 = ats_caselptrlab_mac(anairiats_sum_4, arg1, atslab_1) ;
// 
tmp541 = atspre_gt_int_int (arg2, 0) ;
if (tmp541) {
/* tmp540 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_newline (arg0) ;
} else {
/* empty */
} /* end of [if] */
/* tmp542 = */ auxfld_75 (arg0, tmp538) ;
tmp543 = atspre_add_int_int (arg2, 1) ;
arg0 = arg0 ;
arg1 = tmp539 ;
arg2 = tmp543 ;
goto __ats_lab_auxfldlst_76 ; // tail call
break ;

/* branch: __ats_lab_171 */
__ats_lab_171_0:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_171_1:
break ;
} while (0) ;
return /* (tmp537) */ ;
} /* end of [auxfldlst_76] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 31541(line=1781, offs=1) -- 32613(line=1823, offs=4)
*/
ATSstaticdec()
ats_void_type
auxkey_77 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp544) ;
ATSlocal (ats_ptr_type, tmp545) ;
// ATSlocal_void (tmp546) ;
// ATSlocal_void (tmp547) ;
ATSlocal (ats_int_type, tmp548) ;
ATSlocal (ats_ptr_type, tmp549) ;
// ATSlocal_void (tmp550) ;
// ATSlocal_void (tmp551) ;
ATSlocal (ats_bool_type, tmp552) ;
// ATSlocal_void (tmp553) ;
// ATSlocal_void (tmp554) ;
// ATSlocal_void (tmp555) ;
ATSlocal (ats_bool_type, tmp556) ;
// ATSlocal_void (tmp557) ;
// ATSlocal_void (tmp558) ;
ATSlocal (ats_ptr_type, tmp559) ;
// ATSlocal_void (tmp560) ;
// ATSlocal_void (tmp561) ;
// ATSlocal_void (tmp562) ;
// ATSlocal_void (tmp563) ;

__ats_lab_auxkey_77:
do {
/* branch: __ats_lab_172 */
__ats_lab_172_0:
if (((ats_sum_ptr_type)arg1)->tag != 3) { goto __ats_lab_173_0 ; }
__ats_lab_172_1:
tmp545 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp546 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("ATSstruct {")) ;
/* tmp547 = */ auxfldlst_76 (arg0, tmp545, 1) ;
/* tmp544 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("\n}")) ;
break ;

/* branch: __ats_lab_173 */
__ats_lab_173_0:
if (((ats_sum_ptr_type)arg1)->tag != 4) { goto __ats_lab_174_0 ; }
__ats_lab_173_1:
tmp548 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_0) ;
tmp549 = ats_caselptrlab_mac(anairiats_sum_3, arg1, atslab_1) ;
/* tmp550 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("ATSstruct {\n")) ;
tmp552 = atspre_gt_int_int (tmp548, 0) ;
if (tmp552) {
/* tmp551 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("// ")) ;
} else {
/* empty */
} /* end of [if] */
/* tmp553 = */ atspre_fprintf_exn (arg0, ATSstrcst("#if(%i)\n"), tmp548) ;
/* tmp554 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("int contag ;\n")) ;
tmp556 = atspre_gt_int_int (tmp548, 0) ;
if (tmp556) {
/* tmp555 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("// ")) ;
} else {
/* empty */
} /* end of [if] */
/* tmp557 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("#endif")) ;
/* tmp558 = */ auxfldlst_76 (arg0, tmp549, 1) ;
/* tmp544 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("\n}")) ;
break ;

/* branch: __ats_lab_174 */
__ats_lab_174_0:
if (((ats_sum_ptr_type)arg1)->tag != 5) { goto __ats_lab_175_0 ; }
__ats_lab_174_1:
tmp559 = ats_caselptrlab_mac(anairiats_sum_1, arg1, atslab_0) ;
/* tmp560 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("ATSstruct {\n")) ;
/* tmp561 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atstype_int exntag ;\n")) ;
/* tmp562 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("atstype_string exnmsg ;")) ;
/* tmp563 = */ auxfldlst_76 (arg0, tmp559, 1) ;
/* tmp544 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("\n}")) ;
break ;

/* branch: __ats_lab_175 */
__ats_lab_175_0:
__ats_lab_175_1:
/* tmp544 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("(**ERROR**)")) ;
break ;
} while (0) ;
return /* (tmp544) */ ;
} /* end of [auxkey_77] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 32747(line=1835, offs=1) -- 33371(line=1871, offs=4)
*/
ATSstaticdec()
ats_void_type
auxlst_79 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp565) ;
ATSlocal (anairiats_rec_8, tmp566) ;
ATSlocal (ats_ptr_type, tmp567) ;
ATSlocal (ats_bool_type, tmp568) ;
ATSlocal (ats_ptr_type, tmp569) ;
// ATSlocal_void (tmp570) ;
// ATSlocal_void (tmp571) ;
// ATSlocal_void (tmp572) ;
ATSlocal (ats_ptr_type, tmp573) ;
// ATSlocal_void (tmp574) ;
// ATSlocal_void (tmp575) ;
ATSlocal (ats_ptr_type, tmp576) ;
// ATSlocal_void (tmp577) ;
// ATSlocal_void (tmp578) ;

__ats_lab_auxlst_79:
do {
/* branch: __ats_lab_176 */
__ats_lab_176_0:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_177_0 ; }
__ats_lab_176_1:
tmp566 = ats_caselptrlab_mac(anairiats_sum_9, arg1, atslab_0) ;
tmp567 = ats_caselptrlab_mac(anairiats_sum_9, arg1, atslab_1) ;
ATS_FREE(arg1) ;
tmp569 = ats_select_mac(tmp566, atslab_1) ;
tmp568 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__hitype_tyvar_test (tmp569) ;
if (tmp568) {
/* tmp570 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("#if(0)\n")) ;
} else {
/* empty */
} /* end of [if] */
/* tmp571 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("typedef\n")) ;
tmp573 = ats_select_mac(tmp566, atslab_0) ;
/* tmp572 = */ auxkey_77 (arg0, tmp573) ;
/* tmp574 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst(" ")) ;
tmp576 = ats_select_mac(tmp566, atslab_1) ;
/* tmp575 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_hitype (arg0, tmp576) ;
/* tmp577 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst(" ;\n")) ;
if (tmp568) {
/* tmp578 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("#endif\n")) ;
} else {
/* empty */
} /* end of [if] */
arg0 = arg0 ;
arg1 = tmp567 ;
goto __ats_lab_auxlst_79 ; // tail call
break ;

/* branch: __ats_lab_177 */
__ats_lab_177_0:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_177_1:
break ;
} while (0) ;
return /* (tmp565) */ ;
} /* end of [auxlst_79] */

/*
// /tmp/ATS-Postiats/src/pats_ccomp_hitype.dats: 32690(line=1829, offs=3) -- 33727(line=1883, offs=4)
*/
ATSglobaldec()
ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_the_typedeflst (ats_ptr_type arg0) {
/* local vardec */
// ATSlocal_void (tmp564) ;
// ATSlocal_void (tmp579) ;
// ATSlocal_void (tmp580) ;
// ATSlocal_void (tmp581) ;
// ATSlocal_void (tmp582) ;
ATSlocal (ats_ptr_type, tmp583) ;
// ATSlocal_void (tmp584) ;
// ATSlocal_void (tmp585) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_the_typedeflst:
/* tmp579 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("/*\n")) ;
/* tmp580 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("typedefs-for-tyrecs-and-tysums(beg)\n")) ;
/* tmp581 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("*/\n")) ;
tmp583 = _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__the_hitypemaplst_get () ;
/* tmp582 = */ auxlst_79 (arg0, tmp583) ;
/* tmp584 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("/*\n")) ;
/* tmp585 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("typedefs-for-tyrecs-and-tysums(end)\n")) ;
/* tmp564 = */ _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_text (arg0, ATSstrcst("*/\n")) ;
return /* (tmp564) */ ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__emit_the_typedeflst] */

/* 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 ATS_2d0_2e2_2e12_2prelude_2DATS_2unsafe_2edats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_utils_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_utils_2edats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_stamp_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_symbol_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_histaexp_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__staload (void) ;
// extern ats_void_type ATS_2d0_2e2_2e12_2libats_2SATS_2hashtable_chain_2esats__staload (void) ;
extern ats_void_type ATS_2d0_2e2_2e12_2libats_2DATS_2hashtable_chain_2edats__staload (void) ;

ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__staload () {
static int _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__staload_flag = 0 ;
if (_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__staload_flag) return ;
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__staload_flag = 1 ;

// _2tmp_2ATS_2dPostiats_2src_2pats_atspre_2edats__staload () ;
// ATS_2d0_2e2_2e12_2prelude_2SATS_2unsafe_2esats__staload () ;
ATS_2d0_2e2_2e12_2prelude_2DATS_2unsafe_2edats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_utils_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_utils_2edats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_stamp_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_label_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_symbol_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_2esats__staload () ;
// ATS_2d0_2e2_2e12_2libats_2SATS_2hashtable_chain_2esats__staload () ;
ATS_2d0_2e2_2e12_2libats_2DATS_2hashtable_chain_2edats__staload () ;

// _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HTLABELED_0.tag = 0 ;
// _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITnmd_0.tag = 0 ;
// _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITapp_1.tag = 1 ;
// _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyarr_2.tag = 2 ;
// _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyrec_3.tag = 3 ;
// _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtysum_4.tag = 4 ;
// _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyexn_5.tag = 5 ;
// _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyvar_6.tag = 6 ;
// _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITtyclo_7.tag = 7 ;
// _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITvararg_8.tag = 8 ;
// _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITrefarg_9.tag = 9 ;
// _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITundef_10.tag = 10 ;
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__HITerror_11.tag = 11 ;
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn.tag = ats_exception_con_tag_new () ;
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn.name = "_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__EQUALexn" ;
return ;
} /* staload function */

/* dynamic load function */

// dynload flag declaration
extern ats_int_type _2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__dynload_flag ;

ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__dynload () {
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__dynload_flag = 1 ;
_2tmp_2ATS_2dPostiats_2src_2pats_ccomp_hitype_2edats__staload () ;

#ifdef _ATS_PROOFCHECK
ATS_2d0_2e2_2e12_2prelude_2SATS_2extern_2esats__minus_addback_prfck () ;
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 () ;
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_2libats_2ngc_2SATS_2deque_arr_2esats__lemma_deque_param_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_v_encode_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_v_decode_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_v_clear_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_insert_beg_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_insert_end_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_remove_beg_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats__DEQUEarr_remove_end_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2libats_2ngc_2DATS_2deque_arr_2edats____assert_prfck () ;
_2tmp_2ATS_2dPostiats_2src_2pats_utils_2edats____assert_prfck () ;
_2tmp_2ATS_2dPostiats_2src_2pats_utils_2edats____assert_prfck () ;
ATS_2d0_2e2_2e12_2libats_2DATS_2hashtable_chain_2edats__hashtbl_v_split_prfck () ;
ATS_2d0_2e2_2e12_2libats_2DATS_2hashtable_chain_2edats__hashtbl_v_unsplit_prfck () ;
#endif /* _ATS_PROOFCHECK */

/* marking static variables for GC */
ATS_GC_MARKROOT(&statmp227, sizeof(ats_ptr_type)) ;
ATS_GC_MARKROOT(&statmp228, sizeof(ats_ptr_type)) ;
ATS_GC_MARKROOT(&statmp231, sizeof(ats_ptr_type)) ;

/* marking external values for GC */

/* code for dynamic loading */
statmp227 = ATS_2d0_2e2_2e12_2libats_2SATS_2hashtable_chain_2esats__hashtbl_make (ats_castfn_mac(ats_clo_ref_type, atspre_null_ptr), ats_castfn_mac(ats_clo_ref_type, atspre_null_ptr)) ;
statmp231 = (ats_sum_ptr_type)0 ;
statmp228 = ref_01088_ats_ptr_type (statmp231) ;
return ;
} /* end of [dynload function] */

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

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

/* end of [pats_ccomp_hitype_dats.c] */
