
int find_reserved_word(char *tokstr)

{
  char cVar1;
  int iVar2;
  char *pcVar3;
  undefined4 *puVar4;
  int iVar5;
  
  pcVar3 = *(char **)PTR_word_token_alist_001448e0;
  if (pcVar3 != (char *)0x0) {
    cVar1 = *tokstr;
    iVar5 = 0;
    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;
    do {
      puVar4 = puVar4 + 2;
      if (*pcVar3 == cVar1) {
        iVar2 = (*(code *)PTR_strcmp_00146548)(tokstr);
        if (iVar2 == 0) {
          return iVar5;
        }
      }
      pcVar3 = (char *)*puVar4;
      iVar5 = iVar5 + 1;
    } while (pcVar3 != (char *)0x0);
  }
  return -1;
}



int find_reserved_word(char *param_1)

{
  char cVar1;
  int iVar2;
  char *pcVar3;
  undefined4 *puVar4;
  int iVar5;
  
  pcVar3 = *(char **)PTR_word_token_alist_001448e0;
  if (pcVar3 != (char *)0x0) {
    cVar1 = *param_1;
    iVar5 = 0;
    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;
    do {
      puVar4 = puVar4 + 2;
      if (*pcVar3 == cVar1) {
        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);
        if (iVar2 == 0) {
          return iVar5;
        }
      }
      pcVar3 = (char *)*puVar4;
      iVar5 = iVar5 + 1;
    } while (pcVar3 != (char *)0x0);
  }
  return -1;
}


