
void * delpos234(tree234 *t,int index)

{
  int iVar1;
  void *pvVar2;
  
  if (-1 < index) {
    if (t->root != (node234_conflict *)0x0) {
      iVar1 = countnode234(t->root);
      if (index < iVar1) {
        pvVar2 = delpos234_internal(t,index);
        return pvVar2;
      }
      return (void *)0x0;
    }
  }
  return (void *)0x0;
}



undefined4 delpos234(int *param_1,int param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  if (-1 < param_2) {
    if (*param_1 != 0) {
      iVar1 = FUN_00053100(*param_1);
      if (param_2 < iVar1) {
        uVar2 = FUN_000538cc(param_1,param_2);
        return uVar2;
      }
      return 0;
    }
  }
  return 0;
}


lui gp,0x7
addiu gp,gp,-0x7500
addu gp,gp,t9
bltz a1,0x00054748
_nop
lw v0,0x0(a0)
beq v0,zero,0x00054748
_lw t9,-0x7b6c(gp)
addiu sp,sp,-0x20
or t0,a0,zero
or a0,v0,zero
addiu t9,t9,0x3100
sw gp,0x10(sp)
sw ra,0x1c(sp)
bal 0x00053100
_or a3,a1,zero
slt v0,a3,v0
beq v0,zero,0x00054738
_lw gp,0x10(sp)
lw t9,-0x7b6c(gp)
or a1,a3,zero
lw ra,0x1c(sp)
addiu sp,sp,0x20
addiu t9,t9,0x38cc
b 0x000538cc
_or a0,t0,zero
lw ra,0x1c(sp)
or v0,zero,zero
jr ra
_addiu sp,sp,0x20
jr ra
_or v0,zero,zero
(translation_unit "undefined4 delpos234(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 delpos234(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "delpos234(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 identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (-1 < param_2) {\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }" if (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) )) (compound_statement "{\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }" { (if_statement "if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }" { (expression_statement "iVar1 = FUN_00053100(*param_1);" (assignment_expression "iVar1 = FUN_00053100(*param_1)" identifier = (call_expression "FUN_00053100(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) ;) (if_statement "if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }" if (parenthesized_expression "(param_2 < iVar1)" ( (binary_expression "param_2 < iVar1" identifier < identifier) )) (compound_statement "{\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }" { (expression_statement "uVar2 = FUN_000538cc(param_1,param_2);" (assignment_expression "uVar2 = FUN_000538cc(param_1,param_2)" identifier = (call_expression "FUN_000538cc(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "void * delpos234(tree234 *t,int index)\n\n{\n  int iVar1;\n  void *pvVar2;\n  \n  if (-1 < index) {\n    if (t->root != (node234_conflict *)0x0) {\n      iVar1 = countnode234(t->root);\n      if (index < iVar1) {\n        pvVar2 = delpos234_internal(t,index);\n        return pvVar2;\n      }\n      return (void *)0x0;\n    }\n  }\n  return (void *)0x0;\n}\n\n" (function_definition "void * delpos234(tree234 *t,int index)\n\n{\n  int iVar1;\n  void *pvVar2;\n  \n  if (-1 < index) {\n    if (t->root != (node234_conflict *)0x0) {\n      iVar1 = countnode234(t->root);\n      if (index < iVar1) {\n        pvVar2 = delpos234_internal(t,index);\n        return pvVar2;\n      }\n      return (void *)0x0;\n    }\n  }\n  return (void *)0x0;\n}" primitive_type (pointer_declarator "* delpos234(tree234 *t,int index)" * (function_declarator "delpos234(tree234 *t,int index)" identifier (parameter_list "(tree234 *t,int index)" ( (parameter_declaration "tree234 *t" type_identifier (pointer_declarator "*t" * identifier)) , (parameter_declaration "int index" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  void *pvVar2;\n  \n  if (-1 < index) {\n    if (t->root != (node234_conflict *)0x0) {\n      iVar1 = countnode234(t->root);\n      if (index < iVar1) {\n        pvVar2 = delpos234_internal(t,index);\n        return pvVar2;\n      }\n      return (void *)0x0;\n    }\n  }\n  return (void *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (if_statement "if (-1 < index) {\n    if (t->root != (node234_conflict *)0x0) {\n      iVar1 = countnode234(t->root);\n      if (index < iVar1) {\n        pvVar2 = delpos234_internal(t,index);\n        return pvVar2;\n      }\n      return (void *)0x0;\n    }\n  }" if (parenthesized_expression "(-1 < index)" ( (binary_expression "-1 < index" number_literal < identifier) )) (compound_statement "{\n    if (t->root != (node234_conflict *)0x0) {\n      iVar1 = countnode234(t->root);\n      if (index < iVar1) {\n        pvVar2 = delpos234_internal(t,index);\n        return pvVar2;\n      }\n      return (void *)0x0;\n    }\n  }" { (if_statement "if (t->root != (node234_conflict *)0x0) {\n      iVar1 = countnode234(t->root);\n      if (index < iVar1) {\n        pvVar2 = delpos234_internal(t,index);\n        return pvVar2;\n      }\n      return (void *)0x0;\n    }" if (parenthesized_expression "(t->root != (node234_conflict *)0x0)" ( (binary_expression "t->root != (node234_conflict *)0x0" (field_expression "t->root" identifier -> field_identifier) != (cast_expression "(node234_conflict *)0x0" ( (type_descriptor "node234_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar1 = countnode234(t->root);\n      if (index < iVar1) {\n        pvVar2 = delpos234_internal(t,index);\n        return pvVar2;\n      }\n      return (void *)0x0;\n    }" { (expression_statement "iVar1 = countnode234(t->root);" (assignment_expression "iVar1 = countnode234(t->root)" identifier = (call_expression "countnode234(t->root)" identifier (argument_list "(t->root)" ( (field_expression "t->root" identifier -> field_identifier) )))) ;) (if_statement "if (index < iVar1) {\n        pvVar2 = delpos234_internal(t,index);\n        return pvVar2;\n      }" if (parenthesized_expression "(index < iVar1)" ( (binary_expression "index < iVar1" identifier < identifier) )) (compound_statement "{\n        pvVar2 = delpos234_internal(t,index);\n        return pvVar2;\n      }" { (expression_statement "pvVar2 = delpos234_internal(t,index);" (assignment_expression "pvVar2 = delpos234_internal(t,index)" identifier = (call_expression "delpos234_internal(t,index)" identifier (argument_list "(t,index)" ( identifier , identifier )))) ;) (return_statement "return pvVar2;" return identifier ;) })) (return_statement "return (void *)0x0;" return (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) })) (return_statement "return (void *)0x0;" return (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined4 delpos234(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 delpos234(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "delpos234(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 identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (-1 < param_2) {\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }" if (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) )) (compound_statement "{\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }" { (if_statement "if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }" { (expression_statement "iVar1 = FUN_00053100(*param_1);" (assignment_expression "iVar1 = FUN_00053100(*param_1)" identifier = (call_expression "FUN_00053100(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) ;) (if_statement "if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }" if (parenthesized_expression "(param_2 < iVar1)" ( (binary_expression "param_2 < iVar1" identifier < identifier) )) (compound_statement "{\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }" { (expression_statement "uVar2 = FUN_000538cc(param_1,param_2);" (assignment_expression "uVar2 = FUN_000538cc(param_1,param_2)" identifier = (call_expression "FUN_000538cc(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 delpos234(int *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "delpos234(int *param_1,int param_2)" (identifier "delpos234") (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") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if (-1 < param_2) {\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }" (if "if") (parenthesized_expression "(-1 < param_2)" (( "(") (binary_expression "-1 < param_2" (number_literal "-1") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }\n  }" ({ "{") (if_statement "if (*param_1 != 0) {\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }" (if "if") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = FUN_00053100(*param_1);\n      if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }\n      return 0;\n    }" ({ "{") (expression_statement "iVar1 = FUN_00053100(*param_1);" (assignment_expression "iVar1 = FUN_00053100(*param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_00053100(*param_1)" (identifier "FUN_00053100") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (; ";")) (if_statement "if (param_2 < iVar1) {\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }" (if "if") (parenthesized_expression "(param_2 < iVar1)" (( "(") (binary_expression "param_2 < iVar1" (identifier "param_2") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n        uVar2 = FUN_000538cc(param_1,param_2);\n        return uVar2;\n      }" ({ "{") (expression_statement "uVar2 = FUN_000538cc(param_1,param_2);" (assignment_expression "uVar2 = FUN_000538cc(param_1,param_2)" (identifier "uVar2") (= "=") (call_expression "FUN_000538cc(param_1,param_2)" (identifier "FUN_000538cc") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (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: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (return_statement (identifier)))) (return_statement (number_literal)))))) (return_statement (number_literal)))))

undefined4 MASKED(int *param_1,int param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  if (-1 < param_2) {
    if (*param_1 != 0) {
      iVar1 = FUN_00053100(*param_1);
      if (param_2 < iVar1) {
        uVar2 = FUN_000538cc(param_1,param_2);
        return uVar2;
      }
      return 0;
    }
  }
  return 0;
}

