/*
**
** 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_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_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_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_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_lexbuf.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_location.cats"

#include "pats_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_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"
/* external codes at top */
/* type definitions */
typedef
struct {
ats_ptr_type atslab_3 ;
ats_ptr_type atslab_4 ;
} anairiats_rec_0 ;

typedef
struct {
ats_ptr_type atslab_d3ecl_loc ;
ats_ptr_type atslab_d3ecl_node ;
} anairiats_rec_1 ;

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

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

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

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

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

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

typedef struct {
ats_ptr_type atslab_0 ;
} anairiats_sum_8 ;

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

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

typedef
struct {
ats_ptr_type atslab_i3mpdec_loc ;
ats_ptr_type atslab_i3mpdec_cst ;
ats_ptr_type atslab_i3mpdec_imparg ;
ats_ptr_type atslab_i3mpdec_tmparg ;
ats_ptr_type atslab_i3mpdec_def ;
} anairiats_rec_11 ;

typedef
struct {
ats_ptr_type atslab_s2qua_svs ;
ats_ptr_type atslab_s2qua_sps ;
} anairiats_rec_12 ;

typedef struct {
anairiats_rec_12 atslab_0 ;
ats_ptr_type atslab_1 ;
} anairiats_sum_13 ;

typedef
struct {
ats_ptr_type atslab_f3undec_loc ;
ats_ptr_type atslab_f3undec_var ;
ats_ptr_type atslab_f3undec_def ;
} anairiats_rec_14 ;

typedef
struct {
ats_ptr_type atslab_v3aldec_loc ;
ats_ptr_type atslab_v3aldec_pat ;
ats_ptr_type atslab_v3aldec_def ;
} anairiats_rec_15 ;

typedef
struct {
ats_ptr_type atslab_v3ardec_loc ;
ats_int_type atslab_v3ardec_knd ;
ats_ptr_type atslab_v3ardec_dvar_var ;
ats_ptr_type atslab_v3ardec_dvar_view ;
ats_ptr_type atslab_v3ardec_type ;
ats_ptr_type atslab_v3ardec_init ;
ats_ptr_type atslab_v3ardec_dvaropt ;
} anairiats_rec_16 ;

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

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

/* 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__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, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cnone_0) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Clist_1) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Csaspdec_2) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Creassume_3) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cextype_4) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cextvar_5) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cextcode_6) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cexndecs_7) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cdatdecs_8) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cdcstdecs_9) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cimpdec_10) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cfundecs_11) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cvaldecs_12) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cvaldecs_rec_13) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cvardecs_14) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cprvardecs_15) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cinclude_16) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cstaload_17) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cstaloadloc_18) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Cdynload_19) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__D3Clocal_20) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__HIDimpdec_10) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__HIDfundecs_11) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__HIDinclude_15) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__HIDlocal_19) ;
ATSextern_val(ats_sum_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__T4E_d3exp_tyer_isprf_1) ;

/* external dynamic constant declarations */
ATSextern_fun(ats_void_type, atspre_vbox_make_view_ptr) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, atspre_prerr_newline) () ;
ATSextern_fun(ats_bool_type, atspre_lte_int_int) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_gte_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_int_type, atspre_isucc) (ats_int_type) ;
ATSextern_fun(ats_int_type, atspre_iadd) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_int_type, atspre_isub) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_int_type, atspre_idiv) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_ilt) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_igt) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_igte) (ats_int_type, ats_int_type) ;
ATSextern_fun(ats_size_type, atspre_size1_of_int1) (ats_int_type) ;
ATSextern_fun(ats_size_type, atspre_add_size1_int1) (ats_size_type, ats_int_type) ;
ATSextern_fun(ats_size_type, atspre_sub_size1_int1) (ats_size_type, ats_int_type) ;
ATSextern_fun(ats_size_type, atspre_mul2_size1_size1) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_bool_type, atspre_lt_size1_size1) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_bool_type, atspre_gt_size1_int1) (ats_size_type, ats_int_type) ;
ATSextern_fun(ats_bool_type, atspre_neq_size1_size1) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_ptr_type, atspre_ptr_alloc_tsz) (ats_size_type) ;
ATSextern_fun(ats_void_type, atspre_ptr_zero_tsz) (ats_ref_type, ats_size_type) ;
ATSextern_fun(ats_ptr_type, atspre_ref_make_elt_tsz) (ats_ref_type, ats_size_type) ;
ATSextern_fun(ats_void_type, atspre_prerr_string) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, ListSubscriptException_make) () ;
ATSextern_fun(ats_ptr_type, atspre_array_ptr_alloc_tsz) (ats_size_type, ats_size_type) ;
ATSextern_fun(ats_void_type, atspre_array_ptr_free) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, atspre_array_ptr_initialize_funenv_tsz) (ats_ref_type, ats_size_type, ats_ptr_type, ats_size_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, atspre_array_ptr_initialize_cloenv_tsz) (ats_ref_type, ats_size_type, ats_ref_type, ats_size_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, atspre_array_ptr_split_tsz) (ats_ptr_type, ats_size_type, ats_size_type) ;
ATSextern_fun(ats_ptr_type, atspre_array_ptr_takeout_tsz) (ats_ptr_type, ats_size_type, ats_size_type) ;
ATSextern_fun(anairiats_rec_0, atspre_array_ptr_takeout2_tsz) (ats_ptr_type, ats_size_type, ats_size_type, ats_size_type) ;
ATSextern_fun(ats_void_type, atspre_array_ptr_foreach_funenv_tsz) (ats_ref_type, ats_ptr_type, ats_size_type, ats_size_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, atspre_array_ptr_iforeach_funenv_tsz) (ats_ref_type, ats_ptr_type, ats_size_type, ats_size_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, atspre_array2_ptr_takeout_tsz) (ats_ptr_type, ats_size_type, ats_size_type, ats_size_type) ;
ATSextern_fun(ats_void_type, atslib_qsort) (ats_ref_type, ats_size_type, ats_size_type, ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_basics_2esats__funkind_is_proof) (ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_basics_2esats__valkind_is_proof) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_location_2esats__prerr_location) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2explstlst_mhnfize) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__d2cstmap_nil) () ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__d2varmap_nil) () ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__d3exp_is_prf) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_trans2_env_2esats__filenv_getref_tmpcstimpmap) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_trans2_env_2esats__filenv_getref_tmpvardecmap) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_trans3_env_2esats__filenv_get_d3eclistopt) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hifundec_make) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hifundeclst_set_hideclopt) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hivaldec_make) (ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hivardec_make) (ats_ptr_type, ats_int_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hiimpdec_make) (ats_ptr_type, ats_int_type, ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_bool_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_is_empty) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_none) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_list) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_saspdec) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_reassume) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_extype) (ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_extvar) (ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_extcode) (ats_ptr_type, ats_int_type, ats_int_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_exndecs) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_datdecs) (ats_ptr_type, ats_int_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_dcstdecs) (ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_impdec) (ats_ptr_type, ats_int_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_fundecs) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_valdecs) (ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_valdecs_rec) (ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_vardecs) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_include) (ats_ptr_type, ats_int_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_staload) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_int_type, ats_ptr_type, ats_int_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_staloadloc) (ats_ptr_type, ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_dynload) (ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_local) (ats_ptr_type, ats_ptr_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__tmpcstimpmap_insert) (ats_ref_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__tmpvardecmap_inserts) (ats_ref_type, ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__the_trans4errlst_add) (ats_ptr_type) ;
ATSextern_fun(ats_void_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__the_trans4errlst_finalize) () ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__s2exp_tyer_deep) (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__d2var_tyer) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d2cst_tyer) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__p3at_tyer) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3exp_tyer) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3expopt_tyer) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__decarg2imparg) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3ecl_tyer) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_impdec) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_fundecs) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_valdecs) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_valdecs_rec) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_vardecs) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__tmpcstimpmap_make_hideclist) (ats_ptr_type) ;
ATSextern_fun(ats_ptr_type, _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__tmpvardecmap_make_hideclist) (ats_ptr_type) ;

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

