
int __regparm3 fts5Porter_Vowel(char *zStem,int nStem)

{
  int iVar1;
  int iVar2;
  
  if (nStem < 1) {
    return 0;
  }
  iVar2 = 0;
  do {
    iVar1 = fts5PorterIsVowel(zStem[iVar2],(uint)(0 < iVar2));
    if (iVar1 != 0) {
      return 1;
    }
    iVar2 = iVar2 + 1;
  } while (nStem != iVar2);
  return 0;
}



undefined4 __regparm3 FUN_000332e0(undefined4 param_1,int param_2)

{
  int iVar1;
  int iVar2;
  
  if (param_2 < 1) {
    return 0;
  }
  iVar2 = 0;
  do {
    iVar1 = FUN_000331c0();
    if (iVar1 != 0) {
      return 1;
    }
    iVar2 = iVar2 + 1;
  } while (param_2 != iVar2);
  return 0;
}


TEST EDX,EDX
JLE 0x00033314
PUSH EDI
MOV EDI,EAX
PUSH ESI
MOV ESI,EDX
PUSH EBX
XOR EBX,EBX
JMP 0x000332f7
ADD EBX,0x1
CMP ESI,EBX
JZ 0x00033310
XOR EDX,EDX
MOVSX EAX,byte ptr [EDI + EBX*0x1]
TEST EBX,EBX
SETG DL
CALL 0x000331c0
TEST EAX,EAX
JZ 0x000332f0
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
RET
XOR EAX,EAX
RET
(translation_unit "undefined4 __regparm3 FUN_000332e0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 < 1) {\n    return 0;\n  }\n  iVar2 = 0;\n  do {\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (param_2 != iVar2);\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_000332e0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 < 1) {\n    return 0;\n  }\n  iVar2 = 0;\n  do {\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (param_2 != iVar2);\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000332e0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 < 1) {\n    return 0;\n  }\n  iVar2 = 0;\n  do {\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (param_2 != iVar2);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_2 < 1) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 < 1)" ( (binary_expression "param_2 < 1" identifier < number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (param_2 != iVar2);" do (compound_statement "{\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  }" { (expression_statement "iVar1 = FUN_000331c0();" (assignment_expression "iVar1 = FUN_000331c0()" identifier = (call_expression "FUN_000331c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != iVar2)" ( (binary_expression "param_2 != iVar2" identifier != identifier) )) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int __regparm3 fts5Porter_Vowel(char *zStem,int nStem)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (nStem < 1) {\n    return 0;\n  }\n  iVar2 = 0;\n  do {\n    iVar1 = fts5PorterIsVowel(zStem[iVar2],(uint)(0 < iVar2));\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (nStem != iVar2);\n  return 0;\n}\n\n" (function_definition "int __regparm3 fts5Porter_Vowel(char *zStem,int nStem)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (nStem < 1) {\n    return 0;\n  }\n  iVar2 = 0;\n  do {\n    iVar1 = fts5PorterIsVowel(zStem[iVar2],(uint)(0 < iVar2));\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (nStem != iVar2);\n  return 0;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "fts5Porter_Vowel(char *zStem,int nStem)" identifier (parameter_list "(char *zStem,int nStem)" ( (parameter_declaration "char *zStem" primitive_type (pointer_declarator "*zStem" * identifier)) , (parameter_declaration "int nStem" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (nStem < 1) {\n    return 0;\n  }\n  iVar2 = 0;\n  do {\n    iVar1 = fts5PorterIsVowel(zStem[iVar2],(uint)(0 < iVar2));\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (nStem != iVar2);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (nStem < 1) {\n    return 0;\n  }" if (parenthesized_expression "(nStem < 1)" ( (binary_expression "nStem < 1" identifier < number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n    iVar1 = fts5PorterIsVowel(zStem[iVar2],(uint)(0 < iVar2));\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (nStem != iVar2);" do (compound_statement "{\n    iVar1 = fts5PorterIsVowel(zStem[iVar2],(uint)(0 < iVar2));\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  }" { (expression_statement "iVar1 = fts5PorterIsVowel(zStem[iVar2],(uint)(0 < iVar2));" (assignment_expression "iVar1 = fts5PorterIsVowel(zStem[iVar2],(uint)(0 < iVar2))" identifier = (call_expression "fts5PorterIsVowel(zStem[iVar2],(uint)(0 < iVar2))" identifier (argument_list "(zStem[iVar2],(uint)(0 < iVar2))" ( (subscript_expression "zStem[iVar2]" identifier [ identifier ]) , (call_expression "(uint)(0 < iVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) ))) )))) ;) (if_statement "if (iVar1 != 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(nStem != iVar2)" ( (binary_expression "nStem != iVar2" identifier != identifier) )) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_000332e0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 < 1) {\n    return 0;\n  }\n  iVar2 = 0;\n  do {\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (param_2 != iVar2);\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_000332e0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 < 1) {\n    return 0;\n  }\n  iVar2 = 0;\n  do {\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (param_2 != iVar2);\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000332e0(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 < 1) {\n    return 0;\n  }\n  iVar2 = 0;\n  do {\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (param_2 != iVar2);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_2 < 1) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 < 1)" ( (binary_expression "param_2 < 1" identifier < number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (param_2 != iVar2);" do (compound_statement "{\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  }" { (expression_statement "iVar1 = FUN_000331c0();" (assignment_expression "iVar1 = FUN_000331c0()" identifier = (call_expression "FUN_000331c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != iVar2)" ( (binary_expression "param_2 != iVar2" identifier != identifier) )) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_000332e0(undefined4 param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 < 1) {\n    return 0;\n  }\n  iVar2 = 0;\n  do {\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (param_2 != iVar2);\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000332e0(undefined4 param_1,int param_2)" (identifier "FUN_000332e0") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (param_2 < 1) {\n    return 0;\n  }\n  iVar2 = 0;\n  do {\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (param_2 != iVar2);\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_2 < 1) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_2 < 1)" (( "(") (binary_expression "param_2 < 1" (identifier "param_2") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  } while (param_2 != iVar2);" (do "do") (compound_statement "{\n    iVar1 = FUN_000331c0();\n    if (iVar1 != 0) {\n      return 1;\n    }\n    iVar2 = iVar2 + 1;\n  }" ({ "{") (expression_statement "iVar1 = FUN_000331c0();" (assignment_expression "iVar1 = FUN_000331c0()" (identifier "iVar1") (= "=") (call_expression "FUN_000331c0()" (identifier "FUN_000331c0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != iVar2)" (( "(") (binary_expression "param_2 != iVar2" (identifier "param_2") (!= "!=") (identifier "iVar2")) () ")")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int __regparm3 function_1(char *zStem,int var_1)

{
  int var_4;
  int var_3;
  
  if (var_1 < 1) {
    return 0;
  }
  var_3 = 0;
  do {
    var_4 = var_2(zStem[var_3],(uint)(0 < var_3));
    if (var_4 != 0) {
      return 1;
    }
    var_3 = var_3 + 1;
  } while (var_1 != var_3);
  return 0;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (return_statement (number_literal)))))

undefined4 __regparm3 MASKED(undefined4 param_1,int param_2)

{
  int iVar1;
  int iVar2;
  
  if (param_2 < 1) {
    return 0;
  }
  iVar2 = 0;
  do {
    iVar1 = FUN_000331c0();
    if (iVar1 != 0) {
      return 1;
    }
    iVar2 = iVar2 + 1;
  } while (param_2 != iVar2);
  return 0;
}

