
/* WARNING: Unknown calling convention */

_Bool re_node_set_compare(re_node_set *set1,re_node_set *set2)

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



undefined4 FUN_000776d4(int param_1,int param_2)

{
  int iVar1;
  
  if (param_1 == 0) {
    return 0;
  }
  if (param_2 != 0) {
    iVar1 = *(int *)(param_1 + 4);
    if (iVar1 != *(int *)(param_2 + 4)) {
      return 0;
    }
    do {
      iVar1 = iVar1 + -1;
      if (iVar1 < 0) {
        return 1;
      }
    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==
             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));
    return 0;
  }
  return 0;
}


beq a0,zero,0x00077730
_nop
beq a1,zero,0x00077738
_nop
lw v1,0x4(a0)
lw v0,0x4(a1)
bne v1,v0,0x00077740
_addiu v1,v1,-0x1
bltz v1,0x00077728
_nop
sll v0,v1,0x2
lw a3,0x8(a0)
addu a3,a3,v0
lw a2,0x8(a1)
addu v0,a2,v0
lw a2,0x0(a3)
lw v0,0x0(v0)
beq a2,v0,0x000776f4
_addiu v1,v1,-0x1
jr ra
_or v0,zero,zero
jr ra
_li v0,0x1
jr ra
_or v0,zero,zero
jr ra
_or v0,zero,zero
jr ra
_or v0,zero,zero
(translation_unit "undefined4 FUN_000776d4(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000776d4(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_000776d4(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  int iVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_2 != 0) {\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(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 (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }" if (parenthesized_expression "(iVar1 != *(int *)(param_2 + 4))" ( (binary_expression "iVar1 != *(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      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (do_statement "do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));" do (compound_statement "{\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    }" { (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (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 ;) })) }) while (parenthesized_expression "(*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4))" ( (binary_expression "*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" (pointer_expression "*(int *)(*(int *)(param_1 + 8) + iVar1 * 4)" * (cast_expression "(int *)(*(int *)(param_1 + 8) + iVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + iVar1 * 4)" ( (binary_expression "*(int *)(param_1 + 8) + iVar1 * 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 "iVar1 * 4" identifier * number_literal)) )))) == (pointer_expression "*(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" * (cast_expression "(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 8) + iVar1 * 4)" ( (binary_expression "*(int *)(param_2 + 8) + iVar1 * 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 "iVar1 * 4" identifier * number_literal)) ))))) )) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\n_Bool re_node_set_compare(re_node_set *set1,re_node_set *set2)\n\n{\n  int iVar1;\n  \n  if (set1 == (re_node_set *)0x0) {\n    return false;\n  }\n  if (set2 != (re_node_set *)0x0) {\n    iVar1 = set1->nelem;\n    if (iVar1 != set2->nelem) {\n      return false;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return true;\n      }\n    } while (set1->elems[iVar1] == set2->elems[iVar1]);\n    return false;\n  }\n  return false;\n}\n\n" comment (function_definition "_Bool re_node_set_compare(re_node_set *set1,re_node_set *set2)\n\n{\n  int iVar1;\n  \n  if (set1 == (re_node_set *)0x0) {\n    return false;\n  }\n  if (set2 != (re_node_set *)0x0) {\n    iVar1 = set1->nelem;\n    if (iVar1 != set2->nelem) {\n      return false;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return true;\n      }\n    } while (set1->elems[iVar1] == set2->elems[iVar1]);\n    return false;\n  }\n  return false;\n}" type_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  int iVar1;\n  \n  if (set1 == (re_node_set *)0x0) {\n    return false;\n  }\n  if (set2 != (re_node_set *)0x0) {\n    iVar1 = set1->nelem;\n    if (iVar1 != set2->nelem) {\n      return false;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return true;\n      }\n    } while (set1->elems[iVar1] == set2->elems[iVar1]);\n    return false;\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (set1 == (re_node_set *)0x0) {\n    return false;\n  }" if (parenthesized_expression "(set1 == (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)) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (if_statement "if (set2 != (re_node_set *)0x0) {\n    iVar1 = set1->nelem;\n    if (iVar1 != set2->nelem) {\n      return false;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return true;\n      }\n    } while (set1->elems[iVar1] == set2->elems[iVar1]);\n    return false;\n  }" if (parenthesized_expression "(set2 != (re_node_set *)0x0)" ( (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)) )) (compound_statement "{\n    iVar1 = set1->nelem;\n    if (iVar1 != set2->nelem) {\n      return false;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return true;\n      }\n    } while (set1->elems[iVar1] == set2->elems[iVar1]);\n    return false;\n  }" { (expression_statement "iVar1 = set1->nelem;" (assignment_expression "iVar1 = set1->nelem" identifier = (field_expression "set1->nelem" identifier -> field_identifier)) ;) (if_statement "if (iVar1 != set2->nelem) {\n      return false;\n    }" if (parenthesized_expression "(iVar1 != set2->nelem)" ( (binary_expression "iVar1 != set2->nelem" identifier != (field_expression "set2->nelem" identifier -> field_identifier)) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (do_statement "do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return true;\n      }\n    } while (set1->elems[iVar1] == set2->elems[iVar1]);" do (compound_statement "{\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return true;\n      }\n    }" { (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (if_statement "if (iVar1 < 0) {\n        return true;\n      }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) }) while (parenthesized_expression "(set1->elems[iVar1] == set2->elems[iVar1])" ( (binary_expression "set1->elems[iVar1] == set2->elems[iVar1]" (subscript_expression "set1->elems[iVar1]" (field_expression "set1->elems" identifier -> field_identifier) [ identifier ]) == (subscript_expression "set2->elems[iVar1]" (field_expression "set2->elems" identifier -> field_identifier) [ identifier ])) )) ;) (return_statement "return false;" return false ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4 FUN_000776d4(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000776d4(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_000776d4(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  int iVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_2 != 0) {\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(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 (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }" if (parenthesized_expression "(iVar1 != *(int *)(param_2 + 4))" ( (binary_expression "iVar1 != *(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      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (do_statement "do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));" do (compound_statement "{\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    }" { (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (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 ;) })) }) while (parenthesized_expression "(*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4))" ( (binary_expression "*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" (pointer_expression "*(int *)(*(int *)(param_1 + 8) + iVar1 * 4)" * (cast_expression "(int *)(*(int *)(param_1 + 8) + iVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + iVar1 * 4)" ( (binary_expression "*(int *)(param_1 + 8) + iVar1 * 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 "iVar1 * 4" identifier * number_literal)) )))) == (pointer_expression "*(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" * (cast_expression "(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 8) + iVar1 * 4)" ( (binary_expression "*(int *)(param_2 + 8) + iVar1 * 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 "iVar1 * 4" identifier * number_literal)) ))))) )) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 { (return_statement return LIT ;) })) (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 LIT ;) })) }) 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 LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000776d4(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_000776d4(int param_1,int param_2)" (identifier "FUN_000776d4") (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  int iVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if (param_2 != 0) {\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_1 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (param_2 != 0) {\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = *(int *)(param_1 + 4);\n    if (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }\n    do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));\n    return 0;\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(param_1 + 4);" (assignment_expression "iVar1 = *(int *)(param_1 + 4)" (identifier "iVar1") (= "=") (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 (iVar1 != *(int *)(param_2 + 4)) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar1 != *(int *)(param_2 + 4))" (( "(") (binary_expression "iVar1 != *(int *)(param_2 + 4)" (identifier "iVar1") (!= "!=") (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      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (do_statement "do {\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));" (do "do") (compound_statement "{\n      iVar1 = iVar1 + -1;\n      if (iVar1 < 0) {\n        return 1;\n      }\n    }" ({ "{") (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (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") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4))" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==\n             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" (pointer_expression "*(int *)(*(int *)(param_1 + 8) + iVar1 * 4)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 8) + iVar1 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + iVar1 * 4)" (( "(") (binary_expression "*(int *)(param_1 + 8) + iVar1 * 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 "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")")))) (== "==") (pointer_expression "*(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" (* "*") (cast_expression "(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 8) + iVar1 * 4)" (( "(") (binary_expression "*(int *)(param_2 + 8) + iVar1 * 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 "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")"))))) () ")")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_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)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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 (return_statement (number_literal)))) (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 (number_literal))))) 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 (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1,int param_2)

{
  int iVar1;
  
  if (param_1 == 0) {
    return 0;
  }
  if (param_2 != 0) {
    iVar1 = *(int *)(param_1 + 4);
    if (iVar1 != *(int *)(param_2 + 4)) {
      return 0;
    }
    do {
      iVar1 = iVar1 + -1;
      if (iVar1 < 0) {
        return 1;
      }
    } while (*(int *)(*(int *)(param_1 + 8) + iVar1 * 4) ==
             *(int *)(*(int *)(param_2 + 8) + iVar1 * 4));
    return 0;
  }
  return 0;
}

