
bfd_boolean stab_emit_pending_vars(void *dhandle,stab_handle *info)

{
  bfd_vma val;
  bfd *pbVar1;
  bfd_boolean bVar2;
  bfd *pbVar3;
  
  pbVar1 = info->abfd;
  while( true ) {
    if (pbVar1 == (bfd *)0x0) {
      info->abfd = (bfd *)0x0;
      return 1;
    }
    val._0_4_ = pbVar1->lru_prev;
    val._4_4_ = pbVar1->lru_next;
    bVar2 = debug_record_variable
                      (dhandle,(char *)pbVar1->xvec,(debug_type_conflict)pbVar1->iostream,
                       (debug_var_kind)pbVar1->iovec,val);
    if (bVar2 == 0) break;
    pbVar3 = (bfd *)pbVar1->filename;
    (*(code *)PTR_free_00082428)(pbVar1);
    pbVar1 = pbVar3;
  }
  return 0;
}



undefined4 FUN_0004e19c(undefined4 param_1,int *param_2)

{
  int *piVar1;
  int iVar2;
  
  piVar1 = (int *)*param_2;
  while( true ) {
    if (piVar1 == (int *)0x0) {
      *param_2 = 0;
      return 1;
    }
    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);
    if (iVar2 == 0) break;
    iVar2 = *piVar1;
    (*(code *)PTR_free_00082428)(piVar1);
    piVar1 = (int *)iVar2;
  }
  return 0;
}


