if (ch <= 0x6d || ch > 0xea)
if (ch < offset || (ch - offset) <= 0x6d || (ch - offset) > 0xea)
jisx0212_to_ucs4 (char **s, size_t avail){  const struct jisx0212_idx *rp = jisx0212_to_ucs_idx;  unsigned char ch = *(*s);  unsigned char ch2;  wchar_t wch = L'\0';  int idx;  if (ch <= 0x6d || ch > 0xea)    return UNKNOWN_10646_CHAR;  if (avail < 2)    return 0;  ch2 = (*s)[1];  if (ch2 <= 0x20 || ch2 >= 0x7f)    return UNKNOWN_10646_CHAR;  idx = (ch - 0x21) * 94 + (ch2 - 0x21);  while (idx < rp->start)    ++rp;  if (idx <= rp->end)    wch = jisx0212_to_ucs[rp->idx + idx - rp->start];  if (wch != L'\0')    (*s) += 2;  else    wch = UNKNOWN_10646_CHAR;  return wch;}