mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-17 10:21:21 +00:00
681 lines
53 KiB
C
681 lines
53 KiB
C
|
/* Generated by Nim Compiler v1.2.6 */
|
||
|
/* (c) 2020 Andreas Rumpf */
|
||
|
/* The generated code is subject to the original license. */
|
||
|
/* Compiled for: Linux, amd64, gcc */
|
||
|
/* Command for C compiler:
|
||
|
gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/waku/v2/node -o nimcache/release/start_network2/stdlib_unicode.nim.c.o nimcache/release/start_network2/stdlib_unicode.nim.c */
|
||
|
#define NIM_INTBITS 64
|
||
|
|
||
|
#include "nimbase.h"
|
||
|
#undef LANGUAGE_C
|
||
|
#undef MIPSEB
|
||
|
#undef MIPSEL
|
||
|
#undef PPC
|
||
|
#undef R3000
|
||
|
#undef R4000
|
||
|
#undef i386
|
||
|
#undef linux
|
||
|
#undef mips
|
||
|
#undef near
|
||
|
#undef far
|
||
|
#undef powerpc
|
||
|
#undef unix
|
||
|
#define nimfr_(x, y)
|
||
|
#define nimln_(x, y)
|
||
|
typedef struct NimStringDesc NimStringDesc;
|
||
|
typedef struct TGenericSeq TGenericSeq;
|
||
|
struct TGenericSeq {NI len;
|
||
|
NI reserved;
|
||
|
};
|
||
|
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
|
||
|
};
|
||
|
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
|
||
|
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
|
||
|
N_LIB_PRIVATE N_NIMCALL(NI, runeLenAt__WMpE2MYPWM1HlcK1wXx02Q)(NimStringDesc* s, NI i);
|
||
|
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
|
||
|
static N_INLINE(NIM_BOOL, lteqpercent___x8ObPz55IkLprSyPyqBSRAsystem)(NI32 x_0, NI32 y_0);
|
||
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s, NI newLen);
|
||
|
|
||
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
N_LIB_PRIVATE N_NIMCALL(NI, nucruneLen)(NimStringDesc* s) { NI result; NI i; result = (NI)0;
|
||
|
#line 41 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
i = ((NI) 0); {
|
||
|
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
while (1) { NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_9;
|
||
|
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 42 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (!(i < (s ? s->Sup.len : 0))) goto LA2;
|
||
|
|
||
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
{ NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_2;
|
||
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU64)(((NU) (((NU8)(s->data[i]))))) <= (NU64)(((NU) 127)))) goto LA5_;
|
||
|
|
||
|
#line 43 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 1), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_2)) { raiseOverflow(); }; i = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_2); }
|
||
|
goto LA3_;
|
||
|
LA5_: ;
|
||
|
{ NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_3;
|
||
|
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU)((NU64)(((NU) (((NU8)(s->data[i]))))) >> (NU64)(((NI) 5))) == ((NU) 6))) goto LA8_;
|
||
|
|
||
|
#line 44 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 2), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_3)) { raiseOverflow(); }; i = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_3); }
|
||
|
goto LA3_;
|
||
|
LA8_: ;
|
||
|
{ NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_4;
|
||
|
#line 45 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 45 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU)((NU64)(((NU) (((NU8)(s->data[i]))))) >> (NU64)(((NI) 4))) == ((NU) 14))) goto LA11_;
|
||
|
|
||
|
#line 45 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 3), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_4)) { raiseOverflow(); }; i = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_4); }
|
||
|
goto LA3_;
|
||
|
LA11_: ;
|
||
|
{ NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_5;
|
||
|
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU)((NU64)(((NU) (((NU8)(s->data[i]))))) >> (NU64)(((NI) 3))) == ((NU) 30))) goto LA14_;
|
||
|
|
||
|
#line 46 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 4), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_5)) { raiseOverflow(); }; i = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_5); }
|
||
|
goto LA3_;
|
||
|
LA14_: ;
|
||
|
{ NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_6;
|
||
|
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU)((NU64)(((NU) (((NU8)(s->data[i]))))) >> (NU64)(((NI) 2))) == ((NU) 62))) goto LA17_;
|
||
|
|
||
|
#line 47 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 5), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_6)) { raiseOverflow(); }; i = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_6); }
|
||
|
goto LA3_;
|
||
|
LA17_: ;
|
||
|
{ NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_7;
|
||
|
#line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU)((NU64)(((NU) (((NU8)(s->data[i]))))) >> (NU64)(((NI) 1))) == ((NU) 126))) goto LA20_;
|
||
|
|
||
|
#line 48 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 6), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_7)) { raiseOverflow(); }; i = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_7); }
|
||
|
goto LA3_;
|
||
|
LA20_: ;
|
||
|
{ NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_8;
|
||
|
#line 49 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 1), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_8)) { raiseOverflow(); }; i = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_8); }
|
||
|
LA3_: ;
|
||
|
|
||
|
#line 50 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(result, ((NI) 1), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_9)) { raiseOverflow(); }; result = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_9); } LA2: ;
|
||
|
}
|
||
|
return result;}
|
||
|
|
||
|
#line 52 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
N_LIB_PRIVATE N_NIMCALL(NI, runeLenAt__WMpE2MYPWM1HlcK1wXx02Q)(NimStringDesc* s, NI i) { NI result; result = (NI)0;
|
||
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
{
|
||
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU64)(((NU) (((NU8)(s->data[i]))))) <= (NU64)(((NU) 127)))) goto LA3_;
|
||
|
|
||
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = ((NI) 1); }
|
||
|
goto LA1_;
|
||
|
LA3_: ;
|
||
|
{
|
||
|
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU)((NU64)(((NU) (((NU8)(s->data[i]))))) >> (NU64)(((NI) 5))) == ((NU) 6))) goto LA6_;
|
||
|
|
||
|
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = ((NI) 2); }
|
||
|
goto LA1_;
|
||
|
LA6_: ;
|
||
|
{
|
||
|
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU)((NU64)(((NU) (((NU8)(s->data[i]))))) >> (NU64)(((NI) 4))) == ((NU) 14))) goto LA9_;
|
||
|
|
||
|
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = ((NI) 3); }
|
||
|
goto LA1_;
|
||
|
LA9_: ;
|
||
|
{
|
||
|
#line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU)((NU64)(((NU) (((NU8)(s->data[i]))))) >> (NU64)(((NI) 3))) == ((NU) 30))) goto LA12_;
|
||
|
|
||
|
#line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = ((NI) 4); }
|
||
|
goto LA1_;
|
||
|
LA12_: ;
|
||
|
{
|
||
|
#line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU)((NU64)(((NU) (((NU8)(s->data[i]))))) >> (NU64)(((NI) 2))) == ((NU) 62))) goto LA15_;
|
||
|
|
||
|
#line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = ((NI) 5); }
|
||
|
goto LA1_;
|
||
|
LA15_: ;
|
||
|
{
|
||
|
#line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU)((NU64)(((NU) (((NU8)(s->data[i]))))) >> (NU64)(((NI) 1))) == ((NU) 126))) goto LA18_;
|
||
|
|
||
|
#line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = ((NI) 6); }
|
||
|
goto LA1_;
|
||
|
LA18_: ;
|
||
|
{
|
||
|
#line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = ((NI) 1); }
|
||
|
LA1_: ;
|
||
|
return result;}
|
||
|
|
||
|
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
N_LIB_PRIVATE N_NIMCALL(NI, runeOffset__EnrqtYM0boqQqeAIRc9bdmA)(NimStringDesc* s, NI pos, NI start) { NI result; NI i; NI o;{ result = (NI)0;
|
||
|
#line 319 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
i = ((NI) 0);
|
||
|
#line 320 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
o = start; {
|
||
|
#line 321 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
while (1) { NI T3_; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_10; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_11;
|
||
|
#line 321 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (!(i < ((NI) (pos)))) goto LA2;
|
||
|
|
||
|
#line 322 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 322 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 322 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
T3_ = (NI)0; T3_ = runeLenAt__WMpE2MYPWM1HlcK1wXx02Q(s, o); if ((T3_) < ((NI) 0) || (T3_) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(T3_, ((NI) 0), ((NI) IL64(9223372036854775807))); } if (nimAddInt(o, ((NI) (T3_)), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_10)) { raiseOverflow(); }; if (TM__e1RUVS0Bw7xmj9cnDPXLJMQ_10 < 0 || TM__e1RUVS0Bw7xmj9cnDPXLJMQ_10 > IL64(9223372036854775807)){ raiseOverflow(); } o = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_10);
|
||
|
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
{
|
||
|
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (!((s ? s->Sup.len : 0) <= ((NI) (o)))) goto LA6_;
|
||
|
|
||
|
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = ((NI) -1); goto BeforeRet_;
|
||
|
}
|
||
|
LA6_: ;
|
||
|
|
||
|
#line 325 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 1), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_11)) { raiseOverflow(); }; i = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_11); } LA2: ;
|
||
|
}
|
||
|
|
||
|
#line 326 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 326 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = ((NI) (o)); goto BeforeRet_;
|
||
|
}BeforeRet_: ;
|
||
|
return result;}
|
||
|
|
||
|
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
N_LIB_PRIVATE N_NIMCALL(NI, validateUtf8__gZHDHaRdP4jROav7Hun29aA)(NimStringDesc* s) { NI result; NI i; NI L;{ result = (NI)0;
|
||
|
#line 172 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
i = ((NI) 0);
|
||
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
L = (s ? s->Sup.len : 0); {
|
||
|
#line 174 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
while (1) {
|
||
|
#line 174 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (!(i < L)) goto LA2;
|
||
|
|
||
|
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
{ NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_12;
|
||
|
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU64)(((NU) (((NU8)(s->data[i]))))) <= (NU64)(((NU) 127)))) goto LA5_;
|
||
|
|
||
|
#line 176 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 1), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_12)) { raiseOverflow(); }; i = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_12); }
|
||
|
goto LA3_;
|
||
|
LA5_: ;
|
||
|
{
|
||
|
#line 177 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 177 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU)((NU64)(((NU) (((NU8)(s->data[i]))))) >> (NU64)(((NI) 5))) == ((NU) 6))) goto LA8_;
|
||
|
|
||
|
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
{
|
||
|
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU64)(((NU) (((NU8)(s->data[i]))))) < (NU64)(((NU) 194)))) goto LA12_;
|
||
|
|
||
|
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = i; goto BeforeRet_;
|
||
|
}
|
||
|
LA12_: ;
|
||
|
|
||
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
{ NIM_BOOL T16_; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_13; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_14; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_15;
|
||
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
T16_ = (NIM_BOOL)0;
|
||
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 1), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_13)) { raiseOverflow(); }; T16_ = ((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_13) < L); if (!(T16_)) goto LA17_;
|
||
|
|
||
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 1), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_14)) { raiseOverflow(); }; if ((NU)((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_14)) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_14),(s ? s->Sup.len : 0)-1); } T16_ = ((NU)((NU64)(((NU) (((NU8)(s->data[(NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_14)]))))) >> (NU64)(((NI) 6))) == ((NU) 2)); LA17_: ;
|
||
|
if (!T16_) goto LA18_;
|
||
|
|
||
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 2), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_15)) { raiseOverflow(); }; i = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_15); }
|
||
|
goto LA14_;
|
||
|
LA18_: ;
|
||
|
{
|
||
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = i; goto BeforeRet_;
|
||
|
}
|
||
|
LA14_: ;
|
||
|
}
|
||
|
goto LA3_;
|
||
|
LA8_: ;
|
||
|
{
|
||
|
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU)((NU64)(((NU) (((NU8)(s->data[i]))))) >> (NU64)(((NI) 4))) == ((NU) 14))) goto LA22_;
|
||
|
|
||
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
{ NIM_BOOL T26_; NIM_BOOL T27_; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_16; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_17; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_18; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_19;
|
||
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
T26_ = (NIM_BOOL)0;
|
||
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
T27_ = (NIM_BOOL)0;
|
||
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 2), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_16)) { raiseOverflow(); }; T27_ = ((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_16) < L); if (!(T27_)) goto LA28_;
|
||
|
|
||
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 1), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_17)) { raiseOverflow(); }; if ((NU)((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_17)) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_17),(s ? s->Sup.len : 0)-1); } T27_ = ((NU)((NU64)(((NU) (((NU8)(s->data[(NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_17)]))))) >> (NU64)(((NI) 6))) == ((NU) 2)); LA28_: ;
|
||
|
T26_ = T27_; if (!(T26_)) goto LA29_;
|
||
|
|
||
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 2), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_18)) { raiseOverflow(); }; if ((NU)((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_18)) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_18),(s ? s->Sup.len : 0)-1); } T26_ = ((NU)((NU64)(((NU) (((NU8)(s->data[(NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_18)]))))) >> (NU64)(((NI) 6))) == ((NU) 2)); LA29_: ;
|
||
|
if (!T26_) goto LA30_;
|
||
|
|
||
|
#line 183 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 3), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_19)) { raiseOverflow(); }; i = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_19); }
|
||
|
goto LA24_;
|
||
|
LA30_: ;
|
||
|
{
|
||
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = i; goto BeforeRet_;
|
||
|
}
|
||
|
LA24_: ;
|
||
|
}
|
||
|
goto LA3_;
|
||
|
LA22_: ;
|
||
|
{
|
||
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } if (!((NU)((NU64)(((NU) (((NU8)(s->data[i]))))) >> (NU64)(((NI) 3))) == ((NU) 30))) goto LA34_;
|
||
|
|
||
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
{ NIM_BOOL T38_; NIM_BOOL T39_; NIM_BOOL T40_; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_20; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_21; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_22; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_23; NI TM__e1RUVS0Bw7xmj9cnDPXLJMQ_24;
|
||
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
T38_ = (NIM_BOOL)0;
|
||
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
T39_ = (NIM_BOOL)0;
|
||
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
T40_ = (NIM_BOOL)0;
|
||
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 3), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_20)) { raiseOverflow(); }; T40_ = ((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_20) < L); if (!(T40_)) goto LA41_;
|
||
|
|
||
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 1), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_21)) { raiseOverflow(); }; if ((NU)((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_21)) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_21),(s ? s->Sup.len : 0)-1); } T40_ = ((NU)((NU64)(((NU) (((NU8)(s->data[(NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_21)]))))) >> (NU64)(((NI) 6))) == ((NU) 2)); LA41_: ;
|
||
|
T39_ = T40_; if (!(T39_)) goto LA42_;
|
||
|
|
||
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 2), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_22)) { raiseOverflow(); }; if ((NU)((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_22)) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_22),(s ? s->Sup.len : 0)-1); } T39_ = ((NU)((NU64)(((NU) (((NU8)(s->data[(NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_22)]))))) >> (NU64)(((NI) 6))) == ((NU) 2)); LA42_: ;
|
||
|
T38_ = T39_; if (!(T38_)) goto LA43_;
|
||
|
|
||
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 3), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_23)) { raiseOverflow(); }; if ((NU)((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_23)) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2((NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_23),(s ? s->Sup.len : 0)-1); } T38_ = ((NU)((NU64)(((NU) (((NU8)(s->data[(NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_23)]))))) >> (NU64)(((NI) 6))) == ((NU) 2)); LA43_: ;
|
||
|
if (!T38_) goto LA44_;
|
||
|
|
||
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (nimAddInt(i, ((NI) 4), &TM__e1RUVS0Bw7xmj9cnDPXLJMQ_24)) { raiseOverflow(); }; i = (NI)(TM__e1RUVS0Bw7xmj9cnDPXLJMQ_24); }
|
||
|
goto LA36_;
|
||
|
LA44_: ;
|
||
|
{
|
||
|
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = i; goto BeforeRet_;
|
||
|
}
|
||
|
LA36_: ;
|
||
|
}
|
||
|
goto LA3_;
|
||
|
LA34_: ;
|
||
|
{
|
||
|
#line 192 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 192 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = i; goto BeforeRet_;
|
||
|
}
|
||
|
LA3_: ;
|
||
|
} LA2: ;
|
||
|
}
|
||
|
|
||
|
#line 193 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 193 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = ((NI) -1); goto BeforeRet_;
|
||
|
}BeforeRet_: ;
|
||
|
return result;}
|
||
|
|
||
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
||
|
static N_INLINE(NIM_BOOL, lteqpercent___x8ObPz55IkLprSyPyqBSRAsystem)(NI32 x_0, NI32 y_0) { NIM_BOOL result; result = (NIM_BOOL)0;
|
||
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
||
|
|
||
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
||
|
result = ((NU32)(((NU32) (x_0))) <= (NU32)(((NU32) (y_0)))); return result;}
|
||
|
|
||
|
#line 252 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nuctoUTF8)(NI32 c) { NimStringDesc* result; NI32 iX60gensym6905461_; result = (NimStringDesc*)0;
|
||
|
#line 264 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = ((NimStringDesc*) NIM_NIL);
|
||
|
#line 209 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
iX60gensym6905461_ = c;
|
||
|
#line 265 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
{ NIM_BOOL T3_;
|
||
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
T3_ = (NIM_BOOL)0; T3_ = lteqpercent___x8ObPz55IkLprSyPyqBSRAsystem(iX60gensym6905461_, ((NI32) 127)); if (!T3_) goto LA4_;
|
||
|
|
||
|
#line 211 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = setLengthStr(result, ((NI) 1)); if ((NU)(((NI) 0)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 0),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if ((iX60gensym6905461_) < ((NI) 0) || (iX60gensym6905461_) > ((NI) 255)){ raiseRangeErrorI(iX60gensym6905461_, ((NI) 0), ((NI) 255)); } result->data[((NI) 0)] = ((NIM_CHAR) (((NI) (iX60gensym6905461_)))); }
|
||
|
goto LA1_;
|
||
|
LA4_: ;
|
||
|
{ NIM_BOOL T7_;
|
||
|
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
T7_ = (NIM_BOOL)0; T7_ = lteqpercent___x8ObPz55IkLprSyPyqBSRAsystem(iX60gensym6905461_, ((NI32) 2047)); if (!T7_) goto LA8_;
|
||
|
|
||
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = setLengthStr(result, ((NI) 2)); if ((NU)(((NI) 0)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 0),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) | ((NI32) 192))) < ((NI) 0) || ((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) | ((NI32) 192))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) | ((NI32) 192)), ((NI) 0), ((NI) 255)); } result->data[((NI) 0)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) | ((NI32) 192)))))); if ((NU)(((NI) 1)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 1),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 1)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128)))))); }
|
||
|
goto LA1_;
|
||
|
LA8_: ;
|
||
|
{ NIM_BOOL T11_;
|
||
|
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
T11_ = (NIM_BOOL)0; T11_ = lteqpercent___x8ObPz55IkLprSyPyqBSRAsystem(iX60gensym6905461_, ((NI32) 65535)); if (!T11_) goto LA12_;
|
||
|
|
||
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = setLengthStr(result, ((NI) 3)); if ((NU)(((NI) 0)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 0),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) | ((NI32) 224))) < ((NI) 0) || ((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) | ((NI32) 224))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) | ((NI32) 224)), ((NI) 0), ((NI) 255)); } result->data[((NI) 0)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) | ((NI32) 224)))))); if ((NU)(((NI) 1)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 1),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 1)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128)))))); if ((NU)(((NI) 2)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 2),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 2)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128)))))); }
|
||
|
goto LA1_;
|
||
|
LA12_: ;
|
||
|
{ NIM_BOOL T15_;
|
||
|
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 225 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
T15_ = (NIM_BOOL)0; T15_ = lteqpercent___x8ObPz55IkLprSyPyqBSRAsystem(iX60gensym6905461_, ((NI32) 2097151)); if (!T15_) goto LA16_;
|
||
|
|
||
|
#line 226 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = setLengthStr(result, ((NI) 4)); if ((NU)(((NI) 0)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 0),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 18))) | ((NI32) 240))) < ((NI) 0) || ((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 18))) | ((NI32) 240))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 18))) | ((NI32) 240)), ((NI) 0), ((NI) 255)); } result->data[((NI) 0)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 18))) | ((NI32) 240)))))); if ((NU)(((NI) 1)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 1),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 1)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) & ((NI32) 63)) | ((NI32) 128)))))); if ((NU)(((NI) 2)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 2),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 2)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128)))))); if ((NU)(((NI) 3)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 3),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 3)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128)))))); }
|
||
|
goto LA1_;
|
||
|
LA16_: ;
|
||
|
{ NIM_BOOL T19_;
|
||
|
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
T19_ = (NIM_BOOL)0; T19_ = lteqpercent___x8ObPz55IkLprSyPyqBSRAsystem(iX60gensym6905461_, ((NI32) 67108863)); if (!T19_) goto LA20_;
|
||
|
|
||
|
#line 233 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = setLengthStr(result, ((NI) 5)); if ((NU)(((NI) 0)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 0),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 24))) | ((NI32) 248))) < ((NI) 0) || ((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 24))) | ((NI32) 248))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 24))) | ((NI32) 248)), ((NI) 0), ((NI) 255)); } result->data[((NI) 0)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 24))) | ((NI32) 248)))))); if ((NU)(((NI) 1)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 1),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 18))) & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 18))) & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 18))) & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 1)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 18))) & ((NI32) 63)) | ((NI32) 128)))))); if ((NU)(((NI) 2)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 2),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 236 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 236 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 236 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 236 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 236 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 2)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) & ((NI32) 63)) | ((NI32) 128)))))); if ((NU)(((NI) 3)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 3),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 3)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128)))))); if ((NU)(((NI) 4)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 4),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 4)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128)))))); }
|
||
|
goto LA1_;
|
||
|
LA20_: ;
|
||
|
{ NIM_BOOL T23_;
|
||
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
T23_ = (NIM_BOOL)0; T23_ = lteqpercent___x8ObPz55IkLprSyPyqBSRAsystem(iX60gensym6905461_, ((NI32) 2147483647)); if (!T23_) goto LA24_;
|
||
|
|
||
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
result = setLengthStr(result, ((NI) 6)); if ((NU)(((NI) 0)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 0),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 30))) | ((NI32) 252))) < ((NI) 0) || ((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 30))) | ((NI32) 252))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 30))) | ((NI32) 252)), ((NI) 0), ((NI) 255)); } result->data[((NI) 0)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 30))) | ((NI32) 252)))))); if ((NU)(((NI) 1)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 1),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 24))) & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 24))) & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 24))) & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 1)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 24))) & ((NI32) 63)) | ((NI32) 128)))))); if ((NU)(((NI) 2)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 2),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 18))) & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 18))) & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 18))) & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 2)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 18))) & ((NI32) 63)) | ((NI32) 128)))))); if ((NU)(((NI) 3)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 3),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 3)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 12))) & ((NI32) 63)) | ((NI32) 128)))))); if ((NU)(((NI) 4)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 4),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 4)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)((NI32)((NI64)(iX60gensym6905461_) >> (NU64)(((NI) 6))) & ((NI32) 63)) | ((NI32) 128)))))); if ((NU)(((NI) 5)) >= (NU)(result ? result->Sup.len : 0)){ raiseIndexError2(((NI) 5),(result ? result->Sup.len : 0)-1); }
|
||
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
|
||
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/unicode.nim"
|
||
|
if (((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128))) < ((NI) 0) || ((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128))) > ((NI) 255)){ raiseRangeErrorI((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128)), ((NI) 0), ((NI) 255)); } result->data[((NI) 5)] = ((NIM_CHAR) (((NI) ((NI32)((NI32)(iX60gensym6905461_ & ((NI32) 63)) | ((NI32) 128)))))); }
|
||
|
goto LA1_;
|
||
|
LA24_: ;
|
||
|
{ }
|
||
|
LA1_: ;
|
||
|
return result;}
|