/* Generated by Nim Compiler v0.16.0 */
/*   (c) 2017 Andreas Rumpf */
/* The generated code is subject to the original license. */
/* Compiled for: Linux, amd64, gcc */
/* Command for C compiler:
   gcc -c  -w -O3 -fno-strict-aliasing -fPIC  -I/build/nim/src/Nim-0.16.0/lib -o lib/nimcache/stdlib_parseutils.o lib/nimcache/stdlib_parseutils.c */
#define NIM_INTBITS 64

#include "nimbase.h"
#undef linux
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct Overflowerror_I3Jtn27626sFBOls6BBQ2Q Overflowerror_I3Jtn27626sFBOls6BBQ2Q;
typedef struct Arithmeticerror_QcJsjWXxMFpjHfkCIK5ExA Arithmeticerror_QcJsjWXxMFpjHfkCIK5ExA;
typedef struct Exception Exception;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Cell_1zcF9cV8XIAtbN8h5HRUB8g Cell_1zcF9cV8XIAtbN8h5HRUB8g;
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef NU8 Tnimkind_jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 Tnimtypeflag_v8QUszD1sWlSIWZz7mC4bQ_Set;
typedef N_NIMCALL_PTR(void, TY_ojoeKfW4VYIm36I9cpDTQIg) (void* p0, NI op0);
typedef N_NIMCALL_PTR(void*, TY_WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p0);
struct  TNimType  {
NI size;
Tnimkind_jIBKr1ejBgsfM33Kxw4j7A kind;
Tnimtypeflag_v8QUszD1sWlSIWZz7mC4bQ_Set flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY_ojoeKfW4VYIm36I9cpDTQIg marker;
TY_WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  Exception  {
  TNimObject Sup;
Exception* parent;
NCSTRING name;
NimStringDesc* message;
NimStringDesc* trace;
};
struct  Arithmeticerror_QcJsjWXxMFpjHfkCIK5ExA  {
  Exception Sup;
};
struct  Overflowerror_I3Jtn27626sFBOls6BBQ2Q  {
  Arithmeticerror_QcJsjWXxMFpjHfkCIK5ExA Sup;
};
typedef NU8 Tnimnodekind_unfNsxrcATrufDZmpBq4HQ;
struct  TNimNode  {
Tnimnodekind_unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Cell_1zcF9cV8XIAtbN8h5HRUB8g  {
NI refcount;
TNimType* typ;
};
N_LIB_EXPORT N_CDECL(NI, npuParseHex)(NimStringDesc* s0, NI* number0, NI start0, NI maxlen0);
N_LIB_EXPORT N_CDECL(NI, npuParseOct)(NimStringDesc* s0, NI* number0, NI start0);
N_LIB_EXPORT N_CDECL(NI, npuParseBiggestInt)(NimStringDesc* s0, NI64* number0, NI start0);
N_NIMCALL(NI, rawparseint_ZzngwN3GXlI9aVYNxHLGOXQ)(NimStringDesc* s0, NI64* b0, NI start0);
static N_INLINE(NI, addInt)(NI a0, NI b0);
N_NOINLINE(void, raiseOverflow)(void);
N_NIMCALL(NI64, mulInt64)(NI64 a0, NI64 b0);
static N_INLINE(NI, subInt)(NI a0, NI b0);
static N_INLINE(NI64, subInt64)(NI64 a0, NI64 b0);
N_LIB_EXPORT N_CDECL(NI, npuParseInt)(NimStringDesc* s0, NI* number0, NI start0);
N_LIB_EXPORT N_CDECL(void*, nimrtl_newObj)(TNimType* typ0, NI size0);
N_LIB_EXPORT N_CDECL(NimStringDesc*, nimrtl_copyStringRC1)(NimStringDesc* src0);
static N_INLINE(void, nimGCunrefNoCycle)(void* p0);
static N_INLINE(Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrtocell_yB9aH5WIlwd0xkYrcdPeXrQsystem)(void* usr0);
N_LIB_EXPORT N_CDECL(void, nimrtl_rtlAddZCT)(Cell_1zcF9cV8XIAtbN8h5HRUB8g* c0);
N_LIB_EXPORT N_CDECL(void, nimrtl_raiseException)(Exception* e0, NCSTRING ename0);
N_LIB_EXPORT N_CDECL(NI, npuParseBiggestUInt)(NimStringDesc* s0, NU64* number0, NI start0);
N_NIMCALL(NI, rawparseuint_OzYQCLjNwotWpNl0Q1C9cmQ)(NimStringDesc* s0, NU64* b0, NI start0);
N_LIB_EXPORT N_CDECL(NI, npuParseUInt)(NimStringDesc* s0, NU* number0, NI start0);
N_LIB_EXPORT N_CDECL(NI, npuParseFloat)(NimStringDesc* s0, NF* number0, NI start0);
N_NIMCALL(NI, nimParseBiggestFloat)(NimStringDesc* s0, NF* number0, NI start0);
N_NIMCALL(NI, nimParseBiggestFloat)(NimStringDesc* s0, NF* number0, NI start0);
extern TNimType NTI_6woiEp3hwhYMr1p5tjkZvA;
extern TNimType NTI_I3Jtn27626sFBOls6BBQ2Q;
STRING_LITERAL(T_vI9aZNKIcImom6dDyKXW1ZA_11, "overflow", 8);

N_LIB_EXPORT N_CDECL(NI, npuParseHex)(NimStringDesc* s0, NI* number0, NI start0, NI maxlen0) {
	NI result0;
	NI i0;
	NIM_BOOL founddigit0;
	NI last0;
	result0 = (NI)0;
	i0 = start0;
	founddigit0 = NIM_FALSE;
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC5;
		LOC3 = (NIM_BOOL)0;
		LOC3 = ((NU8)(s0->data[i0]) == (NU8)(48));
		if (!(LOC3)) goto LA4;
		LOC5 = (NIM_BOOL)0;
		LOC5 = ((NU8)(s0->data[(NI)(i0 + ((NI) 1))]) == (NU8)(120));
		if (LOC5) goto LA6;
		LOC5 = ((NU8)(s0->data[(NI)(i0 + ((NI) 1))]) == (NU8)(88));
		LA6: ;
		LOC3 = LOC5;
		LA4: ;
		if (!LOC3) goto LA7;
		i0 += ((NI) 2);
	}
	goto LA1;
	LA7: ;
	{
		if (!((NU8)(s0->data[i0]) == (NU8)(35))) goto LA10;
		i0 += ((NI) 1);
	}
	goto LA1;
	LA10: ;
	LA1: ;
	{
		if (!(maxlen0 == ((NI) 0))) goto LA14;
		last0 = (s0 ? s0->Sup.len : 0);
	}
	goto LA12;
	LA14: ;
	{
		last0 = (NI)(i0 + maxlen0);
	}
	LA12: ;
	{
		while (1) {
			if (!(i0 < last0)) goto LA18;
			switch (((NU8)(s0->data[i0]))) {
			case 95:
			{
			}
			break;
			case 48 ... 57:
			{
				(*number0) = (NI)((NI)((NU64)((*number0)) << (NU64)(((NI) 4))) | ((NI) ((NI)(((NI) (((NU8)(s0->data[i0])))) - ((NI) 48)))));
				founddigit0 = NIM_TRUE;
			}
			break;
			case 97 ... 102:
			{
				(*number0) = (NI)((NI)((NU64)((*number0)) << (NU64)(((NI) 4))) | ((NI) ((NI)(((NI) ((NI)(((NI) (((NU8)(s0->data[i0])))) - ((NI) 97)))) + ((NI) 10)))));
				founddigit0 = NIM_TRUE;
			}
			break;
			case 65 ... 70:
			{
				(*number0) = (NI)((NI)((NU64)((*number0)) << (NU64)(((NI) 4))) | ((NI) ((NI)(((NI) ((NI)(((NI) (((NU8)(s0->data[i0])))) - ((NI) 65)))) + ((NI) 10)))));
				founddigit0 = NIM_TRUE;
			}
			break;
			default:
			{
				goto LA17;
			}
			break;
			}
			i0 += ((NI) 1);
		} LA18: ;
	} LA17: ;
	{
		if (!founddigit0) goto LA26;
		result0 = (NI)(i0 - start0);
	}
	LA26: ;
	return result0;
}

N_LIB_EXPORT N_CDECL(NI, npuParseOct)(NimStringDesc* s0, NI* number0, NI start0) {
	NI result0;
	NI i0;
	NIM_BOOL founddigit0;
	result0 = (NI)0;
	i0 = start0;
	founddigit0 = NIM_FALSE;
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC5;
		LOC3 = (NIM_BOOL)0;
		LOC3 = ((NU8)(s0->data[i0]) == (NU8)(48));
		if (!(LOC3)) goto LA4;
		LOC5 = (NIM_BOOL)0;
		LOC5 = ((NU8)(s0->data[(NI)(i0 + ((NI) 1))]) == (NU8)(111));
		if (LOC5) goto LA6;
		LOC5 = ((NU8)(s0->data[(NI)(i0 + ((NI) 1))]) == (NU8)(79));
		LA6: ;
		LOC3 = LOC5;
		LA4: ;
		if (!LOC3) goto LA7;
		i0 += ((NI) 2);
	}
	LA7: ;
	{
		while (1) {
			switch (((NU8)(s0->data[i0]))) {
			case 95:
			{
			}
			break;
			case 48 ... 55:
			{
				(*number0) = (NI)((NI)((NU64)((*number0)) << (NU64)(((NI) 3))) | ((NI) ((NI)(((NI) (((NU8)(s0->data[i0])))) - ((NI) 48)))));
				founddigit0 = NIM_TRUE;
			}
			break;
			default:
			{
				goto LA9;
			}
			break;
			}
			i0 += ((NI) 1);
		}
	} LA9: ;
	{
		if (!founddigit0) goto LA16;
		result0 = (NI)(i0 - start0);
	}
	LA16: ;
	return result0;
}

