Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/FFI/ForeignPtr.z.c

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#include "newmacros.h"
#include "runtime.h"

#define CT_v538	((void*)startLabel+52)
#define FN_NHC_46FFI_46primForeignPtr_35	((void*)startLabel+80)
#define CT_v540	((void*)startLabel+112)
#define F0_NHC_46FFI_46primForeignPtr_35	((void*)startLabel+120)
#define FN_NHC_46FFI_46primForeignPtr	((void*)startLabel+132)
#define CT_v542	((void*)startLabel+156)
#define CF_NHC_46FFI_46primForeignPtr	((void*)startLabel+164)
#define CT_v544	((void*)startLabel+236)
#define CT_v546	((void*)startLabel+288)
#define CT_v548	((void*)startLabel+348)
#define CT_v550	((void*)startLabel+400)
#define CT_v552	((void*)startLabel+460)
#define CT_v554	((void*)startLabel+524)
#define CT_v556	((void*)startLabel+588)
#define CT_v558	((void*)startLabel+644)
#define FN_LAMBDA533	((void*)startLabel+672)
#define CT_v561	((void*)startLabel+704)
#define CF_LAMBDA533	((void*)startLabel+712)
#define FN_NHC_46FFI_46newForeignPtr_35	((void*)startLabel+728)
#define CT_v563	((void*)startLabel+760)
#define F0_NHC_46FFI_46newForeignPtr_35	((void*)startLabel+768)
#define CT_v565	((void*)startLabel+804)
#define CT_v567	((void*)startLabel+864)
#define CT_v569	((void*)startLabel+924)
#define CT_v571	((void*)startLabel+976)
#define CT_v573	((void*)startLabel+1028)
#define CT_v575	((void*)startLabel+1080)
#define CT_v577	((void*)startLabel+1144)
#define CT_v579	((void*)startLabel+1200)
#define CT_v581	((void*)startLabel+1256)
#define CT_v583	((void*)startLabel+1312)
#define CT_v585	((void*)startLabel+1368)
#define CT_v587	((void*)startLabel+1424)
#define CT_v589	((void*)startLabel+1480)
#define CT_v591	((void*)startLabel+1544)
#define CT_v593	((void*)startLabel+1600)
#define FN_NHC_46FFI_46foreignPtrToInt	((void*)startLabel+1628)
#define CT_v595	((void*)startLabel+1656)
#define F0_NHC_46FFI_46foreignPtrToInt	((void*)startLabel+1664)
#define CT_v597	((void*)startLabel+1708)
#define CT_v599	((void*)startLabel+1780)
#define CT_v601	((void*)startLabel+1868)
#define ST_v560	((void*)startLabel+1896)
#define ST_v537	((void*)startLabel+1935)
#define ST_v555	((void*)startLabel+1970)
#define ST_v553	((void*)startLabel+2001)
#define ST_v545	((void*)startLabel+2035)
#define ST_v594	((void*)startLabel+2058)
#define ST_v543	((void*)startLabel+2082)
#define ST_v564	((void*)startLabel+2108)
#define ST_v562	((void*)startLabel+2130)
#define ST_v557	((void*)startLabel+2153)
#define ST_v559	((void*)startLabel+2178)
#define ST_v566	((void*)startLabel+2215)
#define ST_v541	((void*)startLabel+2238)
#define ST_v539	((void*)startLabel+2261)
#define ST_v547	((void*)startLabel+2285)
#define ST_v549	((void*)startLabel+2309)
#define ST_v551	((void*)startLabel+2339)
#define ST_v596	((void*)startLabel+2362)
#define ST_v592	((void*)startLabel+2392)
#define ST_v590	((void*)startLabel+2425)
#define ST_v598	((void*)startLabel+2458)
#define ST_v586	((void*)startLabel+2489)
#define ST_v588	((void*)startLabel+2522)
#define ST_v582	((void*)startLabel+2556)
#define ST_v584	((void*)startLabel+2589)
#define ST_v576	((void*)startLabel+2623)
#define ST_v580	((void*)startLabel+2662)
#define ST_v578	((void*)startLabel+2697)
#define ST_v600	((void*)startLabel+2732)
#define ST_v570	((void*)startLabel+2764)
#define ST_v574	((void*)startLabel+2801)
#define ST_v568	((void*)startLabel+2842)
#define ST_v572	((void*)startLabel+2884)
extern Node TM_NHC_46FFI[];
extern Node FN_Prelude_46Monad_46NHC_46Internal_46IO_46return[];
void FR_NHC_46FFI_46primForeignPtr_35(void);
extern Node FN_NHC_46Internal_46_95mkIOok2[];
extern Node FN_NHC_46Internal_46unsafePerformIO[];
extern Node FN_NonStdUnsafeCoerce_46unsafeCoerce[];
void FR_NHC_46FFI_46unsafeForeignPtrToPtr(void);
extern Node FN_Prelude_46error[];
extern Node TMSUB_NHC_46FFI[];
void FR_NHC_46FFI_46newForeignPtr_35(void);
extern Node CF_NHC_46FFI_46nullFunPtr[];
extern Node FN_Prelude_46Show_46NHC_46FFI_46Ptr_46showsPrec[];
extern Node FN_Prelude_46_95_46show[];
extern Node CF_Prelude_46Show_46NHC_46FFI_46ForeignPtr[];
extern Node FN_Prelude_46_95_46showsType[];
extern Node FN_Prelude_46_95_46showList[];
extern Node FN_Prelude_46Ord_46NHC_46FFI_46Ptr_46compare[];
extern Node FN_Prelude_46_95_46min[];
extern Node CF_Prelude_46Ord_46NHC_46FFI_46ForeignPtr[];
extern Node FN_Prelude_46_95_46max[];
extern Node FN_Prelude_46_95_46_62[];
extern Node FN_Prelude_46_95_46_62_61[];
extern Node FN_Prelude_46_95_46_60[];
extern Node FN_Prelude_46_95_46_60_61[];
extern Node FN_Prelude_46Eq_46NHC_46FFI_46Ptr_46_61_61[];
extern Node FN_Prelude_46_95_46_47_61[];
extern Node CF_Prelude_46Eq_46NHC_46FFI_46ForeignPtr[];
void FR_NHC_46FFI_46foreignPtrToInt(void);

