
_Bool __regparm3 re_node_set_compare(re_node_set *set1,re_node_set *set2)

{
  bool bVar1;
  int iVar2;
  
  bVar1 = set1 == (re_node_set *)0x0 || set2 == (re_node_set *)0x0;
  if (bVar1) {
    return false;
  }
  iVar2 = set1->nelem;
  if (iVar2 == set2->nelem) {
    do {
      iVar2 = iVar2 + -1;
      if (iVar2 < 0) {
        return true;
      }
    } while (set1->elems[iVar2] == set2->elems[iVar2]);
  }
  return bVar1;
}



bool __regparm3 FUN_0005f250(int param_1,int param_2)

{
  bool bVar1;
  int iVar2;
  
  bVar1 = param_1 == 0 || param_2 == 0;
  if (bVar1) {
    return false;
  }
  iVar2 = *(int *)(param_1 + 4);
  if (iVar2 == *(int *)(param_2 + 4)) {
    do {
      iVar2 = iVar2 + -1;
      if (iVar2 < 0) {
        return true;
      }
    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==
             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));
  }
  return bVar1;
}


TEST EAX,EAX
PUSH EDI
PUSH ESI
PUSH EBX
MOV EBX,EAX
SETZ AL
TEST EDX,EDX
SETZ CL
OR AL,CL
JNZ 0x0005f290
MOV ECX,dword ptr [EBX + 0x4]
CMP ECX,dword ptr [EDX + 0x4]
JZ 0x0005f27e
POP EBX
POP ESI
POP EDI
RET
MOV EDI,dword ptr [EDX + 0x8]
MOV ESI,dword ptr [EBX + 0x8]
MOV EDI,dword ptr [EDI + ECX*0x4]
CMP dword ptr [ESI + ECX*0x4],EDI
JNZ 0x0005f26b
SUB ECX,0x1
JNS 0x0005f270
POP EBX
MOV EAX,0x1
POP ESI
POP EDI
RET
POP EBX
XOR EAX,EAX
POP ESI
POP EDI
RET
(translation_unit "bool __regparm3 FUN_0005f250(int param_1,int param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  \n  bVar1 = param_1 == 0 || param_2 == 0;\n  if (bVar1) {\n    return false;\n  }\n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 == *(int *)(param_2 + 4)) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }\n  return bVar1;\n}\n\n" (function_definition "bool __regparm3 FUN_0005f250(int param_1,int param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  \n  bVar1 = param_1 == 0 || param_2 == 0;\n  if (bVar1) {\n    return false;\n  }\n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 == *(int *)(param_2 + 4)) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }\n  return bVar1;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0005f250(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  \n  bVar1 = param_1 == 0 || param_2 == 0;\n  if (bVar1) {\n    return false;\n  }\n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 == *(int *)(param_2 + 4)) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "bVar1 = param_1 == 0 || param_2 == 0;" (assignment_expression "bVar1 = param_1 == 0 || param_2 == 0" identifier = (binary_expression "param_1 == 0 || param_2 == 0" (binary_expression "param_1 == 0" identifier == number_literal) || (binary_expression "param_2 == 0" identifier == number_literal))) ;) (if_statement "if (bVar1) {\n    return false;\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == *(int *)(param_2 + 4)) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }" if (parenthesized_expression "(iVar2 == *(int *)(param_2 + 4))" ( (binary_expression "iVar2 == *(int *)(param_2 + 4)" identifier == (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }" { (do_statement "do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));" do (compound_statement "{\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    }" { (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (if_statement "if (iVar2 < 0) {\n        return true;\n      }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) }) while (parenthesized_expression "(*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4))" ( (binary_expression "*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4)" (pointer_expression "*(int *)(*(int *)(param_1 + 8) + iVar2 * 4)" * (cast_expression "(int *)(*(int *)(param_1 + 8) + iVar2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + iVar2 * 4)" ( (binary_expression "*(int *)(param_1 + 8) + iVar2 * 4" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) == (pointer_expression "*(int *)(*(int *)(param_2 + 8) + iVar2 * 4)" * (cast_expression "(int *)(*(int *)(param_2 + 8) + iVar2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 8) + iVar2 * 4)" ( (binary_expression "*(int *)(param_2 + 8) + iVar2 * 4" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + (binary_expression "iVar2 * 4" identifier * number_literal)) ))))) )) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "_Bool __regparm3 re_node_set_compare(re_node_set *set1,re_node_set *set2)\n\n{\n  bool bVar1;\n  int iVar2;\n  \n  bVar1 = set1 == (re_node_set *)0x0 || set2 == (re_node_set *)0x0;\n  if (bVar1) {\n    return false;\n  }\n  iVar2 = set1->nelem;\n  if (iVar2 == set2->nelem) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (set1->elems[iVar2] == set2->elems[iVar2]);\n  }\n  return bVar1;\n}\n\n" (function_definition "_Bool __regparm3 re_node_set_compare(re_node_set *set1,re_node_set *set2)\n\n{\n  bool bVar1;\n  int iVar2;\n  \n  bVar1 = set1 == (re_node_set *)0x0 || set2 == (re_node_set *)0x0;\n  if (bVar1) {\n    return false;\n  }\n  iVar2 = set1->nelem;\n  if (iVar2 == set2->nelem) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (set1->elems[iVar2] == set2->elems[iVar2]);\n  }\n  return bVar1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "re_node_set_compare(re_node_set *set1,re_node_set *set2)" identifier (parameter_list "(re_node_set *set1,re_node_set *set2)" ( (parameter_declaration "re_node_set *set1" type_identifier (pointer_declarator "*set1" * identifier)) , (parameter_declaration "re_node_set *set2" type_identifier (pointer_declarator "*set2" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  \n  bVar1 = set1 == (re_node_set *)0x0 || set2 == (re_node_set *)0x0;\n  if (bVar1) {\n    return false;\n  }\n  iVar2 = set1->nelem;\n  if (iVar2 == set2->nelem) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (set1->elems[iVar2] == set2->elems[iVar2]);\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "bVar1 = set1 == (re_node_set *)0x0 || set2 == (re_node_set *)0x0;" (assignment_expression "bVar1 = set1 == (re_node_set *)0x0 || set2 == (re_node_set *)0x0" identifier = (binary_expression "set1 == (re_node_set *)0x0 || set2 == (re_node_set *)0x0" (binary_expression "set1 == (re_node_set *)0x0" identifier == (cast_expression "(re_node_set *)0x0" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (binary_expression "set2 == (re_node_set *)0x0" identifier == (cast_expression "(re_node_set *)0x0" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ;) (if_statement "if (bVar1) {\n    return false;\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "iVar2 = set1->nelem;" (assignment_expression "iVar2 = set1->nelem" identifier = (field_expression "set1->nelem" identifier -> field_identifier)) ;) (if_statement "if (iVar2 == set2->nelem) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (set1->elems[iVar2] == set2->elems[iVar2]);\n  }" if (parenthesized_expression "(iVar2 == set2->nelem)" ( (binary_expression "iVar2 == set2->nelem" identifier == (field_expression "set2->nelem" identifier -> field_identifier)) )) (compound_statement "{\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (set1->elems[iVar2] == set2->elems[iVar2]);\n  }" { (do_statement "do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (set1->elems[iVar2] == set2->elems[iVar2]);" do (compound_statement "{\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    }" { (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (if_statement "if (iVar2 < 0) {\n        return true;\n      }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) }) while (parenthesized_expression "(set1->elems[iVar2] == set2->elems[iVar2])" ( (binary_expression "set1->elems[iVar2] == set2->elems[iVar2]" (subscript_expression "set1->elems[iVar2]" (field_expression "set1->elems" identifier -> field_identifier) [ identifier ]) == (subscript_expression "set2->elems[iVar2]" (field_expression "set2->elems" identifier -> field_identifier) [ identifier ])) )) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "bool __regparm3 FUN_0005f250(int param_1,int param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  \n  bVar1 = param_1 == 0 || param_2 == 0;\n  if (bVar1) {\n    return false;\n  }\n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 == *(int *)(param_2 + 4)) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }\n  return bVar1;\n}\n\n" (function_definition "bool __regparm3 FUN_0005f250(int param_1,int param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  \n  bVar1 = param_1 == 0 || param_2 == 0;\n  if (bVar1) {\n    return false;\n  }\n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 == *(int *)(param_2 + 4)) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }\n  return bVar1;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0005f250(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  \n  bVar1 = param_1 == 0 || param_2 == 0;\n  if (bVar1) {\n    return false;\n  }\n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 == *(int *)(param_2 + 4)) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "bVar1 = param_1 == 0 || param_2 == 0;" (assignment_expression "bVar1 = param_1 == 0 || param_2 == 0" identifier = (binary_expression "param_1 == 0 || param_2 == 0" (binary_expression "param_1 == 0" identifier == number_literal) || (binary_expression "param_2 == 0" identifier == number_literal))) ;) (if_statement "if (bVar1) {\n    return false;\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == *(int *)(param_2 + 4)) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }" if (parenthesized_expression "(iVar2 == *(int *)(param_2 + 4))" ( (binary_expression "iVar2 == *(int *)(param_2 + 4)" identifier == (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }" { (do_statement "do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));" do (compound_statement "{\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    }" { (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (if_statement "if (iVar2 < 0) {\n        return true;\n      }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) }) while (parenthesized_expression "(*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4))" ( (binary_expression "*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4)" (pointer_expression "*(int *)(*(int *)(param_1 + 8) + iVar2 * 4)" * (cast_expression "(int *)(*(int *)(param_1 + 8) + iVar2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + iVar2 * 4)" ( (binary_expression "*(int *)(param_1 + 8) + iVar2 * 4" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) == (pointer_expression "*(int *)(*(int *)(param_2 + 8) + iVar2 * 4)" * (cast_expression "(int *)(*(int *)(param_2 + 8) + iVar2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 8) + iVar2 * 4)" ( (binary_expression "*(int *)(param_2 + 8) + iVar2 * 4" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + (binary_expression "iVar2 * 4" identifier * number_literal)) ))))) )) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(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 ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT == LIT) || (binary_expression IDENT == LIT))) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return BOOL ;) })) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) )) ;) })) (return_statement return IDENT ;) })))
(function_definition "bool __regparm3 FUN_0005f250(int param_1,int param_2)\n\n{\n  bool bVar1;\n  int iVar2;\n  \n  bVar1 = param_1 == 0 || param_2 == 0;\n  if (bVar1) {\n    return false;\n  }\n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 == *(int *)(param_2 + 4)) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }\n  return bVar1;\n}" (primitive_type "bool") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0005f250(int param_1,int param_2)" (identifier "FUN_0005f250") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  \n  bVar1 = param_1 == 0 || param_2 == 0;\n  if (bVar1) {\n    return false;\n  }\n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 == *(int *)(param_2 + 4)) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }\n  return bVar1;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "bVar1 = param_1 == 0 || param_2 == 0;" (assignment_expression "bVar1 = param_1 == 0 || param_2 == 0" (identifier "bVar1") (= "=") (binary_expression "param_1 == 0 || param_2 == 0" (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) (|| "||") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")))) (; ";")) (if_statement "if (bVar1) {\n    return false;\n  }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n    return false;\n  }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar2 == *(int *)(param_2 + 4)) {\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }" (if "if") (parenthesized_expression "(iVar2 == *(int *)(param_2 + 4))" (( "(") (binary_expression "iVar2 == *(int *)(param_2 + 4)" (identifier "iVar2") (== "==") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));\n  }" ({ "{") (do_statement "do {\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));" (do "do") (compound_statement "{\n      iVar2 = iVar2 + -1;\n      if (iVar2 < 0) {\n        return true;\n      }\n    }" ({ "{") (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar2 < 0) {\n        return true;\n      }" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        return true;\n      }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4))" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4)" (pointer_expression "*(int *)(*(int *)(param_1 + 8) + iVar2 * 4)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 8) + iVar2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + iVar2 * 4)" (( "(") (binary_expression "*(int *)(param_1 + 8) + iVar2 * 4" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) (== "==") (pointer_expression "*(int *)(*(int *)(param_2 + 8) + iVar2 * 4)" (* "*") (cast_expression "(int *)(*(int *)(param_2 + 8) + iVar2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 8) + iVar2 * 4)" (( "(") (binary_expression "*(int *)(param_2 + 8) + iVar2 * 4" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")"))))) () ")")) (; ";")) (} "}"))) (return_statement "return bVar1;" (return "return") (identifier "bVar1") (; ";")) (} "}")))

