
/* DWARF original prototype: void re_node_set_remove_at(re_node_set * set, Idx idx, re_node_set *
   set) */

void re_node_set_remove_at(re_node_set *set,Idx idx,re_node_set *set_1)

{
  undefined4 *puVar1;
  
  if ((int)set_1 < set->alloc) {
    puVar1 = (undefined4 *)(*(int *)idx + (int)set_1 * 4);
    do {
      set_1 = (re_node_set *)((int)&set_1->alloc + 1);
      *puVar1 = puVar1[1];
      puVar1 = puVar1 + 1;
    } while ((int)set_1 < set->alloc);
  }
  return;
}



void FUN_00045494(int *param_1,int *param_2,int param_3)

{
  undefined4 *puVar1;
  
  if (param_3 < *param_1) {
    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);
    do {
      param_3 = param_3 + 1;
      *puVar1 = puVar1[1];
      puVar1 = puVar1 + 1;
    } while (param_3 < *param_1);
  }
  return;
}


lw v0,0x0(a0)
slt v0,a2,v0
beq v0,zero,0x000454cc
_sll v1,a2,0x2
lw v0,0x0(a1)
addu v0,v0,v1
lw v1,0x4(v0)
addiu v0,v0,0x4
addiu a2,a2,0x1
sw v1,-0x4(v0)
lw v1,0x0(a0)
slt v1,a2,v1
bne v1,zero,0x000454ac
_nop
jr ra
_nop
(translation_unit "void FUN_00045494(int *param_1,int *param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_3 < *param_1) {\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00045494(int *param_1,int *param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_3 < *param_1) {\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00045494(int *param_1,int *param_2,int param_3)" identifier (parameter_list "(int *param_1,int *param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (param_3 < *param_1) {\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (param_3 < *param_1) {\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }" if (parenthesized_expression "(param_3 < *param_1)" ( (binary_expression "param_3 < *param_1" identifier < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }" { (expression_statement "puVar1 = (undefined4 *)(*param_2 + param_3 * 4);" (assignment_expression "puVar1 = (undefined4 *)(*param_2 + param_3 * 4)" identifier = (cast_expression "(undefined4 *)(*param_2 + param_3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + param_3 * 4)" ( (binary_expression "*param_2 + param_3 * 4" (pointer_expression "*param_2" * identifier) + (binary_expression "param_3 * 4" identifier * number_literal)) )))) ;) (do_statement "do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);" do (compound_statement "{\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    }" { (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar1 = puVar1[1];" (assignment_expression "*puVar1 = puVar1[1]" (pointer_expression "*puVar1" * identifier) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_3 < *param_1)" ( (binary_expression "param_3 < *param_1" identifier < (pointer_expression "*param_1" * identifier)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void re_node_set_remove_at(re_node_set * set, Idx idx, re_node_set *\n   set) */\n\nvoid re_node_set_remove_at(re_node_set *set,Idx idx,re_node_set *set_1)\n\n{\n  undefined4 *puVar1;\n  \n  if ((int)set_1 < set->alloc) {\n    puVar1 = (undefined4 *)(*(int *)idx + (int)set_1 * 4);\n    do {\n      set_1 = (re_node_set *)((int)&set_1->alloc + 1);\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while ((int)set_1 < set->alloc);\n  }\n  return;\n}\n\n" comment (function_definition "void re_node_set_remove_at(re_node_set *set,Idx idx,re_node_set *set_1)\n\n{\n  undefined4 *puVar1;\n  \n  if ((int)set_1 < set->alloc) {\n    puVar1 = (undefined4 *)(*(int *)idx + (int)set_1 * 4);\n    do {\n      set_1 = (re_node_set *)((int)&set_1->alloc + 1);\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while ((int)set_1 < set->alloc);\n  }\n  return;\n}" primitive_type (function_declarator "re_node_set_remove_at(re_node_set *set,Idx idx,re_node_set *set_1)" identifier (parameter_list "(re_node_set *set,Idx idx,re_node_set *set_1)" ( (parameter_declaration "re_node_set *set" type_identifier (pointer_declarator "*set" * identifier)) , (parameter_declaration "Idx idx" type_identifier identifier) , (parameter_declaration "re_node_set *set_1" type_identifier (pointer_declarator "*set_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if ((int)set_1 < set->alloc) {\n    puVar1 = (undefined4 *)(*(int *)idx + (int)set_1 * 4);\n    do {\n      set_1 = (re_node_set *)((int)&set_1->alloc + 1);\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while ((int)set_1 < set->alloc);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if ((int)set_1 < set->alloc) {\n    puVar1 = (undefined4 *)(*(int *)idx + (int)set_1 * 4);\n    do {\n      set_1 = (re_node_set *)((int)&set_1->alloc + 1);\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while ((int)set_1 < set->alloc);\n  }" if (parenthesized_expression "((int)set_1 < set->alloc)" ( (binary_expression "(int)set_1 < set->alloc" (cast_expression "(int)set_1" ( (type_descriptor "int" primitive_type) ) identifier) < (field_expression "set->alloc" identifier -> field_identifier)) )) (compound_statement "{\n    puVar1 = (undefined4 *)(*(int *)idx + (int)set_1 * 4);\n    do {\n      set_1 = (re_node_set *)((int)&set_1->alloc + 1);\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while ((int)set_1 < set->alloc);\n  }" { (expression_statement "puVar1 = (undefined4 *)(*(int *)idx + (int)set_1 * 4);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)idx + (int)set_1 * 4)" identifier = (cast_expression "(undefined4 *)(*(int *)idx + (int)set_1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)idx + (int)set_1 * 4)" ( (binary_expression "*(int *)idx + (int)set_1 * 4" (pointer_expression "*(int *)idx" * (cast_expression "(int *)idx" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (binary_expression "(int)set_1 * 4" (cast_expression "(int)set_1" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) )))) ;) (do_statement "do {\n      set_1 = (re_node_set *)((int)&set_1->alloc + 1);\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while ((int)set_1 < set->alloc);" do (compound_statement "{\n      set_1 = (re_node_set *)((int)&set_1->alloc + 1);\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    }" { (expression_statement "set_1 = (re_node_set *)((int)&set_1->alloc + 1);" (assignment_expression "set_1 = (re_node_set *)((int)&set_1->alloc + 1)" identifier = (cast_expression "(re_node_set *)((int)&set_1->alloc + 1)" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&set_1->alloc + 1)" ( (binary_expression "(int)&set_1->alloc + 1" (cast_expression "(int)&set_1->alloc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&set_1->alloc" & (field_expression "set_1->alloc" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "*puVar1 = puVar1[1];" (assignment_expression "*puVar1 = puVar1[1]" (pointer_expression "*puVar1" * identifier) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)set_1 < set->alloc)" ( (binary_expression "(int)set_1 < set->alloc" (cast_expression "(int)set_1" ( (type_descriptor "int" primitive_type) ) identifier) < (field_expression "set->alloc" identifier -> field_identifier)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00045494(int *param_1,int *param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_3 < *param_1) {\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00045494(int *param_1,int *param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_3 < *param_1) {\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00045494(int *param_1,int *param_2,int param_3)" identifier (parameter_list "(int *param_1,int *param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (param_3 < *param_1) {\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (if_statement "if (param_3 < *param_1) {\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }" if (parenthesized_expression "(param_3 < *param_1)" ( (binary_expression "param_3 < *param_1" identifier < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }" { (expression_statement "puVar1 = (undefined4 *)(*param_2 + param_3 * 4);" (assignment_expression "puVar1 = (undefined4 *)(*param_2 + param_3 * 4)" identifier = (cast_expression "(undefined4 *)(*param_2 + param_3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + param_3 * 4)" ( (binary_expression "*param_2 + param_3 * 4" (pointer_expression "*param_2" * identifier) + (binary_expression "param_3 * 4" identifier * number_literal)) )))) ;) (do_statement "do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);" do (compound_statement "{\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    }" { (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar1 = puVar1[1];" (assignment_expression "*puVar1 = puVar1[1]" (pointer_expression "*puVar1" * identifier) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_3 < *param_1)" ( (binary_expression "param_3 < *param_1" identifier < (pointer_expression "*param_1" * identifier)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00045494(int *param_1,int *param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  \n  if (param_3 < *param_1) {\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00045494(int *param_1,int *param_2,int param_3)" (identifier "FUN_00045494") (parameter_list "(int *param_1,int *param_2,int param_3)" (( "(") (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"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  if (param_3 < *param_1) {\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (if_statement "if (param_3 < *param_1) {\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }" (if "if") (parenthesized_expression "(param_3 < *param_1)" (( "(") (binary_expression "param_3 < *param_1" (identifier "param_3") (< "<") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (compound_statement "{\n    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);\n    do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);\n  }" ({ "{") (expression_statement "puVar1 = (undefined4 *)(*param_2 + param_3 * 4);" (assignment_expression "puVar1 = (undefined4 *)(*param_2 + param_3 * 4)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*param_2 + param_3 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + param_3 * 4)" (( "(") (binary_expression "*param_2 + param_3 * 4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4"))) () ")")))) (; ";")) (do_statement "do {\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    } while (param_3 < *param_1);" (do "do") (compound_statement "{\n      param_3 = param_3 + 1;\n      *puVar1 = puVar1[1];\n      puVar1 = puVar1 + 1;\n    }" ({ "{") (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" (identifier "param_3") (= "=") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar1 = puVar1[1];" (assignment_expression "*puVar1 = puVar1[1]" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" (identifier "puVar1") (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_3 < *param_1)" (( "(") (binary_expression "param_3 < *param_1" (identifier "param_3") (< "<") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(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))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) (return_statement))))

void MASKED(int *param_1,int *param_2,int param_3)

{
  undefined4 *puVar1;
  
  if (param_3 < *param_1) {
    puVar1 = (undefined4 *)(*param_2 + param_3 * 4);
    do {
      param_3 = param_3 + 1;
      *puVar1 = puVar1[1];
      puVar1 = puVar1 + 1;
    } while (param_3 < *param_1);
  }
  return;
}