/* assuming abstract types */
/* sum constructor declarations */
/* exn constructor declarations */
/* global dynamic (non-functional) constant declarations */
/* internal function declarations */
static
ats_void_type prerr_FILENAME_02085_ () ;
static
ats_void_type ptr0_set_01760_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_void_type ptrset_01764_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type loop_5 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type revapp_8 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type list_vt_reverse_append_01507_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type list_vt_reverse_01506_ats_ptr_type (ats_ptr_type arg0) ;
static
ats_void_type loop_13 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ref_type arg2) ;
static
ats_ptr_type list_append_01312_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_void_type prerr_error4_loc_02092_ (ats_ptr_type arg0) ;
static
ats_ptr_type f3undec_tyer_14 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type app_19 (ats_ptr_type arg0, ats_clo_ptr_type arg1) ;
static
ats_void_type loop_21 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ref_type arg2, ats_ptr_type arg3) ;
static
ats_ptr_type list_map_funenv_01412_ats_ptr_type_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) ;
static
ats_ptr_type list_map_vcloptr_01416_ats_ptr_type_ats_ptr_type (ats_ptr_type arg0, ats_clo_ptr_type arg1) ;
static
ats_ptr_type list_map_cloptr_01415_ats_ptr_type_ats_ptr_type (ats_ptr_type arg0, ats_clo_ptr_type arg1) ;
static
ats_ptr_type __ats_fun_22 (ats_ptr_type env0, ats_ptr_type arg0) ;
static
ats_clo_ptr_type __ats_fun_22_closure_make (ats_ptr_type env0) ;
static
ats_ptr_type __ats_fun_22_clofun (ats_clo_ptr_type cloptr, ats_ptr_type arg0) ;
static
ats_ptr_type f3undeclst_tyer_16 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) ;
static
ats_ptr_type v3aldec_tyer_24 (ats_ptr_type arg0) ;
static
ats_ptr_type list_map_fun_01413_ats_ptr_type_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type v3aldeclst_tyer_25 (ats_ptr_type arg0, ats_ptr_type arg1) ;
static
ats_ptr_type v3ardec_tyer_29 (ats_ptr_type arg0) ;
static
ats_void_type aux_32 (ats_ref_type arg0, ats_ptr_type arg1) ;
static
ats_void_type auxlst_33 (ats_ref_type arg0, ats_ptr_type arg1) ;
static
ats_void_type aux_35 (ats_ref_type arg0, ats_ptr_type arg1) ;
static
ats_void_type auxlst_36 (ats_ref_type arg0, ats_ptr_type arg1) ;

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

/* function implementations */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 1728(line=56, offs=18) -- 1759(line=56, offs=49)
*/
ATSstaticdec()
ats_void_type
prerr_FILENAME_02085_ () {
/* local vardec */
// ATSlocal_void (tmp0) ;

__ats_lab_prerr_FILENAME_02085_:
/* tmp0 = */ atspre_prerr_string (ATSstrcst("pats_typerase_decl")) ;
return /* (tmp0) */ ;
} /* end of [prerr_FILENAME_02085_] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/unsafe.dats: 2024(line=63, offs=10) -- 2250(line=73, offs=2)
*/
ATSstaticdec()
ats_void_type
ptr0_set_01760_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp39) ;

__ats_lab_ptr0_set_01760_ats_ptr_type:
ats_ptrget_mac(ats_ptr_type, ats_castfn_mac(ats_ptr_type, arg0)) = arg1 ;
return /* (tmp39) */ ;
} /* end of [ptr0_set_01760_ats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/unsafe.dats: 2472(line=83, offs=21) -- 2499(line=83, offs=48)
*/
ATSstaticdec()
ats_void_type
ptrset_01764_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp38) ;

__ats_lab_ptrset_01764_ats_ptr_type:
/* tmp38 = */ ptr0_set_01760_ats_ptr_type (arg0, arg1) ;
return /* (tmp38) */ ;
} /* end of [ptrset_01764_ats_ptr_type] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 2822(line=115, offs=3) -- 5884(line=239, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3ecl_tyer (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp1) ;
ATSlocal (ats_ptr_type, tmp2) ;
ATSlocal (ats_ptr_type, tmp3) ;
ATSlocal (ats_ptr_type, tmp4) ;
ATSlocal (ats_ptr_type, tmp5) ;
ATSlocal (ats_ptr_type, tmp6) ;
ATSlocal (ats_ptr_type, tmp7) ;
ATSlocal (ats_ptr_type, tmp8) ;
ATSlocal (ats_ptr_type, tmp9) ;
ATSlocal (ats_ptr_type, tmp10) ;
ATSlocal (ats_ptr_type, tmp11) ;
ATSlocal (ats_ptr_type, tmp12) ;
ATSlocal (ats_ptr_type, tmp13) ;
ATSlocal (ats_int_type, tmp14) ;
ATSlocal (ats_int_type, tmp15) ;
ATSlocal (ats_ptr_type, tmp16) ;
ATSlocal (ats_ptr_type, tmp17) ;
ATSlocal (ats_int_type, tmp18) ;
ATSlocal (ats_ptr_type, tmp19) ;
ATSlocal (ats_ptr_type, tmp20) ;
ATSlocal (ats_ptr_type, tmp21) ;
ATSlocal (ats_int_type, tmp22) ;
ATSlocal (ats_ptr_type, tmp23) ;
ATSlocal (ats_ptr_type, tmp24) ;
ATSlocal (ats_ptr_type, tmp25) ;
ATSlocal (ats_ptr_type, tmp26) ;
ATSlocal (ats_int_type, tmp27) ;
ATSlocal (ats_ptr_type, tmp28) ;
ATSlocal (ats_int_type, tmp29) ;
ATSlocal (ats_ptr_type, tmp30) ;
ATSlocal (ats_ptr_type, tmp31) ;
// ATSlocal_void (tmp32) ;
ATSlocal (ats_bool_type, tmp33) ;
ATSlocal (ats_ptr_type, tmp34) ;
ATSlocal (ats_ptr_type, tmp35) ;
ATSlocal (ats_ptr_type, tmp36) ;
// ATSlocal_void (tmp37) ;
ATSlocal (ats_ptr_type, tmp40) ;
ATSlocal (ats_ptr_type, tmp41) ;
ATSlocal (ats_ptr_type, tmp42) ;
ATSlocal (ats_ptr_type, tmp43) ;
ATSlocal (ats_ptr_type, tmp44) ;
ATSlocal (ats_ptr_type, tmp45) ;
ATSlocal (ats_ptr_type, tmp46) ;
ATSlocal (ats_ptr_type, tmp47) ;
ATSlocal (ats_ptr_type, tmp48) ;
ATSlocal (ats_ptr_type, tmp49) ;
ATSlocal (ats_ptr_type, tmp50) ;
ATSlocal (ats_ptr_type, tmp51) ;
ATSlocal (ats_ptr_type, tmp52) ;
ATSlocal (ats_ptr_type, tmp53) ;
ATSlocal (ats_ptr_type, tmp54) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3ecl_tyer:
tmp2 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_1, arg0), atslab_d3ecl_loc) ;
tmp3 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_1, arg0), atslab_d3ecl_node) ;
do {
/* branch: __ats_lab_0 */
__ats_lab_0_0:
if (((ats_sum_ptr_type)tmp3)->tag != 0) { goto __ats_lab_1_0 ; }
__ats_lab_0_1:
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_none (tmp2) ;
break ;

/* branch: __ats_lab_1 */
__ats_lab_1_0:
if (((ats_sum_ptr_type)tmp3)->tag != 1) { goto __ats_lab_2_0 ; }
__ats_lab_1_1:
tmp4 = ats_caselptrlab_mac(anairiats_sum_2, tmp3, atslab_0) ;
tmp5 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer (tmp4) ;
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_list (tmp2, tmp5) ;
break ;

/* branch: __ats_lab_2 */
__ats_lab_2_0:
if (((ats_sum_ptr_type)tmp3)->tag != 2) { goto __ats_lab_3_0 ; }
__ats_lab_2_1:
tmp6 = ats_caselptrlab_mac(anairiats_sum_2, tmp3, atslab_0) ;
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_saspdec (tmp2, tmp6) ;
break ;

/* branch: __ats_lab_3 */
__ats_lab_3_0:
if (((ats_sum_ptr_type)tmp3)->tag != 3) { goto __ats_lab_4_0 ; }
__ats_lab_3_1:
tmp7 = ats_caselptrlab_mac(anairiats_sum_2, tmp3, atslab_0) ;
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_reassume (tmp2, tmp7) ;
break ;

