/* Generated by re2c */
#line 1 "encodings/unicode_group_Nd_u.re"
// re2c $INPUT -o $OUTPUT -u
#include <stdint.h>
#include <stdio.h>
#define YYCTYPE uint32_t

bool scan(const YYCTYPE* start, const YYCTYPE* const limit) {
	__attribute__((unused)) const YYCTYPE* YYMARKER;
#define YYCURSOR start
Nd:

#line 14 "encodings/unicode_group_Nd_u.c"
{
	YYCTYPE yych;
	yych = *YYCURSOR;
	if (yych <= 0x0000ABF9) {
		if (yych <= 0x00001049) {
			if (yych <= 0x00000B6F) {
				if (yych <= 0x00000965) {
					if (yych <= 0x00000669) {
						if (yych <= '/') goto yy1;
						if (yych <= '9') goto yy2;
						if (yych >= 0x00000660) goto yy2;
					} else {
						if (yych <= 0x000006F9) {
							if (yych >= 0x000006F0) goto yy2;
						} else {
							if (yych <= 0x000007BF) goto yy1;
							if (yych <= 0x000007C9) goto yy2;
						}
					}
				} else {
					if (yych <= 0x00000A65) {
						if (yych <= 0x0000096F) goto yy2;
						if (yych <= 0x000009E5) goto yy1;
						if (yych <= 0x000009EF) goto yy2;
					} else {
						if (yych <= 0x00000AE5) {
							if (yych <= 0x00000A6F) goto yy2;
						} else {
							if (yych <= 0x00000AEF) goto yy2;
							if (yych >= 0x00000B66) goto yy2;
						}
					}
				}
			} else {
				if (yych <= 0x00000DE5) {
					if (yych <= 0x00000C6F) {
						if (yych <= 0x00000BE5) goto yy1;
						if (yych <= 0x00000BEF) goto yy2;
						if (yych >= 0x00000C66) goto yy2;
					} else {
						if (yych <= 0x00000CEF) {
							if (yych >= 0x00000CE6) goto yy2;
						} else {
							if (yych <= 0x00000D65) goto yy1;
							if (yych <= 0x00000D6F) goto yy2;
						}
					}
				} else {
					if (yych <= 0x00000ECF) {
						if (yych <= 0x00000DEF) goto yy2;
						if (yych <= 0x00000E4F) goto yy1;
						if (yych <= 0x00000E59) goto yy2;
					} else {
						if (yych <= 0x00000F1F) {
							if (yych <= 0x00000ED9) goto yy2;
						} else {
							if (yych <= 0x00000F29) goto yy2;
							if (yych >= 0x00001040) goto yy2;
						}
					}
				}
			}
		} else {
			if (yych <= 0x00001BB9) {
				if (yych <= 0x000019CF) {
					if (yych <= 0x000017E9) {
						if (yych <= 0x0000108F) goto yy1;
						if (yych <= 0x00001099) goto yy2;
						if (yych >= 0x000017E0) goto yy2;
					} else {
						if (yych <= 0x00001819) {
							if (yych >= 0x00001810) goto yy2;
						} else {
							if (yych <= 0x00001945) goto yy1;
							if (yych <= 0x0000194F) goto yy2;
						}
					}
				} else {
					if (yych <= 0x00001A8F) {
						if (yych <= 0x000019D9) goto yy2;
						if (yych <= 0x00001A7F) goto yy1;
						if (yych <= 0x00001A89) goto yy2;
					} else {
						if (yych <= 0x00001B4F) {
							if (yych <= 0x00001A99) goto yy2;
						} else {
							if (yych <= 0x00001B59) goto yy2;
							if (yych >= 0x00001BB0) goto yy2;
						}
					}
				}
			} else {
				if (yych <= 0x0000A8FF) {
					if (yych <= 0x00001C59) {
						if (yych <= 0x00001C3F) goto yy1;
						if (yych <= 0x00001C49) goto yy2;
						if (yych >= 0x00001C50) goto yy2;
					} else {
						if (yych <= 0x0000A629) {
							if (yych >= 0x0000A620) goto yy2;
						} else {
							if (yych <= 0x0000A8CF) goto yy1;
							if (yych <= 0x0000A8D9) goto yy2;
						}
					}
				} else {
					if (yych <= 0x0000A9EF) {
						if (yych <= 0x0000A909) goto yy2;
						if (yych <= 0x0000A9CF) goto yy1;
						if (yych <= 0x0000A9D9) goto yy2;
					} else {
						if (yych <= 0x0000AA4F) {
							if (yych <= 0x0000A9F9) goto yy2;
						} else {
							if (yych <= 0x0000AA59) goto yy2;
							if (yych >= 0x0000ABF0) goto yy2;
						}
					}
				}
			}
		}
	} else {
		if (yych <= 0x00011BF9) {
			if (yych <= 0x000112F9) {
				if (yych <= 0x00011065) {
					if (yych <= 0x000104A9) {
						if (yych <= 0x0000FF0F) goto yy1;
						if (yych <= 0x0000FF19) goto yy2;
						if (yych >= 0x000104A0) goto yy2;
					} else {
						if (yych <= 0x00010D39) {
							if (yych >= 0x00010D30) goto yy2;
						} else {
							if (yych <= 0x00010D3F) goto yy1;
							if (yych <= 0x00010D49) goto yy2;
						}
					}
				} else {
					if (yych <= 0x00011135) {
						if (yych <= 0x0001106F) goto yy2;
						if (yych <= 0x000110EF) goto yy1;
						if (yych <= 0x000110F9) goto yy2;
					} else {
						if (yych <= 0x000111CF) {
							if (yych <= 0x0001113F) goto yy2;
						} else {
							if (yych <= 0x000111D9) goto yy2;
							if (yych >= 0x000112F0) goto yy2;
						}
					}
				}
			} else {
				if (yych <= 0x000116CF) {
					if (yych <= 0x000114D9) {
						if (yych <= 0x0001144F) goto yy1;
						if (yych <= 0x00011459) goto yy2;
						if (yych >= 0x000114D0) goto yy2;
					} else {
						if (yych <= 0x00011659) {
							if (yych >= 0x00011650) goto yy2;
						} else {
							if (yych <= 0x000116BF) goto yy1;
							if (yych <= 0x000116C9) goto yy2;
						}
					}
				} else {
					if (yych <= 0x000118DF) {
						if (yych <= 0x000116E3) goto yy2;
						if (yych <= 0x0001172F) goto yy1;
						if (yych <= 0x00011739) goto yy2;
					} else {
						if (yych <= 0x0001194F) {
							if (yych <= 0x000118E9) goto yy2;
						} else {
							if (yych <= 0x00011959) goto yy2;
							if (yych >= 0x00011BF0) goto yy2;
						}
					}
				}
			}
		} else {
			if (yych <= 0x00016B59) {
				if (yych <= 0x00011F4F) {
					if (yych <= 0x00011D59) {
						if (yych <= 0x00011C4F) goto yy1;
						if (yych <= 0x00011C59) goto yy2;
						if (yych >= 0x00011D50) goto yy2;
					} else {
						if (yych <= 0x00011DA9) {
							if (yych >= 0x00011DA0) goto yy2;
						} else {
							if (yych <= 0x00011DDF) goto yy1;
							if (yych <= 0x00011DE9) goto yy2;
						}
					}
				} else {
					if (yych <= 0x00016A5F) {
						if (yych <= 0x00011F59) goto yy2;
						if (yych <= 0x0001612F) goto yy1;
						if (yych <= 0x00016139) goto yy2;
					} else {
						if (yych <= 0x00016ABF) {
							if (yych <= 0x00016A69) goto yy2;
						} else {
							if (yych <= 0x00016AC9) goto yy2;
							if (yych >= 0x00016B50) goto yy2;
						}
					}
				}
			} else {
				if (yych <= 0x0001E2EF) {
					if (yych <= 0x0001CCF9) {
						if (yych <= 0x00016D6F) goto yy1;
						if (yych <= 0x00016D79) goto yy2;
						if (yych >= 0x0001CCF0) goto yy2;
					} else {
						if (yych <= 0x0001D7FF) {
							if (yych >= 0x0001D7CE) goto yy2;
						} else {
							if (yych <= 0x0001E13F) goto yy1;
							if (yych <= 0x0001E149) goto yy2;
						}
					}
				} else {
					if (yych <= 0x0001E5FA) {
						if (yych <= 0x0001E4EF) {
							if (yych <= 0x0001E2F9) goto yy2;
						} else {
							if (yych <= 0x0001E4F9) goto yy2;
							if (yych >= 0x0001E5F1) goto yy2;
						}
					} else {
						if (yych <= 0x0001E959) {
							if (yych >= 0x0001E950) goto yy2;
						} else {
							if (yych <= 0x0001FBEF) goto yy1;
							if (yych <= 0x0001FBF9) goto yy2;
						}
					}
				}
			}
		}
	}
yy1:
	++YYCURSOR;
#line 14 "encodings/unicode_group_Nd_u.re"
	{ return YYCURSOR - 1 == limit; }
#line 262 "encodings/unicode_group_Nd_u.c"
yy2:
	++YYCURSOR;
#line 13 "encodings/unicode_group_Nd_u.re"
	{ goto Nd; }
#line 267 "encodings/unicode_group_Nd_u.c"
}
#line 15 "encodings/unicode_group_Nd_u.re"

}

