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

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


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

#define FN_System_46cGetArg_35	((void*)startLabel+8)
#define CT_v238	((void*)startLabel+32)
#define F0_System_46cGetArg_35	((void*)startLabel+40)
#define CT_v242	((void*)startLabel+120)
#define FN_System_46ptrToCString_35	((void*)startLabel+164)
#define CT_v245	((void*)startLabel+188)
#define F0_System_46ptrToCString_35	((void*)startLabel+196)
#define CT_v249	((void*)startLabel+276)
#define CT_v257	((void*)startLabel+500)
#define FN_System_46Prelude_46181_46getThem	((void*)startLabel+552)
#define CT_v265	((void*)startLabel+632)
#define F0_System_46Prelude_46181_46getThem	((void*)startLabel+640)
#define FN_LAMBDA234	((void*)startLabel+680)
#define v266	((void*)startLabel+716)
#define CT_v277	((void*)startLabel+928)
#define F0_LAMBDA234	((void*)startLabel+936)
#define FN_LAMBDA233	((void*)startLabel+992)
#define CT_v285	((void*)startLabel+1176)
#define F0_LAMBDA233	((void*)startLabel+1184)
#define FN_LAMBDA232	((void*)startLabel+1232)
#define CT_v291	((void*)startLabel+1360)
#define F0_LAMBDA232	((void*)startLabel+1368)
#define ST_v240	((void*)startLabel+1396)
#define PP_System_46cGetArg_35	((void*)startLabel+1411)
#define PC_System_46cGetArg_35	((void*)startLabel+1411)
#define ST_v237	((void*)startLabel+1411)
#define ST_v251	((void*)startLabel+1428)
#define PP_System_46Prelude_46181_46getThem	((void*)startLabel+1443)
#define PC_System_46Prelude_46181_46getThem	((void*)startLabel+1443)
#define ST_v261	((void*)startLabel+1443)
#define PP_LAMBDA234	((void*)startLabel+1469)
#define PC_LAMBDA234	((void*)startLabel+1469)
#define ST_v269	((void*)startLabel+1469)
#define PP_LAMBDA233	((void*)startLabel+1496)
#define PC_LAMBDA233	((void*)startLabel+1496)
#define ST_v279	((void*)startLabel+1496)
#define PP_LAMBDA232	((void*)startLabel+1523)
#define PC_LAMBDA232	((void*)startLabel+1523)
#define ST_v287	((void*)startLabel+1523)
#define ST_v247	((void*)startLabel+1552)
#define PP_System_46ptrToCString_35	((void*)startLabel+1572)
#define PC_System_46ptrToCString_35	((void*)startLabel+1572)
#define ST_v244	((void*)startLabel+1572)
#define PS_v241	((void*)startLabel+1596)
#define PS_v239	((void*)startLabel+1608)
#define PS_v248	((void*)startLabel+1620)
#define PS_v246	((void*)startLabel+1632)
#define PS_v255	((void*)startLabel+1644)
#define PS_v254	((void*)startLabel+1656)
#define PS_v253	((void*)startLabel+1668)
#define PS_v250	((void*)startLabel+1680)
#define PS_v252	((void*)startLabel+1692)
#define PS_v256	((void*)startLabel+1704)
#define PS_v260	((void*)startLabel+1716)
#define PS_v264	((void*)startLabel+1728)
#define PS_v263	((void*)startLabel+1740)
#define PS_v236	((void*)startLabel+1752)
#define PS_v243	((void*)startLabel+1764)
#define PS_v288	((void*)startLabel+1776)
#define PS_v289	((void*)startLabel+1788)
#define PS_v290	((void*)startLabel+1800)
#define PS_v286	((void*)startLabel+1812)
#define PS_v282	((void*)startLabel+1824)
#define PS_v281	((void*)startLabel+1836)
#define PS_v280	((void*)startLabel+1848)
#define PS_v284	((void*)startLabel+1860)
#define PS_v283	((void*)startLabel+1872)
#define PS_v278	((void*)startLabel+1884)
#define PS_v274	((void*)startLabel+1896)
#define PS_v271	((void*)startLabel+1908)
#define PS_v273	((void*)startLabel+1920)
#define PS_v272	((void*)startLabel+1932)
#define PS_v276	((void*)startLabel+1944)
#define PS_v270	((void*)startLabel+1956)
#define PS_v275	((void*)startLabel+1968)
#define PS_v268	((void*)startLabel+1980)
void FR_System_46cGetArg_35(void);
extern Node FN_NHC_46Internal_46_95mkIOok0[];
void FR_System_46ptrToCString_35(void);
extern Node FN_NHC_46Internal_46_95mkIOok1[];
extern Node FN_NHC_46Internal_46_95apply1[];
extern Node FN_NHC_46Internal_46unsafePerformIO[];
extern Node FN_Prelude_46Monad_46NHC_46Internal_46IO_46return[];
extern Node FN_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61[];
extern Node FN_Prelude_46Eq_46NHC_46FFI_46Ptr_46_61_61[];
extern Node CF_NHC_46FFI_46nullPtr[];
extern Node FN_CString_46fromCString[];
extern Node PM_System[];
extern Node PC_NHC_46Internal_46_95mkIOok0[];
extern Node PC_NHC_46Internal_46_95mkIOok1[];
extern Node PC_NHC_46Internal_46unsafePerformIO[];
extern Node PC_NHC_46Internal_46_95apply1[];
extern Node PC__40_41[];
extern Node PC_Prelude_46Monad_46NHC_46Internal_46IO_46return[];
extern Node PC_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61[];
extern Node PC_CString_46fromCString[];
extern Node PC_Prelude_46_58[];
extern Node PC_Prelude_46_91_93[];
extern Node PC_Prelude_46Eq_46NHC_46FFI_46Ptr_46_61_61[];

