Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Array/Replace.p.c

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


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

#define CT_v246	((void*)startLabel+188)
#define FN_LAMBDA232	((void*)startLabel+252)
#define CT_v254	((void*)startLabel+444)
#define F0_LAMBDA232	((void*)startLabel+452)
#define FN_LAMBDA231	((void*)startLabel+508)
#define CT_v264	((void*)startLabel+692)
#define F0_LAMBDA231	((void*)startLabel+700)
#define ST_v239	((void*)startLabel+732)
#define PP_LAMBDA232	((void*)startLabel+741)
#define PC_LAMBDA232	((void*)startLabel+741)
#define ST_v248	((void*)startLabel+741)
#define PP_LAMBDA231	((void*)startLabel+762)
#define PC_LAMBDA231	((void*)startLabel+762)
#define ST_v258	((void*)startLabel+762)
#define PS_v241	((void*)startLabel+784)
#define PS_v245	((void*)startLabel+796)
#define PS_v242	((void*)startLabel+808)
#define PS_v238	((void*)startLabel+820)
#define PS_v244	((void*)startLabel+832)
#define PS_v243	((void*)startLabel+844)
#define PS_v262	((void*)startLabel+856)
#define PS_v263	((void*)startLabel+868)
#define PS_v260	((void*)startLabel+880)
#define PS_v261	((void*)startLabel+892)
#define PS_v257	((void*)startLabel+904)
#define PS_v251	((void*)startLabel+916)
#define PS_v250	((void*)startLabel+928)
#define PS_v253	((void*)startLabel+940)
#define PS_v252	((void*)startLabel+952)
#define PS_v249	((void*)startLabel+964)
#define PS_v247	((void*)startLabel+976)
extern Node FN_Array_46primCopyVectorC[];
extern Node FN_NHC_46Internal_46_95apply1[];
extern Node FN_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61[];
extern Node FN_NHC_46Internal_46unsafePerformIO[];
extern Node FN_Prelude_46mapM_95[];
extern Node CF_Prelude_46Monad_46NHC_46Internal_46IO[];
extern Node FN_Prelude_46Monad_46NHC_46Internal_46IO_46return[];
extern Node FN_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62[];
extern Node FN_Ix_46index[];
extern Node FN_NHC_46Internal_46_95apply2[];
extern Node FN_Array_46primUpdateVectorC[];
extern Node PM_Array[];
extern Node PC_Array_46primCopyVectorC[];
extern Node PC_NHC_46Internal_46unsafePerformIO[];
extern Node PC_NHC_46Internal_46_95apply1[];
extern Node PC_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61[];
extern Node PC_Array_46_95E[];
extern Node PC_Array_46primUpdateVectorC[];
extern Node PC_Ix_46index[];
extern Node PC_NHC_46Internal_46_95apply2[];
extern Node PC_Array_46MkArray[];
extern Node PC_Prelude_46mapM_95[];
extern Node PC_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62[];
extern Node PC_Prelude_46Monad_46NHC_46Internal_46IO_46return[];

static Node startLabel[] = {
  bytes2word(3,0,2,1)
, bytes2word(1,2,0,3)
, useLabel(CT_v246)
,};
Node FN_Array_46_47_47[] = {
  bytes2word(NEEDSTACK_I16,PUSH_ZAP_ARG_I2,EVAL,NEEDHEAP_P1)
, bytes2word(33,UNPACK,2,HEAP_CVAL_P1)
, bytes2word(7,HEAP_CVAL_N1,7,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,HEAP_CVAL_P1,8)
, bytes2word(HEAP_CVAL_N1,12,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_OFF_N1,10,HEAP_I1)
, bytes2word(HEAP_CVAL_P1,9,HEAP_CVAL_N1,17)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,HEAP_ARG_ARG)
, bytes2word(1,3,HEAP_P1,0)
, bytes2word(HEAP_CVAL_P1,10,HEAP_CVAL_N1,22)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1)
, bytes2word(20,HEAP_OFF_N1,14,PUSH_HEAP)
, bytes2word(HEAP_CVAL_P1,11,HEAP_CVAL_N1,27)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1)
, bytes2word(12,RETURN_EVAL,ENDCODE,0)
, bytes2word(0,0,0,0)
, 0
, useLabel(PS_v245)
, 0
, 0
, 0
, 0
, useLabel(PS_v244)
, 0
, 0
, 0
, 0
, useLabel(PS_v243)
, 0
, 0
, 0
, 0
, useLabel(PS_v242)
, 0
, 0
, 0
, 0
, useLabel(PS_v241)
, 0
, 0
, 0
, 0
, 120001
, useLabel(ST_v239)
,	/* CT_v246: (byte 0) */
  HW(5,3)