static N_INLINE(NI, addInt)(NI a0, NI b0) {
	NI result0;
{	result0 = (NI)0;
	result0 = (NI)((NU64)(a0) + (NU64)(b0));
	{
		NIM_BOOL LOC3;
		LOC3 = (NIM_BOOL)0;
		LOC3 = (((NI) 0) <= (NI)(result0 ^ a0));
		if (LOC3) goto LA4;
		LOC3 = (((NI) 0) <= (NI)(result0 ^ b0));
		LA4: ;
		if (!LOC3) goto LA5;
		goto BeforeRet;
	}
	LA5: ;
	raiseOverflow();
	}BeforeRet: ;
	return result0;
}

static N_INLINE(NI, subInt)(NI a0, NI b0) {
	NI result0;
{	result0 = (NI)0;
	result0 = (NI)((NU64)(a0) - (NU64)(b0));
	{
		NIM_BOOL LOC3;
		LOC3 = (NIM_BOOL)0;
		LOC3 = (((NI) 0) <= (NI)(result0 ^ a0));
		if (LOC3) goto LA4;
		LOC3 = (((NI) 0) <= (NI)(result0 ^ (NI)((NU64) ~(b0))));
		LA4: ;
		if (!LOC3) goto LA5;
		goto BeforeRet;
	}
	LA5: ;
	raiseOverflow();
	}BeforeRet: ;
	return result0;
}