lui gp,0x12
addiu gp,gp,-0x68cc
addu gp,gp,t9
addiu sp,sp,-0x30
sw s0,0x1c(sp)
lw s0,-0x7c60(gp)
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
lw a1,0x0(s0)
beq a1,zero,0x00032ea0
_or s3,a0,zero
lb s2,0x0(a0)
addiu s0,s0,0x8
b 0x00032e60
_or s1,zero,zero
lw a1,-0x8(s0)
beq a1,zero,0x00032ea0
_addiu s1,s1,0x1
lb v0,0x0(a1)
bne v0,s2,0x00032e54
_addiu s0,s0,0x8
lw t9,-0x5ff8(gp)
jalr t9
_or a0,s3,zero
bne v0,zero,0x00032e54
_lw gp,0x10(sp)
lw ra,0x2c(sp)
or v0,s1,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
lw ra,0x2c(sp)
li s1,-0x1
lw s3,0x28(sp)
or v0,s1,zero
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "int find_reserved_word(char *param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  pcVar3 = *(char **)PTR_word_token_alist_001448e0;\n  if (pcVar3 != (char *)0x0) {\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }\n  return -1;\n}\n\n" (function_definition "int find_reserved_word(char *param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  pcVar3 = *(char **)PTR_word_token_alist_001448e0;\n  if (pcVar3 != (char *)0x0) {\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }\n  return -1;\n}" primitive_type (function_declarator "find_reserved_word(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  pcVar3 = *(char **)PTR_word_token_alist_001448e0;\n  if (pcVar3 != (char *)0x0) {\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }\n  return -1;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "pcVar3 = *(char **)PTR_word_token_alist_001448e0;" (assignment_expression "pcVar3 = *(char **)PTR_word_token_alist_001448e0" identifier = (pointer_expression "*(char **)PTR_word_token_alist_001448e0" * (cast_expression "(char **)PTR_word_token_alist_001448e0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }" { (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;" (assignment_expression "puVar4 = (undefined4 *)PTR_word_token_alist_001448e0" identifier = (cast_expression "(undefined4 *)PTR_word_token_alist_001448e0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);" do (compound_statement "{\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    }" { (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) (if_statement "if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }" if (parenthesized_expression "(*pcVar3 == cVar1)" ( (binary_expression "*pcVar3 == cVar1" (pointer_expression "*pcVar3" * identifier) == identifier) )) (compound_statement "{\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00146548)(param_1)" identifier = (call_expression "(*(code *)PTR_strcmp_00146548)(param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_00146548)" ( (pointer_expression "*(code *)PTR_strcmp_00146548" * (cast_expression "(code *)PTR_strcmp_00146548" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          return iVar5;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          return iVar5;\n        }" { (return_statement "return iVar5;" return identifier ;) })) })) (expression_statement "pcVar3 = (char *)*puVar4;" (assignment_expression "pcVar3 = (char *)*puVar4" identifier = (cast_expression "(char *)*puVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return -1;" return number_literal ;) })))
(translation_unit "int find_reserved_word(char *tokstr)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  pcVar3 = *(char **)PTR_word_token_alist_001448e0;\n  if (pcVar3 != (char *)0x0) {\n    cVar1 = *tokstr;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(tokstr);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }\n  return -1;\n}\n\n" (function_definition "int find_reserved_word(char *tokstr)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  pcVar3 = *(char **)PTR_word_token_alist_001448e0;\n  if (pcVar3 != (char *)0x0) {\n    cVar1 = *tokstr;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(tokstr);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }\n  return -1;\n}" primitive_type (function_declarator "find_reserved_word(char *tokstr)" identifier (parameter_list "(char *tokstr)" ( (parameter_declaration "char *tokstr" primitive_type (pointer_declarator "*tokstr" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  pcVar3 = *(char **)PTR_word_token_alist_001448e0;\n  if (pcVar3 != (char *)0x0) {\n    cVar1 = *tokstr;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(tokstr);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }\n  return -1;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "pcVar3 = *(char **)PTR_word_token_alist_001448e0;" (assignment_expression "pcVar3 = *(char **)PTR_word_token_alist_001448e0" identifier = (pointer_expression "*(char **)PTR_word_token_alist_001448e0" * (cast_expression "(char **)PTR_word_token_alist_001448e0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n    cVar1 = *tokstr;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(tokstr);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    cVar1 = *tokstr;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(tokstr);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }" { (expression_statement "cVar1 = *tokstr;" (assignment_expression "cVar1 = *tokstr" identifier = (pointer_expression "*tokstr" * identifier)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;" (assignment_expression "puVar4 = (undefined4 *)PTR_word_token_alist_001448e0" identifier = (cast_expression "(undefined4 *)PTR_word_token_alist_001448e0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(tokstr);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);" do (compound_statement "{\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(tokstr);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    }" { (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) (if_statement "if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(tokstr);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }" if (parenthesized_expression "(*pcVar3 == cVar1)" ( (binary_expression "*pcVar3 == cVar1" (pointer_expression "*pcVar3" * identifier) == identifier) )) (compound_statement "{\n        iVar2 = (*(code *)PTR_strcmp_00146548)(tokstr);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_00146548)(tokstr);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00146548)(tokstr)" identifier = (call_expression "(*(code *)PTR_strcmp_00146548)(tokstr)" (parenthesized_expression "(*(code *)PTR_strcmp_00146548)" ( (pointer_expression "*(code *)PTR_strcmp_00146548" * (cast_expression "(code *)PTR_strcmp_00146548" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(tokstr)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          return iVar5;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          return iVar5;\n        }" { (return_statement "return iVar5;" return identifier ;) })) })) (expression_statement "pcVar3 = (char *)*puVar4;" (assignment_expression "pcVar3 = (char *)*puVar4" identifier = (cast_expression "(char *)*puVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return -1;" return number_literal ;) })))
(translation_unit "int find_reserved_word(char *param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  pcVar3 = *(char **)PTR_word_token_alist_001448e0;\n  if (pcVar3 != (char *)0x0) {\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }\n  return -1;\n}\n\n" (function_definition "int find_reserved_word(char *param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  pcVar3 = *(char **)PTR_word_token_alist_001448e0;\n  if (pcVar3 != (char *)0x0) {\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }\n  return -1;\n}" primitive_type (function_declarator "find_reserved_word(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  pcVar3 = *(char **)PTR_word_token_alist_001448e0;\n  if (pcVar3 != (char *)0x0) {\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }\n  return -1;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "pcVar3 = *(char **)PTR_word_token_alist_001448e0;" (assignment_expression "pcVar3 = *(char **)PTR_word_token_alist_001448e0" identifier = (pointer_expression "*(char **)PTR_word_token_alist_001448e0" * (cast_expression "(char **)PTR_word_token_alist_001448e0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }" { (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;" (assignment_expression "puVar4 = (undefined4 *)PTR_word_token_alist_001448e0" identifier = (cast_expression "(undefined4 *)PTR_word_token_alist_001448e0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (do_statement "do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);" do (compound_statement "{\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    }" { (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) (if_statement "if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }" if (parenthesized_expression "(*pcVar3 == cVar1)" ( (binary_expression "*pcVar3 == cVar1" (pointer_expression "*pcVar3" * identifier) == identifier) )) (compound_statement "{\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00146548)(param_1)" identifier = (call_expression "(*(code *)PTR_strcmp_00146548)(param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_00146548)" ( (pointer_expression "*(code *)PTR_strcmp_00146548" * (cast_expression "(code *)PTR_strcmp_00146548" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          return iVar5;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          return iVar5;\n        }" { (return_statement "return iVar5;" return identifier ;) })) })) (expression_statement "pcVar3 = (char *)*puVar4;" (assignment_expression "pcVar3 = (char *)*puVar4" identifier = (cast_expression "(char *)*puVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return -1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (return_statement return LIT ;) })))
(function_definition "int find_reserved_word(char *param_1)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  pcVar3 = *(char **)PTR_word_token_alist_001448e0;\n  if (pcVar3 != (char *)0x0) {\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }\n  return -1;\n}" (primitive_type "int") (function_declarator "find_reserved_word(char *param_1)" (identifier "find_reserved_word") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  \n  pcVar3 = *(char **)PTR_word_token_alist_001448e0;\n  if (pcVar3 != (char *)0x0) {\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }\n  return -1;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (expression_statement "pcVar3 = *(char **)PTR_word_token_alist_001448e0;" (assignment_expression "pcVar3 = *(char **)PTR_word_token_alist_001448e0" (identifier "pcVar3") (= "=") (pointer_expression "*(char **)PTR_word_token_alist_001448e0" (* "*") (cast_expression "(char **)PTR_word_token_alist_001448e0" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_word_token_alist_001448e0")))) (; ";")) (if_statement "if (pcVar3 != (char *)0x0) {\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }" (if "if") (parenthesized_expression "(pcVar3 != (char *)0x0)" (( "(") (binary_expression "pcVar3 != (char *)0x0" (identifier "pcVar3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    cVar1 = *param_1;\n    iVar5 = 0;\n    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;\n    do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);\n  }" ({ "{") (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" (identifier "cVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;" (assignment_expression "puVar4 = (undefined4 *)PTR_word_token_alist_001448e0" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)PTR_word_token_alist_001448e0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_word_token_alist_001448e0"))) (; ";")) (do_statement "do {\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    } while (pcVar3 != (char *)0x0);" (do "do") (compound_statement "{\n      puVar4 = puVar4 + 2;\n      if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }\n      pcVar3 = (char *)*puVar4;\n      iVar5 = iVar5 + 1;\n    }" ({ "{") (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (*pcVar3 == cVar1) {\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }" (if "if") (parenthesized_expression "(*pcVar3 == cVar1)" (( "(") (binary_expression "*pcVar3 == cVar1" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (== "==") (identifier "cVar1")) () ")")) (compound_statement "{\n        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);\n        if (iVar2 == 0) {\n          return iVar5;\n        }\n      }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00146548)(param_1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strcmp_00146548)(param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_00146548)" (( "(") (pointer_expression "*(code *)PTR_strcmp_00146548" (* "*") (cast_expression "(code *)PTR_strcmp_00146548" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_00146548"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n          return iVar5;\n        }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return iVar5;\n        }" ({ "{") (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}"))) (} "}"))) (expression_statement "pcVar3 = (char *)*puVar4;" (assignment_expression "pcVar3 = (char *)*puVar4" (identifier "pcVar3") (= "=") (cast_expression "(char *)*puVar4" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pcVar3 != (char *)0x0)" (( "(") (binary_expression "pcVar3 != (char *)0x0" (identifier "pcVar3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}")))

int function_1(char *tokstr)

{
  char var_3;
  int var_4;
  char *var_1;
  type_1 *var_2;
  int var_5;
  
  var_1 = *(char **)PTR_word_token_alist_001448e0;
  if (var_1 != (char *)0x0) {
    var_3 = *tokstr;
    var_5 = 0;
    var_2 = (type_1 *)PTR_word_token_alist_001448e0;
    do {
      var_2 = var_2 + 2;
      if (*var_1 == var_3) {
        var_4 = (*(type_2 *)PTR_strcmp_00146548)(tokstr);
        if (var_4 == 0) {
          return var_5;
        }
      }
      var_1 = (char *)*var_2;
      var_5 = var_5 + 1;
    } while (var_1 != (char *)0x0);
  }
  return -1;
}


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

int MASKED(char *param_1)

{
  char cVar1;
  int iVar2;
  char *pcVar3;
  undefined4 *puVar4;
  int iVar5;
  
  pcVar3 = *(char **)PTR_word_token_alist_001448e0;
  if (pcVar3 != (char *)0x0) {
    cVar1 = *param_1;
    iVar5 = 0;
    puVar4 = (undefined4 *)PTR_word_token_alist_001448e0;
    do {
      puVar4 = puVar4 + 2;
      if (*pcVar3 == cVar1) {
        iVar2 = (*(code *)PTR_strcmp_00146548)(param_1);
        if (iVar2 == 0) {
          return iVar5;
        }
      }
      pcVar3 = (char *)*puVar4;
      iVar5 = iVar5 + 1;
    } while (pcVar3 != (char *)0x0);
  }
  return -1;
}