static Node startLabel[] = {
  42
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v538)
,};
Node FN_NHC_46FFI_46addConcForeignPtrFinalizer[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(ZAP_ARG_I1,ZAP_ARG_I2,NEEDHEAP_I32,HEAP_CVAL_IN3)
, bytes2word(PUSH_HEAP,HEAP_CVAL_I3,HEAP_OFF_N1,2)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 0
, CONSTR(0,0,0)
, 1420001
, useLabel(ST_v537)
,	/* CT_v538: (byte 0) */
  HW(1,2)
, 0
,};
Node F0_NHC_46FFI_46addConcForeignPtrFinalizer[] = {
  CAPTAG(useLabel(FN_NHC_46FFI_46addConcForeignPtrFinalizer),2)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46return))
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v540)
,	/* FN_NHC_46FFI_46primForeignPtr_35: (byte 0) */
  useLabel(TM_NHC_46FFI)
, bytes2word(PUSH_ARG_I1,EVAL,POP_I1,PUSH_ARG_I2)
, bytes2word(EVAL,POP_I1,PRIMITIVE,NOP)
, useLabel(FR_NHC_46FFI_46primForeignPtr_35)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 1330001
, useLabel(ST_v539)
,	/* CT_v540: (byte 0) */
  HW(0,2)
, 0
,	/* F0_NHC_46FFI_46primForeignPtr_35: (byte 0) */
  CAPTAG(useLabel(FN_NHC_46FFI_46primForeignPtr_35),2)
, bytes2word(0,0,0,0)
, useLabel(CT_v542)
,	/* FN_NHC_46FFI_46primForeignPtr: (byte 0) */
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 1330001
, useLabel(ST_v541)
,	/* CT_v542: (byte 0) */
  HW(2,0)
, 0
,	/* CF_NHC_46FFI_46primForeignPtr: (byte 0) */
  VAPTAG(useLabel(FN_NHC_46FFI_46primForeignPtr))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95mkIOok2))
, useLabel(F0_NHC_46FFI_46primForeignPtr_35)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v544)
,};
Node FN_NHC_46FFI_46newConcForeignPtr[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,HEAP_ARG,1)
, bytes2word(PUSH_HEAP,HEAP_CVAL_IN3,HEAP_OFF_N1,3)
, bytes2word(PUSH_P1,0,PUSH_ARG_I2,PUSH_HEAP)
, bytes2word(HEAP_CVAL_I4,ZAP_ARG_I1,ZAP_ARG_I2,ZAP_STACK_P1)
, bytes2word(3,EVAL,NEEDHEAP_I32,APPLY)
, bytes2word(2,RETURN_EVAL,ENDCODE,0)
, bytes2word(0,0,0,0)
, 0
, CONSTR(0,1,0)
, 1390001
, useLabel(ST_v543)
,	/* CT_v544: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_NHC_46FFI_46newConcForeignPtr[] = {
  CAPTAG(useLabel(FN_NHC_46FFI_46newConcForeignPtr),2)
, VAPTAG(useLabel(FN_NHC_46Internal_46unsafePerformIO))
, VAPTAG(useLabel(FN_NHC_46FFI_46primForeignPtr))
, bytes2word(1,0,0,1)
, useLabel(CT_v546)
,};
Node FN_NHC_46FFI_46castForeignPtr[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_ARG)
, bytes2word(1,RETURN_EVAL,ENDCODE,0)
, bytes2word(0,0,0,0)
, 1200001
, useLabel(ST_v545)
,	/* CT_v546: (byte 0) */
  HW(1,1)
, 0
,};
Node F0_NHC_46FFI_46castForeignPtr[] = {
  CAPTAG(useLabel(FN_NHC_46FFI_46castForeignPtr),1)
, VAPTAG(useLabel(FN_NonStdUnsafeCoerce_46unsafeCoerce))
, bytes2word(1,0,0,1)
, useLabel(CT_v548)
,};
Node FN_NHC_46FFI_46touchForeignPtr[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(ZAP_ARG_I1,NEEDHEAP_I32,HEAP_CVAL_IN3,PUSH_HEAP)
, bytes2word(HEAP_CVAL_I3,HEAP_OFF_N1,2,RETURN_EVAL)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, 0
, CONSTR(0,0,0)
, 1170001
, useLabel(ST_v547)
,	/* CT_v548: (byte 0) */
  HW(1,1)
, 0
,};
Node F0_NHC_46FFI_46touchForeignPtr[] = {
  CAPTAG(useLabel(FN_NHC_46FFI_46touchForeignPtr),1)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46return))
, bytes2word(1,0,0,1)
, useLabel(CT_v550)
,};
Node FN_NHC_46FFI_46unsafeForeignPtrToPtr[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(PUSH_ARG_I1,EVAL,POP_I1,PRIMITIVE)
, useLabel(FR_NHC_46FFI_46unsafeForeignPtrToPtr)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 1110001
, useLabel(ST_v549)
,	/* CT_v550: (byte 0) */
  HW(0,1)
, 0
,};
Node F0_NHC_46FFI_46unsafeForeignPtrToPtr[] = {
  CAPTAG(useLabel(FN_NHC_46FFI_46unsafeForeignPtrToPtr),1)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v552)
