/* Generated by re2c */
#line 1 "encodings/unicode_group_Me_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
Me:

#line 15 "encodings/unicode_group_Me_8.c"
{
	YYCTYPE yych;
	yych = *YYCURSOR;
	switch (yych) {
		case 0xD2: goto yy3;
		case 0xE1: goto yy4;
		case 0xE2: goto yy5;
		case 0xEA: goto yy6;
		default: goto yy1;
	}
yy1:
	++YYCURSOR;
yy2:
#line 15 "encodings/unicode_group_Me_8.re"
	{ return YYCURSOR - 1 == limit; }
#line 31 "encodings/unicode_group_Me_8.c"
yy3:
	yych = *++YYCURSOR;
	switch (yych) {
		case 0x88:
		case 0x89: goto yy7;
		default: goto yy2;
	}
yy4:
	yych = *(YYMARKER = ++YYCURSOR);
	switch (yych) {
		case 0xAA: goto yy8;
		default: goto yy2;
	}
yy5:
	yych = *(YYMARKER = ++YYCURSOR);
	switch (yych) {
		case 0x83: goto yy10;
		default: goto yy2;
	}
yy6:
	yych = *(YYMARKER = ++YYCURSOR);
	switch (yych) {
		case 0x99: goto yy11;
		default: goto yy2;
	}
yy7:
	++YYCURSOR;
#line 14 "encodings/unicode_group_Me_8.re"
	{ goto Me; }
#line 61 "encodings/unicode_group_Me_8.c"
yy8:
	yych = *++YYCURSOR;
	switch (yych) {
		case 0xBE: goto yy7;
		default: goto yy9;
	}
yy9:
	YYCURSOR = YYMARKER;
	goto yy2;
yy10:
	yych = *++YYCURSOR;
	switch (yych) {
		case 0x9D:
		case 0x9E:
		case 0x9F:
		case 0xA0:
		case 0xA2:
		case 0xA3:
		case 0xA4: goto yy7;
		default: goto yy9;
	}
yy11:
	yych = *++YYCURSOR;
	switch (yych) {
		case 0xB0:
		case 0xB1:
		case 0xB2: goto yy7;
		default: goto yy9;
	}
}
#line 16 "encodings/unicode_group_Me_8.re"

}

static const uint32_t chars_Me[] = {0x488,0x489,0x1abe,0x1abe,0x20dd,0x20e0,0x20e2,0x20e4,0xa670,0xa672,};

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_Me = new YYCTYPE[84];
	uint32_t buffer_Me_len = encode_utf8(chars_Me, sizeof(chars_Me) / sizeof(uint32_t), buffer_Me);
	if (!scan(buffer_Me, buffer_Me + buffer_Me_len)) printf("test 'Me' failed\n");
	delete[] buffer_Me;
	return 0;
}
