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

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


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

#define v194	((void*)startLabel+68)
#define v196	((void*)startLabel+154)
#define v198	((void*)startLabel+241)
#define v200	((void*)startLabel+267)
#define CT_v214	((void*)startLabel+500)
#define FN_LAMBDA192	((void*)startLabel+580)
#define CT_v218	((void*)startLabel+624)
#define CF_LAMBDA192	((void*)startLabel+632)
#define FN_LAMBDA191	((void*)startLabel+660)
#define CT_v222	((void*)startLabel+704)
#define CF_LAMBDA191	((void*)startLabel+712)
#define ST_v203	((void*)startLabel+732)
#define ST_v221	((void*)startLabel+748)
#define PP_LAMBDA191	((void*)startLabel+777)
#define PC_LAMBDA191	((void*)startLabel+777)
#define ST_v220	((void*)startLabel+777)
#define PP_LAMBDA192	((void*)startLabel+805)
#define PC_LAMBDA192	((void*)startLabel+805)
#define ST_v216	((void*)startLabel+805)
#define ST_v217	((void*)startLabel+831)
#define PS_v205	((void*)startLabel+888)
#define PS_v204	((void*)startLabel+900)
#define PS_v213	((void*)startLabel+912)
#define PS_v206	((void*)startLabel+924)
#define PS_v211	((void*)startLabel+936)
#define PS_v209	((void*)startLabel+948)
#define PS_v202	((void*)startLabel+960)
#define PS_v207	((void*)startLabel+972)
#define PS_v208	((void*)startLabel+984)
#define PS_v210	((void*)startLabel+996)
#define PS_v212	((void*)startLabel+1008)
#define PS_v219	((void*)startLabel+1020)
#define PS_v215	((void*)startLabel+1032)
extern Node FN_Char_46isDigit[];
extern Node FN_Char_46ord[];
extern Node FN_NHC_46Internal_46_95apply1[];
extern Node FN_Prelude_46Ord_46Prelude_46Char_46_62_61[];
extern Node FN_Prelude_46Ord_46Prelude_46Char_46_60_61[];
extern Node FN_Prelude_46_38_38[];
extern Node CF_Prelude_46otherwise[];
extern Node FN_Prelude_46error[];
extern Node FN_NHC_46Internal_46_95patternMatchFail[];
extern Node PM_Char[];
extern Node PC_Char_46ord[];
extern Node PC_Char_46isDigit[];
extern Node PC_NHC_46Internal_46_95patternMatchFail[];
extern Node PC_NHC_46Internal_46_95apply1[];
extern Node PC_Prelude_46error[];
extern Node PC_Prelude_46_38_38[];
extern Node PC_Prelude_46Ord_46Prelude_46Char_46_62_61[];
extern Node PC_Prelude_46Ord_46Prelude_46Char_46_60_61[];

static Node startLabel[] = {
  bytes2word(1,0,0,1)
, useLabel(CT_v214)
,};
Node FN_Char_46digitToInt[] = {
  bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_P1,7)