static Node startLabel[] = {
  bytes2word(1,0,0,1)
, useLabel(CT_v238)
,	/* FN_System_46cGetArg_35: (byte 0) */
  bytes2word(PUSH_ARG_I1,EVAL,POP_I1,PRIMITIVE)
, useLabel(FR_System_46cGetArg_35)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 50001
, useLabel(ST_v237)
,	/* CT_v238: (byte 0) */
  HW(0,1)
, 0
,	/* F0_System_46cGetArg_35: (byte 0) */
  CAPTAG(useLabel(FN_System_46cGetArg_35),1)
, useLabel(PS_v236)
, 0
, 0
, 0
, bytes2word(0,0,0,0)
, useLabel(CT_v242)
,};
Node FN_System_46cGetArg[] = {
  bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_P1,7)
, bytes2word(HEAP_CVAL_N1,7,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_CVAL_P1,8,RETURN_EVAL)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, 0
, useLabel(PS_v241)
, 0
, 0
, 0
, 0
, 50001
, useLabel(ST_v240)
,	/* CT_v242: (byte 0) */
  HW(2,0)
, 0
,};
Node CF_System_46cGetArg[] = {
  VAPTAG(useLabel(FN_System_46cGetArg))
, useLabel(PS_v239)
, 0
, 0
, 0
, VAPTAG(useLabel(FN_NHC_46Internal_46_95mkIOok0))
, useLabel(F0_System_46cGetArg_35)
, bytes2word(1,0,0,1)
, useLabel(CT_v245)
,	/* FN_System_46ptrToCString_35: (byte 0) */
  bytes2word(PUSH_ARG_I1,EVAL,POP_I1,PRIMITIVE)
, useLabel(FR_System_46ptrToCString_35)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 60001
, useLabel(ST_v244)
,	/* CT_v245: (byte 0) */
  HW(0,1)
, 0
,	/* F0_System_46ptrToCString_35: (byte 0) */
  CAPTAG(useLabel(FN_System_46ptrToCString_35),1)
, useLabel(PS_v243)
, 0
, 0
, 0
, bytes2word(0,0,0,0)
, useLabel(CT_v249)
,};
Node FN_System_46ptrToCString[] = {
  bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_P1,7)
, bytes2word(HEAP_CVAL_N1,7,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_CVAL_P1,8,RETURN_EVAL)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, 0
, useLabel(PS_v248)
, 0
, 0
, 0
, 0
, 60001
, useLabel(ST_v247)
,	/* CT_v249: (byte 0) */
  HW(2,0)
