/* Generated by re2c */
// re2c $INPUT -o $OUTPUT -ei
#include <stdio.h>

int scan(const unsigned char *cr)
{
	unsigned char  ch;

{
	unsigned char ch;
	ch = *cr;
	switch (ch) {
		case 0x00: goto yy1;
		case 0x01: goto yy2;
		case 0x02: goto yy3;
		case 0x03: goto yy4;
		case 0x04: goto yy5;
		case 0x05: goto yy6;
		case 0x06: goto yy7;
		case 0x07: goto yy8;
		case 0x08: goto yy9;
		case 0x09: goto yy10;
		case 0x0A: goto yy11;
		case 0x0B: goto yy12;
		case 0x0C: goto yy13;
		case 0x0D: goto yy14;
		case 0x0E: goto yy15;
		case 0x0F: goto yy16;
		case 0x10: goto yy17;
		case 0x11: goto yy18;
		case 0x12: goto yy19;
		case 0x13: goto yy20;
		case 0x14: goto yy21;
		case 0x15: goto yy22;
		case 0x16: goto yy23;
		case 0x17: goto yy24;
		case 0x18: goto yy25;
		case 0x19: goto yy26;
		case 0x1A: goto yy27;
		case 0x1B: goto yy28;
		case 0x1C: goto yy29;
		case 0x1D: goto yy30;
		case 0x1E: goto yy31;
		case 0x1F: goto yy32;
		case 0x20: goto yy33;
		case 0x21: goto yy34;
		case 0x22: goto yy35;
		case 0x23: goto yy36;
		case 0x24: goto yy37;
		case 0x25: goto yy38;
		case 0x26: goto yy39;
		case 0x27: goto yy40;
		case 0x28: goto yy41;
		case 0x29: goto yy42;
		case 0x2A: goto yy43;
		case 0x2B: goto yy44;
		case 0x2C: goto yy45;
		case 0x2D: goto yy46;
		case 0x2E: goto yy47;
		case 0x2F: goto yy48;
		case 0x30: goto yy49;
		case 0x31: goto yy50;
		case 0x32: goto yy51;
		case 0x33: goto yy52;
		case 0x34: goto yy53;
		case 0x35: goto yy54;
		case 0x36: goto yy55;
		case 0x37: goto yy56;
		case 0x38: goto yy57;
		case 0x39: goto yy58;
		case 0x3A: goto yy59;
		case 0x3B: goto yy60;
		case 0x3C: goto yy61;
		case 0x3D: goto yy62;
		case 0x3E: goto yy63;
		case 0x3F: goto yy64;
		case 0x40: goto yy65;
		case 0x41: goto yy66;
		case 0x42: goto yy67;
		case 0x43: goto yy68;
		case 0x44: goto yy69;
		case 0x45: goto yy70;
		case 0x46: goto yy71;
		case 0x47: goto yy72;
		case 0x48: goto yy73;
		case 0x49: goto yy74;
		case 0x4A: goto yy75;
		case 0x4B: goto yy76;
		case 0x4C: goto yy77;
		case 0x4D: goto yy78;
		case 0x4E: goto yy79;
		case 0x4F: goto yy80;
		case 0x50: goto yy81;
		case 0x51: goto yy82;
		case 0x52: goto yy83;
		case 0x53: goto yy84;
		case 0x54: goto yy85;
		case 0x55: goto yy86;
		case 0x56: goto yy87;
		case 0x57: goto yy88;
		case 0x58: goto yy89;
		case 0x59: goto yy90;
		case 0x5A: goto yy91;
		case 0x5B: goto yy92;
		case 0x5C: goto yy93;
		case 0x5D: goto yy94;
		case 0x5E: goto yy95;
		case 0x5F: goto yy96;
		case 0x60: goto yy97;
		case 0x61: goto yy98;
		case 0x62: goto yy99;
		case 0x63: goto yy100;
		case 0x64: goto yy101;
		case 0x65: goto yy102;
		case 0x66: goto yy103;
		case 0x67: goto yy104;
		case 0x68: goto yy105;
		case 0x69: goto yy106;
		case 0x6A: goto yy107;
		case 0x6B: goto yy108;
		case 0x6C: goto yy109;
		case 0x6D: goto yy110;
		case 0x6E: goto yy111;
		case 0x6F: goto yy112;
		case 0x70: goto yy113;
		case 0x71: goto yy114;
		case 0x72: goto yy115;
		case 0x73: goto yy116;
		case 0x74: goto yy117;
		case 0x75: goto yy118;
		case 0x76: goto yy119;
		case 0x77: goto yy120;
		case 0x78: goto yy121;
		case 0x79: goto yy122;
		case 0x7A: goto yy123;
		case 0x7B: goto yy124;
		case 0x7C: goto yy125;
		case 0x7D: goto yy126;
		case 0x7E: goto yy127;
		case 0x7F: goto yy128;
		case 0x80: goto yy129;
		case 0x81: goto yy130;
		case 0x82: goto yy131;
		case 0x83: goto yy132;
		case 0x84: goto yy133;
		case 0x85: goto yy134;
		case 0x86: goto yy135;
		case 0x87: goto yy136;
		case 0x88: goto yy137;
		case 0x89: goto yy138;
		case 0x8A: goto yy139;
		case 0x8B: goto yy140;
		case 0x8C: goto yy141;
		case 0x8D: goto yy142;
		case 0x8E: goto yy143;
		case 0x8F: goto yy144;
		case 0x90: goto yy145;
		case 0x91: goto yy146;
		case 0x92: goto yy147;
		case 0x93: goto yy148;
		case 0x94: goto yy149;
		case 0x95: goto yy150;
		case 0x96: goto yy151;
		case 0x97: goto yy152;
		case 0x98: goto yy153;
		case 0x99: goto yy154;
		case 0x9A: goto yy155;
		case 0x9B: goto yy156;
		case 0x9C: goto yy157;
		case 0x9D: goto yy158;
		case 0x9E: goto yy159;
		case 0x9F: goto yy160;
		case 0xA0: goto yy161;
		case 0xA1: goto yy162;
		case 0xA2: goto yy163;
		case 0xA3: goto yy164;
		case 0xA4: goto yy165;
		case 0xA5: goto yy166;
		case 0xA6: goto yy167;
		case 0xA7: goto yy168;
		case 0xA8: goto yy169;
		case 0xA9: goto yy170;
		case 0xAA: goto yy171;
		case 0xAB: goto yy172;
		case 0xAC: goto yy173;
		case 0xAD: goto yy174;
		case 0xAE: goto yy175;
		case 0xAF: goto yy176;
		case 0xB0: goto yy177;
		case 0xB1: goto yy178;
		case 0xB2: goto yy179;
		case 0xB3: goto yy180;
		case 0xB4: goto yy181;
		case 0xB5: goto yy182;
		case 0xB6: goto yy183;
		case 0xB7: goto yy184;
		case 0xB8: goto yy185;
		case 0xB9: goto yy186;
		case 0xBA: goto yy187;
		case 0xBB: goto yy188;
		case 0xBC: goto yy189;
		case 0xBD: goto yy190;
		case 0xBE: goto yy191;
		case 0xBF: goto yy192;
		case 0xC0: goto yy193;
		case 0xC1: goto yy194;
		case 0xC2: goto yy195;
		case 0xC3: goto yy196;
		case 0xC4: goto yy197;
		case 0xC5: goto yy198;
		case 0xC6: goto yy199;
		case 0xC7: goto yy200;
		case 0xC8: goto yy201;
		case 0xC9: goto yy202;
		case 0xCA: goto yy203;
		case 0xCB: goto yy204;
		case 0xCC: goto yy205;
		case 0xCD: goto yy206;
		case 0xCE: goto yy207;
		case 0xCF: goto yy208;
		case 0xD0: goto yy209;
		case 0xD1: goto yy210;
		case 0xD2: goto yy211;
		case 0xD3: goto yy212;
		case 0xD4: goto yy213;
		case 0xD5: goto yy214;
		case 0xD6: goto yy215;
		case 0xD7: goto yy216;
		case 0xD8: goto yy217;
		case 0xD9: goto yy218;
		case 0xDA: goto yy219;
		case 0xDB: goto yy220;
		case 0xDC: goto yy221;
		case 0xDD: goto yy222;
		case 0xDE: goto yy223;
		case 0xDF: goto yy224;
		case 0xE0: goto yy225;
		case 0xE1: goto yy226;
		case 0xE2: goto yy227;
		case 0xE3: goto yy228;
		case 0xE4: goto yy229;
		case 0xE5: goto yy230;
		case 0xE6: goto yy231;
		case 0xE7: goto yy232;
		case 0xE8: goto yy233;
		case 0xE9: goto yy234;
		case 0xEA: goto yy235;
		case 0xEB: goto yy236;
		case 0xEC: goto yy237;
		case 0xED: goto yy238;
		case 0xEE: goto yy239;
		case 0xEF: goto yy240;
		case 0xF0: goto yy241;
		case 0xF1: goto yy242;
		case 0xF2: goto yy243;
		case 0xF3: goto yy244;
		case 0xF4: goto yy245;
		case 0xF5: goto yy246;
		case 0xF6: goto yy247;
		case 0xF7: goto yy248;
		case 0xF8: goto yy249;
		case 0xF9: goto yy250;
		case 0xFA: goto yy251;
		case 0xFB: goto yy252;
		case 0xFC: goto yy253;
		case 0xFD: goto yy254;
		case 0xFE: goto yy255;
		default: goto yy256;
	}
yy1:
	++cr;
	return 0x00;
yy2:
	++cr;
	return 0x01;
yy3:
	++cr;
	return 0x02;
yy4:
	++cr;
	return 0x03;
yy5:
	++cr;
	return 0x9C;
yy6:
	++cr;
	return 0x09;
yy7:
	++cr;
	return 0x86;
yy8:
	++cr;
	return 0x7F;
yy9:
	++cr;
	return 0x97;
yy10:
	++cr;
	return 0x8D;
yy11:
	++cr;
	return 0x8E;
yy12:
	++cr;
	return 0x0B;
yy13:
	++cr;
	return 0x0C;
yy14:
	++cr;
	return 0x0D;
yy15:
	++cr;
	return 0x0E;
yy16:
	++cr;
	return 0x0F;
yy17:
	++cr;
	return 0x10;
yy18:
	++cr;
	return 0x11;
yy19:
	++cr;
	return 0x12;
yy20:
	++cr;
	return 0x13;
yy21:
	++cr;
	return 0x9D;
yy22:
	++cr;
	return 0x85;
yy23:
	++cr;
	return 0x08;
yy24:
	++cr;
	return 0x87;
yy25:
	++cr;
	return 0x18;
yy26:
	++cr;
	return 0x19;
yy27:
	++cr;
	return 0x92;
yy28:
	++cr;
	return 0x8F;
yy29:
	++cr;
	return 0x1C;
yy30:
	++cr;
	return 0x1D;
yy31:
	++cr;
	return 0x1E;
yy32:
	++cr;
	return 0x1F;
yy33:
	++cr;
	return 0x80;
yy34:
	++cr;
	return 0x81;
yy35:
	++cr;
	return 0x82;
yy36:
	++cr;
	return 0x83;
yy37:
	++cr;
	return 0x84;
yy38:
	++cr;
	return 0x0A;
yy39:
	++cr;
	return 0x17;
yy40:
	++cr;
	return 0x1B;
yy41:
	++cr;
	return 0x88;
yy42:
	++cr;
	return 0x89;
yy43:
	++cr;
	return 0x8A;
yy44:
	++cr;
	return 0x8B;
yy45:
	++cr;
	return 0x8C;
yy46:
	++cr;
	return 0x05;
yy47:
	++cr;
	return 0x06;
yy48:
	++cr;
	return 0x07;
yy49:
	++cr;
	return 0x90;
yy50:
	++cr;
	return 0x91;
yy51:
	++cr;
	return 0x16;
yy52:
	++cr;
	return 0x93;
yy53:
	++cr;
	return 0x94;
yy54:
	++cr;
	return 0x95;
yy55:
	++cr;
	return 0x96;
yy56:
	++cr;
	return 0x04;
yy57:
	++cr;
	return 0x98;
yy58:
	++cr;
	return 0x99;
yy59:
	++cr;
	return 0x9A;
yy60:
	++cr;
	return 0x9B;
yy61:
	++cr;
	return 0x14;
yy62:
	++cr;
	return 0x15;
yy63:
	++cr;
	return 0x9E;
yy64:
	++cr;
	return 0x1A;
yy65:
	++cr;
	return 0x20;
yy66:
	++cr;
	return 0xA0;
yy67:
	++cr;
	return 0xE2;
yy68:
	++cr;
	return 0xE4;
yy69:
	++cr;
	return 0xE0;
yy70:
	++cr;
	return 0xE1;
yy71:
	++cr;
	return 0xE3;
yy72:
	++cr;
	return 0xE5;
yy73:
	++cr;
	return 0xE7;
yy74:
	++cr;
	return 0xF1;
yy75:
	++cr;
	return 0xA2;
yy76:
	++cr;
	return 0x2E;
yy77:
	++cr;
	return 0x3C;
yy78:
	++cr;
	return 0x28;
yy79:
	++cr;
	return 0x2B;
yy80:
	++cr;
	return 0x7C;
yy81:
	++cr;
	return 0x26;
yy82:
	++cr;
	return 0xE9;
yy83:
	++cr;
	return 0xEA;
yy84:
	++cr;
	return 0xEB;
yy85:
	++cr;
	return 0xE8;
yy86:
	++cr;
	return 0xED;
yy87:
	++cr;
	return 0xEE;
yy88:
	++cr;
	return 0xEF;
yy89:
	++cr;
	return 0xEC;
yy90:
	++cr;
	return 0xDF;
yy91:
	++cr;
	return 0x21;
yy92:
	++cr;
	return 0x24;
yy93:
	++cr;
	return 0x2A;
yy94:
	++cr;
	return 0x29;
yy95:
	++cr;
	return 0x3B;
yy96:
	++cr;
	return 0xAC;
yy97:
	++cr;
	return 0x2D;
yy98:
	++cr;
	return 0x2F;
yy99:
	++cr;
	return 0xC2;
yy100:
	++cr;
	return 0xC4;
yy101:
	++cr;
	return 0xC0;
yy102:
	++cr;
	return 0xC1;
yy103:
	++cr;
	return 0xC3;
yy104:
	++cr;
	return 0xC5;
yy105:
	++cr;
	return 0xC7;
yy106:
	++cr;
	return 0xD1;
yy107:
	++cr;
	return 0xA6;
yy108:
	++cr;
	return 0x2C;
yy109:
	++cr;
	return 0x25;
yy110:
	++cr;
	return 0x5F;
yy111:
	++cr;
	return 0x3E;
yy112:
	++cr;
	return 0x3F;
yy113:
	++cr;
	return 0xF8;
yy114:
	++cr;
	return 0xC9;
yy115:
	++cr;
	return 0xCA;
yy116:
	++cr;
	return 0xCB;
yy117:
	++cr;
	return 0xC8;
yy118:
	++cr;
	return 0xCD;
yy119:
	++cr;
	return 0xCE;
yy120:
	++cr;
	return 0xCF;
yy121:
	++cr;
	return 0xCC;
yy122:
	++cr;
	return 0x60;
yy123:
	++cr;
	return 0x3A;
yy124:
	++cr;
	return 0x23;
yy125:
	++cr;
	return 0x40;
yy126:
	++cr;
	return 0x27;
yy127:
	++cr;
	return 0x3D;
yy128:
	++cr;
	return 0x22;
yy129:
	++cr;
	return 0xD8;
yy130:
	++cr;
	return 0x61;
yy131:
	++cr;
	return 0x62;
yy132:
	++cr;
	return 0x63;
yy133:
	++cr;
	return 0x64;
yy134:
	++cr;
	return 0x65;
yy135:
	++cr;
	return 0x66;
yy136:
	++cr;
	return 0x67;
yy137:
	++cr;
	return 0x68;
yy138:
	++cr;
	return 0x69;
yy139:
	++cr;
	return 0xAB;
yy140:
	++cr;
	return 0xBB;
yy141:
	++cr;
	return 0xF0;
yy142:
	++cr;
	return 0xFD;
yy143:
	++cr;
	return 0xDE;
yy144:
	++cr;
	return 0xB1;
yy145:
	++cr;
	return 0xB0;
yy146:
	++cr;
	return 0x6A;
yy147:
	++cr;
	return 0x6B;
yy148:
	++cr;
	return 0x6C;
yy149:
	++cr;
	return 0x6D;
yy150:
	++cr;
	return 0x6E;
yy151:
	++cr;
	return 0x6F;
yy152:
	++cr;
	return 0x70;
yy153:
	++cr;
	return 0x71;
yy154:
	++cr;
	return 0x72;
yy155:
	++cr;
	return 0xAA;
yy156:
	++cr;
	return 0xBA;
yy157:
	++cr;
	return 0xE6;
yy158:
	++cr;
	return 0xB8;
yy159:
	++cr;
	return 0xC6;
yy160:
	++cr;
	return 0xA4;
yy161:
	++cr;
	return 0xB5;
yy162:
	++cr;
	return 0x7E;
yy163:
	++cr;
	return 0x73;
yy164:
	++cr;
	return 0x74;
yy165:
	++cr;
	return 0x75;
yy166:
	++cr;
	return 0x76;
yy167:
	++cr;
	return 0x77;
yy168:
	++cr;
	return 0x78;
yy169:
	++cr;
	return 0x79;
yy170:
	++cr;
	return 0x7A;
yy171:
	++cr;
	return 0xA1;
yy172:
	++cr;
	return 0xBF;
yy173:
	++cr;
	return 0xD0;
yy174:
	++cr;
	return 0xDD;
yy175:
	++cr;
	return 0xFE;
yy176:
	++cr;
	return 0xAE;
yy177:
	++cr;
	return 0x5E;
yy178:
	++cr;
	return 0xA3;
yy179:
	++cr;
	return 0xA5;
yy180:
	++cr;
	return 0xB7;
yy181:
	++cr;
	return 0xA9;
yy182:
	++cr;
	return 0xA7;
yy183:
	++cr;
	return 0xB6;
yy184:
	++cr;
	return 0xBC;
yy185:
	++cr;
	return 0xBD;
yy186:
	++cr;
	return 0xBE;
yy187:
	++cr;
	return 0x5B;
yy188:
	++cr;
	return 0x5D;
yy189:
	++cr;
	return 0xAF;
yy190:
	++cr;
	return 0xA8;
yy191:
	++cr;
	return 0xB4;
yy192:
	++cr;
	return 0xD7;
yy193:
	++cr;
	return 0x7B;
yy194:
	++cr;
	return 0x41;
yy195:
	++cr;
	return 0x42;
yy196:
	++cr;
	return 0x43;
yy197:
	++cr;
	return 0x44;
yy198:
	++cr;
	return 0x45;
yy199:
	++cr;
	return 0x46;
yy200:
	++cr;
	return 0x47;
yy201:
	++cr;
	return 0x48;
yy202:
	++cr;
	return 0x49;
yy203:
	++cr;
	return 0xAD;
yy204:
	++cr;
	return 0xF4;
yy205:
	++cr;
	return 0xF6;
yy206:
	++cr;
	return 0xF2;
yy207:
	++cr;
	return 0xF3;
yy208:
	++cr;
	return 0xF5;
yy209:
	++cr;
	return 0x7D;
yy210:
	++cr;
	return 0x4A;
yy211:
	++cr;
	return 0x4B;
yy212:
	++cr;
	return 0x4C;
yy213:
	++cr;
	return 0x4D;
yy214:
	++cr;
	return 0x4E;
yy215:
	++cr;
	return 0x4F;
yy216:
	++cr;
	return 0x50;
yy217:
	++cr;
	return 0x51;
yy218:
	++cr;
	return 0x52;
yy219:
	++cr;
	return 0xB9;
yy220:
	++cr;
	return 0xFB;
yy221:
	++cr;
	return 0xFC;
yy222:
	++cr;
	return 0xF9;
yy223:
	++cr;
	return 0xFA;
yy224:
	++cr;
	return 0xFF;
yy225:
	++cr;
	return 0x5C;
yy226:
	++cr;
	return 0xF7;
yy227:
	++cr;
	return 0x53;
yy228:
	++cr;
	return 0x54;
yy229:
	++cr;
	return 0x55;
yy230:
	++cr;
	return 0x56;
yy231:
	++cr;
	return 0x57;
yy232:
	++cr;
	return 0x58;
yy233:
	++cr;
	return 0x59;
yy234:
	++cr;
	return 0x5A;
yy235:
	++cr;
	return 0xB2;
yy236:
	++cr;
	return 0xD4;
yy237:
	++cr;
	return 0xD6;
yy238:
	++cr;
	return 0xD2;
yy239:
	++cr;
	return 0xD3;
yy240:
	++cr;
	return 0xD5;
yy241:
	++cr;
	return 0x30;
yy242:
	++cr;
	return 0x31;
yy243:
	++cr;
	return 0x32;
yy244:
	++cr;
	return 0x33;
yy245:
	++cr;
	return 0x34;
yy246:
	++cr;
	return 0x35;
yy247:
	++cr;
	return 0x36;
yy248:
	++cr;
	return 0x37;
yy249:
	++cr;
	return 0x38;
yy250:
	++cr;
	return 0x39;
yy251:
	++cr;
	return 0xB3;
yy252:
	++cr;
	return 0xDB;
yy253:
	++cr;
	return 0xDC;
yy254:
	++cr;
	return 0xD9;
yy255:
	++cr;
	return 0xDA;
yy256:
	++cr;
	return 0x9F;
}

}

int main(int argc, char** argv) {
	unsigned char buf[2];
	unsigned int ch = 0;
	buf[1] = 0u;

	printf("const uint ebc2asc[256] =\n");
	printf("    { /* Based on ISO 8859/1 and Code Page 37 */\n");
	for (;;) {
		if (ch % 16 == 0) {
			printf("        ");
		}
		buf[0] = ch++;
		printf("0x%02x", scan(buf));
		if (ch == 256) {
			printf("\n");
			break;
		}
		if (ch % 16 == 0) {
			printf(",\n");
		} else {
			printf(", ");
		}
	}
	printf("    };\n");
	return 0;
}