static N_INLINE(NI64, subInt64)(NI64 a0, NI64 b0) {
	NI64 result0;
{	result0 = (NI64)0;
	result0 = (NI64)((NU64)(a0) - (NU64)(b0));
	{
		NIM_BOOL LOC3;
		LOC3 = (NIM_BOOL)0;
		LOC3 = (IL64(0) <= (NI64)(result0 ^ a0));
		if (LOC3) goto LA4;
		LOC3 = (IL64(0) <= (NI64)(result0 ^ (NI64)((NU64) ~(b0))));
		LA4: ;
		if (!LOC3) goto LA5;
		goto BeforeRet;
	}
	LA5: ;
	raiseOverflow();
	}BeforeRet: ;
	return result0;
}

N_NIMCALL(NI, rawparseint_ZzngwN3GXlI9aVYNxHLGOXQ)(NimStringDesc* s0, NI64* b0, NI start0) {
	NI result0;
	NI64 sign0;
	NI i0;
	result0 = (NI)0;
	sign0 = IL64(-1);
	i0 = start0;
	{
		NI T_vI9aZNKIcImom6dDyKXW1ZA_2;
		if (!((NU8)(s0->data[i0]) == (NU8)(43))) goto LA3;
		T_vI9aZNKIcImom6dDyKXW1ZA_2 = addInt(i0, ((NI) 1));
		i0 = (NI)(T_vI9aZNKIcImom6dDyKXW1ZA_2);
	}
	goto LA1;
	LA3: ;
	{
		NI T_vI9aZNKIcImom6dDyKXW1ZA_3;
		if (!((NU8)(s0->data[i0]) == (NU8)(45))) goto LA6;
		T_vI9aZNKIcImom6dDyKXW1ZA_3 = addInt(i0, ((NI) 1));
		i0 = (NI)(T_vI9aZNKIcImom6dDyKXW1ZA_3);
		sign0 = IL64(1);
	}
	goto LA1;
	LA6: ;
	LA1: ;
	{
		NI64 T_vI9aZNKIcImom6dDyKXW1ZA_9;
		NI T_vI9aZNKIcImom6dDyKXW1ZA_10;
		if (!(((NU8)(s0->data[i0])) >= ((NU8)(48)) && ((NU8)(s0->data[i0])) <= ((NU8)(57)))) goto LA10;
		(*b0) = IL64(0);
		{
			while (1) {
				NI64 T_vI9aZNKIcImom6dDyKXW1ZA_4;
				NI T_vI9aZNKIcImom6dDyKXW1ZA_5;
				NI64 T_vI9aZNKIcImom6dDyKXW1ZA_6;
				NI T_vI9aZNKIcImom6dDyKXW1ZA_7;
				if (!(((NU8)(s0->data[i0])) >= ((NU8)(48)) && ((NU8)(s0->data[i0])) <= ((NU8)(57)))) goto LA13;
				T_vI9aZNKIcImom6dDyKXW1ZA_4 = mulInt64((*b0), IL64(10));
				T_vI9aZNKIcImom6dDyKXW1ZA_5 = subInt(((NI) (((NU8)(s0->data[i0])))), ((NI) 48));
				T_vI9aZNKIcImom6dDyKXW1ZA_6 = subInt64((NI64)(T_vI9aZNKIcImom6dDyKXW1ZA_4), ((NI64) ((NI)(T_vI9aZNKIcImom6dDyKXW1ZA_5))));
				(*b0) = (NI64)(T_vI9aZNKIcImom6dDyKXW1ZA_6);
				T_vI9aZNKIcImom6dDyKXW1ZA_7 = addInt(i0, ((NI) 1));
				i0 = (NI)(T_vI9aZNKIcImom6dDyKXW1ZA_7);
				{
					while (1) {
						NI T_vI9aZNKIcImom6dDyKXW1ZA_8;
						if (!((NU8)(s0->data[i0]) == (NU8)(95))) goto LA15;
						T_vI9aZNKIcImom6dDyKXW1ZA_8 = addInt(i0, ((NI) 1));
						i0 = (NI)(T_vI9aZNKIcImom6dDyKXW1ZA_8);
					} LA15: ;
				}
			} LA13: ;
		}
		T_vI9aZNKIcImom6dDyKXW1ZA_9 = mulInt64((*b0), sign0);
		(*b0) = (NI64)(T_vI9aZNKIcImom6dDyKXW1ZA_9);
		T_vI9aZNKIcImom6dDyKXW1ZA_10 = subInt(i0, start0);
		result0 = (NI)(T_vI9aZNKIcImom6dDyKXW1ZA_10);
	}
	LA10: ;
	return result0;
}