, 0
,};
Node CF_System_46ptrToCString[] = {
  VAPTAG(useLabel(FN_System_46ptrToCString))
, useLabel(PS_v246)
, 0
, 0
, 0
, VAPTAG(useLabel(FN_NHC_46Internal_46_95mkIOok1))
, useLabel(F0_System_46ptrToCString_35)
, bytes2word(0,0,0,0)
, useLabel(CT_v257)
,};
Node FN_System_46getArgs[] = {
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_P1,7,HEAP_CVAL_N1)
, bytes2word(7,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(HEAP_CVAL_N1,12,HEAP_CVAL_N1,17)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,HEAP_CVAL_P1)
, bytes2word(8,HEAP_CVAL_N1,22,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1,15)
, bytes2word(HEAP_OFF_N1,11,PUSH_HEAP,HEAP_CVAL_P1)
, bytes2word(9,HEAP_CVAL_N1,27,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1,12)
, bytes2word(PUSH_HEAP,HEAP_CVAL_P1,10,HEAP_CVAL_N1)
, bytes2word(32,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(HEAP_I1,RETURN_EVAL,ENDCODE,0)
, bytes2word(0,0,0,0)
, useLabel(PS_v256)
, 0
, 0
, 0
, 0
, useLabel(PS_v255)
, 0
, 0
, 0
, 0
, useLabel(PS_v254)
, 0
, 0
, 0
, 0
, useLabel(PS_v253)
, 0
, 0
, 0
, 0
, CONSTR(0,0,0)
, 0
, 0
, 0
, 0
, useLabel(PS_v252)
, 0
, 0
, 0
, 0
, 90001
, useLabel(ST_v251)
,	/* CT_v257: (byte 0) */
  HW(4,0)
, 0
,};
Node CF_System_46getArgs[] = {
  VAPTAG(useLabel(FN_System_46getArgs))
, useLabel(PS_v250)
, 0
, 0
, 0
, CAPTAG(useLabel(FN_System_46Prelude_46181_46getThem),1)
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply1))
, VAPTAG(useLabel(FN_NHC_46Internal_46unsafePerformIO))
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46return))
, bytes2word(1,0,0,1)
, useLabel(CT_v265)
,	/* FN_System_46Prelude_46181_46getThem: (byte 0) */
  bytes2word(NEEDSTACK_I16,PUSH_ZAP_ARG_I1,EVAL,NEEDHEAP_I32)
, bytes2word(POP_I1,HEAP_CVAL_P1,7,HEAP_CVAL_N1)
, bytes2word(7,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(PUSH_HEAP,HEAP_CVAL_P1,8,HEAP_CVAL_N1)
, bytes2word(12,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(HEAP_CVAL_P1,9,HEAP_OFF_N1,11)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, useLabel(PS_v264)
, 0
, 0
, 0
, 0
, useLabel(PS_v263)
, 0
, 0
, 0
, 0
, 160003
, useLabel(ST_v261)
,	/* CT_v265: (byte 0) */
  HW(3,1)
, 0
,	/* F0_System_46Prelude_46181_46getThem: (byte 0) */
  CAPTAG(useLabel(FN_System_46Prelude_46181_46getThem),1)
, useLabel(PS_v260)
, 0
, 0
, 0
, CAPTAG(useLabel(FN_LAMBDA234),1)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61))
, useLabel(CF_System_46cGetArg)
, bytes2word(1,0,0,1)
, useLabel(CT_v277)
,	/* FN_LAMBDA234: (byte 0) */
  bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_P1,7)
, bytes2word(HEAP_CVAL_N1,7,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_ARG,1,HEAP_CVAL_P1)
, bytes2word(8,EVAL,NEEDHEAP_I32,JUMPFALSE)
, bytes2word(20,0,HEAP_CVAL_N1,12)
, bytes2word(HEAP_CVAL_N1,17,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,PUSH_HEAP,HEAP_CVAL_P1,9)
, bytes2word(HEAP_CVAL_N1,22,HEAP_CREATE,HEAP_SPACE)
,	/* v266: (byte 4) */
  bytes2word(HEAP_SPACE,HEAP_OFF_N1,10,RETURN_EVAL)