/* branch: __ats_lab_4 */
__ats_lab_4_0:
if (((ats_sum_ptr_type)tmp3)->tag != 4) { goto __ats_lab_5_0 ; }
__ats_lab_4_1:
tmp8 = ats_caselptrlab_mac(anairiats_sum_3, tmp3, atslab_0) ;
tmp9 = ats_caselptrlab_mac(anairiats_sum_3, tmp3, atslab_1) ;
tmp10 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__s2exp_tyer_deep (tmp2, tmp9) ;
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_extype (tmp2, tmp8, tmp10) ;
break ;

/* branch: __ats_lab_5 */
__ats_lab_5_0:
if (((ats_sum_ptr_type)tmp3)->tag != 5) { goto __ats_lab_6_0 ; }
__ats_lab_5_1:
tmp11 = ats_caselptrlab_mac(anairiats_sum_3, tmp3, atslab_0) ;
tmp12 = ats_caselptrlab_mac(anairiats_sum_3, tmp3, atslab_1) ;
tmp13 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3exp_tyer (tmp12) ;
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_extvar (tmp2, tmp11, tmp13) ;
break ;

/* branch: __ats_lab_6 */
__ats_lab_6_0:
if (((ats_sum_ptr_type)tmp3)->tag != 6) { goto __ats_lab_7_0 ; }
__ats_lab_6_1:
tmp14 = ats_caselptrlab_mac(anairiats_sum_4, tmp3, atslab_0) ;
tmp15 = ats_caselptrlab_mac(anairiats_sum_4, tmp3, atslab_1) ;
tmp16 = ats_caselptrlab_mac(anairiats_sum_4, tmp3, atslab_2) ;
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_extcode (tmp2, tmp14, tmp15, tmp16) ;
break ;

/* branch: __ats_lab_7 */
__ats_lab_7_0:
if (((ats_sum_ptr_type)tmp3)->tag != 7) { goto __ats_lab_8_0 ; }
__ats_lab_7_1:
tmp17 = ats_caselptrlab_mac(anairiats_sum_2, tmp3, atslab_0) ;
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_exndecs (tmp2, tmp17) ;
break ;

/* branch: __ats_lab_8 */
__ats_lab_8_0:
if (((ats_sum_ptr_type)tmp3)->tag != 8) { goto __ats_lab_9_0 ; }
__ats_lab_8_1:
tmp18 = ats_caselptrlab_mac(anairiats_sum_5, tmp3, atslab_0) ;
tmp19 = ats_caselptrlab_mac(anairiats_sum_5, tmp3, atslab_1) ;
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_datdecs (tmp2, tmp18, tmp19) ;
break ;

/* branch: __ats_lab_9 */
__ats_lab_9_0:
if (((ats_sum_ptr_type)tmp3)->tag != 9) { goto __ats_lab_10_0 ; }
__ats_lab_9_1:
tmp20 = ats_caselptrlab_mac(anairiats_sum_6, tmp3, atslab_1) ;
tmp21 = ats_caselptrlab_mac(anairiats_sum_6, tmp3, atslab_2) ;
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_dcstdecs (tmp2, tmp20, tmp21) ;
break ;

/* branch: __ats_lab_10 */
__ats_lab_10_0:
if (((ats_sum_ptr_type)tmp3)->tag != 10) { goto __ats_lab_11_0 ; }
__ats_lab_10_1:
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_impdec (arg0) ;
break ;

/* branch: __ats_lab_11 */
__ats_lab_11_0:
if (((ats_sum_ptr_type)tmp3)->tag != 11) { goto __ats_lab_12_0 ; }
__ats_lab_11_1:
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_fundecs (arg0) ;
break ;

/* branch: __ats_lab_12 */
__ats_lab_12_0:
if (((ats_sum_ptr_type)tmp3)->tag != 12) { goto __ats_lab_13_0 ; }
__ats_lab_12_1:
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_valdecs (arg0) ;
break ;

/* branch: __ats_lab_13 */
__ats_lab_13_0:
if (((ats_sum_ptr_type)tmp3)->tag != 13) { goto __ats_lab_14_0 ; }
__ats_lab_13_1:
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_valdecs_rec (arg0) ;
break ;

/* branch: __ats_lab_14 */
__ats_lab_14_0:
if (((ats_sum_ptr_type)tmp3)->tag != 14) { goto __ats_lab_15_0 ; }
__ats_lab_14_1:
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_vardecs (arg0) ;
break ;

/* branch: __ats_lab_15 */
__ats_lab_15_0:
if (((ats_sum_ptr_type)tmp3)->tag != 15) { goto __ats_lab_16_0 ; }
__ats_lab_15_1:
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_none (tmp2) ;
break ;

/* branch: __ats_lab_16 */
__ats_lab_16_0:
if (((ats_sum_ptr_type)tmp3)->tag != 16) { goto __ats_lab_17_0 ; }
__ats_lab_16_1:
tmp22 = ats_caselptrlab_mac(anairiats_sum_5, tmp3, atslab_0) ;
tmp23 = ats_caselptrlab_mac(anairiats_sum_5, tmp3, atslab_1) ;
tmp24 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer (tmp23) ;
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_include (tmp2, tmp22, tmp24) ;
break ;

/* branch: __ats_lab_17 */
__ats_lab_17_0:
if (((ats_sum_ptr_type)tmp3)->tag != 17) { goto __ats_lab_18_0 ; }
__ats_lab_17_1:
tmp25 = ats_caselptrlab_mac(anairiats_sum_7, tmp3, atslab_0) ;
tmp26 = ats_caselptrlab_mac(anairiats_sum_7, tmp3, atslab_1) ;
tmp27 = ats_caselptrlab_mac(anairiats_sum_7, tmp3, atslab_2) ;
tmp28 = ats_caselptrlab_mac(anairiats_sum_7, tmp3, atslab_3) ;
tmp29 = ats_caselptrlab_mac(anairiats_sum_7, tmp3, atslab_4) ;
tmp30 = _2tmp_2ATS_2dPostiats_2src_2pats_trans3_env_2esats__filenv_get_d3eclistopt (tmp28) ;
if (tmp30 == (ats_sum_ptr_type)0) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_typerase_decl.dats: 4330(line=182, offs=9) -- 4387(line=183, offs=44)") ; }
tmp31 = ats_caselptrlab_mac(anairiats_sum_8, tmp30, atslab_0) ;
tmp33 = atspre_eq_int_int (tmp29, 0) ;
if (tmp33) {
tmp34 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer (tmp31) ;
tmp35 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__tmpcstimpmap_make_hideclist (tmp34) ;
tmp36 = _2tmp_2ATS_2dPostiats_2src_2pats_trans2_env_2esats__filenv_getref_tmpcstimpmap (tmp28) ;
tmp40 = ATS_MALLOC(sizeof(anairiats_sum_8)) ;
ats_selptrset_mac(anairiats_sum_8, tmp40, atslab_0, tmp35) ;
/* tmp37 = */ ptrset_01764_ats_ptr_type (tmp36, tmp40) ;
tmp41 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__tmpvardecmap_make_hideclist (tmp34) ;
tmp42 = _2tmp_2ATS_2dPostiats_2src_2pats_trans2_env_2esats__filenv_getref_tmpvardecmap (tmp28) ;
tmp43 = ATS_MALLOC(sizeof(anairiats_sum_8)) ;
ats_selptrset_mac(anairiats_sum_8, tmp43, atslab_0, tmp41) ;
/* tmp32 = */ ptrset_01764_ats_ptr_type (tmp42, tmp43) ;
} else {
/* empty */
} /* end of [if] */
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_staload (tmp2, tmp25, tmp26, tmp27, tmp28, tmp29) ;
break ;

/* branch: __ats_lab_18 */
__ats_lab_18_0:
if (((ats_sum_ptr_type)tmp3)->tag != 18) { goto __ats_lab_19_0 ; }
__ats_lab_18_1:
tmp44 = ats_caselptrlab_mac(anairiats_sum_9, tmp3, atslab_0) ;
tmp45 = ats_caselptrlab_mac(anairiats_sum_9, tmp3, atslab_1) ;
tmp46 = ats_caselptrlab_mac(anairiats_sum_9, tmp3, atslab_2) ;
tmp47 = _2tmp_2ATS_2dPostiats_2src_2pats_trans3_env_2esats__filenv_get_d3eclistopt (tmp46) ;
if (tmp47 == (ats_sum_ptr_type)0) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_typerase_decl.dats: 5261(line=213, offs=9) -- 5318(line=214, offs=44)") ; }
tmp48 = ats_caselptrlab_mac(anairiats_sum_8, tmp47, atslab_0) ;
tmp49 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer (tmp48) ;
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_staloadloc (tmp2, tmp44, tmp45, tmp49) ;
break ;