,};
Node FN_NHC_46FFI_46withForeignPtr[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_ARG)
, bytes2word(1,PUSH_P1,0,PUSH_ARG_I2)
, bytes2word(ZAP_ARG_I1,ZAP_ARG_I2,ZAP_STACK_P1,2)
, bytes2word(EVAL,NEEDHEAP_I32,APPLY,1)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 1000001
, useLabel(ST_v551)
,	/* CT_v552: (byte 0) */
  HW(1,2)
, 0
,};
Node F0_NHC_46FFI_46withForeignPtr[] = {
  CAPTAG(useLabel(FN_NHC_46FFI_46withForeignPtr),2)
, VAPTAG(useLabel(FN_NHC_46FFI_46unsafeForeignPtrToPtr))
, bytes2word(3,0,2,1)
, bytes2word(1,2,0,3)
, useLabel(CT_v554)
,};
Node FN_NHC_46FFI_46addForeignPtrFinalizerEnv[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(ZAP_ARG_I1,ZAP_ARG_I2,ZAP_ARG_I3,NEEDHEAP_I32)
, bytes2word(HEAP_CVAL_IN3,PUSH_HEAP,HEAP_CVAL_I3,HEAP_OFF_N1)
, bytes2word(2,RETURN_EVAL,ENDCODE,0)
, bytes2word(0,0,0,0)
, 0
, CONSTR(0,0,0)
, 950001
, useLabel(ST_v553)
,	/* CT_v554: (byte 0) */
  HW(1,3)
, 0
,};
Node F0_NHC_46FFI_46addForeignPtrFinalizerEnv[] = {
  CAPTAG(useLabel(FN_NHC_46FFI_46addForeignPtrFinalizerEnv),3)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46return))
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v556)
,};
Node FN_NHC_46FFI_46addForeignPtrFinalizer[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(ZAP_ARG_I1,ZAP_ARG_I2,NEEDHEAP_I32,HEAP_CVAL_IN3)
, bytes2word(PUSH_HEAP,HEAP_CVAL_I3,HEAP_OFF_N1,2)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 0
, CONSTR(0,0,0)
, 910001
, useLabel(ST_v555)
,	/* CT_v556: (byte 0) */
  HW(1,2)
, 0
,};
Node F0_NHC_46FFI_46addForeignPtrFinalizer[] = {
  CAPTAG(useLabel(FN_NHC_46FFI_46addForeignPtrFinalizer),2)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46return))
, bytes2word(3,0,2,1)
, bytes2word(1,2,0,3)
, useLabel(CT_v558)
,};
Node FN_NHC_46FFI_46newForeignPtrEnv[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(ZAP_ARG_I1,ZAP_ARG_I2,ZAP_ARG_I3,NEEDHEAP_I32)
, bytes2word(HEAP_CVAL_I3,PUSH_HEAP,HEAP_CVAL_I4,HEAP_OFF_N1)
, bytes2word(2,RETURN_EVAL,ENDCODE,0)
, bytes2word(0,0,0,0)
, 870001
, useLabel(ST_v557)
,	/* CT_v558: (byte 0) */
  HW(2,3)
, 0
,};
Node F0_NHC_46FFI_46newForeignPtrEnv[] = {
  CAPTAG(useLabel(FN_NHC_46FFI_46newForeignPtrEnv),3)
, VAPTAG(useLabel(FN_LAMBDA533))
, VAPTAG(useLabel(FN_Prelude_46error))
, bytes2word(0,0,0,0)
, useLabel(CT_v561)
,	/* FN_LAMBDA533: (byte 0) */
  useLabel(TMSUB_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_CADR_N1,4,STRING)
, bytes2word(RETURN,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, CONSTRW(1,0)
, useLabel(ST_v560)
, 870034
, useLabel(ST_v559)
,	/* CT_v561: (byte 0) */
  HW(0,0)
, 0
,	/* CF_LAMBDA533: (byte 0) */
  VAPTAG(useLabel(FN_LAMBDA533))
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v563)
,	/* FN_NHC_46FFI_46newForeignPtr_35: (byte 0) */
  useLabel(TM_NHC_46FFI)
, bytes2word(PUSH_ARG_I1,EVAL,POP_I1,PUSH_ARG_I2)
, bytes2word(EVAL,POP_I1,PRIMITIVE,NOP)
, useLabel(FR_NHC_46FFI_46newForeignPtr_35)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 770001
, useLabel(ST_v562)
,	/* CT_v563: (byte 0) */
  HW(0,2)
, 0
,	/* F0_NHC_46FFI_46newForeignPtr_35: (byte 0) */
  CAPTAG(useLabel(FN_NHC_46FFI_46newForeignPtr_35),2)
, bytes2word(0,0,0,0)
, useLabel(CT_v565)
,};
Node FN_NHC_46FFI_46newForeignPtr[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 770001
, useLabel(ST_v564)
,	/* CT_v565: (byte 0) */
  HW(2,0)
, 0
,};
Node CF_NHC_46FFI_46newForeignPtr[] = {
  VAPTAG(useLabel(FN_NHC_46FFI_46newForeignPtr))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95mkIOok2))
, useLabel(F0_NHC_46FFI_46newForeignPtr_35)
, bytes2word(1,0,0,1)
, useLabel(CT_v567)
,};
Node FN_NHC_46FFI_46newForeignPtr_95[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_ARG_I1,PUSH_CVAL_P1,3)
, bytes2word(PUSH_HEAP,HEAP_CVAL_I4,ZAP_ARG_I1,EVAL)
, bytes2word(NEEDHEAP_I32,APPLY,2,RETURN_EVAL)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, 820001
, useLabel(ST_v566)
,	/* CT_v567: (byte 0) */
  HW(2,1)
