
size_t _obstack_memory_used(obstack *h)

{
  char *pcVar1;
  _obstack_chunk *p_Var2;
  
  pcVar1 = (char *)0x0;
  for (p_Var2 = h->chunk; p_Var2 != (_obstack_chunk *)0x0; p_Var2 = p_Var2->prev) {
    pcVar1 = p_Var2->limit + ((int)pcVar1 - (int)p_Var2);
  }
  return (size_t)pcVar1;
}



int _obstack_memory_used(int param_1)

{
  int iVar1;
  int *piVar2;
  
  iVar1 = 0;
  for (piVar2 = *(int **)(param_1 + 4); piVar2 != (int *)0x0; piVar2 = (int *)piVar2[1]) {
    iVar1 = iVar1 + (*piVar2 - (int)piVar2);
  }
  return iVar1;
}


lw v1,0x4(a0)
beq v1,zero,0x0002aa28
_or v0,zero,zero
lw a0,0x0(v1)
subu a0,a0,v1
lw v1,0x4(v1)
bne v1,zero,0x0002aa14
_addu v0,v0,a0
jr ra
_nop
(translation_unit "int _obstack_memory_used(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = 0;\n  for (piVar2 = *(int **)(param_1 + 4); piVar2 != (int *)0x0; piVar2 = (int *)piVar2[1]) {\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }\n  return iVar1;\n}\n\n" (function_definition "int _obstack_memory_used(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = 0;\n  for (piVar2 = *(int **)(param_1 + 4); piVar2 != (int *)0x0; piVar2 = (int *)piVar2[1]) {\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "_obstack_memory_used(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = 0;\n  for (piVar2 = *(int **)(param_1 + 4); piVar2 != (int *)0x0; piVar2 = (int *)piVar2[1]) {\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (for_statement "for (piVar2 = *(int **)(param_1 + 4); piVar2 != (int *)0x0; piVar2 = (int *)piVar2[1]) {\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }" for ( (assignment_expression "piVar2 = *(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 "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ; (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "piVar2 = (int *)piVar2[1]" identifier = (cast_expression "(int *)piVar2[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[1]" identifier [ number_literal ]))) ) (compound_statement "{\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }" { (expression_statement "iVar1 = iVar1 + (*piVar2 - (int)piVar2);" (assignment_expression "iVar1 = iVar1 + (*piVar2 - (int)piVar2)" identifier = (binary_expression "iVar1 + (*piVar2 - (int)piVar2)" identifier + (parenthesized_expression "(*piVar2 - (int)piVar2)" ( (binary_expression "*piVar2 - (int)piVar2" (pointer_expression "*piVar2" * identifier) - (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "size_t _obstack_memory_used(obstack *h)\n\n{\n  char *pcVar1;\n  _obstack_chunk *p_Var2;\n  \n  pcVar1 = (char *)0x0;\n  for (p_Var2 = h->chunk; p_Var2 != (_obstack_chunk *)0x0; p_Var2 = p_Var2->prev) {\n    pcVar1 = p_Var2->limit + ((int)pcVar1 - (int)p_Var2);\n  }\n  return (size_t)pcVar1;\n}\n\n" (function_definition "size_t _obstack_memory_used(obstack *h)\n\n{\n  char *pcVar1;\n  _obstack_chunk *p_Var2;\n  \n  pcVar1 = (char *)0x0;\n  for (p_Var2 = h->chunk; p_Var2 != (_obstack_chunk *)0x0; p_Var2 = p_Var2->prev) {\n    pcVar1 = p_Var2->limit + ((int)pcVar1 - (int)p_Var2);\n  }\n  return (size_t)pcVar1;\n}" primitive_type (function_declarator "_obstack_memory_used(obstack *h)" identifier (parameter_list "(obstack *h)" ( (parameter_declaration "obstack *h" type_identifier (pointer_declarator "*h" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  _obstack_chunk *p_Var2;\n  \n  pcVar1 = (char *)0x0;\n  for (p_Var2 = h->chunk; p_Var2 != (_obstack_chunk *)0x0; p_Var2 = p_Var2->prev) {\n    pcVar1 = p_Var2->limit + ((int)pcVar1 - (int)p_Var2);\n  }\n  return (size_t)pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "_obstack_chunk *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (expression_statement "pcVar1 = (char *)0x0;" (assignment_expression "pcVar1 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (for_statement "for (p_Var2 = h->chunk; p_Var2 != (_obstack_chunk *)0x0; p_Var2 = p_Var2->prev) {\n    pcVar1 = p_Var2->limit + ((int)pcVar1 - (int)p_Var2);\n  }" for ( (assignment_expression "p_Var2 = h->chunk" identifier = (field_expression "h->chunk" identifier -> field_identifier)) ; (binary_expression "p_Var2 != (_obstack_chunk *)0x0" identifier != (cast_expression "(_obstack_chunk *)0x0" ( (type_descriptor "_obstack_chunk *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "p_Var2 = p_Var2->prev" identifier = (field_expression "p_Var2->prev" identifier -> field_identifier)) ) (compound_statement "{\n    pcVar1 = p_Var2->limit + ((int)pcVar1 - (int)p_Var2);\n  }" { (expression_statement "pcVar1 = p_Var2->limit + ((int)pcVar1 - (int)p_Var2);" (assignment_expression "pcVar1 = p_Var2->limit + ((int)pcVar1 - (int)p_Var2)" identifier = (binary_expression "p_Var2->limit + ((int)pcVar1 - (int)p_Var2)" (field_expression "p_Var2->limit" identifier -> field_identifier) + (parenthesized_expression "((int)pcVar1 - (int)p_Var2)" ( (binary_expression "(int)pcVar1 - (int)p_Var2" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)p_Var2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) })) (return_statement "return (size_t)pcVar1;" return (cast_expression "(size_t)pcVar1" ( (type_descriptor "size_t" primitive_type) ) identifier) ;) })))
(translation_unit "int _obstack_memory_used(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = 0;\n  for (piVar2 = *(int **)(param_1 + 4); piVar2 != (int *)0x0; piVar2 = (int *)piVar2[1]) {\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }\n  return iVar1;\n}\n\n" (function_definition "int _obstack_memory_used(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = 0;\n  for (piVar2 = *(int **)(param_1 + 4); piVar2 != (int *)0x0; piVar2 = (int *)piVar2[1]) {\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "_obstack_memory_used(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = 0;\n  for (piVar2 = *(int **)(param_1 + 4); piVar2 != (int *)0x0; piVar2 = (int *)piVar2[1]) {\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (for_statement "for (piVar2 = *(int **)(param_1 + 4); piVar2 != (int *)0x0; piVar2 = (int *)piVar2[1]) {\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }" for ( (assignment_expression "piVar2 = *(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 "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ; (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "piVar2 = (int *)piVar2[1]" identifier = (cast_expression "(int *)piVar2[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[1]" identifier [ number_literal ]))) ) (compound_statement "{\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }" { (expression_statement "iVar1 = iVar1 + (*piVar2 - (int)piVar2);" (assignment_expression "iVar1 = iVar1 + (*piVar2 - (int)piVar2)" identifier = (binary_expression "iVar1 + (*piVar2 - (int)piVar2)" identifier + (parenthesized_expression "(*piVar2 - (int)piVar2)" ( (binary_expression "*piVar2 - (int)piVar2" (pointer_expression "*piVar2" * identifier) - (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int _obstack_memory_used(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = 0;\n  for (piVar2 = *(int **)(param_1 + 4); piVar2 != (int *)0x0; piVar2 = (int *)piVar2[1]) {\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "_obstack_memory_used(int param_1)" (identifier "_obstack_memory_used") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  iVar1 = 0;\n  for (piVar2 = *(int **)(param_1 + 4); piVar2 != (int *)0x0; piVar2 = (int *)piVar2[1]) {\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (for_statement "for (piVar2 = *(int **)(param_1 + 4); piVar2 != (int *)0x0; piVar2 = (int *)piVar2[1]) {\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }" (for "for") (( "(") (assignment_expression "piVar2 = *(int **)(param_1 + 4)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "piVar2 = (int *)piVar2[1]" (identifier "piVar2") (= "=") (cast_expression "(int *)piVar2[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")))) () ")") (compound_statement "{\n    iVar1 = iVar1 + (*piVar2 - (int)piVar2);\n  }" ({ "{") (expression_statement "iVar1 = iVar1 + (*piVar2 - (int)piVar2);" (assignment_expression "iVar1 = iVar1 + (*piVar2 - (int)piVar2)" (identifier "iVar1") (= "=") (binary_expression "iVar1 + (*piVar2 - (int)piVar2)" (identifier "iVar1") (+ "+") (parenthesized_expression "(*piVar2 - (int)piVar2)" (( "(") (binary_expression "*piVar2 - (int)piVar2" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (- "-") (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2"))) () ")")))) (; ";")) (} "}"))) (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: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (for_statement initializer: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) condition: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))) update: (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)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))))) (return_statement (identifier)))))

int MASKED(int param_1)

{
  int iVar1;
  int *piVar2;
  
  iVar1 = 0;
  for (piVar2 = *(int **)(param_1 + 4); piVar2 != (int *)0x0; piVar2 = (int *)piVar2[1]) {
    iVar1 = iVar1 + (*piVar2 - (int)piVar2);
  }
  return iVar1;
}