/* branch: __ats_lab_19 */
__ats_lab_19_0:
if (((ats_sum_ptr_type)tmp3)->tag != 19) { goto __ats_lab_20_0 ; }
__ats_lab_19_1:
tmp50 = ats_caselptrlab_mac(anairiats_sum_2, tmp3, atslab_0) ;
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_dynload (tmp2, tmp50) ;
break ;

/* branch: __ats_lab_20 */
__ats_lab_20_0:
// if (((ats_sum_ptr_type)tmp3)->tag != 20) { ats_deadcode_failure_handle () ; }
__ats_lab_20_1:
tmp51 = ats_caselptrlab_mac(anairiats_sum_3, tmp3, atslab_0) ;
tmp52 = ats_caselptrlab_mac(anairiats_sum_3, tmp3, atslab_1) ;
tmp53 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer (tmp51) ;
tmp54 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer (tmp52) ;
tmp1 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_local (tmp2, tmp53, tmp54) ;
break ;
} while (0) ;
return (tmp1) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3ecl_tyer] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 6011(line=249, offs=5) -- 6356(line=266, offs=4)
*/
ATSstaticdec()
ats_ptr_type
loop_5 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp56) ;
ATSlocal (ats_ptr_type, tmp57) ;
ATSlocal (ats_ptr_type, tmp58) ;
ATSlocal (ats_ptr_type, tmp59) ;
ATSlocal (ats_bool_type, tmp60) ;
ATSlocal (ats_ptr_type, tmp61) ;

__ats_lab_loop_5:
do {
/* branch: __ats_lab_21 */
__ats_lab_21_0:
if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_22_0 ; }
__ats_lab_21_1:
tmp57 = ats_caselptrlab_mac(anairiats_sum_10, arg0, atslab_0) ;
tmp58 = ats_caselptrlab_mac(anairiats_sum_10, arg0, atslab_1) ;
tmp59 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3ecl_tyer (tmp57) ;
tmp60 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_is_empty (tmp59) ;
if (tmp60) {
arg0 = tmp58 ;
arg1 = arg1 ;
goto __ats_lab_loop_5 ; // tail call
} else {
tmp61 = ATS_MALLOC(sizeof(anairiats_sum_10)) ;
ats_selptrset_mac(anairiats_sum_10, tmp61, atslab_0, tmp59) ;
ats_selptrset_mac(anairiats_sum_10, tmp61, atslab_1, arg1) ;
arg0 = tmp58 ;
arg1 = tmp61 ;
goto __ats_lab_loop_5 ; // tail call
} /* end of [if] */
break ;

/* branch: __ats_lab_22 */
__ats_lab_22_0:
// if (arg0 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_22_1:
tmp56 = arg1 ;
break ;
} while (0) ;
return (tmp56) ;
} /* end of [loop_5] */

/*
// /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_8 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp67) ;
ATSlocal (ats_ptr_type, tmp68) ;
ATSlocal (ats_ptr_type, tmp69) ;
ATSlocal (ats_ptr_type, tmp70) ;

__ats_lab_revapp_8:
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:
tmp68 = &ats_caselptrlab_mac(anairiats_sum_10, arg0, atslab_1) ;
tmp69 = ats_ptrget_mac(ats_ptr_type, tmp68) ;
ats_ptrget_mac(ats_ptr_type, tmp68) = arg1 ;
tmp70 = arg0 ;
arg0 = tmp69 ;
arg1 = tmp70 ;
goto __ats_lab_revapp_8 ; // tail call
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 = arg1 ;
break ;
} while (0) ;
return (tmp67) ;
} /* end of [revapp_8] */

/*
// /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_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp66) ;

__ats_lab_list_vt_reverse_append_01507_ats_ptr_type:
tmp66 = revapp_8 (arg0, arg1) ;
return (tmp66) ;
} /* end of [list_vt_reverse_append_01507_ats_ptr_type] */

/*
// /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_ats_ptr_type (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp65) ;
ATSlocal (ats_ptr_type, tmp71) ;

__ats_lab_list_vt_reverse_01506_ats_ptr_type:
tmp71 = (ats_sum_ptr_type)0 ;
tmp65 = list_vt_reverse_append_01507_ats_ptr_type (arg0, tmp71) ;
return (tmp65) ;
} /* end of [list_vt_reverse_01506_ats_ptr_type] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 5956(line=245, offs=3) -- 6489(line=273, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp55) ;
ATSlocal (ats_ptr_type, tmp62) ;
ATSlocal (ats_ptr_type, tmp63) ;
ATSlocal (ats_ptr_type, tmp64) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer:
tmp63 = (ats_sum_ptr_type)0 ;
tmp62 = loop_5 (arg0, tmp63) ;
tmp64 = list_vt_reverse_01506_ats_ptr_type (tmp62) ;
tmp55 = ats_castfn_mac(ats_ptr_type, tmp64) ;
return (tmp55) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 6570(line=279, offs=3) -- 6667(line=282, offs=2)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer_errck (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp72) ;
ATSlocal (ats_ptr_type, tmp73) ;
// ATSlocal_void (tmp74) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer_errck:
tmp73 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer (arg0) ;
/* tmp74 = */ _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__the_trans4errlst_finalize () ;
tmp72 = tmp73 ;
return (tmp72) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3eclist_tyer_errck] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 6752(line=288, offs=3) -- 7333(line=318, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_impdec (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp75) ;
ATSlocal (ats_ptr_type, tmp76) ;
ATSlocal (ats_ptr_type, tmp77) ;
ATSlocal (ats_int_type, tmp78) ;
ATSlocal (ats_ptr_type, tmp79) ;
ATSlocal (ats_bool_type, tmp80) ;
ATSlocal (ats_ptr_type, tmp81) ;
ATSlocal (ats_ptr_type, 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_ptr_type, tmp88) ;
ATSlocal (ats_ptr_type, tmp89) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_impdec:
tmp76 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_1, arg0), atslab_d3ecl_loc) ;
tmp77 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_1, arg0), atslab_d3ecl_node) ;
if (((ats_sum_ptr_type)tmp77)->tag != 10) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_typerase_decl.dats: 6798(line=291, offs=5) -- 6839(line=291, offs=46)") ; }
tmp78 = ats_caselptrlab_mac(anairiats_sum_5, tmp77, atslab_0) ;
tmp79 = ats_caselptrlab_mac(anairiats_sum_5, tmp77, atslab_1) ;
tmp80 = atspre_gte_int_int (tmp78, 0) ;
if (tmp80) {
tmp81 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_11, tmp79), atslab_i3mpdec_loc) ;
tmp82 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_11, tmp79), atslab_i3mpdec_cst) ;
tmp83 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_11, tmp79), atslab_i3mpdec_imparg) ;
tmp84 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_11, tmp79), atslab_i3mpdec_tmparg) ;
tmp85 = _2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__s2explstlst_mhnfize (tmp84) ;
tmp86 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d2cst_tyer (tmp82) ;
tmp88 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_11, tmp79), atslab_i3mpdec_def) ;
tmp87 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3exp_tyer (tmp88) ;
tmp89 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hiimpdec_make (tmp81, tmp78, tmp86, tmp83, tmp85, tmp87) ;
tmp75 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_impdec (tmp76, tmp78, tmp89) ;
} else {
tmp75 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_none (tmp76) ;
} /* end of [if] */
return (tmp75) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_impdec] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/list.dats: 7739(line=275, offs=5) -- 8080(line=290, offs=4)
*/
ATSstaticdec()
ats_void_type
loop_13 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ref_type arg2) {
/* local vardec */
// ATSlocal_void (tmp95) ;
ATSlocal (ats_ptr_type, tmp96) ;
ATSlocal (ats_ptr_type, tmp97) ;
ATSlocal (ats_ptr_type, tmp98) ;
ATSlocal (ats_ptr_type, tmp99) ;

__ats_lab_loop_13:
do {
/* branch: __ats_lab_26 */
__ats_lab_26_0:
if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_27_0 ; }
__ats_lab_26_1:
tmp96 = ats_caselptrlab_mac(anairiats_sum_10, arg0, atslab_0) ;
tmp97 = ats_caselptrlab_mac(anairiats_sum_10, arg0, atslab_1) ;
tmp98 = ATS_MALLOC(sizeof(anairiats_sum_10)) ;
ats_selptrset_mac(anairiats_sum_10, tmp98, atslab_0, tmp96) ;
ats_ptrget_mac(ats_ptr_type, arg2) = tmp98 ;
// if (ats_ptrget_mac(ats_ptr_type, arg2) == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
tmp99 = &ats_caselptrlab_mac(anairiats_sum_10, ats_ptrget_mac(ats_ptr_type, arg2), atslab_1) ;
arg0 = tmp97 ;
arg1 = arg1 ;
arg2 = tmp99 ;
goto __ats_lab_loop_13 ; // tail call
break ;

/* branch: __ats_lab_27 */
__ats_lab_27_0:
// if (arg0 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_27_1:
ats_ptrget_mac(ats_ptr_type, arg2) = arg1 ;
break ;
} while (0) ;
return /* (tmp95) */ ;
} /* end of [loop_13] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/list.dats: 7684(line=272, offs=13) -- 8222(line=297, offs=4)
*/
ATSstaticdec()
ats_ptr_type
list_append_01312_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp93) ;
ATSlocal (ats_ptr_type, tmp94) ;
// ATSlocal_void (tmp100) ;

