
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::_Rb_tree_black_count(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*) */

int std::_Rb_tree_black_count(_Rb_tree_node_base *param_1,_Rb_tree_node_base *param_2)

{
  int iVar1;
  
  iVar1 = 0;
  if (param_1 != (_Rb_tree_node_base *)0x0) {
    while( true ) {
      if (param_1->_M_color == _S_black) {
        iVar1 = iVar1 + 1;
      }
      if (param_1 == param_2) break;
      param_1 = param_1->_M_parent;
    }
  }
  return iVar1;
}



int FUN_00333760(int *param_1,int *param_2)

{
  int iVar1;
  
  iVar1 = 0;
  if (param_1 != (int *)0x0) {
    while( true ) {
      if (*param_1 == 1) {
        iVar1 = iVar1 + 1;
      }
      if (param_1 == param_2) break;
      param_1 = (int *)param_1[1];
    }
  }
  return iVar1;
}


beq a0,zero,0x0033378c
_or v0,zero,zero
b 0x00333774
_li a2,0x1
lw a0,0x4(a0)
lw v1,0x0(a0)
bne v1,a2,0x00333784
_nop
addiu v0,v0,0x1
bne a0,a1,0x00333770
_nop
jr ra
_nop
(translation_unit "int FUN_00333760(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 != (int *)0x0) {\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_00333760(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 != (int *)0x0) {\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00333760(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 != (int *)0x0) {\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if (param_1 != (int *)0x0) {\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }" { (while_statement "while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }" { (if_statement "if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }" if (parenthesized_expression "(*param_1 == 1)" ( (binary_expression "*param_1 == 1" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n        iVar1 = iVar1 + 1;\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) })) (if_statement "if (param_1 == param_2) break;" if (parenthesized_expression "(param_1 == param_2)" ( (binary_expression "param_1 == param_2" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "param_1 = (int *)param_1[1];" (assignment_expression "param_1 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) })) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::_Rb_tree_black_count(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*) */\n\nint std::_Rb_tree_black_count(_Rb_tree_node_base *param_1,_Rb_tree_node_base *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 != (_Rb_tree_node_base *)0x0) {\n    while( true ) {\n      if (param_1->_M_color == _S_black) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = param_1->_M_parent;\n    }\n  }\n  return iVar1;\n}\n\n" comment comment (function_definition "int std::_Rb_tree_black_count(_Rb_tree_node_base *param_1,_Rb_tree_node_base *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 != (_Rb_tree_node_base *)0x0) {\n    while( true ) {\n      if (param_1->_M_color == _S_black) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = param_1->_M_parent;\n    }\n  }\n  return iVar1;\n}" primitive_type (ERROR "std::" identifier : :) (function_declarator "_Rb_tree_black_count(_Rb_tree_node_base *param_1,_Rb_tree_node_base *param_2)" identifier (parameter_list "(_Rb_tree_node_base *param_1,_Rb_tree_node_base *param_2)" ( (parameter_declaration "_Rb_tree_node_base *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "_Rb_tree_node_base *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 != (_Rb_tree_node_base *)0x0) {\n    while( true ) {\n      if (param_1->_M_color == _S_black) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = param_1->_M_parent;\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if (param_1 != (_Rb_tree_node_base *)0x0) {\n    while( true ) {\n      if (param_1->_M_color == _S_black) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = param_1->_M_parent;\n    }\n  }" if (parenthesized_expression "(param_1 != (_Rb_tree_node_base *)0x0)" ( (binary_expression "param_1 != (_Rb_tree_node_base *)0x0" identifier != (cast_expression "(_Rb_tree_node_base *)0x0" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    while( true ) {\n      if (param_1->_M_color == _S_black) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = param_1->_M_parent;\n    }\n  }" { (while_statement "while( true ) {\n      if (param_1->_M_color == _S_black) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = param_1->_M_parent;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (param_1->_M_color == _S_black) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = param_1->_M_parent;\n    }" { (if_statement "if (param_1->_M_color == _S_black) {\n        iVar1 = iVar1 + 1;\n      }" if (parenthesized_expression "(param_1->_M_color == _S_black)" ( (binary_expression "param_1->_M_color == _S_black" (field_expression "param_1->_M_color" identifier -> field_identifier) == identifier) )) (compound_statement "{\n        iVar1 = iVar1 + 1;\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) })) (if_statement "if (param_1 == param_2) break;" if (parenthesized_expression "(param_1 == param_2)" ( (binary_expression "param_1 == param_2" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "param_1 = param_1->_M_parent;" (assignment_expression "param_1 = param_1->_M_parent" identifier = (field_expression "param_1->_M_parent" identifier -> field_identifier)) ;) })) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int FUN_00333760(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 != (int *)0x0) {\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_00333760(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 != (int *)0x0) {\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00333760(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 != (int *)0x0) {\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if (param_1 != (int *)0x0) {\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }" { (while_statement "while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }" { (if_statement "if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }" if (parenthesized_expression "(*param_1 == 1)" ( (binary_expression "*param_1 == 1" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n        iVar1 = iVar1 + 1;\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) })) (if_statement "if (param_1 == param_2) break;" if (parenthesized_expression "(param_1 == param_2)" ( (binary_expression "param_1 == param_2" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "param_1 = (int *)param_1[1];" (assignment_expression "param_1 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) })) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_00333760(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 != (int *)0x0) {\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_00333760(int *param_1,int *param_2)" (identifier "FUN_00333760") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 != (int *)0x0) {\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1 != (int *)0x0) {\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }" (if "if") (parenthesized_expression "(param_1 != (int *)0x0)" (( "(") (binary_expression "param_1 != (int *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }\n  }" ({ "{") (while_statement "while( true ) {\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }\n      if (param_1 == param_2) break;\n      param_1 = (int *)param_1[1];\n    }" ({ "{") (if_statement "if (*param_1 == 1) {\n        iVar1 = iVar1 + 1;\n      }" (if "if") (parenthesized_expression "(*param_1 == 1)" (( "(") (binary_expression "*param_1 == 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        iVar1 = iVar1 + 1;\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 (param_1 == param_2) break;" (if "if") (parenthesized_expression "(param_1 == param_2)" (( "(") (binary_expression "param_1 == param_2" (identifier "param_1") (== "==") (identifier "param_2")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "param_1 = (int *)param_1[1];" (assignment_expression "param_1 = (int *)param_1[1]" (identifier "param_1") (= "=") (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (} "}"))) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))
(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))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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 (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (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: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))))))) (return_statement (identifier)))))

int MASKED(int *param_1,int *param_2)

{
  int iVar1;
  
  iVar1 = 0;
  if (param_1 != (int *)0x0) {
    while( true ) {
      if (*param_1 == 1) {
        iVar1 = iVar1 + 1;
      }
      if (param_1 == param_2) break;
      param_1 = (int *)param_1[1];
    }
  }
  return iVar1;
}