N_LIB_EXPORT N_CDECL(NI, npuParseBiggestInt)(NimStringDesc* s0, NI64* number0, NI start0) {
	NI result0;
	NI64 res0;
	result0 = (NI)0;
	res0 = (NI64)0;
	result0 = rawparseint_ZzngwN3GXlI9aVYNxHLGOXQ(s0, (&res0), start0);
	(*number0) = res0;
	return result0;
}

static N_INLINE(Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrtocell_yB9aH5WIlwd0xkYrcdPeXrQsystem)(void* usr0) {
	Cell_1zcF9cV8XIAtbN8h5HRUB8g* result0;
	result0 = (Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
	result0 = ((Cell_1zcF9cV8XIAtbN8h5HRUB8g*) ((NI)((NU64)(((NI) (usr0))) - (NU64)(((NI)sizeof(Cell_1zcF9cV8XIAtbN8h5HRUB8g))))));
	return result0;
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p0) {
	Cell_1zcF9cV8XIAtbN8h5HRUB8g* c0;
	c0 = usrtocell_yB9aH5WIlwd0xkYrcdPeXrQsystem(p0);
	{
		(*c0).refcount -= ((NI) 8);
		if (!((NU64)((*c0).refcount) < (NU64)(((NI) 8)))) goto LA3;
		nimrtl_rtlAddZCT(c0);
	}
	LA3: ;
}

N_LIB_EXPORT N_CDECL(NI, npuParseInt)(NimStringDesc* s0, NI* number0, NI start0) {
	NI result0;
	NI64 res0;
	result0 = (NI)0;
	res0 = (NI64)0;
	result0 = npuParseBiggestInt(s0, (&res0), start0);
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC5;
		Overflowerror_I3Jtn27626sFBOls6BBQ2Q* e_dLWqz9cnB1r9cC0aygI9bbxJw;
		NimStringDesc* LOC9;
		LOC3 = (NIM_BOOL)0;
		LOC3 = NIM_FALSE;
		if (!(LOC3)) goto LA4;
		LOC5 = (NIM_BOOL)0;
		LOC5 = (res0 < (IL64(-9223372036854775807) - IL64(1)));
		if (LOC5) goto LA6;
		LOC5 = (IL64(9223372036854775807) < res0);
		LA6: ;
		LOC3 = LOC5;
		LA4: ;
		if (!LOC3) goto LA7;
		e_dLWqz9cnB1r9cC0aygI9bbxJw = (Overflowerror_I3Jtn27626sFBOls6BBQ2Q*)0;
		e_dLWqz9cnB1r9cC0aygI9bbxJw = (Overflowerror_I3Jtn27626sFBOls6BBQ2Q*) nimrtl_newObj((&NTI_6woiEp3hwhYMr1p5tjkZvA), sizeof(Overflowerror_I3Jtn27626sFBOls6BBQ2Q));
		(*e_dLWqz9cnB1r9cC0aygI9bbxJw).Sup.Sup.Sup.m_type = (&NTI_I3Jtn27626sFBOls6BBQ2Q);
		LOC9 = (NimStringDesc*)0;
		LOC9 = (*e_dLWqz9cnB1r9cC0aygI9bbxJw).Sup.Sup.message; (*e_dLWqz9cnB1r9cC0aygI9bbxJw).Sup.Sup.message = nimrtl_copyStringRC1(((NimStringDesc*) &T_vI9aZNKIcImom6dDyKXW1ZA_11));
		if (LOC9) nimGCunrefNoCycle(LOC9);
		nimrtl_raiseException((Exception*)e_dLWqz9cnB1r9cC0aygI9bbxJw, "OverflowError");
	}
	goto LA1;
	LA7: ;
	{
		if (!!((result0 == ((NI) 0)))) goto LA11;
		(*number0) = ((NI) (res0));
	}
	goto LA1;
	LA11: ;
	LA1: ;
	return result0;
}