__ats_lab_list_append_01312_ats_ptr_type:
/* ats_ptr_type tmp94 ; */
/* tmp100 = */ loop_13 (arg0, arg1, (&tmp94)) ;
tmp93 = tmp94 ;
return (tmp93) ;
} /* end of [list_append_01312_ats_ptr_type] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 7410(line=323, offs=15) -- 7594(line=333, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__decarg2imparg (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp90) ;
ATSlocal (anairiats_rec_12, tmp91) ;
ATSlocal (ats_ptr_type, tmp92) ;
ATSlocal (ats_ptr_type, tmp101) ;
ATSlocal (ats_ptr_type, tmp102) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__decarg2imparg:
do {
/* branch: __ats_lab_25 */
__ats_lab_25_0:
if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_28_0 ; }
__ats_lab_25_1:
tmp91 = ats_caselptrlab_mac(anairiats_sum_13, arg0, atslab_0) ;
tmp92 = ats_caselptrlab_mac(anairiats_sum_13, arg0, atslab_1) ;
tmp101 = ats_select_mac(tmp91, atslab_s2qua_svs) ;
tmp102 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__decarg2imparg (tmp92) ;
tmp90 = list_append_01312_ats_ptr_type (tmp101, tmp102) ;
break ;

/* branch: __ats_lab_28 */
__ats_lab_28_0:
// if (arg0 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_28_1:
tmp90 = (ats_sum_ptr_type)0 ;
break ;
} while (0) ;
return (tmp90) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__decarg2imparg] */

/*
// /tmp/ATS-Postiats/src/pats_errmsg.dats: 2458(line=94, offs=17) -- 2516(line=97, offs=2)
*/
ATSstaticdec()
ats_void_type
prerr_error4_loc_02092_ (ats_ptr_type arg0) {
/* local vardec */
// ATSlocal_void (tmp110) ;
// ATSlocal_void (tmp111) ;

__ats_lab_prerr_error4_loc_02092_:
/* tmp111 = */ _2tmp_2ATS_2dPostiats_2src_2pats_location_2esats__prerr_location (arg0) ;
/* tmp110 = */ atspre_prerr_string (ATSstrcst(": error(4)")) ;
return /* (tmp110) */ ;
} /* end of [prerr_error4_loc_02092_] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 7654(line=340, offs=1) -- 8242(line=375, offs=4)
*/
ATSstaticdec()
ats_ptr_type
f3undec_tyer_14 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp103) ;
ATSlocal (ats_ptr_type, tmp104) ;
ATSlocal (ats_ptr_type, tmp105) ;
ATSlocal (ats_ptr_type, tmp106) ;
ATSlocal (ats_bool_type, tmp107) ;
// ATSlocal_void (tmp108) ;
// ATSlocal_void (tmp109) ;
// ATSlocal_void (tmp112) ;
// ATSlocal_void (tmp113) ;
ATSlocal (ats_ptr_type, tmp114) ;
ATSlocal (ats_ptr_type, tmp115) ;
ATSlocal (ats_ptr_type, tmp116) ;

__ats_lab_f3undec_tyer_14:
tmp104 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_14, arg1), atslab_f3undec_loc) ;
tmp105 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_14, arg1), atslab_f3undec_var) ;
tmp106 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_14, arg1), atslab_f3undec_def) ;
tmp107 = _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__d3exp_is_prf (tmp106) ;
if (tmp107) {
/* tmp109 = */ prerr_error4_loc_02092_ (tmp104) ;
/* tmp112 = */ atspre_prerr_string (ATSstrcst(": [fun] should be replaced with [prfun].")) ;
/* tmp113 = */ atspre_prerr_newline () ;
tmp114 = ATS_MALLOC(sizeof(anairiats_sum_2)) ;
((ats_sum_ptr_type)tmp114)->tag = 1 ;
ats_selptrset_mac(anairiats_sum_2, tmp114, atslab_0, tmp106) ;
/* tmp108 = */ _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__the_trans4errlst_add (tmp114) ;
} else {
/* empty */
} /* end of [if] */
tmp115 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d2var_tyer (tmp105) ;
tmp116 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3exp_tyer (tmp106) ;
tmp103 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hifundec_make (tmp104, tmp115, arg0, tmp116) ;
return (tmp103) ;
} /* end of [f3undec_tyer_14] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/list.dats: 54647(line=1953, offs=6) -- 54699(line=1953, offs=58)
*/
ATSstaticdec()
ats_ptr_type
app_19 (ats_ptr_type arg0, ats_clo_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp123) ;

__ats_lab_app_19:
tmp123 = ((ats_ptr_type(*)(ats_clo_ptr_type, ats_ptr_type))(ats_closure_fun(arg1))) (arg1, arg0) ;
return (tmp123) ;
} /* end of [app_19] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/list.dats: 52519(line=1874, offs=5) -- 52952(line=1891, offs=4)
*/
ATSstaticdec()
ats_void_type
loop_21 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ref_type arg2, ats_ptr_type arg3) {
/* local vardec */
// ATSlocal_void (tmp125) ;
ATSlocal (ats_ptr_type, tmp126) ;
ATSlocal (ats_ptr_type, tmp127) ;
ATSlocal (ats_ptr_type, tmp128) ;
ATSlocal (ats_ptr_type, tmp129) ;
ATSlocal (ats_ptr_type, tmp130) ;
ATSlocal (ats_ptr_type, tmp131) ;

__ats_lab_loop_21:
do {
/* branch: __ats_lab_29 */
__ats_lab_29_0:
if (arg0 == (ats_sum_ptr_type)0) { goto __ats_lab_30_0 ; }
__ats_lab_29_1:
tmp126 = ats_caselptrlab_mac(anairiats_sum_10, arg0, atslab_0) ;
tmp127 = ats_caselptrlab_mac(anairiats_sum_10, arg0, atslab_1) ;
tmp128 = ((ats_ptr_type(*)(ats_ptr_type, ats_ptr_type))arg1) (tmp126, arg3) ;
tmp129 = ATS_MALLOC(sizeof(anairiats_sum_10)) ;
ats_selptrset_mac(anairiats_sum_10, tmp129, atslab_0, tmp128) ;
ats_ptrget_mac(ats_ptr_type, arg2) = tmp129 ;
// if (ats_ptrget_mac(ats_ptr_type, arg2) == (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
tmp130 = &ats_caselptrlab_mac(anairiats_sum_10, ats_ptrget_mac(ats_ptr_type, arg2), atslab_1) ;
arg0 = tmp127 ;
arg1 = arg1 ;
arg2 = tmp130 ;
arg3 = arg3 ;
goto __ats_lab_loop_21 ; // tail call
break ;

/* branch: __ats_lab_30 */
__ats_lab_30_0:
// if (arg0 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_30_1:
tmp131 = (ats_sum_ptr_type)0 ;
ats_ptrget_mac(ats_ptr_type, arg2) = tmp131 ;
break ;
} while (0) ;
return /* (tmp125) */ ;
} /* end of [loop_21] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/list.dats: 52444(line=1870, offs=3) -- 53099(line=1899, offs=4)
*/
ATSstaticdec()
ats_ptr_type
list_map_funenv_01412_ats_ptr_type_ats_ptr_type (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp124) ;
ATSlocal (ats_ptr_type, tmp132) ;
// ATSlocal_void (tmp133) ;

