

#include "BUILTIN.h"

#include "Nat.h"
extern OBJ _ASetConv_3(OBJ,OBJ);extern OBJ __ASetConv_3;
extern OBJ _ASeqMap_3(OBJ,OBJ);extern OBJ __ASeqMap_3;

#include "Char.h"
extern OBJ _ASetMap_5(OBJ,OBJ,OBJ,OBJ);OBJ __ASetMap_5; /* * */

extern OBJ _ASetMap_5(OBJ x1,OBJ x2,OBJ x3,OBJ x4) /* * */
{OBJ r;
 FRCLS(x1,1);
 {OBJ x5;
  x5=_ASeqMap_3(x3,x4);
  r=_ASetConv_3(x2,x5);}
 return r;}

static OBJ _mt_4_0_2(OBJ t,OBJ t1,OBJ t2) 
{OBJ r;
 DPCLS(t,r);
 INCCLS(r,0,2);
 FLDCLS(r,1)=t1;
 FLDCLS(r,2)=t2;
 return r;}

static OBJ _mt_4_2_2(OBJ t,OBJ t1,OBJ t2) 
{OBJ r;
 if(EXCLS(t)){
  DSCLSF(t);
 }else{
  COPY(FLDCLS(t,1),1);
  COPY(FLDCLS(t,2),1);
  DCCLS(t,1);}
 r=(*(OBJ(*)(OBJ,OBJ,OBJ,OBJ))ENTRY(t))(FLDCLS(t,1),FLDCLS(t,2),t1,t2);
 return r;}

init_ASetMap()
{
 static int visited=0; if(visited) return; visited=1;
 init_ASet();
 init_ANat();
 init_ASeq();
 init_AOption();
 init_ASetConv();
 init_ASeqMap();
 init_AString();
 init_AChar();
 init_ASeqConv();
 CLS(4,_ASetMap_5,__ASetMap_5);
 MTH(4,0,2,_mt_4_0_2);LZYMTH(4,0,2,_mt_4_0_2);
 MTH(4,2,2,_mt_4_2_2);LZYMTH(4,2,2,_mt_4_2_2);}

