LCOV - code coverage report
Current view: top level - src/backend/snowball/libstemmer - stem_UTF_8_english.c (source / functions) Coverage Total Hit
Test: Code coverage Lines: 66.1 % 628 415
Test Date: 2026-01-26 10:56:24 Functions: 94.1 % 17 16
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 43.2 % 655 283

             Branch data     Line data    Source code
       1                 :             : /* Generated from english.sbl by Snowball 3.0.0 - https://snowballstem.org/ */
       2                 :             : 
       3                 :             : #include "stem_UTF_8_english.h"
       4                 :             : 
       5                 :             : #include <stddef.h>
       6                 :             : 
       7                 :             : #include "snowball_runtime.h"
       8                 :             : 
       9                 :             : struct SN_local {
      10                 :             :     struct SN_env z;
      11                 :             :     int i_p2;
      12                 :             :     int i_p1;
      13                 :             :     unsigned char b_Y_found;
      14                 :             : };
      15                 :             : 
      16                 :             : typedef struct SN_local SN_local;
      17                 :             : 
      18                 :             : #ifdef __cplusplus
      19                 :             : extern "C" {
      20                 :             : #endif
      21                 :             : extern int english_UTF_8_stem(struct SN_env * z);
      22                 :             : #ifdef __cplusplus
      23                 :             : }
      24                 :             : #endif
      25                 :             : 
      26                 :             : static int r_exception1(struct SN_env * z);
      27                 :             : static int r_Step_5(struct SN_env * z);
      28                 :             : static int r_Step_4(struct SN_env * z);
      29                 :             : static int r_Step_3(struct SN_env * z);
      30                 :             : static int r_Step_2(struct SN_env * z);
      31                 :             : static int r_Step_1c(struct SN_env * z);
      32                 :             : static int r_Step_1b(struct SN_env * z);
      33                 :             : static int r_Step_1a(struct SN_env * z);
      34                 :             : static int r_R2(struct SN_env * z);
      35                 :             : static int r_R1(struct SN_env * z);
      36                 :             : static int r_shortv(struct SN_env * z);
      37                 :             : static int r_mark_regions(struct SN_env * z);
      38                 :             : static int r_postlude(struct SN_env * z);
      39                 :             : static int r_prelude(struct SN_env * z);
      40                 :             : 
      41                 :             : static const symbol s_0[] = { 'Y' };
      42                 :             : static const symbol s_1[] = { 'Y' };
      43                 :             : static const symbol s_2[] = { 'p', 'a', 's', 't' };
      44                 :             : static const symbol s_3[] = { 's', 's' };
      45                 :             : static const symbol s_4[] = { 'i' };
      46                 :             : static const symbol s_5[] = { 'i', 'e' };
      47                 :             : static const symbol s_6[] = { 'e', 'e' };
      48                 :             : static const symbol s_7[] = { 'i', 'e' };
      49                 :             : static const symbol s_8[] = { 'e' };
      50                 :             : static const symbol s_9[] = { 'e' };
      51                 :             : static const symbol s_10[] = { 'i' };
      52                 :             : static const symbol s_11[] = { 't', 'i', 'o', 'n' };
      53                 :             : static const symbol s_12[] = { 'e', 'n', 'c', 'e' };
      54                 :             : static const symbol s_13[] = { 'a', 'n', 'c', 'e' };
      55                 :             : static const symbol s_14[] = { 'a', 'b', 'l', 'e' };
      56                 :             : static const symbol s_15[] = { 'e', 'n', 't' };
      57                 :             : static const symbol s_16[] = { 'i', 'z', 'e' };
      58                 :             : static const symbol s_17[] = { 'a', 't', 'e' };
      59                 :             : static const symbol s_18[] = { 'a', 'l' };
      60                 :             : static const symbol s_19[] = { 'f', 'u', 'l' };
      61                 :             : static const symbol s_20[] = { 'o', 'u', 's' };
      62                 :             : static const symbol s_21[] = { 'i', 'v', 'e' };
      63                 :             : static const symbol s_22[] = { 'b', 'l', 'e' };
      64                 :             : static const symbol s_23[] = { 'o', 'g' };
      65                 :             : static const symbol s_24[] = { 'o', 'g' };
      66                 :             : static const symbol s_25[] = { 'l', 'e', 's', 's' };
      67                 :             : static const symbol s_26[] = { 't', 'i', 'o', 'n' };
      68                 :             : static const symbol s_27[] = { 'a', 't', 'e' };
      69                 :             : static const symbol s_28[] = { 'a', 'l' };
      70                 :             : static const symbol s_29[] = { 'i', 'c' };
      71                 :             : static const symbol s_30[] = { 's', 'k', 'i' };
      72                 :             : static const symbol s_31[] = { 's', 'k', 'y' };
      73                 :             : static const symbol s_32[] = { 'i', 'd', 'l' };
      74                 :             : static const symbol s_33[] = { 'g', 'e', 'n', 't', 'l' };
      75                 :             : static const symbol s_34[] = { 'u', 'g', 'l', 'i' };
      76                 :             : static const symbol s_35[] = { 'e', 'a', 'r', 'l', 'i' };
      77                 :             : static const symbol s_36[] = { 'o', 'n', 'l', 'i' };
      78                 :             : static const symbol s_37[] = { 's', 'i', 'n', 'g', 'l' };
      79                 :             : static const symbol s_38[] = { 'y' };
      80                 :             : 
      81                 :             : static const symbol s_0_0[5] = { 'a', 'r', 's', 'e', 'n' };
      82                 :             : static const symbol s_0_1[6] = { 'c', 'o', 'm', 'm', 'u', 'n' };
      83                 :             : static const symbol s_0_2[5] = { 'e', 'm', 'e', 'r', 'g' };
      84                 :             : static const symbol s_0_3[5] = { 'g', 'e', 'n', 'e', 'r' };
      85                 :             : static const symbol s_0_4[5] = { 'i', 'n', 't', 'e', 'r' };
      86                 :             : static const symbol s_0_5[5] = { 'l', 'a', 't', 'e', 'r' };
      87                 :             : static const symbol s_0_6[5] = { 'o', 'r', 'g', 'a', 'n' };
      88                 :             : static const symbol s_0_7[4] = { 'p', 'a', 's', 't' };
      89                 :             : static const symbol s_0_8[7] = { 'u', 'n', 'i', 'v', 'e', 'r', 's' };
      90                 :             : static const struct among a_0[9] = {
      91                 :             : { 5, s_0_0, 0, -1, 0},
      92                 :             : { 6, s_0_1, 0, -1, 0},
      93                 :             : { 5, s_0_2, 0, -1, 0},
      94                 :             : { 5, s_0_3, 0, -1, 0},
      95                 :             : { 5, s_0_4, 0, -1, 0},
      96                 :             : { 5, s_0_5, 0, -1, 0},
      97                 :             : { 5, s_0_6, 0, -1, 0},
      98                 :             : { 4, s_0_7, 0, -1, 0},
      99                 :             : { 7, s_0_8, 0, -1, 0}
     100                 :             : };
     101                 :             : 
     102                 :             : static const symbol s_1_0[1] = { '\'' };
     103                 :             : static const symbol s_1_1[3] = { '\'', 's', '\'' };
     104                 :             : static const symbol s_1_2[2] = { '\'', 's' };
     105                 :             : static const struct among a_1[3] = {
     106                 :             : { 1, s_1_0, 0, 1, 0},
     107                 :             : { 3, s_1_1, -1, 1, 0},
     108                 :             : { 2, s_1_2, 0, 1, 0}
     109                 :             : };
     110                 :             : 
     111                 :             : static const symbol s_2_0[3] = { 'i', 'e', 'd' };
     112                 :             : static const symbol s_2_1[1] = { 's' };
     113                 :             : static const symbol s_2_2[3] = { 'i', 'e', 's' };
     114                 :             : static const symbol s_2_3[4] = { 's', 's', 'e', 's' };
     115                 :             : static const symbol s_2_4[2] = { 's', 's' };
     116                 :             : static const symbol s_2_5[2] = { 'u', 's' };
     117                 :             : static const struct among a_2[6] = {
     118                 :             : { 3, s_2_0, 0, 2, 0},
     119                 :             : { 1, s_2_1, 0, 3, 0},
     120                 :             : { 3, s_2_2, -1, 2, 0},
     121                 :             : { 4, s_2_3, -2, 1, 0},
     122                 :             : { 2, s_2_4, -3, -1, 0},
     123                 :             : { 2, s_2_5, -4, -1, 0}
     124                 :             : };
     125                 :             : 
     126                 :             : static const symbol s_3_0[4] = { 's', 'u', 'c', 'c' };
     127                 :             : static const symbol s_3_1[4] = { 'p', 'r', 'o', 'c' };
     128                 :             : static const symbol s_3_2[3] = { 'e', 'x', 'c' };
     129                 :             : static const struct among a_3[3] = {
     130                 :             : { 4, s_3_0, 0, 1, 0},
     131                 :             : { 4, s_3_1, 0, 1, 0},
     132                 :             : { 3, s_3_2, 0, 1, 0}
     133                 :             : };
     134                 :             : 
     135                 :             : static const symbol s_4_0[4] = { 'e', 'v', 'e', 'n' };
     136                 :             : static const symbol s_4_1[4] = { 'c', 'a', 'n', 'n' };
     137                 :             : static const symbol s_4_2[3] = { 'i', 'n', 'n' };
     138                 :             : static const symbol s_4_3[4] = { 'e', 'a', 'r', 'r' };
     139                 :             : static const symbol s_4_4[4] = { 'h', 'e', 'r', 'r' };
     140                 :             : static const symbol s_4_5[3] = { 'o', 'u', 't' };
     141                 :             : static const symbol s_4_6[1] = { 'y' };
     142                 :             : static const struct among a_4[7] = {
     143                 :             : { 4, s_4_0, 0, 2, 0},
     144                 :             : { 4, s_4_1, 0, 2, 0},
     145                 :             : { 3, s_4_2, 0, 2, 0},
     146                 :             : { 4, s_4_3, 0, 2, 0},
     147                 :             : { 4, s_4_4, 0, 2, 0},
     148                 :             : { 3, s_4_5, 0, 2, 0},
     149                 :             : { 1, s_4_6, 0, 1, 0}
     150                 :             : };
     151                 :             : 
     152                 :             : static const symbol s_5_1[2] = { 'e', 'd' };
     153                 :             : static const symbol s_5_2[3] = { 'e', 'e', 'd' };
     154                 :             : static const symbol s_5_3[3] = { 'i', 'n', 'g' };
     155                 :             : static const symbol s_5_4[4] = { 'e', 'd', 'l', 'y' };
     156                 :             : static const symbol s_5_5[5] = { 'e', 'e', 'd', 'l', 'y' };
     157                 :             : static const symbol s_5_6[5] = { 'i', 'n', 'g', 'l', 'y' };
     158                 :             : static const struct among a_5[7] = {
     159                 :             : { 0, 0, 0, -1, 0},
     160                 :             : { 2, s_5_1, -1, 2, 0},
     161                 :             : { 3, s_5_2, -1, 1, 0},
     162                 :             : { 3, s_5_3, -3, 3, 0},
     163                 :             : { 4, s_5_4, -4, 2, 0},
     164                 :             : { 5, s_5_5, -1, 1, 0},
     165                 :             : { 5, s_5_6, -6, 2, 0}
     166                 :             : };
     167                 :             : 
     168                 :             : static const symbol s_6_1[2] = { 'b', 'b' };
     169                 :             : static const symbol s_6_2[2] = { 'd', 'd' };
     170                 :             : static const symbol s_6_3[2] = { 'f', 'f' };
     171                 :             : static const symbol s_6_4[2] = { 'g', 'g' };
     172                 :             : static const symbol s_6_5[2] = { 'b', 'l' };
     173                 :             : static const symbol s_6_6[2] = { 'm', 'm' };
     174                 :             : static const symbol s_6_7[2] = { 'n', 'n' };
     175                 :             : static const symbol s_6_8[2] = { 'p', 'p' };
     176                 :             : static const symbol s_6_9[2] = { 'r', 'r' };
     177                 :             : static const symbol s_6_10[2] = { 'a', 't' };
     178                 :             : static const symbol s_6_11[2] = { 't', 't' };
     179                 :             : static const symbol s_6_12[2] = { 'i', 'z' };
     180                 :             : static const struct among a_6[13] = {
     181                 :             : { 0, 0, 0, 3, 0},
     182                 :             : { 2, s_6_1, -1, 2, 0},
     183                 :             : { 2, s_6_2, -2, 2, 0},
     184                 :             : { 2, s_6_3, -3, 2, 0},
     185                 :             : { 2, s_6_4, -4, 2, 0},
     186                 :             : { 2, s_6_5, -5, 1, 0},
     187                 :             : { 2, s_6_6, -6, 2, 0},
     188                 :             : { 2, s_6_7, -7, 2, 0},
     189                 :             : { 2, s_6_8, -8, 2, 0},
     190                 :             : { 2, s_6_9, -9, 2, 0},
     191                 :             : { 2, s_6_10, -10, 1, 0},
     192                 :             : { 2, s_6_11, -11, 2, 0},
     193                 :             : { 2, s_6_12, -12, 1, 0}
     194                 :             : };
     195                 :             : 
     196                 :             : static const symbol s_7_0[4] = { 'a', 'n', 'c', 'i' };
     197                 :             : static const symbol s_7_1[4] = { 'e', 'n', 'c', 'i' };
     198                 :             : static const symbol s_7_2[3] = { 'o', 'g', 'i' };
     199                 :             : static const symbol s_7_3[2] = { 'l', 'i' };
     200                 :             : static const symbol s_7_4[3] = { 'b', 'l', 'i' };
     201                 :             : static const symbol s_7_5[4] = { 'a', 'b', 'l', 'i' };
     202                 :             : static const symbol s_7_6[4] = { 'a', 'l', 'l', 'i' };
     203                 :             : static const symbol s_7_7[5] = { 'f', 'u', 'l', 'l', 'i' };
     204                 :             : static const symbol s_7_8[6] = { 'l', 'e', 's', 's', 'l', 'i' };
     205                 :             : static const symbol s_7_9[5] = { 'o', 'u', 's', 'l', 'i' };
     206                 :             : static const symbol s_7_10[5] = { 'e', 'n', 't', 'l', 'i' };
     207                 :             : static const symbol s_7_11[5] = { 'a', 'l', 'i', 't', 'i' };
     208                 :             : static const symbol s_7_12[6] = { 'b', 'i', 'l', 'i', 't', 'i' };
     209                 :             : static const symbol s_7_13[5] = { 'i', 'v', 'i', 't', 'i' };
     210                 :             : static const symbol s_7_14[6] = { 't', 'i', 'o', 'n', 'a', 'l' };
     211                 :             : static const symbol s_7_15[7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' };
     212                 :             : static const symbol s_7_16[5] = { 'a', 'l', 'i', 's', 'm' };
     213                 :             : static const symbol s_7_17[5] = { 'a', 't', 'i', 'o', 'n' };
     214                 :             : static const symbol s_7_18[7] = { 'i', 'z', 'a', 't', 'i', 'o', 'n' };
     215                 :             : static const symbol s_7_19[4] = { 'i', 'z', 'e', 'r' };
     216                 :             : static const symbol s_7_20[4] = { 'a', 't', 'o', 'r' };
     217                 :             : static const symbol s_7_21[7] = { 'i', 'v', 'e', 'n', 'e', 's', 's' };
     218                 :             : static const symbol s_7_22[7] = { 'f', 'u', 'l', 'n', 'e', 's', 's' };
     219                 :             : static const symbol s_7_23[7] = { 'o', 'u', 's', 'n', 'e', 's', 's' };
     220                 :             : static const symbol s_7_24[5] = { 'o', 'g', 'i', 's', 't' };
     221                 :             : static const struct among a_7[25] = {
     222                 :             : { 4, s_7_0, 0, 3, 0},
     223                 :             : { 4, s_7_1, 0, 2, 0},
     224                 :             : { 3, s_7_2, 0, 14, 0},
     225                 :             : { 2, s_7_3, 0, 16, 0},
     226                 :             : { 3, s_7_4, -1, 12, 0},
     227                 :             : { 4, s_7_5, -1, 4, 0},
     228                 :             : { 4, s_7_6, -3, 8, 0},
     229                 :             : { 5, s_7_7, -4, 9, 0},
     230                 :             : { 6, s_7_8, -5, 15, 0},
     231                 :             : { 5, s_7_9, -6, 10, 0},
     232                 :             : { 5, s_7_10, -7, 5, 0},
     233                 :             : { 5, s_7_11, 0, 8, 0},
     234                 :             : { 6, s_7_12, 0, 12, 0},
     235                 :             : { 5, s_7_13, 0, 11, 0},
     236                 :             : { 6, s_7_14, 0, 1, 0},
     237                 :             : { 7, s_7_15, -1, 7, 0},
     238                 :             : { 5, s_7_16, 0, 8, 0},
     239                 :             : { 5, s_7_17, 0, 7, 0},
     240                 :             : { 7, s_7_18, -1, 6, 0},
     241                 :             : { 4, s_7_19, 0, 6, 0},
     242                 :             : { 4, s_7_20, 0, 7, 0},
     243                 :             : { 7, s_7_21, 0, 11, 0},
     244                 :             : { 7, s_7_22, 0, 9, 0},
     245                 :             : { 7, s_7_23, 0, 10, 0},
     246                 :             : { 5, s_7_24, 0, 13, 0}
     247                 :             : };
     248                 :             : 
     249                 :             : static const symbol s_8_0[5] = { 'i', 'c', 'a', 't', 'e' };
     250                 :             : static const symbol s_8_1[5] = { 'a', 't', 'i', 'v', 'e' };
     251                 :             : static const symbol s_8_2[5] = { 'a', 'l', 'i', 'z', 'e' };
     252                 :             : static const symbol s_8_3[5] = { 'i', 'c', 'i', 't', 'i' };
     253                 :             : static const symbol s_8_4[4] = { 'i', 'c', 'a', 'l' };
     254                 :             : static const symbol s_8_5[6] = { 't', 'i', 'o', 'n', 'a', 'l' };
     255                 :             : static const symbol s_8_6[7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' };
     256                 :             : static const symbol s_8_7[3] = { 'f', 'u', 'l' };
     257                 :             : static const symbol s_8_8[4] = { 'n', 'e', 's', 's' };
     258                 :             : static const struct among a_8[9] = {
     259                 :             : { 5, s_8_0, 0, 4, 0},
     260                 :             : { 5, s_8_1, 0, 6, 0},
     261                 :             : { 5, s_8_2, 0, 3, 0},
     262                 :             : { 5, s_8_3, 0, 4, 0},
     263                 :             : { 4, s_8_4, 0, 4, 0},
     264                 :             : { 6, s_8_5, 0, 1, 0},
     265                 :             : { 7, s_8_6, -1, 2, 0},
     266                 :             : { 3, s_8_7, 0, 5, 0},
     267                 :             : { 4, s_8_8, 0, 5, 0}
     268                 :             : };
     269                 :             : 
     270                 :             : static const symbol s_9_0[2] = { 'i', 'c' };
     271                 :             : static const symbol s_9_1[4] = { 'a', 'n', 'c', 'e' };
     272                 :             : static const symbol s_9_2[4] = { 'e', 'n', 'c', 'e' };
     273                 :             : static const symbol s_9_3[4] = { 'a', 'b', 'l', 'e' };
     274                 :             : static const symbol s_9_4[4] = { 'i', 'b', 'l', 'e' };
     275                 :             : static const symbol s_9_5[3] = { 'a', 't', 'e' };
     276                 :             : static const symbol s_9_6[3] = { 'i', 'v', 'e' };
     277                 :             : static const symbol s_9_7[3] = { 'i', 'z', 'e' };
     278                 :             : static const symbol s_9_8[3] = { 'i', 't', 'i' };
     279                 :             : static const symbol s_9_9[2] = { 'a', 'l' };
     280                 :             : static const symbol s_9_10[3] = { 'i', 's', 'm' };
     281                 :             : static const symbol s_9_11[3] = { 'i', 'o', 'n' };
     282                 :             : static const symbol s_9_12[2] = { 'e', 'r' };
     283                 :             : static const symbol s_9_13[3] = { 'o', 'u', 's' };
     284                 :             : static const symbol s_9_14[3] = { 'a', 'n', 't' };
     285                 :             : static const symbol s_9_15[3] = { 'e', 'n', 't' };
     286                 :             : static const symbol s_9_16[4] = { 'm', 'e', 'n', 't' };
     287                 :             : static const symbol s_9_17[5] = { 'e', 'm', 'e', 'n', 't' };
     288                 :             : static const struct among a_9[18] = {
     289                 :             : { 2, s_9_0, 0, 1, 0},
     290                 :             : { 4, s_9_1, 0, 1, 0},
     291                 :             : { 4, s_9_2, 0, 1, 0},
     292                 :             : { 4, s_9_3, 0, 1, 0},
     293                 :             : { 4, s_9_4, 0, 1, 0},
     294                 :             : { 3, s_9_5, 0, 1, 0},
     295                 :             : { 3, s_9_6, 0, 1, 0},
     296                 :             : { 3, s_9_7, 0, 1, 0},
     297                 :             : { 3, s_9_8, 0, 1, 0},
     298                 :             : { 2, s_9_9, 0, 1, 0},
     299                 :             : { 3, s_9_10, 0, 1, 0},
     300                 :             : { 3, s_9_11, 0, 2, 0},
     301                 :             : { 2, s_9_12, 0, 1, 0},
     302                 :             : { 3, s_9_13, 0, 1, 0},
     303                 :             : { 3, s_9_14, 0, 1, 0},
     304                 :             : { 3, s_9_15, 0, 1, 0},
     305                 :             : { 4, s_9_16, -1, 1, 0},
     306                 :             : { 5, s_9_17, -1, 1, 0}
     307                 :             : };
     308                 :             : 
     309                 :             : static const symbol s_10_0[1] = { 'e' };
     310                 :             : static const symbol s_10_1[1] = { 'l' };
     311                 :             : static const struct among a_10[2] = {
     312                 :             : { 1, s_10_0, 0, 1, 0},
     313                 :             : { 1, s_10_1, 0, 2, 0}
     314                 :             : };
     315                 :             : 
     316                 :             : static const symbol s_11_0[5] = { 'a', 'n', 'd', 'e', 's' };
     317                 :             : static const symbol s_11_1[5] = { 'a', 't', 'l', 'a', 's' };
     318                 :             : static const symbol s_11_2[4] = { 'b', 'i', 'a', 's' };
     319                 :             : static const symbol s_11_3[6] = { 'c', 'o', 's', 'm', 'o', 's' };
     320                 :             : static const symbol s_11_4[5] = { 'e', 'a', 'r', 'l', 'y' };
     321                 :             : static const symbol s_11_5[6] = { 'g', 'e', 'n', 't', 'l', 'y' };
     322                 :             : static const symbol s_11_6[4] = { 'h', 'o', 'w', 'e' };
     323                 :             : static const symbol s_11_7[4] = { 'i', 'd', 'l', 'y' };
     324                 :             : static const symbol s_11_8[4] = { 'n', 'e', 'w', 's' };
     325                 :             : static const symbol s_11_9[4] = { 'o', 'n', 'l', 'y' };
     326                 :             : static const symbol s_11_10[6] = { 's', 'i', 'n', 'g', 'l', 'y' };
     327                 :             : static const symbol s_11_11[5] = { 's', 'k', 'i', 'e', 's' };
     328                 :             : static const symbol s_11_12[4] = { 's', 'k', 'i', 's' };
     329                 :             : static const symbol s_11_13[3] = { 's', 'k', 'y' };
     330                 :             : static const symbol s_11_14[4] = { 'u', 'g', 'l', 'y' };
     331                 :             : static const struct among a_11[15] = {
     332                 :             : { 5, s_11_0, 0, -1, 0},
     333                 :             : { 5, s_11_1, 0, -1, 0},
     334                 :             : { 4, s_11_2, 0, -1, 0},
     335                 :             : { 6, s_11_3, 0, -1, 0},
     336                 :             : { 5, s_11_4, 0, 6, 0},
     337                 :             : { 6, s_11_5, 0, 4, 0},
     338                 :             : { 4, s_11_6, 0, -1, 0},
     339                 :             : { 4, s_11_7, 0, 3, 0},
     340                 :             : { 4, s_11_8, 0, -1, 0},
     341                 :             : { 4, s_11_9, 0, 7, 0},
     342                 :             : { 6, s_11_10, 0, 8, 0},
     343                 :             : { 5, s_11_11, 0, 2, 0},
     344                 :             : { 4, s_11_12, 0, 1, 0},
     345                 :             : { 3, s_11_13, 0, -1, 0},
     346                 :             : { 4, s_11_14, 0, 5, 0}
     347                 :             : };
     348                 :             : 
     349                 :             : static const unsigned char g_aeo[] = { 17, 64 };
     350                 :             : 
     351                 :             : static const unsigned char g_v[] = { 17, 65, 16, 1 };
     352                 :             : 
     353                 :             : static const unsigned char g_v_WXY[] = { 1, 17, 65, 208, 1 };
     354                 :             : 
     355                 :             : static const unsigned char g_valid_LI[] = { 55, 141, 2 };
     356                 :             : 
     357                 :        1037 : static int r_prelude(struct SN_env * z) {
     358                 :        1037 :     ((SN_local *)z)->b_Y_found = 0;
     359                 :             :     {
     360                 :        1037 :         int v_1 = z->c;
     361                 :        1037 :         z->bra = z->c;
     362   [ +  -  +  - ]:        1037 :         if (z->c == z->l || z->p[z->c] != '\'') goto lab0;
     363                 :           0 :         z->c++;
     364                 :           0 :         z->ket = z->c;
     365                 :             :         {
     366                 :           0 :             int ret = slice_del(z);
     367         [ #  # ]:           0 :             if (ret < 0) return ret;
     368         [ #  # ]:           0 :         }
     369                 :             :     lab0:
     370                 :        1037 :         z->c = v_1;
     371         [ -  + ]:        1037 :     }
     372                 :             :     {
     373                 :        1037 :         int v_2 = z->c;
     374                 :        1037 :         z->bra = z->c;
     375   [ +  -  +  + ]:        1037 :         if (z->c == z->l || z->p[z->c] != 'y') goto lab1;
     376                 :           7 :         z->c++;
     377                 :           7 :         z->ket = z->c;
     378                 :             :         {
     379                 :           7 :             int ret = slice_from_s(z, 1, s_0);
     380         [ +  - ]:           7 :             if (ret < 0) return ret;
     381         [ -  + ]:           7 :         }
     382                 :           7 :         ((SN_local *)z)->b_Y_found = 1;
     383                 :             :     lab1:
     384                 :        1037 :         z->c = v_2;
     385         [ -  + ]:        1037 :     }
     386                 :             :     {
     387                 :        1037 :         int v_3 = z->c;
     388                 :        1118 :         while (1) {
     389                 :        1118 :             int v_4 = z->c;
     390                 :        5940 :             while (1) {
     391                 :        5940 :                 int v_5 = z->c;
     392         [ +  + ]:        5940 :                 if (in_grouping_U(z, g_v, 97, 121, 0)) goto lab4;
     393                 :        1892 :                 z->bra = z->c;
     394   [ +  +  +  + ]:        1892 :                 if (z->c == z->l || z->p[z->c] != 'y') goto lab4;
     395                 :          81 :                 z->c++;
     396                 :          81 :                 z->ket = z->c;
     397                 :          81 :                 z->c = v_5;
     398                 :          81 :                 break;
     399                 :             :             lab4:
     400                 :        5859 :                 z->c = v_5;
     401                 :             :                 {
     402                 :        5859 :                     int ret = skip_utf8(z->p, z->c, z->l, 1);
     403         [ +  + ]:        5859 :                     if (ret < 0) goto lab3;
     404                 :        4822 :                     z->c = ret;
     405         [ +  + ]:        5859 :                 }
     406   [ +  -  +  + ]:        5940 :             }
     407                 :             :             {
     408                 :          81 :                 int ret = slice_from_s(z, 1, s_1);
     409         [ -  + ]:          81 :                 if (ret < 0) return ret;
     410         [ -  + ]:          81 :             }
     411                 :          81 :             ((SN_local *)z)->b_Y_found = 1;
     412                 :          81 :             continue;
     413                 :             :         lab3:
     414                 :        1037 :             z->c = v_4;
     415                 :        1037 :             break;
     416      [ +  -  + ]:        1118 :         }
     417                 :        1037 :         z->c = v_3;
     418         [ -  + ]:        1037 :     }
     419                 :        1037 :     return 1;
     420                 :        1037 : }
     421                 :             : 
     422                 :        1037 : static int r_mark_regions(struct SN_env * z) {
     423                 :        1037 :     ((SN_local *)z)->i_p1 = z->l;
     424                 :        1037 :     ((SN_local *)z)->i_p2 = z->l;
     425                 :             :     {
     426                 :        1037 :         int v_1 = z->c;
     427                 :        1037 :         do {
     428                 :        1037 :             int v_2 = z->c;
     429   [ +  +  +  +  :        1037 :             if (z->c + 3 >= z->l || z->p[z->c + 3] >> 5 != 3 || !((5513250 >> (z->p[z->c + 3] & 0x1f)) & 1)) goto lab1;
                   +  + ]
     430         [ -  + ]:         338 :             if (!find_among(z, a_0, 9, 0)) goto lab1;
     431                 :           0 :             break;
     432                 :             :         lab1:
     433                 :        1037 :             z->c = v_2;
     434                 :             :             {
     435                 :        1037 :                 int ret = out_grouping_U(z, g_v, 97, 121, 1);
     436         [ +  + ]:        1037 :                 if (ret < 0) goto lab0;
     437                 :         925 :                 z->c += ret;
     438         [ +  + ]:        1037 :             }
     439                 :             :             {
     440                 :         925 :                 int ret = in_grouping_U(z, g_v, 97, 121, 1);
     441         [ +  + ]:         925 :                 if (ret < 0) goto lab0;
     442                 :         829 :                 z->c += ret;
     443         [ +  + ]:         925 :             }
     444      [ -  +  + ]:        1037 :         } while (0);
     445                 :         829 :         ((SN_local *)z)->i_p1 = z->c;
     446                 :             :         {
     447                 :         829 :             int ret = out_grouping_U(z, g_v, 97, 121, 1);
     448         [ +  + ]:         829 :             if (ret < 0) goto lab0;
     449                 :         452 :             z->c += ret;
     450         [ +  + ]:         829 :         }
     451                 :             :         {
     452                 :         452 :             int ret = in_grouping_U(z, g_v, 97, 121, 1);
     453         [ +  + ]:         452 :             if (ret < 0) goto lab0;
     454                 :         364 :             z->c += ret;
     455         [ +  + ]:         452 :         }
     456                 :         364 :         ((SN_local *)z)->i_p2 = z->c;
     457                 :             :     lab0:
     458                 :        1037 :         z->c = v_1;
     459                 :        1037 :     }
     460                 :        1037 :     return 1;
     461                 :             : }
     462                 :             : 
     463                 :          71 : static int r_shortv(struct SN_env * z) {
     464                 :          71 :     do {
     465                 :          71 :         int v_1 = z->l - z->c;
     466         [ -  + ]:          71 :         if (out_grouping_b_U(z, g_v_WXY, 89, 121, 0)) goto lab0;
     467         [ +  + ]:          71 :         if (in_grouping_b_U(z, g_v, 97, 121, 0)) goto lab0;
     468         [ +  + ]:          37 :         if (out_grouping_b_U(z, g_v, 97, 121, 0)) goto lab0;
     469                 :          11 :         break;
     470                 :             :     lab0:
     471                 :          60 :         z->c = z->l - v_1;
     472         [ -  + ]:          60 :         if (out_grouping_b_U(z, g_v, 97, 121, 0)) goto lab1;
     473         [ +  + ]:          60 :         if (in_grouping_b_U(z, g_v, 97, 121, 0)) goto lab1;
     474         [ +  + ]:          26 :         if (z->c > z->lb) goto lab1;
     475                 :          17 :         break;
     476                 :             :     lab1:
     477                 :          43 :         z->c = z->l - v_1;
     478         [ -  + ]:          43 :         if (!(eq_s_b(z, 4, s_2))) return 0;
     479   [ -  +  +  - ]:          71 :     } while (0);
     480                 :          28 :     return 1;
     481                 :          71 : }
     482                 :             : 
     483                 :          99 : static int r_R1(struct SN_env * z) {
     484                 :          99 :     return ((SN_local *)z)->i_p1 <= z->c;
     485                 :             : }
     486                 :             : 
     487                 :         285 : static int r_R2(struct SN_env * z) {
     488                 :         285 :     return ((SN_local *)z)->i_p2 <= z->c;
     489                 :             : }
     490                 :             : 
     491                 :        1037 : static int r_Step_1a(struct SN_env * z) {
     492                 :        1037 :     int among_var;
     493                 :             :     {
     494                 :        1037 :         int v_1 = z->l - z->c;
     495                 :        1037 :         z->ket = z->c;
     496   [ +  -  +  -  :        1037 :         if (z->c <= z->lb || (z->p[z->c - 1] != 39 && z->p[z->c - 1] != 115)) { z->c = z->l - v_1; goto lab0; }
                   +  + ]
     497         [ -  + ]:          48 :         if (!find_among_b(z, a_1, 3, 0)) { z->c = z->l - v_1; goto lab0; }
     498                 :           0 :         z->bra = z->c;
     499                 :             :         {
     500                 :           0 :             int ret = slice_del(z);
     501         [ #  # ]:           0 :             if (ret < 0) return ret;
     502         [ #  # ]:           0 :         }
     503                 :             :     lab0:
     504                 :             :         ;
     505         [ -  + ]:        1037 :     }
     506                 :        1037 :     z->ket = z->c;
     507   [ +  -  +  +  :        1037 :     if (z->c <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 115)) return 0;
                   +  + ]
     508                 :         130 :     among_var = find_among_b(z, a_2, 6, 0);
     509         [ +  + ]:         130 :     if (!among_var) return 0;
     510                 :          48 :     z->bra = z->c;
     511   [ +  -  -  + ]:          48 :     switch (among_var) {
     512                 :             :         case 1:
     513                 :             :             {
     514                 :           0 :                 int ret = slice_from_s(z, 2, s_3);
     515         [ #  # ]:           0 :                 if (ret < 0) return ret;
     516         [ #  # ]:           0 :             }
     517                 :           0 :             break;
     518                 :             :         case 2:
     519                 :           0 :             do {
     520                 :           0 :                 int v_2 = z->l - z->c;
     521                 :             :                 {
     522                 :           0 :                     int ret = skip_b_utf8(z->p, z->c, z->lb, 2);
     523         [ #  # ]:           0 :                     if (ret < 0) goto lab1;
     524                 :           0 :                     z->c = ret;
     525      [ #  #  # ]:           0 :                 }
     526                 :             :                 {
     527                 :           0 :                     int ret = slice_from_s(z, 1, s_4);
     528         [ #  # ]:           0 :                     if (ret < 0) return ret;
     529         [ #  # ]:           0 :                 }
     530                 :           0 :                 break;
     531                 :             :             lab1:
     532                 :           0 :                 z->c = z->l - v_2;
     533                 :             :                 {
     534                 :           0 :                     int ret = slice_from_s(z, 2, s_5);
     535         [ #  # ]:           0 :                     if (ret < 0) return ret;
     536         [ #  # ]:           0 :                 }
     537      [ #  #  # ]:           0 :             } while (0);
     538                 :           0 :             break;
     539                 :             :         case 3:
     540                 :             :             {
     541                 :          39 :                 int ret = skip_b_utf8(z->p, z->c, z->lb, 1);
     542         [ +  - ]:          39 :                 if (ret < 0) return 0;
     543                 :          39 :                 z->c = ret;
     544         [ -  + ]:          39 :             }
     545                 :             :             {
     546                 :          39 :                 int ret = out_grouping_b_U(z, g_v, 97, 121, 1);
     547         [ +  + ]:          39 :                 if (ret < 0) return 0;
     548                 :          38 :                 z->c -= ret;
     549         [ +  + ]:          39 :             }
     550                 :             :             {
     551                 :          38 :                 int ret = slice_del(z);
     552         [ +  - ]:          38 :                 if (ret < 0) return ret;
     553         [ -  + ]:          38 :             }
     554                 :          38 :             break;
     555                 :             :     }
     556                 :          47 :     return 1;
     557                 :        1037 : }
     558                 :             : 
     559                 :        1037 : static int r_Step_1b(struct SN_env * z) {
     560                 :        1037 :     int among_var;
     561                 :        1037 :     z->ket = z->c;
     562   [ +  -  +  +  :        1037 :     if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((33554576 >> (z->p[z->c - 1] & 0x1f)) & 1)) among_var = -1; else
                   +  + ]
     563                 :         189 :     among_var = find_among_b(z, a_5, 7, 0);
     564                 :        1037 :     z->bra = z->c;
     565                 :        1037 :     do {
     566                 :        1037 :         int v_1 = z->l - z->c;
     567   [ +  +  -  + ]:        1037 :         switch (among_var) {
     568                 :             :             case 1:
     569                 :             :                 {
     570                 :           0 :                     int v_2 = z->l - z->c;
     571                 :             :                     {
     572                 :           0 :                         int ret = r_R1(z);
     573         [ #  # ]:           0 :                         if (ret == 0) goto lab1;
     574         [ #  # ]:           0 :                         if (ret < 0) return ret;
     575      [ #  #  # ]:           0 :                     }
     576                 :           0 :                     do {
     577                 :           0 :                         int v_3 = z->l - z->c;
     578   [ #  #  #  # ]:           0 :                         if (z->c - 2 <= z->lb || z->p[z->c - 1] != 99) goto lab2;
     579         [ #  # ]:           0 :                         if (!find_among_b(z, a_3, 3, 0)) goto lab2;
     580         [ #  # ]:           0 :                         if (z->c > z->lb) goto lab2;
     581                 :           0 :                         break;
     582                 :             :                     lab2:
     583                 :           0 :                         z->c = z->l - v_3;
     584                 :             :                         {
     585                 :           0 :                             int ret = slice_from_s(z, 2, s_6);
     586         [ #  # ]:           0 :                             if (ret < 0) return ret;
     587         [ #  # ]:           0 :                         }
     588      [ #  #  # ]:           0 :                     } while (0);
     589                 :             :                 lab1:
     590                 :           0 :                     z->c = z->l - v_2;
     591         [ #  # ]:           0 :                 }
     592                 :           0 :                 break;
     593                 :             :             case 2:
     594                 :          55 :                 goto lab0;
     595                 :             :                 break;
     596                 :             :             case 3:
     597   [ +  -  +  -  :           9 :                 if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((34881536 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab0;
                   +  - ]
     598                 :           0 :                 among_var = find_among_b(z, a_4, 7, 0);
     599         [ #  # ]:           0 :                 if (!among_var) goto lab0;
     600      [ #  #  # ]:           0 :                 switch (among_var) {
     601                 :             :                     case 1:
     602                 :             :                         {
     603                 :           0 :                             int v_4 = z->l - z->c;
     604         [ #  # ]:           0 :                             if (out_grouping_b_U(z, g_v, 97, 121, 0)) goto lab0;
     605         [ #  # ]:           0 :                             if (z->c > z->lb) goto lab0;
     606                 :           0 :                             z->c = z->l - v_4;
     607      [ #  #  # ]:           0 :                         }
     608                 :           0 :                         z->bra = z->c;
     609                 :             :                         {
     610                 :           0 :                             int ret = slice_from_s(z, 2, s_7);
     611         [ #  # ]:           0 :                             if (ret < 0) return ret;
     612         [ #  # ]:           0 :                         }
     613                 :           0 :                         break;
     614                 :             :                     case 2:
     615         [ #  # ]:           0 :                         if (z->c > z->lb) goto lab0;
     616                 :           0 :                         break;
     617                 :             :                 }
     618                 :           0 :                 break;
     619                 :             :         }
     620                 :         973 :         break;
     621                 :             :     lab0:
     622                 :          64 :         z->c = z->l - v_1;
     623                 :             :         {
     624                 :          64 :             int v_5 = z->l - z->c;
     625                 :             :             {
     626                 :          64 :                 int ret = out_grouping_b_U(z, g_v, 97, 121, 1);
     627         [ +  - ]:          64 :                 if (ret < 0) return 0;
     628                 :          64 :                 z->c -= ret;
     629         [ -  + ]:          64 :             }
     630                 :          64 :             z->c = z->l - v_5;
     631         [ -  + ]:          64 :         }
     632                 :             :         {
     633                 :          64 :             int ret = slice_del(z);
     634         [ +  - ]:          64 :             if (ret < 0) return ret;
     635         [ -  + ]:          64 :         }
     636                 :          64 :         z->ket = z->c;
     637                 :          64 :         z->bra = z->c;
     638                 :             :         {
     639                 :          64 :             int v_6 = z->l - z->c;
     640   [ +  -  +  -  :          64 :             if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((68514004 >> (z->p[z->c - 1] & 0x1f)) & 1)) among_var = 3; else
                   +  + ]
     641                 :          54 :             among_var = find_among_b(z, a_6, 13, 0);
     642   [ -  -  +  + ]:          64 :             switch (among_var) {
     643                 :             :                 case 1:
     644                 :             :                     {
     645                 :           0 :                         int ret = slice_from_s(z, 1, s_8);
     646         [ #  # ]:           0 :                         if (ret < 0) return ret;
     647         [ #  # ]:           0 :                     }
     648                 :           0 :                     return 0;
     649                 :             :                     break;
     650                 :             :                 case 2:
     651                 :             :                     {
     652                 :           6 :                         int v_7 = z->l - z->c;
     653         [ +  - ]:           6 :                         if (in_grouping_b_U(z, g_aeo, 97, 111, 0)) goto lab3;
     654         [ #  # ]:           0 :                         if (z->c > z->lb) goto lab3;
     655                 :           0 :                         return 0;
     656                 :             :                     lab3:
     657                 :           6 :                         z->c = z->l - v_7;
     658         [ -  + ]:           6 :                     }
     659                 :           6 :                     break;
     660                 :             :                 case 3:
     661         [ +  + ]:          58 :                     if (z->c != ((SN_local *)z)->i_p1) return 0;
     662                 :             :                     {
     663                 :           9 :                         int v_8 = z->l - z->c;
     664                 :             :                         {
     665                 :           9 :                             int ret = r_shortv(z);
     666         [ +  + ]:           9 :                             if (ret <= 0) return ret;
     667         [ +  + ]:           9 :                         }
     668                 :           1 :                         z->c = z->l - v_8;
     669         [ +  + ]:           9 :                     }
     670                 :             :                     {
     671                 :           1 :                         int ret = slice_from_s(z, 1, s_9);
     672         [ +  - ]:           1 :                         if (ret < 0) return ret;
     673         [ -  + ]:           1 :                     }
     674                 :           1 :                     return 0;
     675                 :             :                     break;
     676                 :             :             }
     677                 :           6 :             z->c = z->l - v_6;
     678         [ +  + ]:          64 :         }
     679                 :           6 :         z->ket = z->c;
     680                 :             :         {
     681                 :           6 :             int ret = skip_b_utf8(z->p, z->c, z->lb, 1);
     682         [ +  - ]:           6 :             if (ret < 0) return 0;
     683                 :           6 :             z->c = ret;
     684         [ -  + ]:           6 :         }
     685                 :           6 :         z->bra = z->c;
     686                 :             :         {
     687                 :           6 :             int ret = slice_del(z);
     688         [ +  - ]:           6 :             if (ret < 0) return ret;
     689         [ -  + ]:           6 :         }
     690      [ +  +  + ]:        1037 :     } while (0);
     691                 :         979 :     return 1;
     692                 :        1037 : }
     693                 :             : 
     694                 :        1037 : static int r_Step_1c(struct SN_env * z) {
     695                 :        1037 :     z->ket = z->c;
     696                 :        1037 :     do {
     697                 :        1037 :         int v_1 = z->l - z->c;
     698   [ +  -  +  + ]:        1037 :         if (z->c <= z->lb || z->p[z->c - 1] != 'y') goto lab0;
     699                 :          59 :         z->c--;
     700                 :          59 :         break;
     701                 :             :     lab0:
     702                 :         978 :         z->c = z->l - v_1;
     703   [ +  -  +  + ]:         978 :         if (z->c <= z->lb || z->p[z->c - 1] != 'Y') return 0;
     704                 :          81 :         z->c--;
     705      [ +  +  + ]:        1037 :     } while (0);
     706                 :         140 :     z->bra = z->c;
     707         [ +  + ]:         140 :     if (out_grouping_b_U(z, g_v, 97, 121, 0)) return 0;
     708         [ -  + ]:          59 :     if (z->c > z->lb) goto lab1;
     709                 :           0 :     return 0;
     710                 :             : lab1:
     711                 :             :     {
     712                 :          59 :         int ret = slice_from_s(z, 1, s_10);
     713         [ +  - ]:          59 :         if (ret < 0) return ret;
     714         [ -  + ]:          59 :     }
     715                 :          59 :     return 1;
     716                 :        1037 : }
     717                 :             : 
     718                 :        1037 : static int r_Step_2(struct SN_env * z) {
     719                 :        1037 :     int among_var;
     720                 :        1037 :     z->ket = z->c;
     721   [ +  -  +  +  :        1037 :     if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1864192 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
                   +  + ]
     722                 :         411 :     among_var = find_among_b(z, a_7, 25, 0);
     723         [ +  + ]:         411 :     if (!among_var) return 0;
     724                 :           9 :     z->bra = z->c;
     725                 :             :     {
     726                 :           9 :         int ret = r_R1(z);
     727         [ -  + ]:           9 :         if (ret <= 0) return ret;
     728         [ -  + ]:           9 :     }
     729   [ -  -  -  -  :           9 :     switch (among_var) {
          -  -  -  +  +  
          -  -  -  -  -  
                -  -  - ]
     730                 :             :         case 1:
     731                 :             :             {
     732                 :           0 :                 int ret = slice_from_s(z, 4, s_11);
     733         [ #  # ]:           0 :                 if (ret < 0) return ret;
     734         [ #  # ]:           0 :             }
     735                 :           0 :             break;
     736                 :             :         case 2:
     737                 :             :             {
     738                 :           0 :                 int ret = slice_from_s(z, 4, s_12);
     739         [ #  # ]:           0 :                 if (ret < 0) return ret;
     740         [ #  # ]:           0 :             }
     741                 :           0 :             break;
     742                 :             :         case 3:
     743                 :             :             {
     744                 :           0 :                 int ret = slice_from_s(z, 4, s_13);
     745         [ #  # ]:           0 :                 if (ret < 0) return ret;
     746         [ #  # ]:           0 :             }
     747                 :           0 :             break;
     748                 :             :         case 4:
     749                 :             :             {
     750                 :           0 :                 int ret = slice_from_s(z, 4, s_14);
     751         [ #  # ]:           0 :                 if (ret < 0) return ret;
     752         [ #  # ]:           0 :             }
     753                 :           0 :             break;
     754                 :             :         case 5:
     755                 :             :             {
     756                 :           0 :                 int ret = slice_from_s(z, 3, s_15);
     757         [ #  # ]:           0 :                 if (ret < 0) return ret;
     758         [ #  # ]:           0 :             }
     759                 :           0 :             break;
     760                 :             :         case 6:
     761                 :             :             {
     762                 :           0 :                 int ret = slice_from_s(z, 3, s_16);
     763         [ #  # ]:           0 :                 if (ret < 0) return ret;
     764         [ #  # ]:           0 :             }
     765                 :           0 :             break;
     766                 :             :         case 7:
     767                 :             :             {
     768                 :           7 :                 int ret = slice_from_s(z, 3, s_17);
     769         [ +  - ]:           7 :                 if (ret < 0) return ret;
     770         [ -  + ]:           7 :             }
     771                 :           7 :             break;
     772                 :             :         case 8:
     773                 :             :             {
     774                 :           2 :                 int ret = slice_from_s(z, 2, s_18);
     775         [ +  - ]:           2 :                 if (ret < 0) return ret;
     776         [ -  + ]:           2 :             }
     777                 :           2 :             break;
     778                 :             :         case 9:
     779                 :             :             {
     780                 :           0 :                 int ret = slice_from_s(z, 3, s_19);
     781         [ #  # ]:           0 :                 if (ret < 0) return ret;
     782         [ #  # ]:           0 :             }
     783                 :           0 :             break;
     784                 :             :         case 10:
     785                 :             :             {
     786                 :           0 :                 int ret = slice_from_s(z, 3, s_20);
     787         [ #  # ]:           0 :                 if (ret < 0) return ret;
     788         [ #  # ]:           0 :             }
     789                 :           0 :             break;
     790                 :             :         case 11:
     791                 :             :             {
     792                 :           0 :                 int ret = slice_from_s(z, 3, s_21);
     793         [ #  # ]:           0 :                 if (ret < 0) return ret;
     794         [ #  # ]:           0 :             }
     795                 :           0 :             break;
     796                 :             :         case 12:
     797                 :             :             {
     798                 :           0 :                 int ret = slice_from_s(z, 3, s_22);
     799         [ #  # ]:           0 :                 if (ret < 0) return ret;
     800         [ #  # ]:           0 :             }
     801                 :           0 :             break;
     802                 :             :         case 13:
     803                 :             :             {
     804                 :           0 :                 int ret = slice_from_s(z, 2, s_23);
     805         [ #  # ]:           0 :                 if (ret < 0) return ret;
     806         [ #  # ]:           0 :             }
     807                 :           0 :             break;
     808                 :             :         case 14:
     809   [ #  #  #  # ]:           0 :             if (z->c <= z->lb || z->p[z->c - 1] != 'l') return 0;
     810                 :           0 :             z->c--;
     811                 :             :             {
     812                 :           0 :                 int ret = slice_from_s(z, 2, s_24);
     813         [ #  # ]:           0 :                 if (ret < 0) return ret;
     814         [ #  # ]:           0 :             }
     815                 :           0 :             break;
     816                 :             :         case 15:
     817                 :             :             {
     818                 :           0 :                 int ret = slice_from_s(z, 4, s_25);
     819         [ #  # ]:           0 :                 if (ret < 0) return ret;
     820         [ #  # ]:           0 :             }
     821                 :           0 :             break;
     822                 :             :         case 16:
     823         [ #  # ]:           0 :             if (in_grouping_b_U(z, g_valid_LI, 99, 116, 0)) return 0;
     824                 :             :             {
     825                 :           0 :                 int ret = slice_del(z);
     826         [ #  # ]:           0 :                 if (ret < 0) return ret;
     827         [ #  # ]:           0 :             }
     828                 :           0 :             break;
     829                 :             :     }
     830                 :           9 :     return 1;
     831                 :        1037 : }
     832                 :             : 
     833                 :        1037 : static int r_Step_3(struct SN_env * z) {
     834                 :        1037 :     int among_var;
     835                 :        1037 :     z->ket = z->c;
     836   [ +  -  +  +  :        1037 :     if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((528928 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
                   +  + ]
     837                 :         234 :     among_var = find_among_b(z, a_8, 9, 0);
     838         [ -  + ]:         234 :     if (!among_var) return 0;
     839                 :           0 :     z->bra = z->c;
     840                 :             :     {
     841                 :           0 :         int ret = r_R1(z);
     842         [ #  # ]:           0 :         if (ret <= 0) return ret;
     843         [ #  # ]:           0 :     }
     844   [ #  #  #  #  :           0 :     switch (among_var) {
                #  #  # ]
     845                 :             :         case 1:
     846                 :             :             {
     847                 :           0 :                 int ret = slice_from_s(z, 4, s_26);
     848         [ #  # ]:           0 :                 if (ret < 0) return ret;
     849         [ #  # ]:           0 :             }
     850                 :           0 :             break;
     851                 :             :         case 2:
     852                 :             :             {
     853                 :           0 :                 int ret = slice_from_s(z, 3, s_27);
     854         [ #  # ]:           0 :                 if (ret < 0) return ret;
     855         [ #  # ]:           0 :             }
     856                 :           0 :             break;
     857                 :             :         case 3:
     858                 :             :             {
     859                 :           0 :                 int ret = slice_from_s(z, 2, s_28);
     860         [ #  # ]:           0 :                 if (ret < 0) return ret;
     861         [ #  # ]:           0 :             }
     862                 :           0 :             break;
     863                 :             :         case 4:
     864                 :             :             {
     865                 :           0 :                 int ret = slice_from_s(z, 2, s_29);
     866         [ #  # ]:           0 :                 if (ret < 0) return ret;
     867         [ #  # ]:           0 :             }
     868                 :           0 :             break;
     869                 :             :         case 5:
     870                 :             :             {
     871                 :           0 :                 int ret = slice_del(z);
     872         [ #  # ]:           0 :                 if (ret < 0) return ret;
     873         [ #  # ]:           0 :             }
     874                 :           0 :             break;
     875                 :             :         case 6:
     876                 :             :             {
     877                 :           0 :                 int ret = r_R2(z);
     878         [ #  # ]:           0 :                 if (ret <= 0) return ret;
     879         [ #  # ]:           0 :             }
     880                 :             :             {
     881                 :           0 :                 int ret = slice_del(z);
     882         [ #  # ]:           0 :                 if (ret < 0) return ret;
     883         [ #  # ]:           0 :             }
     884                 :           0 :             break;
     885                 :             :     }
     886                 :           0 :     return 1;
     887                 :        1037 : }
     888                 :             : 
     889                 :        1037 : static int r_Step_4(struct SN_env * z) {
     890                 :        1037 :     int among_var;
     891                 :        1037 :     z->ket = z->c;
     892   [ +  -  +  +  :        1037 :     if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1864232 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
                   +  + ]
     893                 :         566 :     among_var = find_among_b(z, a_9, 18, 0);
     894         [ +  + ]:         566 :     if (!among_var) return 0;
     895                 :         140 :     z->bra = z->c;
     896                 :             :     {
     897                 :         140 :         int ret = r_R2(z);
     898         [ +  + ]:         140 :         if (ret <= 0) return ret;
     899         [ +  + ]:         140 :     }
     900      [ -  +  - ]:          14 :     switch (among_var) {
     901                 :             :         case 1:
     902                 :             :             {
     903                 :          14 :                 int ret = slice_del(z);
     904         [ +  - ]:          14 :                 if (ret < 0) return ret;
     905         [ -  + ]:          14 :             }
     906                 :          14 :             break;
     907                 :             :         case 2:
     908                 :           0 :             do {
     909                 :           0 :                 int v_1 = z->l - z->c;
     910   [ #  #  #  # ]:           0 :                 if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab0;
     911                 :           0 :                 z->c--;
     912                 :           0 :                 break;
     913                 :             :             lab0:
     914                 :           0 :                 z->c = z->l - v_1;
     915   [ #  #  #  # ]:           0 :                 if (z->c <= z->lb || z->p[z->c - 1] != 't') return 0;
     916                 :           0 :                 z->c--;
     917      [ #  #  # ]:           0 :             } while (0);
     918                 :             :             {
     919                 :           0 :                 int ret = slice_del(z);
     920         [ #  # ]:           0 :                 if (ret < 0) return ret;
     921         [ #  # ]:           0 :             }
     922                 :           0 :             break;
     923                 :             :     }
     924                 :          14 :     return 1;
     925                 :        1037 : }
     926                 :             : 
     927                 :        1037 : static int r_Step_5(struct SN_env * z) {
     928                 :        1037 :     int among_var;
     929                 :        1037 :     z->ket = z->c;
     930   [ +  -  +  +  :        1037 :     if (z->c <= z->lb || (z->p[z->c - 1] != 101 && z->p[z->c - 1] != 108)) return 0;
                   +  + ]
     931                 :         145 :     among_var = find_among_b(z, a_10, 2, 0);
     932         [ +  - ]:         145 :     if (!among_var) return 0;
     933                 :         145 :     z->bra = z->c;
     934      [ -  +  + ]:         145 :     switch (among_var) {
     935                 :             :         case 1:
     936                 :         129 :             do {
     937                 :             :                 {
     938                 :         129 :                     int ret = r_R2(z);
     939         [ +  + ]:         129 :                     if (ret == 0) goto lab0;
     940         [ +  - ]:          39 :                     if (ret < 0) return ret;
     941      [ -  +  + ]:         129 :                 }
     942                 :          39 :                 break;
     943                 :             :             lab0:
     944                 :             :                 {
     945                 :          90 :                     int ret = r_R1(z);
     946         [ +  + ]:          90 :                     if (ret <= 0) return ret;
     947         [ +  + ]:          90 :                 }
     948                 :             :                 {
     949                 :          62 :                     int v_1 = z->l - z->c;
     950                 :             :                     {
     951                 :          62 :                         int ret = r_shortv(z);
     952         [ +  + ]:          62 :                         if (ret == 0) goto lab1;
     953         [ -  + ]:          27 :                         if (ret < 0) return ret;
     954      [ +  -  + ]:          62 :                     }
     955                 :          27 :                     return 0;
     956                 :             :                 lab1:
     957                 :          35 :                     z->c = z->l - v_1;
     958         [ +  + ]:          62 :                 }
     959                 :          35 :             } while (0);
     960                 :             :             {
     961                 :          74 :                 int ret = slice_del(z);
     962         [ -  + ]:          74 :                 if (ret < 0) return ret;
     963         [ -  + ]:          74 :             }
     964                 :          74 :             break;
     965                 :             :         case 2:
     966                 :             :             {
     967                 :          16 :                 int ret = r_R2(z);
     968         [ +  + ]:          16 :                 if (ret <= 0) return ret;
     969         [ +  + ]:          16 :             }
     970   [ +  -  +  - ]:           1 :             if (z->c <= z->lb || z->p[z->c - 1] != 'l') return 0;
     971                 :           0 :             z->c--;
     972                 :             :             {
     973                 :           0 :                 int ret = slice_del(z);
     974         [ #  # ]:           0 :                 if (ret < 0) return ret;
     975         [ #  # ]:           0 :             }
     976                 :           0 :             break;
     977                 :             :     }
     978                 :          74 :     return 1;
     979                 :        1037 : }
     980                 :             : 
     981                 :        1127 : static int r_exception1(struct SN_env * z) {
     982                 :        1127 :     int among_var;
     983                 :        1127 :     z->bra = z->c;
     984   [ +  +  +  +  :        1127 :     if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 3 || !((42750482 >> (z->p[z->c + 2] & 0x1f)) & 1)) return 0;
                   +  + ]
     985                 :         495 :     among_var = find_among(z, a_11, 15, 0);
     986         [ +  + ]:         495 :     if (!among_var) return 0;
     987                 :           6 :     z->ket = z->c;
     988         [ -  + ]:           6 :     if (z->c < z->l) return 0;
     989   [ -  -  +  -  :           6 :     switch (among_var) {
             -  -  -  -  
                      - ]
     990                 :             :         case 1:
     991                 :             :             {
     992                 :           0 :                 int ret = slice_from_s(z, 3, s_30);
     993         [ #  # ]:           0 :                 if (ret < 0) return ret;
     994         [ #  # ]:           0 :             }
     995                 :           0 :             break;
     996                 :             :         case 2:
     997                 :             :             {
     998                 :           6 :                 int ret = slice_from_s(z, 3, s_31);
     999         [ +  - ]:           6 :                 if (ret < 0) return ret;
    1000         [ -  + ]:           6 :             }
    1001                 :           6 :             break;
    1002                 :             :         case 3:
    1003                 :             :             {
    1004                 :           0 :                 int ret = slice_from_s(z, 3, s_32);
    1005         [ #  # ]:           0 :                 if (ret < 0) return ret;
    1006         [ #  # ]:           0 :             }
    1007                 :           0 :             break;
    1008                 :             :         case 4:
    1009                 :             :             {
    1010                 :           0 :                 int ret = slice_from_s(z, 5, s_33);
    1011         [ #  # ]:           0 :                 if (ret < 0) return ret;
    1012         [ #  # ]:           0 :             }
    1013                 :           0 :             break;
    1014                 :             :         case 5:
    1015                 :             :             {
    1016                 :           0 :                 int ret = slice_from_s(z, 4, s_34);
    1017         [ #  # ]:           0 :                 if (ret < 0) return ret;
    1018         [ #  # ]:           0 :             }
    1019                 :           0 :             break;
    1020                 :             :         case 6:
    1021                 :             :             {
    1022                 :           0 :                 int ret = slice_from_s(z, 5, s_35);
    1023         [ #  # ]:           0 :                 if (ret < 0) return ret;
    1024         [ #  # ]:           0 :             }
    1025                 :           0 :             break;
    1026                 :             :         case 7:
    1027                 :             :             {
    1028                 :           0 :                 int ret = slice_from_s(z, 4, s_36);
    1029         [ #  # ]:           0 :                 if (ret < 0) return ret;
    1030         [ #  # ]:           0 :             }
    1031                 :           0 :             break;
    1032                 :             :         case 8:
    1033                 :             :             {
    1034                 :           0 :                 int ret = slice_from_s(z, 5, s_37);
    1035         [ #  # ]:           0 :                 if (ret < 0) return ret;
    1036         [ #  # ]:           0 :             }
    1037                 :           0 :             break;
    1038                 :             :     }
    1039                 :           6 :     return 1;
    1040                 :        1127 : }
    1041                 :             : 
    1042                 :        1037 : static int r_postlude(struct SN_env * z) {
    1043         [ +  + ]:        1037 :     if (!((SN_local *)z)->b_Y_found) return 0;
    1044                 :          88 :     while (1) {
    1045                 :         176 :         int v_1 = z->c;
    1046                 :         447 :         while (1) {
    1047                 :         447 :             int v_2 = z->c;
    1048                 :         447 :             z->bra = z->c;
    1049   [ +  +  +  + ]:         447 :             if (z->c == z->l || z->p[z->c] != 'Y') goto lab1;
    1050                 :          88 :             z->c++;
    1051                 :          88 :             z->ket = z->c;
    1052                 :          88 :             z->c = v_2;
    1053                 :          88 :             break;
    1054                 :             :         lab1:
    1055                 :         359 :             z->c = v_2;
    1056                 :             :             {
    1057                 :         359 :                 int ret = skip_utf8(z->p, z->c, z->l, 1);
    1058         [ +  + ]:         359 :                 if (ret < 0) goto lab0;
    1059                 :         271 :                 z->c = ret;
    1060         [ +  + ]:         359 :             }
    1061   [ +  -  +  + ]:         447 :         }
    1062                 :             :         {
    1063                 :          88 :             int ret = slice_from_s(z, 1, s_38);
    1064         [ -  + ]:          88 :             if (ret < 0) return ret;
    1065         [ -  + ]:          88 :         }
    1066                 :          88 :         continue;
    1067                 :             :     lab0:
    1068                 :          88 :         z->c = v_1;
    1069                 :          88 :         break;
    1070   [ +  -  +  - ]:         176 :     }
    1071                 :          88 :     return 1;
    1072                 :        1037 : }
    1073                 :             : 
    1074                 :        1127 : extern int english_UTF_8_stem(struct SN_env * z) {
    1075                 :        1127 :     do {
    1076                 :        1127 :         int v_1 = z->c;
    1077                 :             :         {
    1078                 :        1127 :             int ret = r_exception1(z);
    1079         [ +  + ]:        1127 :             if (ret == 0) goto lab0;
    1080         [ +  - ]:           6 :             if (ret < 0) return ret;
    1081      [ -  +  + ]:        1127 :         }
    1082                 :           6 :         break;
    1083                 :             :     lab0:
    1084                 :        1121 :         z->c = v_1;
    1085                 :             :         {
    1086                 :        1121 :             int v_2 = z->c;
    1087                 :             :             {
    1088                 :        1121 :                 int ret = skip_utf8(z->p, z->c, z->l, 3);
    1089         [ +  + ]:        1121 :                 if (ret < 0) goto lab2;
    1090                 :        1037 :                 z->c = ret;
    1091      [ -  +  + ]:        1121 :             }
    1092                 :        1037 :             goto lab1;
    1093                 :             :         lab2:
    1094                 :          84 :             z->c = v_2;
    1095      [ -  +  + ]:        1121 :         }
    1096                 :          84 :         break;
    1097                 :             :     lab1:
    1098                 :        1037 :         z->c = v_1;
    1099                 :             :         {
    1100                 :        1037 :             int ret = r_prelude(z);
    1101         [ +  - ]:        1037 :             if (ret < 0) return ret;
    1102         [ -  + ]:        1037 :         }
    1103                 :             :         {
    1104                 :        1037 :             int ret = r_mark_regions(z);
    1105         [ +  - ]:        1037 :             if (ret < 0) return ret;
    1106         [ -  + ]:        1037 :         }
    1107                 :        1037 :         z->lb = z->c; z->c = z->l;
    1108                 :             :         {
    1109                 :        1037 :             int v_3 = z->l - z->c;
    1110                 :             :             {
    1111                 :        1037 :                 int ret = r_Step_1a(z);
    1112         [ +  - ]:        1037 :                 if (ret < 0) return ret;
    1113         [ -  + ]:        1037 :             }
    1114                 :        1037 :             z->c = z->l - v_3;
    1115         [ -  + ]:        1037 :         }
    1116                 :             :         {
    1117                 :        1037 :             int v_4 = z->l - z->c;
    1118                 :             :             {
    1119                 :        1037 :                 int ret = r_Step_1b(z);
    1120         [ +  - ]:        1037 :                 if (ret < 0) return ret;
    1121         [ -  + ]:        1037 :             }
    1122                 :        1037 :             z->c = z->l - v_4;
    1123         [ -  + ]:        1037 :         }
    1124                 :             :         {
    1125                 :        1037 :             int v_5 = z->l - z->c;
    1126                 :             :             {
    1127                 :        1037 :                 int ret = r_Step_1c(z);
    1128         [ +  - ]:        1037 :                 if (ret < 0) return ret;
    1129         [ -  + ]:        1037 :             }
    1130                 :        1037 :             z->c = z->l - v_5;
    1131         [ -  + ]:        1037 :         }
    1132                 :             :         {
    1133                 :        1037 :             int v_6 = z->l - z->c;
    1134                 :             :             {
    1135                 :        1037 :                 int ret = r_Step_2(z);
    1136         [ +  - ]:        1037 :                 if (ret < 0) return ret;
    1137         [ -  + ]:        1037 :             }
    1138                 :        1037 :             z->c = z->l - v_6;
    1139         [ -  + ]:        1037 :         }
    1140                 :             :         {
    1141                 :        1037 :             int v_7 = z->l - z->c;
    1142                 :             :             {
    1143                 :        1037 :                 int ret = r_Step_3(z);
    1144         [ +  - ]:        1037 :                 if (ret < 0) return ret;
    1145         [ -  + ]:        1037 :             }
    1146                 :        1037 :             z->c = z->l - v_7;
    1147         [ -  + ]:        1037 :         }
    1148                 :             :         {
    1149                 :        1037 :             int v_8 = z->l - z->c;
    1150                 :             :             {
    1151                 :        1037 :                 int ret = r_Step_4(z);
    1152         [ +  - ]:        1037 :                 if (ret < 0) return ret;
    1153         [ -  + ]:        1037 :             }
    1154                 :        1037 :             z->c = z->l - v_8;
    1155         [ -  + ]:        1037 :         }
    1156                 :             :         {
    1157                 :        1037 :             int v_9 = z->l - z->c;
    1158                 :             :             {
    1159                 :        1037 :                 int ret = r_Step_5(z);
    1160         [ +  - ]:        1037 :                 if (ret < 0) return ret;
    1161         [ -  + ]:        1037 :             }
    1162                 :        1037 :             z->c = z->l - v_9;
    1163         [ -  + ]:        1037 :         }
    1164                 :        1037 :         z->c = z->lb;
    1165                 :             :         {
    1166                 :        1037 :             int v_10 = z->c;
    1167                 :             :             {
    1168                 :        1037 :                 int ret = r_postlude(z);
    1169         [ +  - ]:        1037 :                 if (ret < 0) return ret;
    1170         [ -  + ]:        1037 :             }
    1171                 :        1037 :             z->c = v_10;
    1172         [ -  + ]:        1037 :         }
    1173   [ -  -  +  + ]:        1127 :     } while (0);
    1174                 :        1127 :     return 1;
    1175                 :        1127 : }
    1176                 :             : 
    1177                 :           6 : extern struct SN_env * english_UTF_8_create_env(void) {
    1178                 :           6 :     struct SN_env * z = SN_new_env(sizeof(SN_local));
    1179         [ -  + ]:           6 :     if (z) {
    1180                 :           6 :         ((SN_local *)z)->b_Y_found = 0;
    1181                 :           6 :         ((SN_local *)z)->i_p2 = 0;
    1182                 :           6 :         ((SN_local *)z)->i_p1 = 0;
    1183                 :           6 :     }
    1184                 :          12 :     return z;
    1185                 :           6 : }
    1186                 :             : 
    1187                 :           0 : extern void english_UTF_8_close_env(struct SN_env * z) {
    1188                 :           0 :     SN_delete_env(z);
    1189                 :           0 : }
    1190                 :             : 
        

Generated by: LCOV version 2.3.2-1