__ats_lab_list_map_funenv_01412_ats_ptr_type_ats_ptr_type:
/* ats_ptr_type tmp132 ; */
/* tmp133 = */ loop_21 (arg0, arg1, (&tmp132), arg2) ;
tmp124 = tmp132 ;
return (tmp124) ;
} /* end of [list_map_funenv_01412_ats_ptr_type_ats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/list.dats: 54575(line=1951, offs=23) -- 54763(line=1956, offs=4)
*/
ATSstaticdec()
ats_ptr_type
list_map_vcloptr_01416_ats_ptr_type_ats_ptr_type (ats_ptr_type arg0, ats_clo_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp122) ;

__ats_lab_list_map_vcloptr_01416_ats_ptr_type_ats_ptr_type:
tmp122 = list_map_funenv_01412_ats_ptr_type_ats_ptr_type (arg0, &app_19, arg1) ;
return (tmp122) ;
} /* end of [list_map_vcloptr_01416_ats_ptr_type_ats_ptr_type] */

/*
// /nix/store/rfja8ixrs5wb4kj3kiwlch1apnh7qgvy-ats-0.2.12/lib/ats-anairiats-0.2.12/prelude/DATS/list.dats: 54041(line=1936, offs=19) -- 54491(line=1948, offs=2)
*/
ATSstaticdec()
ats_ptr_type
list_map_cloptr_01415_ats_ptr_type_ats_ptr_type (ats_ptr_type arg0, ats_clo_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp121) ;

__ats_lab_list_map_cloptr_01415_ats_ptr_type_ats_ptr_type:
tmp121 = list_map_vcloptr_01416_ats_ptr_type_ats_ptr_type (arg0, arg1) ;
return (tmp121) ;
} /* end of [list_map_cloptr_01415_ats_ptr_type_ats_ptr_type] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 8561(line=392, offs=47) -- 8602(line=392, offs=88)
*/
ATSstaticdec()
ats_ptr_type
__ats_fun_22 (ats_ptr_type env0, ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp135) ;

__ats_lab___ats_fun_22:
tmp135 = f3undec_tyer_14 (env0, arg0) ;
return (tmp135) ;
} /* end of [__ats_fun_22] */

typedef struct {
ats_fun_ptr_type closure_fun ;
ats_ptr_type closure_env_0 ;
} __ats_fun_22_closure_type ;

ats_ptr_type
__ats_fun_22_clofun (ats_clo_ptr_type cloptr, ats_ptr_type arg0) {
return __ats_fun_22 (((__ats_fun_22_closure_type*)cloptr)->closure_env_0, arg0) ;
} /* end of function */

ATSinline()
ats_void_type
__ats_fun_22_closure_init (__ats_fun_22_closure_type *p_clo, ats_ptr_type env0) {
p_clo->closure_fun = (ats_fun_ptr_type)&__ats_fun_22_clofun ;
p_clo->closure_env_0 = env0 ;
return ;
} /* end of function */

ats_clo_ptr_type
__ats_fun_22_closure_make (ats_ptr_type env0) {
__ats_fun_22_closure_type *p_clo = ATS_MALLOC(sizeof(__ats_fun_22_closure_type)) ;
__ats_fun_22_closure_init (p_clo, env0) ;
return (ats_clo_ptr_type)p_clo ;
} /* end of function */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 8273(line=378, offs=1) -- 8677(line=398, offs=4)
*/
ATSstaticdec()
ats_ptr_type
f3undeclst_tyer_16 (ats_ptr_type arg0, ats_ptr_type arg1, ats_ptr_type arg2) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp117) ;
ATSlocal (ats_bool_type, tmp118) ;
ATSlocal (ats_ptr_type, tmp119) ;
ATSlocal (ats_ptr_type, tmp120) ;
ATSlocal (ats_ptr_type, tmp134) ;

__ats_lab_f3undeclst_tyer_16:
tmp118 = _2tmp_2ATS_2dPostiats_2src_2pats_basics_2esats__funkind_is_proof (arg0) ;
if (tmp118) {
tmp117 = (ats_sum_ptr_type)0 ;
} else {
tmp119 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__decarg2imparg (arg1) ;
/* ats_ptr_type tmp134 ; */
tmp134 = __ats_fun_22_closure_make (tmp119) ;
tmp120 = list_map_cloptr_01415_ats_ptr_type_ats_ptr_type (arg2, tmp134) ;
ATS_FREE(tmp134) ;
tmp117 = ats_castfn_mac(ats_ptr_type, tmp120) ;
} /* end of [if] */
return (tmp117) ;
} /* end of [f3undeclst_tyer_16] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 8762(line=404, offs=3) -- 9034(line=417, offs=2)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_fundecs (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp136) ;
ATSlocal (ats_ptr_type, tmp137) ;
ATSlocal (ats_ptr_type, tmp138) ;
ATSlocal (ats_ptr_type, tmp139) ;
ATSlocal (ats_ptr_type, tmp140) ;
ATSlocal (ats_ptr_type, tmp141) ;
ATSlocal (ats_ptr_type, tmp142) ;
ATSlocal (ats_ptr_type, tmp143) ;
// ATSlocal_void (tmp144) ;
ATSlocal (ats_ptr_type, tmp145) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_fundecs:
tmp137 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_1, arg0), atslab_d3ecl_loc) ;
tmp138 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_1, arg0), atslab_d3ecl_node) ;
if (((ats_sum_ptr_type)tmp138)->tag != 11) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_typerase_decl.dats: 8820(line=409, offs=5) -- 8870(line=410, offs=40)") ; }
tmp139 = ats_caselptrlab_mac(anairiats_sum_9, tmp138, atslab_0) ;
tmp140 = ats_caselptrlab_mac(anairiats_sum_9, tmp138, atslab_1) ;
tmp141 = ats_caselptrlab_mac(anairiats_sum_9, tmp138, atslab_2) ;
tmp142 = f3undeclst_tyer_16 (tmp139, tmp140, tmp141) ;
tmp143 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_fundecs (tmp137, tmp139, tmp140, tmp142) ;
tmp145 = ATS_MALLOC(sizeof(anairiats_sum_8)) ;
ats_selptrset_mac(anairiats_sum_8, tmp145, atslab_0, tmp143) ;
/* tmp144 = */ _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hifundeclst_set_hideclopt (tmp142, tmp145) ;
tmp136 = tmp143 ;
return (tmp136) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_fundecs] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 9125(line=426, offs=1) -- 9667(line=461, offs=4)
*/
ATSstaticdec()
ats_ptr_type
v3aldec_tyer_24 (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp146) ;
ATSlocal (ats_ptr_type, tmp147) ;
ATSlocal (ats_ptr_type, tmp148) ;
ATSlocal (ats_ptr_type, tmp149) ;
ATSlocal (ats_ptr_type, tmp150) ;
ATSlocal (ats_bool_type, tmp151) ;
// ATSlocal_void (tmp152) ;
// ATSlocal_void (tmp153) ;
// ATSlocal_void (tmp154) ;
// ATSlocal_void (tmp155) ;
ATSlocal (ats_ptr_type, tmp156) ;
ATSlocal (ats_ptr_type, tmp157) ;

__ats_lab_v3aldec_tyer_24:
tmp147 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_15, arg0), atslab_v3aldec_loc) ;
tmp149 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_15, arg0), atslab_v3aldec_pat) ;
tmp148 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__p3at_tyer (tmp149) ;
tmp150 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_15, arg0), atslab_v3aldec_def) ;
tmp151 = _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__d3exp_is_prf (tmp150) ;
if (tmp151) {
/* tmp153 = */ prerr_error4_loc_02092_ (tmp147) ;
/* tmp154 = */ atspre_prerr_string (ATSstrcst(": [val] should be replaced with [prval].")) ;
/* tmp155 = */ atspre_prerr_newline () ;
tmp156 = ATS_MALLOC(sizeof(anairiats_sum_2)) ;
((ats_sum_ptr_type)tmp156)->tag = 1 ;
ats_selptrset_mac(anairiats_sum_2, tmp156, atslab_0, tmp150) ;
/* tmp152 = */ _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__the_trans4errlst_add (tmp156) ;
} else {
/* empty */
} /* end of [if] */
tmp157 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3exp_tyer (tmp150) ;
tmp146 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hivaldec_make (tmp147, tmp148, tmp157) ;
return (tmp146) ;
} /* end of [v3aldec_tyer_24] */

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

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

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 9698(line=464, offs=1) -- 9972(line=479, offs=4)
*/
ATSstaticdec()
ats_ptr_type
v3aldeclst_tyer_25 (ats_ptr_type arg0, ats_ptr_type arg1) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp158) ;
ATSlocal (ats_bool_type, tmp159) ;
ATSlocal (ats_ptr_type, tmp160) ;