, 0
,};
Node F0_NHC_46FFI_46newForeignPtr_95[] = {
  CAPTAG(useLabel(FN_NHC_46FFI_46newForeignPtr_95),1)
, useLabel(CF_NHC_46FFI_46nullFunPtr)
, VAPTAG(useLabel(FN_NHC_46FFI_46newForeignPtr))
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v569)
,};
Node FN_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46showsPrec[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,HEAP_ARG,2)
, bytes2word(PUSH_HEAP,HEAP_CVAL_I4,HEAP_ARG,1)
, bytes2word(HEAP_OFF_N1,4,RETURN_EVAL,ENDCODE)
, bytes2word(0,0,0,0)
, 650003
, useLabel(ST_v568)
,	/* CT_v569: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46showsPrec[] = {
  CAPTAG(useLabel(FN_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46showsPrec),2)
, VAPTAG(useLabel(FN_NHC_46FFI_46unsafeForeignPtrToPtr))
, VAPTAG(useLabel(FN_Prelude_46Show_46NHC_46FFI_46Ptr_46showsPrec))
, bytes2word(1,0,0,1)
, useLabel(CT_v571)
,};
Node FN_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46show[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG,1,RETURN_EVAL,ENDCODE)
, bytes2word(0,0,0,0)
, 640010
, useLabel(ST_v570)
,	/* CT_v571: (byte 0) */
  HW(2,1)
, 0
,};
Node F0_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46show[] = {
  CAPTAG(useLabel(FN_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46show),1)
, VAPTAG(useLabel(FN_Prelude_46_95_46show))
, useLabel(CF_Prelude_46Show_46NHC_46FFI_46ForeignPtr)
, bytes2word(1,0,0,1)
, useLabel(CT_v573)
,};
Node FN_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46showsType[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG,1,RETURN_EVAL,ENDCODE)
, bytes2word(0,0,0,0)
, 640010
, useLabel(ST_v572)
,	/* CT_v573: (byte 0) */
  HW(2,1)
, 0
,};
Node F0_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46showsType[] = {
  CAPTAG(useLabel(FN_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46showsType),1)
, VAPTAG(useLabel(FN_Prelude_46_95_46showsType))
, useLabel(CF_Prelude_46Show_46NHC_46FFI_46ForeignPtr)
, bytes2word(1,0,0,1)
, useLabel(CT_v575)
,};
Node FN_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46showList[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG,1,RETURN_EVAL,ENDCODE)
, bytes2word(0,0,0,0)
, 640010
, useLabel(ST_v574)
,	/* CT_v575: (byte 0) */
  HW(2,1)
, 0
,};
Node F0_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46showList[] = {
  CAPTAG(useLabel(FN_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46showList),1)
, VAPTAG(useLabel(FN_Prelude_46_95_46showList))
, useLabel(CF_Prelude_46Show_46NHC_46FFI_46ForeignPtr)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v577)
,};
Node FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46compare[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,HEAP_ARG,1)
, bytes2word(HEAP_CVAL_I3,HEAP_ARG,2,PUSH_HEAP)
, bytes2word(HEAP_CVAL_I4,HEAP_OFF_N1,5,HEAP_OFF_N1)
, bytes2word(4,RETURN_EVAL,ENDCODE,0)
, bytes2word(0,0,0,0)
, 630003
, useLabel(ST_v576)
,	/* CT_v577: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46compare[] = {
  CAPTAG(useLabel(FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46compare),2)
, VAPTAG(useLabel(FN_NHC_46FFI_46unsafeForeignPtrToPtr))
, VAPTAG(useLabel(FN_Prelude_46Ord_46NHC_46FFI_46Ptr_46compare))
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v579)
,};
Node FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46min[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG_ARG_RET_EVAL,1,2,ENDCODE)
, bytes2word(0,0,0,0)
, 620010
, useLabel(ST_v578)
,	/* CT_v579: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46min[] = {
  CAPTAG(useLabel(FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46min),2)
, VAPTAG(useLabel(FN_Prelude_46_95_46min))
, useLabel(CF_Prelude_46Ord_46NHC_46FFI_46ForeignPtr)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v581)
,};
Node FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46max[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG_ARG_RET_EVAL,1,2,ENDCODE)
, bytes2word(0,0,0,0)
, 620010
, useLabel(ST_v580)
,	/* CT_v581: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46max[] = {
  CAPTAG(useLabel(FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46max),2)
, VAPTAG(useLabel(FN_Prelude_46_95_46max))
, useLabel(CF_Prelude_46Ord_46NHC_46FFI_46ForeignPtr)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v583)
,};
Node FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_62[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG_ARG_RET_EVAL,1,2,ENDCODE)
, bytes2word(0,0,0,0)
, 620010
, useLabel(ST_v582)
,	/* CT_v583: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_62[] = {
  CAPTAG(useLabel(FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_62),2)
, VAPTAG(useLabel(FN_Prelude_46_95_46_62))
, useLabel(CF_Prelude_46Ord_46NHC_46FFI_46ForeignPtr)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v585)
,};
Node FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_62_61[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG_ARG_RET_EVAL,1,2,ENDCODE)
, bytes2word(0,0,0,0)
, 620010
, useLabel(ST_v584)
,	/* CT_v585: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_62_61[] = {
  CAPTAG(useLabel(FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_62_61),2)
, VAPTAG(useLabel(FN_Prelude_46_95_46_62_61))
, useLabel(CF_Prelude_46Ord_46NHC_46FFI_46ForeignPtr)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v587)
,};
Node FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_60[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG_ARG_RET_EVAL,1,2,ENDCODE)
, bytes2word(0,0,0,0)
, 620010
, useLabel(ST_v586)
,	/* CT_v587: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_60[] = {
  CAPTAG(useLabel(FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_60),2)
, VAPTAG(useLabel(FN_Prelude_46_95_46_60))
, useLabel(CF_Prelude_46Ord_46NHC_46FFI_46ForeignPtr)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v589)
,};
Node FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_60_61[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG_ARG_RET_EVAL,1,2,ENDCODE)
, bytes2word(0,0,0,0)
, 620010
, useLabel(ST_v588)
,	/* CT_v589: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_60_61[] = {
  CAPTAG(useLabel(FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_60_61),2)
, VAPTAG(useLabel(FN_Prelude_46_95_46_60_61))
, useLabel(CF_Prelude_46Ord_46NHC_46FFI_46ForeignPtr)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v591)
,};
Node FN_Prelude_46Eq_46NHC_46FFI_46ForeignPtr_46_61_61[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,HEAP_ARG,1)
, bytes2word(HEAP_CVAL_I3,HEAP_ARG,2,PUSH_HEAP)
, bytes2word(HEAP_CVAL_I4,HEAP_OFF_N1,5,HEAP_OFF_N1)
, bytes2word(4,RETURN_EVAL,ENDCODE,0)
, bytes2word(0,0,0,0)
, 610003
, useLabel(ST_v590)
,	/* CT_v591: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Eq_46NHC_46FFI_46ForeignPtr_46_61_61[] = {
  CAPTAG(useLabel(FN_Prelude_46Eq_46NHC_46FFI_46ForeignPtr_46_61_61),2)
, VAPTAG(useLabel(FN_NHC_46FFI_46unsafeForeignPtrToPtr))
, VAPTAG(useLabel(FN_Prelude_46Eq_46NHC_46FFI_46Ptr_46_61_61))
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v593)
,};
Node FN_Prelude_46Eq_46NHC_46FFI_46ForeignPtr_46_47_61[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG_ARG_RET_EVAL,1,2,ENDCODE)
, bytes2word(0,0,0,0)
, 600010
, useLabel(ST_v592)
,	/* CT_v593: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Eq_46NHC_46FFI_46ForeignPtr_46_47_61[] = {
  CAPTAG(useLabel(FN_Prelude_46Eq_46NHC_46FFI_46ForeignPtr_46_47_61),2)
, VAPTAG(useLabel(FN_Prelude_46_95_46_47_61))
, useLabel(CF_Prelude_46Eq_46NHC_46FFI_46ForeignPtr)
, bytes2word(1,0,0,1)
, useLabel(CT_v595)
,	/* FN_NHC_46FFI_46foreignPtrToInt: (byte 0) */
  useLabel(TM_NHC_46FFI)