lui gp,0x4
addiu gp,gp,-0x422c
addu gp,gp,t9
addiu sp,sp,-0x30
sw s0,0x20(sp)
sw gp,0x18(sp)
sw s2,0x28(sp)
sw ra,0x2c(sp)
sw s1,0x24(sp)
lw s0,0x0(a1)
beq s0,zero,0x0004e234
_or s2,a1,zero
b 0x0004e1e4
_or s1,a0,zero
jalr t9
_lw s0,0x0(s0)
beq s0,zero,0x0004e234
_lw gp,0x18(sp)
lw v1,0x14(s0)
or a0,s1,zero
lw v0,0x10(s0)
lw t9,-0x7e64(gp)
lw a3,0xc(s0)
lw a2,0x8(s0)
lw a1,0x4(s0)
sw v1,0x14(sp)
bal 0x0004bffc
_sw v0,0x10(sp)
or a0,s0,zero
lw gp,0x18(sp)
bne v0,zero,0x0004e1d4
_lw t9,-0x7b48(gp)
lw ra,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
lw ra,0x2c(sp)
li v0,0x1
lw s1,0x24(sp)
lw s0,0x20(sp)
sw zero,0x0(s2)
lw s2,0x28(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "undefined4 FUN_0004e19c(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_2;\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0004e19c(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_2;\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0004e19c(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_2;\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "piVar1 = (int *)*param_2;" (assignment_expression "piVar1 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (while_statement "while( true ) {\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }" { (if_statement "if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_2 = 0;\n      return 1;\n    }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);" (assignment_expression "iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5])" identifier = (call_expression "debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5])" identifier (argument_list "(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5])" ( identifier , (subscript_expression "piVar1[1]" identifier [ number_literal ]) , (subscript_expression "piVar1[2]" identifier [ number_literal ]) , (subscript_expression "piVar1[3]" identifier [ number_literal ]) , (subscript_expression "piVar1[4]" identifier [ number_literal ]) , (subscript_expression "piVar1[5]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "(*(code *)PTR_free_00082428)(piVar1);" (call_expression "(*(code *)PTR_free_00082428)(piVar1)" (parenthesized_expression "(*(code *)PTR_free_00082428)" ( (pointer_expression "*(code *)PTR_free_00082428" * (cast_expression "(code *)PTR_free_00082428" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "piVar1 = (int *)iVar2;" (assignment_expression "piVar1 = (int *)iVar2" identifier = (cast_expression "(int *)iVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "bfd_boolean stab_emit_pending_vars(void *dhandle,stab_handle *info)\n\n{\n  bfd_vma val;\n  bfd *pbVar1;\n  bfd_boolean bVar2;\n  bfd *pbVar3;\n  \n  pbVar1 = info->abfd;\n  while( true ) {\n    if (pbVar1 == (bfd *)0x0) {\n      info->abfd = (bfd *)0x0;\n      return 1;\n    }\n    val._0_4_ = pbVar1->lru_prev;\n    val._4_4_ = pbVar1->lru_next;\n    bVar2 = debug_record_variable\n                      (dhandle,(char *)pbVar1->xvec,(debug_type_conflict)pbVar1->iostream,\n                       (debug_var_kind)pbVar1->iovec,val);\n    if (bVar2 == 0) break;\n    pbVar3 = (bfd *)pbVar1->filename;\n    (*(code *)PTR_free_00082428)(pbVar1);\n    pbVar1 = pbVar3;\n  }\n  return 0;\n}\n\n" (function_definition "bfd_boolean stab_emit_pending_vars(void *dhandle,stab_handle *info)\n\n{\n  bfd_vma val;\n  bfd *pbVar1;\n  bfd_boolean bVar2;\n  bfd *pbVar3;\n  \n  pbVar1 = info->abfd;\n  while( true ) {\n    if (pbVar1 == (bfd *)0x0) {\n      info->abfd = (bfd *)0x0;\n      return 1;\n    }\n    val._0_4_ = pbVar1->lru_prev;\n    val._4_4_ = pbVar1->lru_next;\n    bVar2 = debug_record_variable\n                      (dhandle,(char *)pbVar1->xvec,(debug_type_conflict)pbVar1->iostream,\n                       (debug_var_kind)pbVar1->iovec,val);\n    if (bVar2 == 0) break;\n    pbVar3 = (bfd *)pbVar1->filename;\n    (*(code *)PTR_free_00082428)(pbVar1);\n    pbVar1 = pbVar3;\n  }\n  return 0;\n}" type_identifier (function_declarator "stab_emit_pending_vars(void *dhandle,stab_handle *info)" identifier (parameter_list "(void *dhandle,stab_handle *info)" ( (parameter_declaration "void *dhandle" primitive_type (pointer_declarator "*dhandle" * identifier)) , (parameter_declaration "stab_handle *info" type_identifier (pointer_declarator "*info" * identifier)) ))) (compound_statement "{\n  bfd_vma val;\n  bfd *pbVar1;\n  bfd_boolean bVar2;\n  bfd *pbVar3;\n  \n  pbVar1 = info->abfd;\n  while( true ) {\n    if (pbVar1 == (bfd *)0x0) {\n      info->abfd = (bfd *)0x0;\n      return 1;\n    }\n    val._0_4_ = pbVar1->lru_prev;\n    val._4_4_ = pbVar1->lru_next;\n    bVar2 = debug_record_variable\n                      (dhandle,(char *)pbVar1->xvec,(debug_type_conflict)pbVar1->iostream,\n                       (debug_var_kind)pbVar1->iovec,val);\n    if (bVar2 == 0) break;\n    pbVar3 = (bfd *)pbVar1->filename;\n    (*(code *)PTR_free_00082428)(pbVar1);\n    pbVar1 = pbVar3;\n  }\n  return 0;\n}" { (declaration "bfd_vma val;" type_identifier identifier ;) (declaration "bfd *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "bfd_boolean bVar2;" type_identifier identifier ;) (declaration "bfd *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (expression_statement "pbVar1 = info->abfd;" (assignment_expression "pbVar1 = info->abfd" identifier = (field_expression "info->abfd" identifier -> field_identifier)) ;) (while_statement "while( true ) {\n    if (pbVar1 == (bfd *)0x0) {\n      info->abfd = (bfd *)0x0;\n      return 1;\n    }\n    val._0_4_ = pbVar1->lru_prev;\n    val._4_4_ = pbVar1->lru_next;\n    bVar2 = debug_record_variable\n                      (dhandle,(char *)pbVar1->xvec,(debug_type_conflict)pbVar1->iostream,\n                       (debug_var_kind)pbVar1->iovec,val);\n    if (bVar2 == 0) break;\n    pbVar3 = (bfd *)pbVar1->filename;\n    (*(code *)PTR_free_00082428)(pbVar1);\n    pbVar1 = pbVar3;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (pbVar1 == (bfd *)0x0) {\n      info->abfd = (bfd *)0x0;\n      return 1;\n    }\n    val._0_4_ = pbVar1->lru_prev;\n    val._4_4_ = pbVar1->lru_next;\n    bVar2 = debug_record_variable\n                      (dhandle,(char *)pbVar1->xvec,(debug_type_conflict)pbVar1->iostream,\n                       (debug_var_kind)pbVar1->iovec,val);\n    if (bVar2 == 0) break;\n    pbVar3 = (bfd *)pbVar1->filename;\n    (*(code *)PTR_free_00082428)(pbVar1);\n    pbVar1 = pbVar3;\n  }" { (if_statement "if (pbVar1 == (bfd *)0x0) {\n      info->abfd = (bfd *)0x0;\n      return 1;\n    }" if (parenthesized_expression "(pbVar1 == (bfd *)0x0)" ( (binary_expression "pbVar1 == (bfd *)0x0" identifier == (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      info->abfd = (bfd *)0x0;\n      return 1;\n    }" { (expression_statement "info->abfd = (bfd *)0x0;" (assignment_expression "info->abfd = (bfd *)0x0" (field_expression "info->abfd" identifier -> field_identifier) = (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "val._0_4_ = pbVar1->lru_prev;" (assignment_expression "val._0_4_ = pbVar1->lru_prev" (field_expression "val._0_4_" identifier . field_identifier) = (field_expression "pbVar1->lru_prev" identifier -> field_identifier)) ;) (expression_statement "val._4_4_ = pbVar1->lru_next;" (assignment_expression "val._4_4_ = pbVar1->lru_next" (field_expression "val._4_4_" identifier . field_identifier) = (field_expression "pbVar1->lru_next" identifier -> field_identifier)) ;) (expression_statement "bVar2 = debug_record_variable\n                      (dhandle,(char *)pbVar1->xvec,(debug_type_conflict)pbVar1->iostream,\n                       (debug_var_kind)pbVar1->iovec,val);" (assignment_expression "bVar2 = debug_record_variable\n                      (dhandle,(char *)pbVar1->xvec,(debug_type_conflict)pbVar1->iostream,\n                       (debug_var_kind)pbVar1->iovec,val)" identifier = (call_expression "debug_record_variable\n                      (dhandle,(char *)pbVar1->xvec,(debug_type_conflict)pbVar1->iostream,\n                       (debug_var_kind)pbVar1->iovec,val)" identifier (argument_list "(dhandle,(char *)pbVar1->xvec,(debug_type_conflict)pbVar1->iostream,\n                       (debug_var_kind)pbVar1->iovec,val)" ( identifier , (cast_expression "(char *)pbVar1->xvec" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "pbVar1->xvec" identifier -> field_identifier)) , (cast_expression "(debug_type_conflict)pbVar1->iostream" ( (type_descriptor "debug_type_conflict" type_identifier) ) (field_expression "pbVar1->iostream" identifier -> field_identifier)) , (cast_expression "(debug_var_kind)pbVar1->iovec" ( (type_descriptor "debug_var_kind" type_identifier) ) (field_expression "pbVar1->iovec" identifier -> field_identifier)) , identifier )))) ;) (if_statement "if (bVar2 == 0) break;" if (parenthesized_expression "(bVar2 == 0)" ( (binary_expression "bVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar3 = (bfd *)pbVar1->filename;" (assignment_expression "pbVar3 = (bfd *)pbVar1->filename" identifier = (cast_expression "(bfd *)pbVar1->filename" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pbVar1->filename" identifier -> field_identifier))) ;) (expression_statement "(*(code *)PTR_free_00082428)(pbVar1);" (call_expression "(*(code *)PTR_free_00082428)(pbVar1)" (parenthesized_expression "(*(code *)PTR_free_00082428)" ( (pointer_expression "*(code *)PTR_free_00082428" * (cast_expression "(code *)PTR_free_00082428" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar1)" ( identifier ))) ;) (expression_statement "pbVar1 = pbVar3;" (assignment_expression "pbVar1 = pbVar3" identifier = identifier) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0004e19c(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_2;\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0004e19c(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_2;\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0004e19c(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_2;\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "piVar1 = (int *)*param_2;" (assignment_expression "piVar1 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (while_statement "while( true ) {\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }" { (if_statement "if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_2 = 0;\n      return 1;\n    }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);" (assignment_expression "iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5])" identifier = (call_expression "debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5])" identifier (argument_list "(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5])" ( identifier , (subscript_expression "piVar1[1]" identifier [ number_literal ]) , (subscript_expression "piVar1[2]" identifier [ number_literal ]) , (subscript_expression "piVar1[3]" identifier [ number_literal ]) , (subscript_expression "piVar1[4]" identifier [ number_literal ]) , (subscript_expression "piVar1[5]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "(*(code *)PTR_free_00082428)(piVar1);" (call_expression "(*(code *)PTR_free_00082428)(piVar1)" (parenthesized_expression "(*(code *)PTR_free_00082428)" ( (pointer_expression "*(code *)PTR_free_00082428" * (cast_expression "(code *)PTR_free_00082428" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "piVar1 = (int *)iVar2;" (assignment_expression "piVar1 = (int *)iVar2" identifier = (cast_expression "(int *)iVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0004e19c(undefined4 param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_2;\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0004e19c(undefined4 param_1,int *param_2)" (identifier "FUN_0004e19c") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  piVar1 = (int *)*param_2;\n  while( true ) {\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }\n  return 0;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "piVar1 = (int *)*param_2;" (assignment_expression "piVar1 = (int *)*param_2" (identifier "piVar1") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (while_statement "while( true ) {\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }\n    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);\n    if (iVar2 == 0) break;\n    iVar2 = *piVar1;\n    (*(code *)PTR_free_00082428)(piVar1);\n    piVar1 = (int *)iVar2;\n  }" ({ "{") (if_statement "if (piVar1 == (int *)0x0) {\n      *param_2 = 0;\n      return 1;\n    }" (if "if") (parenthesized_expression "(piVar1 == (int *)0x0)" (( "(") (binary_expression "piVar1 == (int *)0x0" (identifier "piVar1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *param_2 = 0;\n      return 1;\n    }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);" (assignment_expression "iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5])" (identifier "iVar2") (= "=") (call_expression "debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5])" (identifier "debug_record_variable") (argument_list "(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5])" (( "(") (identifier "param_1") (, ",") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (, ",") (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")) (, ",") (subscript_expression "piVar1[4]" (identifier "piVar1") ([ "[") (number_literal "4") (] "]")) (, ",") (subscript_expression "piVar1[5]" (identifier "piVar1") ([ "[") (number_literal "5") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) break;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" (identifier "iVar2") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (expression_statement "(*(code *)PTR_free_00082428)(piVar1);" (call_expression "(*(code *)PTR_free_00082428)(piVar1)" (parenthesized_expression "(*(code *)PTR_free_00082428)" (( "(") (pointer_expression "*(code *)PTR_free_00082428" (* "*") (cast_expression "(code *)PTR_free_00082428" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_00082428"))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (expression_statement "piVar1 = (int *)iVar2;" (assignment_expression "piVar1 = (int *)iVar2" (identifier "piVar1") (= "=") (cast_expression "(int *)iVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "iVar2"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

type_1 function_1(void *dhandle,type_2 *info)

{
  type_3 val;
  type_4 *var_1;
  type_1 var_3;
  type_4 *pbVar3;
  
  var_1 = info->abfd;
  while( true ) {
    if (var_1 == (type_4 *)0x0) {
      info->abfd = (type_4 *)0x0;
      return 1;
    }
    val._0_4_ = var_1->lru_prev;
    val._4_4_ = var_1->lru_next;
    var_3 = var_2
                      (dhandle,(char *)var_1->xvec,(type_5)var_1->iostream,
                       (type_6)var_1->iovec,val);
    if (var_3 == 0) break;
    pbVar3 = (type_4 *)var_1->filename;
    (*(type_7 *)PTR_free_00082428)(var_1);
    var_1 = pbVar3;
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (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 (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (return_statement (number_literal)))))

undefined4 MASKED(undefined4 param_1,int *param_2)

{
  int *piVar1;
  int iVar2;
  
  piVar1 = (int *)*param_2;
  while( true ) {
    if (piVar1 == (int *)0x0) {
      *param_2 = 0;
      return 1;
    }
    iVar2 = debug_record_variable(param_1,piVar1[1],piVar1[2],piVar1[3],piVar1[4],piVar1[5]);
    if (iVar2 == 0) break;
    iVar2 = *piVar1;
    (*(code *)PTR_free_00082428)(piVar1);
    piVar1 = (int *)iVar2;
  }
  return 0;
}