, 0
,};
Node F0_Array_46_47_47[] = {
  CAPTAG(useLabel(FN_Array_46_47_47),3)
, useLabel(PS_v238)
, 0
, 0
, 0
, VAPTAG(useLabel(FN_Array_46primCopyVectorC))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply1))
, CAPTAG(useLabel(FN_LAMBDA232),1)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61))
, VAPTAG(useLabel(FN_NHC_46Internal_46unsafePerformIO))
, bytes2word(0,0,4,0)
, bytes2word(3,1,2,2)
, bytes2word(1,3,0,4)
, useLabel(CT_v254)
,	/* FN_LAMBDA232: (byte 0) */
  bytes2word(NEEDHEAP_P1,37,HEAP_CVAL_P1,7)
, bytes2word(HEAP_CVAL_N1,7,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_ARG_ARG,1,3)
, bytes2word(HEAP_ARG,4,HEAP_CVAL_P1,8)
, bytes2word(HEAP_CVAL_N1,12,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_CVAL_P1,9,HEAP_OFF_N1)
, bytes2word(14,HEAP_ARG,2,HEAP_CVAL_N1)
, bytes2word(17,HEAP_CVAL_N1,22,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,HEAP_ARG_ARG,3)
, bytes2word(4,HEAP_CVAL_P1,10,HEAP_CVAL_N1)
, bytes2word(27,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(HEAP_OFF_N1,12,PUSH_HEAP,HEAP_CVAL_P1)
, bytes2word(11,HEAP_CVAL_N1,32,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1,26)
, bytes2word(HEAP_OFF_N1,12,RETURN_EVAL,ENDCODE)
, bytes2word(0,0,0,0)
, useLabel(PS_v253)
, 0
, 0
, 0
, 0
, useLabel(PS_v252)
, 0
, 0
, 0
, 0
, useLabel(PS_v251)
, 0
, 0
, 0
, 0
, CONSTR(0,2,0)
, 0
, 0
, 0
, 0
, useLabel(PS_v250)
, 0
, 0
, 0
, 0
, useLabel(PS_v249)
, 0
, 0
, 0
, 0
, 130033
, useLabel(ST_v248)
,	/* CT_v254: (byte 0) */
  HW(5,4)
, 0
,	/* F0_LAMBDA232: (byte 0) */
  CAPTAG(useLabel(FN_LAMBDA232),4)
, useLabel(PS_v247)
, 0
, 0
, 0
, CAPTAG(useLabel(FN_LAMBDA231),1)
, VAPTAG(useLabel(FN_Prelude_46mapM_95))
, useLabel(CF_Prelude_46Monad_46NHC_46Internal_46IO)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46return))
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62))
, bytes2word(0,0,4,0)
, bytes2word(3,1,2,2)
, bytes2word(1,3,0,4)
, useLabel(CT_v264)
,	/* FN_LAMBDA231: (byte 0) */
  bytes2word(NEEDSTACK_I16,PUSH_ZAP_ARG,4,EVAL)