, bytes2word(HEAP_CVAL_P1,10,HEAP_CVAL_N1,27)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,HEAP_CVAL_P1)
, bytes2word(11,HEAP_CVAL_N1,32,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1,10)
, bytes2word(HEAP_ARG,1,HEAP_CVAL_P1,12)
, bytes2word(HEAP_CVAL_N1,37,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,PUSH_HEAP,HEAP_CVAL_P1,13)
, bytes2word(HEAP_CVAL_N1,42,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_OFF_N1,17,HEAP_OFF_N1)
, bytes2word(11,RETURN_EVAL,ENDCODE,0)
, bytes2word(0,0,0,0)
, useLabel(PS_v276)
, 0
, 0
, 0
, 0
, useLabel(PS_v275)
, 0
, 0
, 0
, 0
, useLabel(PS_v274)
, 0
, 0
, 0
, 0
, useLabel(PS_v273)
, 0
, 0
, 0
, 0
, useLabel(PS_v272)
, 0
, 0
, 0
, 0
, useLabel(PS_v271)
, 0
, 0
, 0
, 0
, CONSTR(0,0,0)
, 0
, 0
, 0
, 0
, useLabel(PS_v270)
, 0
, 0
, 0
, 0
, 170010
, useLabel(ST_v269)
,	/* CT_v277: (byte 0) */
  HW(7,1)
, 0
,	/* F0_LAMBDA234: (byte 0) */
  CAPTAG(useLabel(FN_LAMBDA234),1)
, useLabel(PS_v268)
, 0
, 0
, 0
, VAPTAG(useLabel(FN_Prelude_46Eq_46NHC_46FFI_46Ptr_46_61_61))
, useLabel(CF_NHC_46FFI_46nullPtr)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46return))
, VAPTAG(useLabel(FN_System_46ptrToCString))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply1))
, CAPTAG(useLabel(FN_LAMBDA233),1)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61))
, bytes2word(1,0,0,1)
, useLabel(CT_v285)
,	/* FN_LAMBDA233: (byte 0) */
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_P1,7,HEAP_CVAL_N1)
, bytes2word(7,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(HEAP_CVAL_N1,12,HEAP_CVAL_N1,17)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,HEAP_CVAL_P1)
, bytes2word(8,HEAP_CVAL_N1,22,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1,15)
, bytes2word(HEAP_OFF_N1,11,HEAP_CVAL_P1,9)
, bytes2word(HEAP_CVAL_N1,27,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_ARG,1,PUSH_HEAP)
, bytes2word(HEAP_CVAL_P1,10,HEAP_CVAL_N1,32)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1)
, bytes2word(18,HEAP_OFF_N1,12,RETURN_EVAL)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, useLabel(PS_v284)
, 0
, 0
, 0
, 0
, useLabel(PS_v283)
, 0
, 0
, 0
, 0
, useLabel(PS_v282)
, 0
, 0
, 0
, 0
, useLabel(PS_v281)
, 0
, 0
, 0
, 0
, CONSTR(0,0,0)
, 0
, 0
, 0
, 0
, useLabel(PS_v280)
, 0
, 0
, 0
, 0
, 190023
, useLabel(ST_v279)
,	/* CT_v285: (byte 0) */
  HW(4,1)
, 0
,	/* F0_LAMBDA233: (byte 0) */
  CAPTAG(useLabel(FN_LAMBDA233),1)
, useLabel(PS_v278)
, 0
, 0
, 0
, CAPTAG(useLabel(FN_System_46Prelude_46181_46getThem),1)
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply1))
, CAPTAG(useLabel(FN_LAMBDA232),1)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61))
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v291)
,	/* FN_LAMBDA232: (byte 0) */
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_P1,7,HEAP_CVAL_N1)
, bytes2word(7,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(HEAP_ARG,1,HEAP_CVAL_N1,12)
, bytes2word(HEAP_CVAL_N1,17,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_OFF_N1,11,HEAP_ARG)
, bytes2word(2,PUSH_HEAP,HEAP_CVAL_P1,8)
, bytes2word(HEAP_CVAL_N1,22,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_OFF_N1,12,RETURN_EVAL)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, useLabel(PS_v290)
, 0
, 0
, 0
, 0
, useLabel(PS_v289)
, 0
, 0
, 0
, 0
, CONSTR(1,2,0)
, 0
, 0
, 0
, 0
, useLabel(PS_v288)
, 0
, 0
, 0
, 0
, 200023
, useLabel(ST_v287)
,	/* CT_v291: (byte 0) */
  HW(2,2)
, 0
,	/* F0_LAMBDA232: (byte 0) */
  CAPTAG(useLabel(FN_LAMBDA232),2)
, useLabel(PS_v286)
, 0
, 0
, 0
, VAPTAG(useLabel(FN_CString_46fromCString))
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46return))
,};
Node PP_System_46cGetArg[] = {
 };
