/* Generated by re2c */
#line 1 "encodings/unicode_group_Lt_8.re"
// re2c $INPUT -o $OUTPUT -8
#include <stdint.h>
#include <stdio.h>
#include "utf8.h"
#define YYCTYPE uint8_t

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

#line 15 "encodings/unicode_group_Lt_8.c"
{
	YYCTYPE yych;
	yych = *YYCURSOR;
	switch (yych) {
		case 0xC7: goto yy3;
		case 0xE1: goto yy4;
		default: goto yy1;
	}
yy1:
	++YYCURSOR;
yy2:
#line 15 "encodings/unicode_group_Lt_8.re"
	{ return YYCURSOR - 1 == limit; }
#line 29 "encodings/unicode_group_Lt_8.c"
yy3:
	yych = *++YYCURSOR;
	switch (yych) {
		case 0x85:
		case 0x88:
		case 0x8B:
		case 0xB2: goto yy5;
		default: goto yy2;
	}
yy4:
	yych = *(YYMARKER = ++YYCURSOR);
	switch (yych) {
		case 0xBE: goto yy6;
		case 0xBF: goto yy8;
		default: goto yy2;
	}
yy5:
	++YYCURSOR;
#line 14 "encodings/unicode_group_Lt_8.re"
	{ goto Lt; }
#line 50 "encodings/unicode_group_Lt_8.c"
yy6:
	yych = *++YYCURSOR;
	switch (yych) {
		case 0x88:
		case 0x89:
		case 0x8A:
		case 0x8B:
		case 0x8C:
		case 0x8D:
		case 0x8E:
		case 0x8F:
		case 0x98:
		case 0x99:
		case 0x9A:
		case 0x9B:
		case 0x9C:
		case 0x9D:
		case 0x9E:
		case 0x9F:
		case 0xA8:
		case 0xA9:
		case 0xAA:
		case 0xAB:
		case 0xAC:
		case 0xAD:
		case 0xAE:
		case 0xAF:
		case 0xBC: goto yy5;
		default: goto yy7;
	}
yy7:
	YYCURSOR = YYMARKER;
	goto yy2;
yy8:
	yych = *++YYCURSOR;
	switch (yych) {
		case 0x8C:
		case 0xBC: goto yy5;
		default: goto yy7;
	}
}
#line 16 "encodings/unicode_group_Lt_8.re"

}

static const uint32_t chars_Lt[] = {0x1c5,0x1c5,0x1c8,0x1c8,0x1cb,0x1cb,0x1f2,0x1f2,0x1f88,0x1f8f,0x1f98,0x1f9f,0x1fa8,0x1faf,0x1fbc,0x1fbc,0x1fcc,0x1fcc,0x1ffc,0x1ffc,};

static uint32_t encode_utf8(const uint32_t* ranges, uint32_t ranges_count, uint8_t* s) {
	uint8_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 += re2c::utf8::rune_to_bytes(s, j);
	for (uint32_t i = 0; i < 6; ++i) s[i] = 0;
	return s - s0;
}

int main() {
	YYCTYPE* buffer_Lt = new YYCTYPE[192];
	uint32_t buffer_Lt_len = encode_utf8(chars_Lt, sizeof(chars_Lt) / sizeof(uint32_t), buffer_Lt);
	if (!scan(buffer_Lt, buffer_Lt + buffer_Lt_len)) printf("test 'Lt' failed\n");
	delete[] buffer_Lt;
	return 0;
}