, bytes2word(PUSH_ARG_I1,EVAL,POP_I1,PRIMITIVE)
, useLabel(FR_NHC_46FFI_46foreignPtrToInt)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 590001
, useLabel(ST_v594)
,	/* CT_v595: (byte 0) */
  HW(0,1)
, 0
,	/* F0_NHC_46FFI_46foreignPtrToInt: (byte 0) */
  CAPTAG(useLabel(FN_NHC_46FFI_46foreignPtrToInt),1)
, bytes2word(0,0,0,0)
, useLabel(CT_v597)
,};
Node FN_Prelude_46Eq_46NHC_46FFI_46ForeignPtr[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_IN3,HEAP_CVAL_I3)
, bytes2word(HEAP_CVAL_I4,RETURN,ENDCODE,0)
, bytes2word(0,0,0,0)
, 0
, CONSTR(0,2,0)
, 600010
, useLabel(ST_v596)
,	/* CT_v597: (byte 0) */
  HW(2,0)
, 0
,};
Node CF_Prelude_46Eq_46NHC_46FFI_46ForeignPtr[] = {
  VAPTAG(useLabel(FN_Prelude_46Eq_46NHC_46FFI_46ForeignPtr))
, useLabel(F0_Prelude_46Eq_46NHC_46FFI_46ForeignPtr_46_47_61)
, useLabel(F0_Prelude_46Eq_46NHC_46FFI_46ForeignPtr_46_61_61)
, bytes2word(0,0,0,0)
, useLabel(CT_v599)
,};
Node FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_IN3,HEAP_CVAL_I3)
, bytes2word(HEAP_CVAL_I4,HEAP_CVAL_I5,HEAP_CVAL_P1,6)
, bytes2word(HEAP_CVAL_P1,7,HEAP_CVAL_P1,8)
, bytes2word(HEAP_CVAL_P1,9,HEAP_CVAL_P1,10)
, bytes2word(RETURN,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 0
, CONSTR(0,8,0)
, 620010
, useLabel(ST_v598)
,	/* CT_v599: (byte 0) */
  HW(8,0)
, 0
,};
Node CF_Prelude_46Ord_46NHC_46FFI_46ForeignPtr[] = {
  VAPTAG(useLabel(FN_Prelude_46Ord_46NHC_46FFI_46ForeignPtr))
, useLabel(CF_Prelude_46Eq_46NHC_46FFI_46ForeignPtr)
, useLabel(F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_60)
, useLabel(F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_60_61)
, useLabel(F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_62_61)
, useLabel(F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46_62)
, useLabel(F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46compare)
, useLabel(F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46min)
, useLabel(F0_Prelude_46Ord_46NHC_46FFI_46ForeignPtr_46max)
, bytes2word(0,0,0,0)
, useLabel(CT_v601)
,};
Node FN_Prelude_46Show_46NHC_46FFI_46ForeignPtr[] = {
  useLabel(TM_NHC_46FFI)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_IN3,HEAP_CVAL_I3)