Node PC_System_46cGetArg[] = {
 	/* ST_v240: (byte 0) */
  bytes2word(83,121,115,116)
, bytes2word(101,109,46,99)
, bytes2word(71,101,116,65)
,	/* PP_System_46cGetArg_35: (byte 3) */
 	/* PC_System_46cGetArg_35: (byte 3) */
 	/* ST_v237: (byte 3) */
  bytes2word(114,103,0,83)
, bytes2word(121,115,116,101)
, bytes2word(109,46,99,71)
, bytes2word(101,116,65,114)
, bytes2word(103,35,0,0)
,};
Node PP_System_46getArgs[] = {
 };
Node PC_System_46getArgs[] = {
 	/* ST_v251: (byte 0) */
  bytes2word(83,121,115,116)
, bytes2word(101,109,46,103)
, bytes2word(101,116,65,114)
,	/* PP_System_46Prelude_46181_46getThem: (byte 3) */
 	/* PC_System_46Prelude_46181_46getThem: (byte 3) */
 	/* ST_v261: (byte 3) */
  bytes2word(103,115,0,83)
, bytes2word(121,115,116,101)
, bytes2word(109,46,103,101)
, bytes2word(116,65,114,103)
, bytes2word(115,58,49,54)
, bytes2word(58,51,45,50)
, bytes2word(49,58,52,51)
,	/* PP_LAMBDA234: (byte 1) */
 	/* PC_LAMBDA234: (byte 1) */
 	/* ST_v269: (byte 1) */
  bytes2word(0,83,121,115)
, bytes2word(116,101,109,46)
, bytes2word(103,101,116,65)
, bytes2word(114,103,115,58)
, bytes2word(49,55,58,49)
, bytes2word(48,45,49,55)
,	/* PP_LAMBDA233: (byte 4) */
 	/* PC_LAMBDA233: (byte 4) */
 	/* ST_v279: (byte 4) */
  bytes2word(58,49,54,0)
, bytes2word(83,121,115,116)
, bytes2word(101,109,46,103)
, bytes2word(101,116,65,114)
, bytes2word(103,115,58,49)
, bytes2word(57,58,50,51)
, bytes2word(45,49,57,58)
,	/* PP_LAMBDA232: (byte 3) */
 	/* PC_LAMBDA232: (byte 3) */
 	/* ST_v287: (byte 3) */
  bytes2word(51,54,0,83)
, bytes2word(121,115,116,101)
, bytes2word(109,46,103,101)
, bytes2word(116,65,114,103)
, bytes2word(115,58,50,48)
, bytes2word(58,50,51,45)
, bytes2word(50,48,58,51)
, bytes2word(51,0,0,0)
,};
Node PP_System_46ptrToCString[] = {
 };