, bytes2word(HEAP_CVAL_N1,7,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_ARG,1,EVAL)
, bytes2word(NEEDHEAP_I32,JUMPFALSE,46,0)
, bytes2word(HEAP_CVAL_P1,8,HEAP_CVAL_N1,12)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,PUSH_HEAP)
, bytes2word(HEAP_CVAL_P1,9,HEAP_CVAL_N1,17)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1)
, bytes2word(10,HEAP_CHAR_P1,48,EVAL)
, bytes2word(NEEDHEAP_I32,HEAP_CVAL_P1,8,HEAP_CVAL_N1)
, bytes2word(12,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(PUSH_HEAP,HEAP_CVAL_P1,9,HEAP_CVAL_N1)
, bytes2word(17,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(HEAP_OFF_N1,10,HEAP_ARG,1)
,	/* v194: (byte 4) */
  bytes2word(EVAL,NEEDHEAP_I32,SUB_W,RETURN)
, bytes2word(HEAP_CVAL_P1,10,HEAP_CVAL_N1,22)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,HEAP_ARG)
, bytes2word(1,HEAP_CHAR_P1,97,HEAP_CVAL_P1)
, bytes2word(11,HEAP_CVAL_N1,27,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,HEAP_ARG,1)
, bytes2word(HEAP_CHAR_P1,102,PUSH_HEAP,HEAP_CVAL_P1)
, bytes2word(12,HEAP_CVAL_N1,32,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1,19)
, bytes2word(HEAP_OFF_N1,13,EVAL,NEEDHEAP_I32)
, bytes2word(JUMPFALSE,49,0,PUSH_INT_P1)
, bytes2word(10,HEAP_CVAL_P1,8,HEAP_CVAL_N1)
, bytes2word(12,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(PUSH_HEAP,HEAP_CVAL_P1,9,HEAP_CVAL_N1)
, bytes2word(17,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(HEAP_OFF_N1,10,HEAP_CHAR_P1,97)
, bytes2word(EVAL,NEEDHEAP_I32,HEAP_CVAL_P1,8)
, bytes2word(HEAP_CVAL_N1,12,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,PUSH_HEAP,HEAP_CVAL_P1,9)
, bytes2word(HEAP_CVAL_N1,17,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_OFF_N1,10,HEAP_ARG)
, bytes2word(1,EVAL,NEEDHEAP_I32,SUB_W)
,	/* v196: (byte 2) */
  bytes2word(ADD_W,RETURN,HEAP_CVAL_P1,10)
, bytes2word(HEAP_CVAL_N1,22,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_ARG,1,HEAP_CHAR_P1)
, bytes2word(65,HEAP_CVAL_P1,11,HEAP_CVAL_N1)
, bytes2word(27,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(HEAP_ARG,1,HEAP_CHAR_P1,70)
, bytes2word(PUSH_HEAP,HEAP_CVAL_P1,12,HEAP_CVAL_N1)
, bytes2word(32,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(HEAP_OFF_N1,19,HEAP_OFF_N1,13)
, bytes2word(EVAL,NEEDHEAP_I32,JUMPFALSE,50)
, bytes2word(0,PUSH_INT_P1,10,HEAP_CVAL_P1)
, bytes2word(8,HEAP_CVAL_N1,12,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,PUSH_HEAP,HEAP_CVAL_P1)
, bytes2word(9,HEAP_CVAL_N1,17,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1,10)
, bytes2word(HEAP_CHAR_P1,65,EVAL,NEEDHEAP_I32)
, bytes2word(HEAP_CVAL_P1,8,HEAP_CVAL_N1,12)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,PUSH_HEAP)
, bytes2word(HEAP_CVAL_P1,9,HEAP_CVAL_N1,17)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1)
, bytes2word(10,HEAP_ARG,1,ZAP_ARG_I1)
, bytes2word(EVAL,NEEDHEAP_I32,SUB_W,ADD_W)
,	/* v198: (byte 1) */
  bytes2word(RETURN,PUSH_CVAL_P1,13,ZAP_ARG_I1)
, bytes2word(EVAL,NEEDHEAP_I32,JUMPFALSE,20)
, bytes2word(0,HEAP_CVAL_P1,14,HEAP_CVAL_N1)
, bytes2word(37,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(PUSH_HEAP,HEAP_CVAL_P1,15,HEAP_CVAL_N1)
, bytes2word(42,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
,	/* v200: (byte 3) */
  bytes2word(HEAP_OFF_N1,10,RETURN_EVAL,HEAP_CVAL_P1)
, bytes2word(16,HEAP_CVAL_N1,47,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,PUSH_HEAP,HEAP_CVAL_P1)
, bytes2word(17,HEAP_CVAL_N1,52,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1,10)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, useLabel(PS_v213)
, 0
, 0
, 0
, 0
, useLabel(PS_v212)
, 0
, 0
, 0
, 0
, useLabel(PS_v211)
, 0
, 0
, 0
, 0
, useLabel(PS_v210)
, 0
, 0
, 0
, 0
, useLabel(PS_v209)
, 0
, 0
, 0
, 0
, useLabel(PS_v208)
, 0
, 0
, 0
, 0
, useLabel(PS_v207)
, 0
, 0
, 0
, 0
, useLabel(PS_v206)
, 0
, 0
, 0
, 0
, useLabel(PS_v205)
, 0
, 0
, 0
, 0
, useLabel(PS_v204)
, 0
, 0
, 0
, 0
, 70001
, useLabel(ST_v203)
,	/* CT_v214: (byte 0) */
  HW(11,1)
, 0
,};
Node F0_Char_46digitToInt[] = {
  CAPTAG(useLabel(FN_Char_46digitToInt),1)
, useLabel(PS_v202)
, 0
, 0
, 0
, VAPTAG(useLabel(FN_Char_46isDigit))
, VAPTAG(useLabel(FN_Char_46ord))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply1))
, VAPTAG(useLabel(FN_Prelude_46Ord_46Prelude_46Char_46_62_61))
, VAPTAG(useLabel(FN_Prelude_46Ord_46Prelude_46Char_46_60_61))
, VAPTAG(useLabel(FN_Prelude_46_38_38))
, useLabel(CF_Prelude_46otherwise)
, VAPTAG(useLabel(FN_LAMBDA191))
, VAPTAG(useLabel(FN_Prelude_46error))
, VAPTAG(useLabel(FN_LAMBDA192))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95patternMatchFail))
, bytes2word(0,0,0,0)
, useLabel(CT_v218)
,	/* FN_LAMBDA192: (byte 0) */
  bytes2word(NEEDHEAP_I32,PUSH_CADR_N1,8,STRING)
, bytes2word(RETURN,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, CONSTRW(1,0)
, 0
, 0
, 0
, 0
, useLabel(ST_v217)
, 70001
, useLabel(ST_v216)
,	/* CT_v218: (byte 0) */
  HW(0,0)
, 0
,	/* CF_LAMBDA192: (byte 0) */
  VAPTAG(useLabel(FN_LAMBDA192))
, useLabel(PS_v215)
, 0
, 0
, 0
, bytes2word(0,0,0,0)
, useLabel(CT_v222)
,	/* FN_LAMBDA191: (byte 0) */
  bytes2word(NEEDHEAP_I32,PUSH_CADR_N1,8,STRING)
, bytes2word(RETURN,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, CONSTRW(1,0)
, 0
, 0
, 0
, 0
, useLabel(ST_v221)
, 110035
, useLabel(ST_v220)
,	/* CT_v222: (byte 0) */
  HW(0,0)
, 0
,	/* CF_LAMBDA191: (byte 0) */
  VAPTAG(useLabel(FN_LAMBDA191))
, useLabel(PS_v219)
, 0
, 0
, 0
,};
Node PP_Char_46digitToInt[] = {
 };
Node PC_Char_46digitToInt[] = {
 	/* ST_v203: (byte 0) */
  bytes2word(67,104,97,114)
, bytes2word(46,100,105,103)
, bytes2word(105,116,84,111)
,	/* ST_v221: (byte 4) */
  bytes2word(73,110,116,0)
, bytes2word(67,104,97,114)
, bytes2word(46,100,105,103)
, bytes2word(105,116,84,111)
, bytes2word(73,110,116,58)
, bytes2word(32,110,111,116)
, bytes2word(32,97,32,100)
, bytes2word(105,103,105,116)
,	/* PP_LAMBDA191: (byte 1) */
 	/* PC_LAMBDA191: (byte 1) */
 	/* ST_v220: (byte 1) */
  bytes2word(0,67,104,97)
, bytes2word(114,46,100,105)
, bytes2word(103,105,116,84)
, bytes2word(111,73,110,116)
, bytes2word(58,49,49,58)
, bytes2word(51,53,45,49)
, bytes2word(49,58,54,52)
,	/* PP_LAMBDA192: (byte 1) */
 	/* PC_LAMBDA192: (byte 1) */
 	/* ST_v216: (byte 1) */
  bytes2word(0,67,104,97)
, bytes2word(114,46,100,105)
, bytes2word(103,105,116,84)
, bytes2word(111,73,110,116)
, bytes2word(58,55,58,49)
, bytes2word(45,49,49,58)
,	/* ST_v217: (byte 3) */
  bytes2word(54,52,0,67)
, bytes2word(104,97,114,58)
, bytes2word(32,80,97,116)
, bytes2word(116,101,114,110)
, bytes2word(32,109,97,116)
, bytes2word(99,104,32,102)
, bytes2word(97,105,108,117)
, bytes2word(114,101,32,105)
, bytes2word(110,32,102,117)
, bytes2word(110,99,116,105)
, bytes2word(111,110,32,97)
, bytes2word(116,32,55,58)
, bytes2word(49,45,49,49)
, bytes2word(58,54,52,46)
, bytes2word(0,0,0,0)
,	/* PS_v205: (byte 0) */
  useLabel(PM_Char)
, useLabel(PP_Char_46digitToInt)
, useLabel(PC_Char_46ord)
,	/* PS_v204: (byte 0) */
  useLabel(PM_Char)
, useLabel(PP_Char_46digitToInt)
, useLabel(PC_Char_46isDigit)
,	/* PS_v213: (byte 0) */
  useLabel(PM_Char)
, useLabel(PP_Char_46digitToInt)
, useLabel(PC_NHC_46Internal_46_95patternMatchFail)
,	/* PS_v206: (byte 0) */
  useLabel(PM_Char)
, useLabel(PP_Char_46digitToInt)
, useLabel(PC_NHC_46Internal_46_95apply1)
,	/* PS_v211: (byte 0) */
  useLabel(PM_Char)
, useLabel(PP_Char_46digitToInt)
, useLabel(PC_Prelude_46error)
,	/* PS_v209: (byte 0) */
  useLabel(PM_Char)
, useLabel(PP_Char_46digitToInt)
, useLabel(PC_Prelude_46_38_38)
,	/* PS_v202: (byte 0) */
  useLabel(PM_Char)
, useLabel(PP_Char_46digitToInt)
, useLabel(PC_Char_46digitToInt)
,	/* PS_v207: (byte 0) */
  useLabel(PM_Char)
, useLabel(PP_Char_46digitToInt)
, useLabel(PC_Prelude_46Ord_46Prelude_46Char_46_62_61)
,	/* PS_v208: (byte 0) */
  useLabel(PM_Char)
, useLabel(PP_Char_46digitToInt)
, useLabel(PC_Prelude_46Ord_46Prelude_46Char_46_60_61)
,	/* PS_v210: (byte 0) */
  useLabel(PM_Char)
, useLabel(PP_Char_46digitToInt)
, useLabel(PC_LAMBDA191)
,	/* PS_v212: (byte 0) */
  useLabel(PM_Char)
, useLabel(PP_Char_46digitToInt)
, useLabel(PC_LAMBDA192)
,	/* PS_v219: (byte 0) */
  useLabel(PM_Char)
, useLabel(PP_LAMBDA191)
, useLabel(PC_LAMBDA191)
,	/* PS_v215: (byte 0) */
  useLabel(PM_Char)
, useLabel(PP_LAMBDA192)
, useLabel(PC_LAMBDA192)
,};

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].