, bytes2word(HEAP_CVAL_I4,HEAP_CVAL_I5,HEAP_CVAL_P1,6)
, bytes2word(RETURN,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 0
, CONSTR(0,4,0)
, 640010
, useLabel(ST_v600)
,	/* CT_v601: (byte 0) */
  HW(4,0)
, 0
,};
Node CF_Prelude_46Show_46NHC_46FFI_46ForeignPtr[] = {
  VAPTAG(useLabel(FN_Prelude_46Show_46NHC_46FFI_46ForeignPtr))
, useLabel(F0_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46showsPrec)
, useLabel(F0_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46showsType)
, useLabel(F0_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46showList)
, useLabel(F0_Prelude_46Show_46NHC_46FFI_46ForeignPtr_46show)
,	/* ST_v560: (byte 0) */
  bytes2word(70,111,114,101)
, bytes2word(105,103,110,46)
, bytes2word(110,101,119,70)
, bytes2word(111,114,101,105)
, bytes2word(103,110,80,116)
, bytes2word(114,69,110,118)
, bytes2word(32,110,111,116)
, bytes2word(32,115,117,112)
, bytes2word(112,111,114,116)
,	/* ST_v537: (byte 3) */
  bytes2word(101,100,0,78)
, bytes2word(72,67,46,70)
, bytes2word(70,73,46,97)
, bytes2word(100,100,67,111)
, bytes2word(110,99,70,111)
, bytes2word(114,101,105,103)
, bytes2word(110,80,116,114)
, bytes2word(70,105,110,97)
, bytes2word(108,105,122,101)
,	/* ST_v555: (byte 2) */
  bytes2word(114,0,78,72)
, bytes2word(67,46,70,70)
, bytes2word(73,46,97,100)
, bytes2word(100,70,111,114)
, bytes2word(101,105,103,110)
, bytes2word(80,116,114,70)
, bytes2word(105,110,97,108)
, bytes2word(105,122,101,114)
,	/* ST_v553: (byte 1) */
  bytes2word(0,78,72,67)
, bytes2word(46,70,70,73)
, bytes2word(46,97,100,100)
, bytes2word(70,111,114,101)
, bytes2word(105,103,110,80)
, bytes2word(116,114,70,105)
, bytes2word(110,97,108,105)
, bytes2word(122,101,114,69)
,	/* ST_v545: (byte 3) */
  bytes2word(110,118,0,78)
, bytes2word(72,67,46,70)
, bytes2word(70,73,46,99)
, bytes2word(97,115,116,70)
, bytes2word(111,114,101,105)
, bytes2word(103,110,80,116)
,	/* ST_v594: (byte 2) */
  bytes2word(114,0,78,72)
, bytes2word(67,46,70,70)
, bytes2word(73,46,102,111)
, bytes2word(114,101,105,103)
, bytes2word(110,80,116,114)
, bytes2word(84,111,73,110)
,	/* ST_v543: (byte 2) */
  bytes2word(116,0,78,72)
, bytes2word(67,46,70,70)
, bytes2word(73,46,110,101)
, bytes2word(119,67,111,110)
, bytes2word(99,70,111,114)
, bytes2word(101,105,103,110)
,	/* ST_v564: (byte 4) */
  bytes2word(80,116,114,0)
, bytes2word(78,72,67,46)
, bytes2word(70,70,73,46)
, bytes2word(110,101,119,70)
, bytes2word(111,114,101,105)
, bytes2word(103,110,80,116)
,	/* ST_v562: (byte 2) */
  bytes2word(114,0,78,72)
, bytes2word(67,46,70,70)
, bytes2word(73,46,110,101)
, bytes2word(119,70,111,114)
, bytes2word(101,105,103,110)
, bytes2word(80,116,114,35)
,	/* ST_v557: (byte 1) */
  bytes2word(0,78,72,67)
, bytes2word(46,70,70,73)
, bytes2word(46,110,101,119)
, bytes2word(70,111,114,101)
, bytes2word(105,103,110,80)
, bytes2word(116,114,69,110)
,	/* ST_v559: (byte 2) */
  bytes2word(118,0,78,72)
, bytes2word(67,46,70,70)
, bytes2word(73,46,110,101)
, bytes2word(119,70,111,114)
, bytes2word(101,105,103,110)
, bytes2word(80,116,114,69)
, bytes2word(110,118,58,56)
, bytes2word(55,58,51,52)
, bytes2word(45,56,55,58)
,	/* ST_v566: (byte 3) */
  bytes2word(55,51,0,78)
, bytes2word(72,67,46,70)
, bytes2word(70,73,46,110)
, bytes2word(101,119,70,111)
, bytes2word(114,101,105,103)
, bytes2word(110,80,116,114)
,	/* ST_v541: (byte 2) */
  bytes2word(95,0,78,72)
, bytes2word(67,46,70,70)
, bytes2word(73,46,112,114)
, bytes2word(105,109,70,111)
, bytes2word(114,101,105,103)
, bytes2word(110,80,116,114)
,	/* ST_v539: (byte 1) */
  bytes2word(0,78,72,67)
, bytes2word(46,70,70,73)
, bytes2word(46,112,114,105)
, bytes2word(109,70,111,114)
, bytes2word(101,105,103,110)
, bytes2word(80,116,114,35)
,	/* ST_v547: (byte 1) */
  bytes2word(0,78,72,67)
, bytes2word(46,70,70,73)
, bytes2word(46,116,111,117)
, bytes2word(99,104,70,111)
, bytes2word(114,101,105,103)
, bytes2word(110,80,116,114)
,	/* ST_v549: (byte 1) */
  bytes2word(0,78,72,67)
, bytes2word(46,70,70,73)
, bytes2word(46,117,110,115)
, bytes2word(97,102,101,70)
, bytes2word(111,114,101,105)
, bytes2word(103,110,80,116)
, bytes2word(114,84,111,80)
,	/* ST_v551: (byte 3) */
  bytes2word(116,114,0,78)
, bytes2word(72,67,46,70)
, bytes2word(70,73,46,119)
, bytes2word(105,116,104,70)
, bytes2word(111,114,101,105)
, bytes2word(103,110,80,116)
,	/* ST_v596: (byte 2) */
  bytes2word(114,0,80,114)
, bytes2word(101,108,117,100)
, bytes2word(101,46,69,113)
, bytes2word(46,78,72,67)
, bytes2word(46,70,70,73)
, bytes2word(46,70,111,114)
, bytes2word(101,105,103,110)
,	/* ST_v592: (byte 4) */
  bytes2word(80,116,114,0)
, bytes2word(80,114,101,108)
, bytes2word(117,100,101,46)
, bytes2word(69,113,46,78)
, bytes2word(72,67,46,70)
, bytes2word(70,73,46,70)
, bytes2word(111,114,101,105)
, bytes2word(103,110,80,116)
, bytes2word(114,46,47,61)
,	/* ST_v590: (byte 1) */
  bytes2word(0,80,114,101)
, bytes2word(108,117,100,101)
, bytes2word(46,69,113,46)
, bytes2word(78,72,67,46)
, bytes2word(70,70,73,46)
, bytes2word(70,111,114,101)
, bytes2word(105,103,110,80)
, bytes2word(116,114,46,61)
,	/* ST_v598: (byte 2) */
  bytes2word(61,0,80,114)
, bytes2word(101,108,117,100)
, bytes2word(101,46,79,114)
, bytes2word(100,46,78,72)
, bytes2word(67,46,70,70)
, bytes2word(73,46,70,111)
, bytes2word(114,101,105,103)
, bytes2word(110,80,116,114)
,	/* ST_v586: (byte 1) */
  bytes2word(0,80,114,101)
, bytes2word(108,117,100,101)
, bytes2word(46,79,114,100)
, bytes2word(46,78,72,67)
, bytes2word(46,70,70,73)
, bytes2word(46,70,111,114)
, bytes2word(101,105,103,110)
, bytes2word(80,116,114,46)
,	/* ST_v588: (byte 2) */
  bytes2word(60,0,80,114)
, bytes2word(101,108,117,100)
, bytes2word(101,46,79,114)
, bytes2word(100,46,78,72)
, bytes2word(67,46,70,70)
, bytes2word(73,46,70,111)
, bytes2word(114,101,105,103)
, bytes2word(110,80,116,114)
,	/* ST_v582: (byte 4) */
  bytes2word(46,60,61,0)
, bytes2word(80,114,101,108)
, bytes2word(117,100,101,46)
, bytes2word(79,114,100,46)
, bytes2word(78,72,67,46)
, bytes2word(70,70,73,46)
, bytes2word(70,111,114,101)
, bytes2word(105,103,110,80)
, bytes2word(116,114,46,62)
,	/* ST_v584: (byte 1) */
  bytes2word(0,80,114,101)
, bytes2word(108,117,100,101)
, bytes2word(46,79,114,100)
, bytes2word(46,78,72,67)
, bytes2word(46,70,70,73)
, bytes2word(46,70,111,114)
, bytes2word(101,105,103,110)
, bytes2word(80,116,114,46)
,	/* ST_v576: (byte 3) */
  bytes2word(62,61,0,80)
, bytes2word(114,101,108,117)
, bytes2word(100,101,46,79)
, bytes2word(114,100,46,78)
, bytes2word(72,67,46,70)
, bytes2word(70,73,46,70)
, bytes2word(111,114,101,105)
, bytes2word(103,110,80,116)
, bytes2word(114,46,99,111)
, bytes2word(109,112,97,114)
,	/* ST_v580: (byte 2) */
  bytes2word(101,0,80,114)
, bytes2word(101,108,117,100)
, bytes2word(101,46,79,114)
, bytes2word(100,46,78,72)
, bytes2word(67,46,70,70)
, bytes2word(73,46,70,111)
, bytes2word(114,101,105,103)
, bytes2word(110,80,116,114)
, bytes2word(46,109,97,120)
,	/* ST_v578: (byte 1) */
  bytes2word(0,80,114,101)
, bytes2word(108,117,100,101)
, bytes2word(46,79,114,100)
, bytes2word(46,78,72,67)
, bytes2word(46,70,70,73)
, bytes2word(46,70,111,114)
, bytes2word(101,105,103,110)
, bytes2word(80,116,114,46)
,	/* ST_v600: (byte 4) */
  bytes2word(109,105,110,0)
, bytes2word(80,114,101,108)
, bytes2word(117,100,101,46)
, bytes2word(83,104,111,119)
, bytes2word(46,78,72,67)
, bytes2word(46,70,70,73)
, bytes2word(46,70,111,114)
, bytes2word(101,105,103,110)
,	/* ST_v570: (byte 4) */
  bytes2word(80,116,114,0)
, bytes2word(80,114,101,108)
, bytes2word(117,100,101,46)
, bytes2word(83,104,111,119)
, bytes2word(46,78,72,67)
, bytes2word(46,70,70,73)
, bytes2word(46,70,111,114)
, bytes2word(101,105,103,110)
, bytes2word(80,116,114,46)
, bytes2word(115,104,111,119)
,	/* ST_v574: (byte 1) */
  bytes2word(0,80,114,101)
, bytes2word(108,117,100,101)
, bytes2word(46,83,104,111)
, bytes2word(119,46,78,72)
, bytes2word(67,46,70,70)
, bytes2word(73,46,70,111)
, bytes2word(114,101,105,103)
, bytes2word(110,80,116,114)
, bytes2word(46,115,104,111)
, bytes2word(119,76,105,115)
,	/* ST_v568: (byte 2) */
  bytes2word(116,0,80,114)
, bytes2word(101,108,117,100)
, bytes2word(101,46,83,104)
, bytes2word(111,119,46,78)
, bytes2word(72,67,46,70)
, bytes2word(70,73,46,70)
, bytes2word(111,114,101,105)
, bytes2word(103,110,80,116)
, bytes2word(114,46,115,104)
, bytes2word(111,119,115,80)
,	/* ST_v572: (byte 4) */
  bytes2word(114,101,99,0)
, bytes2word(80,114,101,108)
, bytes2word(117,100,101,46)
, bytes2word(83,104,111,119)
, bytes2word(46,78,72,67)
, bytes2word(46,70,70,73)
, bytes2word(46,70,111,114)
, bytes2word(101,105,103,110)
, bytes2word(80,116,114,46)
, bytes2word(115,104,111,119)
, bytes2word(115,84,121,112)
, bytes2word(101,0,0,0)
,};