__ats_lab_v3aldeclst_tyer_25:
tmp159 = _2tmp_2ATS_2dPostiats_2src_2pats_basics_2esats__valkind_is_proof (arg0) ;
if (tmp159) {
tmp158 = (ats_sum_ptr_type)0 ;
} else {
tmp160 = list_map_fun_01413_ats_ptr_type_ats_ptr_type (arg1, &v3aldec_tyer_24) ;
tmp158 = ats_castfn_mac(ats_ptr_type, tmp160) ;
} /* end of [if] */
return (tmp158) ;
} /* end of [v3aldeclst_tyer_25] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 10055(line=484, offs=20) -- 10225(line=492, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_valdecs (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp162) ;
ATSlocal (ats_ptr_type, tmp163) ;
ATSlocal (ats_ptr_type, tmp164) ;
ATSlocal (ats_ptr_type, tmp165) ;
ATSlocal (ats_ptr_type, tmp166) ;
ATSlocal (ats_ptr_type, tmp167) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_valdecs:
tmp163 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_1, arg0), atslab_d3ecl_loc) ;
tmp164 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_1, arg0), atslab_d3ecl_node) ;
if (((ats_sum_ptr_type)tmp164)->tag != 12) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_typerase_decl.dats: 10101(line=487, offs=5) -- 10141(line=487, offs=45)") ; }
tmp165 = ats_caselptrlab_mac(anairiats_sum_3, tmp164, atslab_0) ;
tmp166 = ats_caselptrlab_mac(anairiats_sum_3, tmp164, atslab_1) ;
tmp167 = v3aldeclst_tyer_25 (tmp165, tmp166) ;
tmp162 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_valdecs (tmp163, tmp165, tmp167) ;
return (tmp162) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_valdecs] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 10291(line=495, offs=24) -- 10469(line=503, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_valdecs_rec (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp168) ;
ATSlocal (ats_ptr_type, tmp169) ;
ATSlocal (ats_ptr_type, tmp170) ;
ATSlocal (ats_ptr_type, tmp171) ;
ATSlocal (ats_ptr_type, tmp172) ;
ATSlocal (ats_ptr_type, tmp173) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_valdecs_rec:
tmp169 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_1, arg0), atslab_d3ecl_loc) ;
tmp170 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_1, arg0), atslab_d3ecl_node) ;
if (((ats_sum_ptr_type)tmp170)->tag != 13) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_typerase_decl.dats: 10337(line=498, offs=5) -- 10381(line=498, offs=49)") ; }
tmp171 = ats_caselptrlab_mac(anairiats_sum_3, tmp170, atslab_0) ;
tmp172 = ats_caselptrlab_mac(anairiats_sum_3, tmp170, atslab_1) ;
tmp173 = v3aldeclst_tyer_25 (tmp171, tmp172) ;
tmp168 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_valdecs_rec (tmp169, tmp171, tmp173) ;
return (tmp168) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_valdecs_rec] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 10561(line=512, offs=1) -- 10937(line=532, offs=4)
*/
ATSstaticdec()
ats_ptr_type
v3ardec_tyer_29 (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp174) ;
ATSlocal (ats_ptr_type, tmp175) ;
ATSlocal (ats_int_type, tmp176) ;
ATSlocal (ats_ptr_type, tmp177) ;
ATSlocal (ats_ptr_type, tmp178) ;
ATSlocal (ats_ptr_type, tmp179) ;
ATSlocal (ats_ptr_type, tmp180) ;
ATSlocal (ats_ptr_type, tmp181) ;
ATSlocal (ats_ptr_type, tmp182) ;
ATSlocal (ats_ptr_type, tmp183) ;

__ats_lab_v3ardec_tyer_29:
tmp175 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_16, arg0), atslab_v3ardec_loc) ;
tmp176 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_16, arg0), atslab_v3ardec_knd) ;
tmp177 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_16, arg0), atslab_v3ardec_dvar_var) ;
tmp178 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d2var_tyer (tmp177) ;
tmp179 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_16, arg0), atslab_v3ardec_dvar_view) ;
tmp180 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_16, arg0), atslab_v3ardec_type) ;
tmp181 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__s2exp_tyer_shallow (tmp175, tmp180) ;
tmp183 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_16, arg0), atslab_v3ardec_init) ;
tmp182 = _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__d3expopt_tyer (tmp183) ;
tmp174 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hivardec_make (tmp175, tmp176, tmp178, tmp179, tmp181, tmp182) ;
return (tmp174) ;
} /* end of [v3ardec_tyer_29] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 11017(line=537, offs=20) -- 11217(line=546, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_vardecs (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp184) ;
ATSlocal (ats_ptr_type, tmp185) ;
ATSlocal (ats_ptr_type, tmp186) ;
ATSlocal (ats_ptr_type, tmp187) ;
ATSlocal (ats_ptr_type, tmp188) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_vardecs:
tmp185 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_1, arg0), atslab_d3ecl_loc) ;
tmp186 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_1, arg0), atslab_d3ecl_node) ;
if (((ats_sum_ptr_type)tmp186)->tag != 14) { ats_caseof_failure_handle ("/tmp/ATS-Postiats/src/pats_typerase_decl.dats: 11063(line=540, offs=5) -- 11098(line=540, offs=40)") ; }
tmp187 = ats_caselptrlab_mac(anairiats_sum_2, tmp186, atslab_0) ;
tmp188 = list_map_fun_01413_ats_ptr_type_ats_ptr_type (tmp187, &v3ardec_tyer_29) ;
tmp184 = _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__hidecl_vardecs (tmp185, ats_castfn_mac(ats_ptr_type, tmp188)) ;
return (tmp184) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__d3ecl_tyer_vardecs] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 11350(line=555, offs=5) -- 11857(line=583, offs=4)
*/
ATSstaticdec()
ats_void_type
aux_32 (ats_ref_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp190) ;
ATSlocal (ats_ptr_type, tmp191) ;
ATSlocal (ats_ptr_type, tmp192) ;
ATSlocal (ats_ptr_type, tmp193) ;
ATSlocal (ats_ptr_type, tmp194) ;
ATSlocal (ats_ptr_type, tmp195) ;
ATSlocal (ats_ptr_type, tmp196) ;
// ATSlocal_void (tmp197) ;

__ats_lab_aux_32:
tmp191 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_17, arg1), atslab_hidecl_node) ;
do {
/* branch: __ats_lab_31 */
__ats_lab_31_0:
if (((ats_sum_ptr_type)tmp191)->tag != 10) { goto __ats_lab_34_0 ; }
__ats_lab_31_1:
tmp192 = ats_caselptrlab_mac(anairiats_sum_5, tmp191, atslab_1) ;
tmp193 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_18, tmp192), atslab_hiimpdec_tmparg) ;
do {
/* branch: __ats_lab_32 */
__ats_lab_32_0:
if (tmp193 == (ats_sum_ptr_type)0) { goto __ats_lab_33_0 ; }
__ats_lab_32_1:
/* tmp190 = */ _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__tmpcstimpmap_insert (arg0, tmp192) ;
break ;

/* branch: __ats_lab_33 */
__ats_lab_33_0:
// if (tmp193 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_33_1:
break ;
} while (0) ;
break ;

/* branch: __ats_lab_34 */
__ats_lab_34_0:
if (((ats_sum_ptr_type)tmp191)->tag != 15) { goto __ats_lab_35_0 ; }
__ats_lab_34_1:
tmp194 = ats_caselptrlab_mac(anairiats_sum_5, tmp191, atslab_1) ;
/* tmp190 = */ auxlst_33 (arg0, tmp194) ;
break ;