N_NIMCALL(NI, rawparseuint_OzYQCLjNwotWpNl0Q1C9cmQ)(NimStringDesc* s0, NU64* b0, NI start0) {
	NI result0;
	NU64 res0;
	NU64 prev0;
	NI i0;
{	result0 = (NI)0;
	res0 = 0ULL;
	prev0 = 0ULL;
	i0 = start0;
	{
		if (!((NU8)(s0->data[i0]) == (NU8)(43))) goto LA3;
		i0 += ((NI) 1);
	}
	LA3: ;
	{
		if (!(((NU8)(s0->data[i0])) >= ((NU8)(48)) && ((NU8)(s0->data[i0])) <= ((NU8)(57)))) goto LA7;
		(*b0) = 0ULL;
		{
			while (1) {
				if (!(((NU8)(s0->data[i0])) >= ((NU8)(48)) && ((NU8)(s0->data[i0])) <= ((NU8)(57)))) goto LA10;
				prev0 = res0;
				res0 = (NU64)((NU64)((NU64)((NU64)(res0) * (NU64)(((NI) 10)))) + (NU64)(((NU64) ((NI)(((NI) (((NU8)(s0->data[i0])))) - ((NI) 48))))));
				{
					if (!((NU64)(res0) < (NU64)(prev0))) goto LA13;
					result0 = ((NI) 0);
					goto BeforeRet;
				}
				LA13: ;
				i0 += ((NI) 1);
				{
					while (1) {
						if (!((NU8)(s0->data[i0]) == (NU8)(95))) goto LA16;
						i0 += ((NI) 1);
					} LA16: ;
				}
			} LA10: ;
		}
		(*b0) = res0;
		result0 = (NI)(i0 - start0);
	}
	LA7: ;
	}BeforeRet: ;
	return result0;
}