#include <haskell2c.h>
#include <HsFFI.h>

/* foreign import ccall "primForeignObjC" NHC.FFI.primForeignPtr# 2 :: FFI.Ptr -> 2 -> FFI.ForeignPtr */
extern void* primForeignObjC(void*,Node*);
#ifdef PROFILE
static SInfo pf_NHC_46FFI_46primForeignPtr_35 = {"NHC.FFI","NHC.FFI.primForeignPtr#","FFI.ForeignPtr"};
#endif
C_HEADER(FR_NHC_46FFI_46primForeignPtr_35) {
  NodePtr nodeptr;
  void* result;
  void* arg1;
  Node* arg2;
  nodeptr = C_GETARG1(1);
  IND_REMOVE(nodeptr);
  arg1 = (void*)GET_INT_VALUE(nodeptr);
  nodeptr = C_GETARG1(2);
  IND_REMOVE(nodeptr);
  arg2 = (Node*)nodeptr;

  result = primForeignObjC(arg1,arg2);

  nodeptr = result;
  INIT_PROFINFO(nodeptr,&pf_NHC_46FFI_46primForeignPtr_35);
  C_RETURN(nodeptr);
}

/* foreign import cast "unsafeForeignPtrToPtr" NHC.FFI.unsafeForeignPtrToPtr 1 :: FFI.ForeignPtr -> FFI.Ptr */
#ifdef PROFILE
static SInfo pf_NHC_46FFI_46unsafeForeignPtrToPtr = {"NHC.FFI","NHC.FFI.unsafeForeignPtrToPtr","FFI.Ptr"};
#endif
C_HEADER(FR_NHC_46FFI_46unsafeForeignPtrToPtr) {
  NodePtr nodeptr;
  void* result;
  void* arg1;
  nodeptr = C_GETARG1(1);
  IND_REMOVE(nodeptr);
  arg1 = (void*)derefForeignObj((ForeignObj*)GET_INT_VALUE(nodeptr));

  result = (void*)(arg1);

  nodeptr = nhc_mkInt((int)result);
  INIT_PROFINFO(nodeptr,&pf_NHC_46FFI_46unsafeForeignPtrToPtr);
  C_RETURN(nodeptr);
}