/* branch: __ats_lab_35 */
__ats_lab_35_0:
if (((ats_sum_ptr_type)tmp191)->tag != 19) { goto __ats_lab_36_0 ; }
__ats_lab_35_1:
tmp195 = ats_caselptrlab_mac(anairiats_sum_3, tmp191, atslab_0) ;
tmp196 = ats_caselptrlab_mac(anairiats_sum_3, tmp191, atslab_1) ;
/* tmp197 = */ auxlst_33 (arg0, tmp195) ;
/* tmp190 = */ auxlst_33 (arg0, tmp196) ;
break ;

/* branch: __ats_lab_36 */
__ats_lab_36_0:
__ats_lab_36_1:
break ;
} while (0) ;
return /* (tmp190) */ ;
} /* end of [aux_32] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 11884(line=585, offs=5) -- 12096(line=598, offs=4)
*/
ATSstaticdec()
ats_void_type
auxlst_33 (ats_ref_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp198) ;
ATSlocal (ats_ptr_type, tmp199) ;
ATSlocal (ats_ptr_type, tmp200) ;
// ATSlocal_void (tmp201) ;

__ats_lab_auxlst_33:
do {
/* branch: __ats_lab_37 */
__ats_lab_37_0:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_38_0 ; }
__ats_lab_37_1:
tmp199 = ats_caselptrlab_mac(anairiats_sum_10, arg1, atslab_0) ;
tmp200 = ats_caselptrlab_mac(anairiats_sum_10, arg1, atslab_1) ;
/* tmp201 = */ aux_32 (arg0, tmp199) ;
arg0 = arg0 ;
arg1 = tmp200 ;
goto __ats_lab_auxlst_33 ; // tail call
break ;

/* branch: __ats_lab_38 */
__ats_lab_38_0:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_38_1:
break ;
} while (0) ;
return /* (tmp198) */ ;
} /* end of [auxlst_33] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 11332(line=553, offs=29) -- 12206(line=606, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__tmpcstimpmap_make_hideclist (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp189) ;
ATSlocal (ats_ptr_type, tmp202) ;
// ATSlocal_void (tmp203) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__tmpcstimpmap_make_hideclist:
/* ats_ptr_type tmp202 ; */
tmp202 = _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__d2cstmap_nil () ;
/* tmp203 = */ auxlst_33 ((&tmp202), arg0) ;
tmp189 = tmp202 ;
return (tmp189) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__tmpcstimpmap_make_hideclist] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 12325(line=613, offs=5) -- 12804(line=640, offs=4)
*/
ATSstaticdec()
ats_void_type
aux_35 (ats_ref_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp205) ;
ATSlocal (ats_ptr_type, tmp206) ;
ATSlocal (ats_ptr_type, tmp207) ;
ATSlocal (ats_ptr_type, tmp208) ;
ATSlocal (ats_ptr_type, tmp209) ;
ATSlocal (ats_ptr_type, tmp210) ;
ATSlocal (ats_ptr_type, tmp211) ;
// ATSlocal_void (tmp212) ;

__ats_lab_aux_35:
tmp206 = ats_selbox_mac(ats_castptr_mac(anairiats_rec_17, arg1), atslab_hidecl_node) ;
do {
/* branch: __ats_lab_39 */
__ats_lab_39_0:
if (((ats_sum_ptr_type)tmp206)->tag != 11) { goto __ats_lab_42_0 ; }
__ats_lab_39_1:
tmp207 = ats_caselptrlab_mac(anairiats_sum_9, tmp206, atslab_1) ;
tmp208 = ats_caselptrlab_mac(anairiats_sum_9, tmp206, atslab_2) ;
do {
/* branch: __ats_lab_40 */
__ats_lab_40_0:
if (tmp207 == (ats_sum_ptr_type)0) { goto __ats_lab_41_0 ; }
__ats_lab_40_1:
/* tmp205 = */ _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__tmpvardecmap_inserts (arg0, tmp208) ;
break ;

/* branch: __ats_lab_41 */
__ats_lab_41_0:
// if (tmp207 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_41_1:
break ;
} while (0) ;
break ;

/* branch: __ats_lab_42 */
__ats_lab_42_0:
if (((ats_sum_ptr_type)tmp206)->tag != 15) { goto __ats_lab_43_0 ; }
__ats_lab_42_1:
tmp209 = ats_caselptrlab_mac(anairiats_sum_5, tmp206, atslab_1) ;
/* tmp205 = */ auxlst_36 (arg0, tmp209) ;
break ;

/* branch: __ats_lab_43 */
__ats_lab_43_0:
if (((ats_sum_ptr_type)tmp206)->tag != 19) { goto __ats_lab_44_0 ; }
__ats_lab_43_1:
tmp210 = ats_caselptrlab_mac(anairiats_sum_3, tmp206, atslab_0) ;
tmp211 = ats_caselptrlab_mac(anairiats_sum_3, tmp206, atslab_1) ;
/* tmp212 = */ auxlst_36 (arg0, tmp210) ;
/* tmp205 = */ auxlst_36 (arg0, tmp211) ;
break ;

/* branch: __ats_lab_44 */
__ats_lab_44_0:
__ats_lab_44_1:
break ;
} while (0) ;
return /* (tmp205) */ ;
} /* end of [aux_35] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 12831(line=642, offs=5) -- 13043(line=655, offs=4)
*/
ATSstaticdec()
ats_void_type
auxlst_36 (ats_ref_type arg0, ats_ptr_type arg1) {
/* local vardec */
// ATSlocal_void (tmp213) ;
ATSlocal (ats_ptr_type, tmp214) ;
ATSlocal (ats_ptr_type, tmp215) ;
// ATSlocal_void (tmp216) ;

__ats_lab_auxlst_36:
do {
/* branch: __ats_lab_45 */
__ats_lab_45_0:
if (arg1 == (ats_sum_ptr_type)0) { goto __ats_lab_46_0 ; }
__ats_lab_45_1:
tmp214 = ats_caselptrlab_mac(anairiats_sum_10, arg1, atslab_0) ;
tmp215 = ats_caselptrlab_mac(anairiats_sum_10, arg1, atslab_1) ;
/* tmp216 = */ aux_35 (arg0, tmp214) ;
arg0 = arg0 ;
arg1 = tmp215 ;
goto __ats_lab_auxlst_36 ; // tail call
break ;

/* branch: __ats_lab_46 */
__ats_lab_46_0:
// if (arg1 != (ats_sum_ptr_type)0) { ats_deadcode_failure_handle () ; }
__ats_lab_46_1:
break ;
} while (0) ;
return /* (tmp213) */ ;
} /* end of [auxlst_36] */

/*
// /tmp/ATS-Postiats/src/pats_typerase_decl.dats: 12307(line=611, offs=29) -- 13153(line=663, offs=4)
*/
ATSglobaldec()
ats_ptr_type
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__tmpvardecmap_make_hideclist (ats_ptr_type arg0) {
/* local vardec */
ATSlocal (ats_ptr_type, tmp204) ;
ATSlocal (ats_ptr_type, tmp217) ;
// ATSlocal_void (tmp218) ;

__ats_lab__2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__tmpvardecmap_make_hideclist:
/* ats_ptr_type tmp217 ; */
tmp217 = _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__d2varmap_nil () ;
/* tmp218 = */ auxlst_36 ((&tmp217), arg0) ;
tmp204 = tmp217 ;
return (tmp204) ;
} /* end of [_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__tmpvardecmap_make_hideclist] */

/* 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_basics_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_errmsg_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_errmsg_2edats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_location_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_filename_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_staexp2_util_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_trans2_env_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_trans3_env_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__staload (void) ;
extern ats_void_type _2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__staload (void) ;

ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__staload () {
static int _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__staload_flag = 0 ;
if (_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__staload_flag) return ;
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_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_basics_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_errmsg_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_errmsg_2edats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_location_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_filename_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_staexp2_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_staexp2_util_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_dynexp2_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_dynexp3_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_trans2_env_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_trans3_env_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_histaexp_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_hidynexp_2esats__staload () ;
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_2esats__staload () ;

return ;
} /* staload function */

/* dynamic load function */

// dynload flag declaration
extern ats_int_type _2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__dynload_flag ;

ats_void_type
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__dynload () {
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__dynload_flag = 1 ;
_2tmp_2ATS_2dPostiats_2src_2pats_typerase_decl_2edats__staload () ;

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

/* marking static variables for GC */

/* marking external values for GC */

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

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

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

/* end of [pats_typerase_decl_dats.c] */