N_LIB_EXPORT N_CDECL(NI, npuParseBiggestUInt)(NimStringDesc* s0, NU64* number0, NI start0) {
	NI result0;
	NU64 res0;
	result0 = (NI)0;
	res0 = (NU64)0;
	result0 = rawparseuint_OzYQCLjNwotWpNl0Q1C9cmQ(s0, (&res0), start0);
	(*number0) = res0;
	return result0;
}

N_LIB_EXPORT N_CDECL(NI, npuParseUInt)(NimStringDesc* s0, NU* number0, NI start0) {
	NI result0;
	NU64 res0;
	result0 = (NI)0;
	res0 = (NU64)0;
	result0 = npuParseBiggestUInt(s0, (&res0), start0);
	{
		NIM_BOOL LOC3;
		Overflowerror_I3Jtn27626sFBOls6BBQ2Q* e_RkskCKkv7UHXTGNwWoRfGA;
		NimStringDesc* LOC7;
		LOC3 = (NIM_BOOL)0;
		LOC3 = NIM_FALSE;
		if (!(LOC3)) goto LA4;
		LOC3 = ((NU64)(4294967295ULL) < (NU64)(res0));
		LA4: ;
		if (!LOC3) goto LA5;
		e_RkskCKkv7UHXTGNwWoRfGA = (Overflowerror_I3Jtn27626sFBOls6BBQ2Q*)0;
		e_RkskCKkv7UHXTGNwWoRfGA = (Overflowerror_I3Jtn27626sFBOls6BBQ2Q*) nimrtl_newObj((&NTI_6woiEp3hwhYMr1p5tjkZvA), sizeof(Overflowerror_I3Jtn27626sFBOls6BBQ2Q));
		(*e_RkskCKkv7UHXTGNwWoRfGA).Sup.Sup.Sup.m_type = (&NTI_I3Jtn27626sFBOls6BBQ2Q);
		LOC7 = (NimStringDesc*)0;
		LOC7 = (*e_RkskCKkv7UHXTGNwWoRfGA).Sup.Sup.message; (*e_RkskCKkv7UHXTGNwWoRfGA).Sup.Sup.message = nimrtl_copyStringRC1(((NimStringDesc*) &T_vI9aZNKIcImom6dDyKXW1ZA_11));
		if (LOC7) nimGCunrefNoCycle(LOC7);
		nimrtl_raiseException((Exception*)e_RkskCKkv7UHXTGNwWoRfGA, "OverflowError");
	}
	goto LA1;
	LA5: ;
	{
		if (!!((result0 == ((NI) 0)))) goto LA9;
		(*number0) = ((NU) (res0));
	}
	goto LA1;
	LA9: ;
	LA1: ;
	return result0;
}

N_LIB_EXPORT N_CDECL(NI, npuParseFloat)(NimStringDesc* s0, NF* number0, NI start0) {
	NI result0;
	NF bf0;
	result0 = (NI)0;
	bf0 = (NF)0;
	result0 = nimParseBiggestFloat(s0, (&bf0), start0);
	{
		if (!!((result0 == ((NI) 0)))) goto LA3;
		(*number0) = bf0;
	}
	LA3: ;
	return result0;
}
NIM_EXTERNC N_NOINLINE(void, stdlib_parseutilsInit000)(void) {
}

NIM_EXTERNC N_NOINLINE(void, stdlib_parseutilsDatInit000)(void) {
}