/* foreign import ccall "primForeignPtrC" NHC.FFI.newForeignPtr# 2 :: FFI.FunPtr(FFI.Ptr -> Prelude.()) -> FFI.Ptr -> FFI.ForeignPtr */
extern void* primForeignPtrC(void(*)(void*),void*);
#ifdef PROFILE
static SInfo pf_NHC_46FFI_46newForeignPtr_35 = {"NHC.FFI","NHC.FFI.newForeignPtr#","FFI.ForeignPtr"};
#endif
C_HEADER(FR_NHC_46FFI_46newForeignPtr_35) {
  NodePtr nodeptr;
  void* result;
  void(*arg1)(void*);
  void* arg2;
  nodeptr = C_GETARG1(1);
  IND_REMOVE(nodeptr);
  arg1 = (void(*)(void*))GET_INT_VALUE(nodeptr);
  nodeptr = C_GETARG1(2);
  IND_REMOVE(nodeptr);
  arg2 = (void*)GET_INT_VALUE(nodeptr);

  result = primForeignPtrC(arg1,arg2);

  nodeptr = result;
  INIT_PROFINFO(nodeptr,&pf_NHC_46FFI_46newForeignPtr_35);
  C_RETURN(nodeptr);
}

/* foreign import cast "foreignPtrToInt" NHC.FFI.foreignPtrToInt 1 :: FFI.ForeignPtr -> Prelude.Int */
#ifdef PROFILE
static SInfo pf_NHC_46FFI_46foreignPtrToInt = {"NHC.FFI","NHC.FFI.foreignPtrToInt","Prelude.Int"};
#endif
C_HEADER(FR_NHC_46FFI_46foreignPtrToInt) {
  NodePtr nodeptr;
  HsInt result;
  void* arg1;
  nodeptr = C_GETARG1(1);
  IND_REMOVE(nodeptr);
  arg1 = (void*)derefForeignObj((ForeignObj*)GET_INT_VALUE(nodeptr));

  result = (HsInt)(arg1);

  nodeptr = nhc_mkInt(result);
  INIT_PROFINFO(nodeptr,&pf_NHC_46FFI_46foreignPtrToInt);
  C_RETURN(nodeptr);
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].