, bytes2word(NEEDHEAP_I32,UNPACK,2,HEAP_CVAL_P1)
, bytes2word(7,HEAP_CVAL_N1,7,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,HEAP_ARG,1)
, bytes2word(PUSH_HEAP,HEAP_CVAL_P1,8,HEAP_CVAL_N1)
, bytes2word(12,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(HEAP_OFF_N1,11,HEAP_ARG,2)
, bytes2word(HEAP_I1,PUSH_HEAP,HEAP_CVAL_N1,17)
, bytes2word(HEAP_CVAL_N1,22,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_P1,3,PUSH_ARG_I3)
, bytes2word(PUSH_I1,PUSH_P1,3,PUSH_HEAP)
, bytes2word(HEAP_CVAL_P1,9,HEAP_CVAL_N1,27)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,ZAP_ARG_I1)
, bytes2word(ZAP_ARG_I2,ZAP_ARG_I3,ZAP_STACK_P1,7)
, bytes2word(ZAP_STACK_P1,6,ZAP_STACK_P1,5)
, bytes2word(ZAP_STACK_P1,4,EVAL,NEEDHEAP_I32)
, bytes2word(APPLY,3,RETURN_EVAL,ENDCODE)
, bytes2word(0,0,0,0)
, 0
, useLabel(PS_v263)
, 0
, 0
, 0
, 0
, useLabel(PS_v262)
, 0
, 0
, 0
, 0
, CONSTR(0,1,0)
, 0
, 0
, 0
, 0
, useLabel(PS_v261)
, 0
, 0
, 0
, 0
, useLabel(PS_v260)
, 0
, 0
, 0
, 0
, 140034
, useLabel(ST_v258)
,	/* CT_v264: (byte 0) */
  HW(3,4)
, 0
,	/* F0_LAMBDA231: (byte 0) */
  CAPTAG(useLabel(FN_LAMBDA231),4)
, useLabel(PS_v257)
, 0
, 0
, 0
, VAPTAG(useLabel(FN_Ix_46index))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply2))
, VAPTAG(useLabel(FN_Array_46primUpdateVectorC))
,};
Node PP_Array_46_47_47[] = {
 };
Node PC_Array_46_47_47[] = {
 	/* ST_v239: (byte 0) */
  bytes2word(65,114,114,97)
, bytes2word(121,46,47,47)
,	/* PP_LAMBDA232: (byte 1) */
 	/* PC_LAMBDA232: (byte 1) */
 	/* ST_v248: (byte 1) */
  bytes2word(0,65,114,114)
, bytes2word(97,121,46,47)
, bytes2word(47,58,49,51)
, bytes2word(58,51,51,45)
, bytes2word(49,51,58,52)
,	/* PP_LAMBDA231: (byte 2) */
 	/* PC_LAMBDA231: (byte 2) */
 	/* ST_v258: (byte 2) */
  bytes2word(57,0,65,114)
, bytes2word(114,97,121,46)
, bytes2word(47,47,58,49)
, bytes2word(52,58,51,52)
, bytes2word(45,49,54,58)
, bytes2word(54,53,0,0)
,	/* PS_v241: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_Array_46_47_47)
, useLabel(PC_Array_46primCopyVectorC)
,	/* PS_v245: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_Array_46_47_47)
, useLabel(PC_NHC_46Internal_46unsafePerformIO)
,	/* PS_v242: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_Array_46_47_47)
, useLabel(PC_NHC_46Internal_46_95apply1)
,	/* PS_v238: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_Array_46_47_47)
, useLabel(PC_Array_46_47_47)
,	/* PS_v244: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_Array_46_47_47)
, useLabel(PC_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61)
,	/* PS_v243: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_Array_46_47_47)
, useLabel(PC_LAMBDA232)
,	/* PS_v262: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_LAMBDA231)
, useLabel(PC_Array_46_95E)
,	/* PS_v263: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_LAMBDA231)
, useLabel(PC_Array_46primUpdateVectorC)
,	/* PS_v260: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_LAMBDA231)
, useLabel(PC_Ix_46index)
,	/* PS_v261: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_LAMBDA231)
, useLabel(PC_NHC_46Internal_46_95apply2)
,	/* PS_v257: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_LAMBDA231)
, useLabel(PC_LAMBDA231)
,	/* PS_v251: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_LAMBDA232)
, useLabel(PC_Array_46MkArray)
,	/* PS_v250: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_LAMBDA232)
, useLabel(PC_Prelude_46mapM_95)
,	/* PS_v253: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_LAMBDA232)
, useLabel(PC_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62)
,	/* PS_v252: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_LAMBDA232)
, useLabel(PC_Prelude_46Monad_46NHC_46Internal_46IO_46return)
,	/* PS_v249: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_LAMBDA232)
, useLabel(PC_LAMBDA231)
,	/* PS_v247: (byte 0) */
  useLabel(PM_Array)
, useLabel(PP_LAMBDA232)
, useLabel(PC_LAMBDA232)
,};

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.