type_1 __regparm3 function_1(type_2 *var_1,type_2 *var_2)

{
  bool bVar1;
  int var_3;
  
  bVar1 = var_1 == (type_2 *)0x0 || var_2 == (type_2 *)0x0;
  if (bVar1) {
    return false;
  }
  var_3 = var_1->nelem;
  if (var_3 == var_2->nelem) {
    do {
      var_3 = var_3 + -1;
      if (var_3 < 0) {
        return true;
      }
    } while (var_1->elems[var_3] == var_2->elems[var_3]);
  }
  return bVar1;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (return_statement (false)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (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: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (true))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))))))))) (return_statement (identifier)))))

bool __regparm3 MASKED(int param_1,int param_2)

{
  bool bVar1;
  int iVar2;
  
  bVar1 = param_1 == 0 || param_2 == 0;
  if (bVar1) {
    return false;
  }
  iVar2 = *(int *)(param_1 + 4);
  if (iVar2 == *(int *)(param_2 + 4)) {
    do {
      iVar2 = iVar2 + -1;
      if (iVar2 < 0) {
        return true;
      }
    } while (*(int *)(*(int *)(param_1 + 8) + iVar2 * 4) ==
             *(int *)(*(int *)(param_2 + 8) + iVar2 * 4));
  }
  return bVar1;
}