Node PC_System_46ptrToCString[] = {
 	/* ST_v247: (byte 0) */
  bytes2word(83,121,115,116)
, bytes2word(101,109,46,112)
, bytes2word(116,114,84,111)
, bytes2word(67,83,116,114)
,	/* PP_System_46ptrToCString_35: (byte 4) */
 	/* PC_System_46ptrToCString_35: (byte 4) */
 	/* ST_v244: (byte 4) */
  bytes2word(105,110,103,0)
, bytes2word(83,121,115,116)
, bytes2word(101,109,46,112)
, bytes2word(116,114,84,111)
, bytes2word(67,83,116,114)
, bytes2word(105,110,103,35)
, bytes2word(0,0,0,0)
,	/* PS_v241: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46cGetArg)
, useLabel(PC_NHC_46Internal_46_95mkIOok0)
,	/* PS_v239: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46cGetArg)
, useLabel(PC_System_46cGetArg)
,	/* PS_v248: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46ptrToCString)
, useLabel(PC_NHC_46Internal_46_95mkIOok1)
,	/* PS_v246: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46ptrToCString)
, useLabel(PC_System_46ptrToCString)
,	/* PS_v255: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46getArgs)
, useLabel(PC_NHC_46Internal_46unsafePerformIO)
,	/* PS_v254: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46getArgs)
, useLabel(PC_NHC_46Internal_46_95apply1)
,	/* PS_v253: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46getArgs)
, useLabel(PC__40_41)
,	/* PS_v250: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46getArgs)
, useLabel(PC_System_46getArgs)
,	/* PS_v252: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46getArgs)
, useLabel(PC_System_46Prelude_46181_46getThem)
,	/* PS_v256: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46getArgs)
, useLabel(PC_Prelude_46Monad_46NHC_46Internal_46IO_46return)
,	/* PS_v260: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46Prelude_46181_46getThem)
, useLabel(PC_System_46Prelude_46181_46getThem)
,	/* PS_v264: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46Prelude_46181_46getThem)
, useLabel(PC_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61)
,	/* PS_v263: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46Prelude_46181_46getThem)
, useLabel(PC_LAMBDA234)
,	/* PS_v236: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46cGetArg_35)
, useLabel(PC_System_46cGetArg_35)
,	/* PS_v243: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_System_46ptrToCString_35)
, useLabel(PC_System_46ptrToCString_35)
,	/* PS_v288: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA232)
, useLabel(PC_CString_46fromCString)
,	/* PS_v289: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA232)
, useLabel(PC_Prelude_46_58)
,	/* PS_v290: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA232)
, useLabel(PC_Prelude_46Monad_46NHC_46Internal_46IO_46return)
,	/* PS_v286: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA232)
, useLabel(PC_LAMBDA232)
,	/* PS_v282: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA233)
, useLabel(PC_NHC_46Internal_46_95apply1)
,	/* PS_v281: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA233)
, useLabel(PC__40_41)
,	/* PS_v280: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA233)
, useLabel(PC_System_46Prelude_46181_46getThem)
,	/* PS_v284: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA233)
, useLabel(PC_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61)
,	/* PS_v283: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA233)
, useLabel(PC_LAMBDA232)
,	/* PS_v278: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA233)
, useLabel(PC_LAMBDA233)
,	/* PS_v274: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA234)
, useLabel(PC_NHC_46Internal_46_95apply1)
,	/* PS_v271: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA234)
, useLabel(PC_Prelude_46_91_93)
,	/* PS_v273: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA234)
, useLabel(PC_System_46ptrToCString)
,	/* PS_v272: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA234)
, useLabel(PC_Prelude_46Monad_46NHC_46Internal_46IO_46return)
,	/* PS_v276: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA234)
, useLabel(PC_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61)
,	/* PS_v270: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA234)
, useLabel(PC_Prelude_46Eq_46NHC_46FFI_46Ptr_46_61_61)
,	/* PS_v275: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA234)
, useLabel(PC_LAMBDA233)
,	/* PS_v268: (byte 0) */
  useLabel(PM_System)
, useLabel(PP_LAMBDA234)
, useLabel(PC_LAMBDA234)
,};

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

/* foreign import ccall "cGetArg" System.cGetArg# 1 :: Prelude.() -> FFI.Ptr */
extern void* cGetArg(void);
#ifdef PROFILE
static SInfo pf_System_46cGetArg_35 = {"System","System.cGetArg#","FFI.Ptr"};
#endif
C_HEADER(FR_System_46cGetArg_35) {
  NodePtr nodeptr;
  void* result;
  /* void arg1 */;

  result = cGetArg();

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

/* foreign import cast "ptrToCString" System.ptrToCString# 1 :: FFI.Ptr -> PackedString.PackedString */
#ifdef PROFILE
static SInfo pf_System_46ptrToCString_35 = {"System","System.ptrToCString#","PackedString.PackedString"};
#endif
C_HEADER(FR_System_46ptrToCString_35) {
  NodePtr nodeptr;
  char* result;
  void* arg1;
  nodeptr = C_GETARG1(1);
  IND_REMOVE(nodeptr);
  arg1 = (void*)GET_INT_VALUE(nodeptr);

  result = (char*)(arg1);

  nodeptr = nhc_mkString((char*)result);
  INIT_PROFINFO(nodeptr,&pf_System_46ptrToCString_35);
  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].