static const uint32_t chars_Nd[] = {0x30,0x39,0x660,0x669,0x6f0,0x6f9,0x7c0,0x7c9,0x966,0x96f,0x9e6,0x9ef,0xa66,0xa6f,0xae6,0xaef,0xb66,0xb6f,0xbe6,0xbef,0xc66,0xc6f,0xce6,0xcef,0xd66,0xd6f,0xde6,0xdef,0xe50,0xe59,0xed0,0xed9,0xf20,0xf29,0x1040,0x1049,0x1090,0x1099,0x17e0,0x17e9,0x1810,0x1819,0x1946,0x194f,0x19d0,0x19d9,0x1a80,0x1a89,0x1a90,0x1a99,0x1b50,0x1b59,0x1bb0,0x1bb9,0x1c40,0x1c49,0x1c50,0x1c59,0xa620,0xa629,0xa8d0,0xa8d9,0xa900,0xa909,0xa9d0,0xa9d9,0xa9f0,0xa9f9,0xaa50,0xaa59,0xabf0,0xabf9,0xff10,0xff19,0x104a0,0x104a9,0x10d30,0x10d39,0x10d40,0x10d49,0x11066,0x1106f,0x110f0,0x110f9,0x11136,0x1113f,0x111d0,0x111d9,0x112f0,0x112f9,0x11450,0x11459,0x114d0,0x114d9,0x11650,0x11659,0x116c0,0x116c9,0x116d0,0x116e3,0x11730,0x11739,0x118e0,0x118e9,0x11950,0x11959,0x11bf0,0x11bf9,0x11c50,0x11c59,0x11d50,0x11d59,0x11da0,0x11da9,0x11de0,0x11de9,0x11f50,0x11f59,0x16130,0x16139,0x16a60,0x16a69,0x16ac0,0x16ac9,0x16b50,0x16b59,0x16d70,0x16d79,0x1ccf0,0x1ccf9,0x1d7ce,0x1d7ff,0x1e140,0x1e149,0x1e2f0,0x1e2f9,0x1e4f0,0x1e4f9,0x1e5f1,0x1e5fa,0x1e950,0x1e959,0x1fbf0,0x1fbf9,};

static uint32_t encode_utf32(const uint32_t* ranges, uint32_t ranges_count, uint32_t* s) {
	uint32_t* const s0 = s;
	for (uint32_t i = 0; i < ranges_count; i += 2)
		for (uint32_t j = ranges[i]; j <= ranges[i + 1]; ++j) *s++ = j;
	for (uint32_t i = 0; i < 1; ++i) s[i] = 0;
	return s - s0;
}

int main() {
	YYCTYPE* buffer_Nd = new YYCTYPE[771];
	uint32_t buffer_Nd_len = encode_utf32(chars_Nd, sizeof(chars_Nd) / sizeof(uint32_t), buffer_Nd);
	if (!scan(buffer_Nd, buffer_Nd + buffer_Nd_len)) printf("test 'Nd' failed\n");
	delete[] buffer_Nd;
	return 0;
}
