
void check_refs(char *name,bfd_boolean global,asection *sec,bfd *abfd,lang_nocrossrefs *ncrs)

{
  int iVar1;
  char *fmt;
  check_refs_info info;
  
  iVar1 = bfd_generic_link_read_symbols(abfd);
  if (iVar1 == 0) {
    fmt = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);
    einfo(fmt,abfd);
  }
  info.asymbols = abfd->outsymbols;
  info.sym_name = name;
  info.defsec = sec;
  info.ncrs = ncrs;
  info.global = global;
  bfd_map_over_sections(abfd,check_reloc_refs,&info);
  return;
}



void FUN_001263e0(undefined8 param_1,undefined4 param_2,undefined8 param_3,long param_4,
                 undefined8 param_5)

{
  int iVar1;
  undefined8 uVar2;
  undefined8 local_58;
  undefined8 local_50;
  undefined8 local_48;
  undefined8 local_40;
  undefined4 local_38;
  
  iVar1 = bfd_generic_link_read_symbols(param_4);
  if (iVar1 == 0) {
    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);
    FUN_001251f0(uVar2,param_4);
  }
  local_40 = *(undefined8 *)(param_4 + 0xb0);
  local_58 = param_1;
  local_50 = param_3;
  local_48 = param_5;
  local_38 = param_2;
  bfd_map_over_sections(param_4,FUN_001266e0,&local_58);
  return;
}


PUSH R14
MOV R14,RDI
MOV RDI,RCX
PUSH R13
MOV R13D,ESI
PUSH R12
MOV R12,RDX
PUSH RBP
MOV RBP,R8
PUSH RBX
MOV RBX,RCX
SUB RSP,0x30
CALL 0x001091a0
TEST EAX,EAX
JZ 0x00126448
MOV RAX,qword ptr [RBX + 0xb0]
MOV RDX,RSP
MOV RDI,RBX
LEA RSI,[0x1266e0]
MOV qword ptr [RSP],R14
MOV dword ptr [RSP + 0x20],R13D
MOV qword ptr [RSP + 0x8],R12
MOV qword ptr [RSP + 0x10],RBP
MOV qword ptr [RSP + 0x18],RAX
CALL 0x00109b20
ADD RSP,0x30
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
XOR EDI,EDI
MOV EDX,0x5
LEA RSI,[0x143498]
CALL 0x001092e0
MOV RSI,RBX
MOV RDI,RAX
XOR EAX,EAX
CALL 0x001251f0
JMP 0x00126407
(translation_unit "void FUN_001263e0(undefined8 param_1,undefined4 param_2,undefined8 param_3,long param_4,\n                 undefined8 param_5)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined4 local_38;\n  \n  iVar1 = bfd_generic_link_read_symbols(param_4);\n  if (iVar1 == 0) {\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }\n  local_40 = *(undefined8 *)(param_4 + 0xb0);\n  local_58 = param_1;\n  local_50 = param_3;\n  local_48 = param_5;\n  local_38 = param_2;\n  bfd_map_over_sections(param_4,FUN_001266e0,&local_58);\n  return;\n}\n\n" (function_definition "void FUN_001263e0(undefined8 param_1,undefined4 param_2,undefined8 param_3,long param_4,\n                 undefined8 param_5)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined4 local_38;\n  \n  iVar1 = bfd_generic_link_read_symbols(param_4);\n  if (iVar1 == 0) {\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }\n  local_40 = *(undefined8 *)(param_4 + 0xb0);\n  local_58 = param_1;\n  local_50 = param_3;\n  local_48 = param_5;\n  local_38 = param_2;\n  bfd_map_over_sections(param_4,FUN_001266e0,&local_58);\n  return;\n}" primitive_type (function_declarator "FUN_001263e0(undefined8 param_1,undefined4 param_2,undefined8 param_3,long param_4,\n                 undefined8 param_5)" identifier (parameter_list "(undefined8 param_1,undefined4 param_2,undefined8 param_3,long param_4,\n                 undefined8 param_5)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined4 local_38;\n  \n  iVar1 = bfd_generic_link_read_symbols(param_4);\n  if (iVar1 == 0) {\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }\n  local_40 = *(undefined8 *)(param_4 + 0xb0);\n  local_58 = param_1;\n  local_50 = param_3;\n  local_48 = param_5;\n  local_38 = param_2;\n  bfd_map_over_sections(param_4,FUN_001266e0,&local_58);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 local_58;" type_identifier identifier ;) (declaration "undefined8 local_50;" type_identifier identifier ;) (declaration "undefined8 local_48;" type_identifier identifier ;) (declaration "undefined8 local_40;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (expression_statement "iVar1 = bfd_generic_link_read_symbols(param_4);" (assignment_expression "iVar1 = bfd_generic_link_read_symbols(param_4)" identifier = (call_expression "bfd_generic_link_read_symbols(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }" { (expression_statement "uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" identifier (argument_list "(0,"%F%P: %pB: could not read symbols: %E\n",5)" ( number_literal , (string_literal ""%F%P: %pB: could not read symbols: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_001251f0(uVar2,param_4);" (call_expression "FUN_001251f0(uVar2,param_4)" identifier (argument_list "(uVar2,param_4)" ( identifier , identifier ))) ;) })) (expression_statement "local_40 = *(undefined8 *)(param_4 + 0xb0);" (assignment_expression "local_40 = *(undefined8 *)(param_4 + 0xb0)" identifier = (pointer_expression "*(undefined8 *)(param_4 + 0xb0)" * (cast_expression "(undefined8 *)(param_4 + 0xb0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xb0)" ( (binary_expression "param_4 + 0xb0" identifier + number_literal) ))))) ;) (expression_statement "local_58 = param_1;" (assignment_expression "local_58 = param_1" identifier = identifier) ;) (expression_statement "local_50 = param_3;" (assignment_expression "local_50 = param_3" identifier = identifier) ;) (expression_statement "local_48 = param_5;" (assignment_expression "local_48 = param_5" identifier = identifier) ;) (expression_statement "local_38 = param_2;" (assignment_expression "local_38 = param_2" identifier = identifier) ;) (expression_statement "bfd_map_over_sections(param_4,FUN_001266e0,&local_58);" (call_expression "bfd_map_over_sections(param_4,FUN_001266e0,&local_58)" identifier (argument_list "(param_4,FUN_001266e0,&local_58)" ( identifier , identifier , (pointer_expression "&local_58" & identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void check_refs(char *name,bfd_boolean global,asection *sec,bfd *abfd,lang_nocrossrefs *ncrs)\n\n{\n  int iVar1;\n  char *fmt;\n  check_refs_info info;\n  \n  iVar1 = bfd_generic_link_read_symbols(abfd);\n  if (iVar1 == 0) {\n    fmt = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    einfo(fmt,abfd);\n  }\n  info.asymbols = abfd->outsymbols;\n  info.sym_name = name;\n  info.defsec = sec;\n  info.ncrs = ncrs;\n  info.global = global;\n  bfd_map_over_sections(abfd,check_reloc_refs,&info);\n  return;\n}\n\n" (function_definition "void check_refs(char *name,bfd_boolean global,asection *sec,bfd *abfd,lang_nocrossrefs *ncrs)\n\n{\n  int iVar1;\n  char *fmt;\n  check_refs_info info;\n  \n  iVar1 = bfd_generic_link_read_symbols(abfd);\n  if (iVar1 == 0) {\n    fmt = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    einfo(fmt,abfd);\n  }\n  info.asymbols = abfd->outsymbols;\n  info.sym_name = name;\n  info.defsec = sec;\n  info.ncrs = ncrs;\n  info.global = global;\n  bfd_map_over_sections(abfd,check_reloc_refs,&info);\n  return;\n}" primitive_type (function_declarator "check_refs(char *name,bfd_boolean global,asection *sec,bfd *abfd,lang_nocrossrefs *ncrs)" identifier (parameter_list "(char *name,bfd_boolean global,asection *sec,bfd *abfd,lang_nocrossrefs *ncrs)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "bfd_boolean global" type_identifier identifier) , (parameter_declaration "asection *sec" type_identifier (pointer_declarator "*sec" * identifier)) , (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "lang_nocrossrefs *ncrs" type_identifier (pointer_declarator "*ncrs" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *fmt;\n  check_refs_info info;\n  \n  iVar1 = bfd_generic_link_read_symbols(abfd);\n  if (iVar1 == 0) {\n    fmt = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    einfo(fmt,abfd);\n  }\n  info.asymbols = abfd->outsymbols;\n  info.sym_name = name;\n  info.defsec = sec;\n  info.ncrs = ncrs;\n  info.global = global;\n  bfd_map_over_sections(abfd,check_reloc_refs,&info);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "check_refs_info info;" type_identifier identifier ;) (expression_statement "iVar1 = bfd_generic_link_read_symbols(abfd);" (assignment_expression "iVar1 = bfd_generic_link_read_symbols(abfd)" identifier = (call_expression "bfd_generic_link_read_symbols(abfd)" identifier (argument_list "(abfd)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    fmt = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    einfo(fmt,abfd);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    fmt = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    einfo(fmt,abfd);\n  }" { (expression_statement "fmt = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" identifier (argument_list "(0,"%F%P: %pB: could not read symbols: %E\n",5)" ( number_literal , (string_literal ""%F%P: %pB: could not read symbols: %E\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt,abfd);" (call_expression "einfo(fmt,abfd)" identifier (argument_list "(fmt,abfd)" ( identifier , identifier ))) ;) })) (expression_statement "info.asymbols = abfd->outsymbols;" (assignment_expression "info.asymbols = abfd->outsymbols" (field_expression "info.asymbols" identifier . field_identifier) = (field_expression "abfd->outsymbols" identifier -> field_identifier)) ;) (expression_statement "info.sym_name = name;" (assignment_expression "info.sym_name = name" (field_expression "info.sym_name" identifier . field_identifier) = identifier) ;) (expression_statement "info.defsec = sec;" (assignment_expression "info.defsec = sec" (field_expression "info.defsec" identifier . field_identifier) = identifier) ;) (expression_statement "info.ncrs = ncrs;" (assignment_expression "info.ncrs = ncrs" (field_expression "info.ncrs" identifier . field_identifier) = identifier) ;) (expression_statement "info.global = global;" (assignment_expression "info.global = global" (field_expression "info.global" identifier . field_identifier) = identifier) ;) (expression_statement "bfd_map_over_sections(abfd,check_reloc_refs,&info);" (call_expression "bfd_map_over_sections(abfd,check_reloc_refs,&info)" identifier (argument_list "(abfd,check_reloc_refs,&info)" ( identifier , identifier , (pointer_expression "&info" & identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001263e0(undefined8 param_1,undefined4 param_2,undefined8 param_3,long param_4,\n                 undefined8 param_5)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined4 local_38;\n  \n  iVar1 = bfd_generic_link_read_symbols(param_4);\n  if (iVar1 == 0) {\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }\n  local_40 = *(undefined8 *)(param_4 + 0xb0);\n  local_58 = param_1;\n  local_50 = param_3;\n  local_48 = param_5;\n  local_38 = param_2;\n  bfd_map_over_sections(param_4,FUN_001266e0,&local_58);\n  return;\n}\n\n" (function_definition "void FUN_001263e0(undefined8 param_1,undefined4 param_2,undefined8 param_3,long param_4,\n                 undefined8 param_5)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined4 local_38;\n  \n  iVar1 = bfd_generic_link_read_symbols(param_4);\n  if (iVar1 == 0) {\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }\n  local_40 = *(undefined8 *)(param_4 + 0xb0);\n  local_58 = param_1;\n  local_50 = param_3;\n  local_48 = param_5;\n  local_38 = param_2;\n  bfd_map_over_sections(param_4,FUN_001266e0,&local_58);\n  return;\n}" primitive_type (function_declarator "FUN_001263e0(undefined8 param_1,undefined4 param_2,undefined8 param_3,long param_4,\n                 undefined8 param_5)" identifier (parameter_list "(undefined8 param_1,undefined4 param_2,undefined8 param_3,long param_4,\n                 undefined8 param_5)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined4 local_38;\n  \n  iVar1 = bfd_generic_link_read_symbols(param_4);\n  if (iVar1 == 0) {\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }\n  local_40 = *(undefined8 *)(param_4 + 0xb0);\n  local_58 = param_1;\n  local_50 = param_3;\n  local_48 = param_5;\n  local_38 = param_2;\n  bfd_map_over_sections(param_4,FUN_001266e0,&local_58);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 local_58;" type_identifier identifier ;) (declaration "undefined8 local_50;" type_identifier identifier ;) (declaration "undefined8 local_48;" type_identifier identifier ;) (declaration "undefined8 local_40;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (expression_statement "iVar1 = bfd_generic_link_read_symbols(param_4);" (assignment_expression "iVar1 = bfd_generic_link_read_symbols(param_4)" identifier = (call_expression "bfd_generic_link_read_symbols(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }" { (expression_statement "uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" identifier (argument_list "(0,"%F%P: %pB: could not read symbols: %E\n",5)" ( number_literal , (string_literal ""%F%P: %pB: could not read symbols: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_001251f0(uVar2,param_4);" (call_expression "FUN_001251f0(uVar2,param_4)" identifier (argument_list "(uVar2,param_4)" ( identifier , identifier ))) ;) })) (expression_statement "local_40 = *(undefined8 *)(param_4 + 0xb0);" (assignment_expression "local_40 = *(undefined8 *)(param_4 + 0xb0)" identifier = (pointer_expression "*(undefined8 *)(param_4 + 0xb0)" * (cast_expression "(undefined8 *)(param_4 + 0xb0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xb0)" ( (binary_expression "param_4 + 0xb0" identifier + number_literal) ))))) ;) (expression_statement "local_58 = param_1;" (assignment_expression "local_58 = param_1" identifier = identifier) ;) (expression_statement "local_50 = param_3;" (assignment_expression "local_50 = param_3" identifier = identifier) ;) (expression_statement "local_48 = param_5;" (assignment_expression "local_48 = param_5" identifier = identifier) ;) (expression_statement "local_38 = param_2;" (assignment_expression "local_38 = param_2" identifier = identifier) ;) (expression_statement "bfd_map_over_sections(param_4,FUN_001266e0,&local_58);" (call_expression "bfd_map_over_sections(param_4,FUN_001266e0,&local_58)" identifier (argument_list "(param_4,FUN_001266e0,&local_58)" ( identifier , identifier , (pointer_expression "&local_58" & identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001263e0(undefined8 param_1,undefined4 param_2,undefined8 param_3,long param_4,\n                 undefined8 param_5)\n\n{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined4 local_38;\n  \n  iVar1 = bfd_generic_link_read_symbols(param_4);\n  if (iVar1 == 0) {\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }\n  local_40 = *(undefined8 *)(param_4 + 0xb0);\n  local_58 = param_1;\n  local_50 = param_3;\n  local_48 = param_5;\n  local_38 = param_2;\n  bfd_map_over_sections(param_4,FUN_001266e0,&local_58);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001263e0(undefined8 param_1,undefined4 param_2,undefined8 param_3,long param_4,\n                 undefined8 param_5)" (identifier "FUN_001263e0") (parameter_list "(undefined8 param_1,undefined4 param_2,undefined8 param_3,long param_4,\n                 undefined8 param_5)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (identifier "param_4")) (, ",") (parameter_declaration "undefined8 param_5" (type_identifier "undefined8") (identifier "param_5")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined8 uVar2;\n  undefined8 local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  undefined8 local_40;\n  undefined4 local_38;\n  \n  iVar1 = bfd_generic_link_read_symbols(param_4);\n  if (iVar1 == 0) {\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }\n  local_40 = *(undefined8 *)(param_4 + 0xb0);\n  local_58 = param_1;\n  local_50 = param_3;\n  local_48 = param_5;\n  local_38 = param_2;\n  bfd_map_over_sections(param_4,FUN_001266e0,&local_58);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "undefined8 local_58;" (type_identifier "undefined8") (identifier "local_58") (; ";")) (declaration "undefined8 local_50;" (type_identifier "undefined8") (identifier "local_50") (; ";")) (declaration "undefined8 local_48;" (type_identifier "undefined8") (identifier "local_48") (; ";")) (declaration "undefined8 local_40;" (type_identifier "undefined8") (identifier "local_40") (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (expression_statement "iVar1 = bfd_generic_link_read_symbols(param_4);" (assignment_expression "iVar1 = bfd_generic_link_read_symbols(param_4)" (identifier "iVar1") (= "=") (call_expression "bfd_generic_link_read_symbols(param_4)" (identifier "bfd_generic_link_read_symbols") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);\n    FUN_001251f0(uVar2,param_4);\n  }" ({ "{") (expression_statement "uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%P: %pB: could not read symbols: %E\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%P: %pB: could not read symbols: %E\n"" (" """) (string_content "%F%P: %pB: could not read symbols: %E") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_001251f0(uVar2,param_4);" (call_expression "FUN_001251f0(uVar2,param_4)" (identifier "FUN_001251f0") (argument_list "(uVar2,param_4)" (( "(") (identifier "uVar2") (, ",") (identifier "param_4") () ")"))) (; ";")) (} "}"))) (expression_statement "local_40 = *(undefined8 *)(param_4 + 0xb0);" (assignment_expression "local_40 = *(undefined8 *)(param_4 + 0xb0)" (identifier "local_40") (= "=") (pointer_expression "*(undefined8 *)(param_4 + 0xb0)" (* "*") (cast_expression "(undefined8 *)(param_4 + 0xb0)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0xb0)" (( "(") (binary_expression "param_4 + 0xb0" (identifier "param_4") (+ "+") (number_literal "0xb0")) () ")"))))) (; ";")) (expression_statement "local_58 = param_1;" (assignment_expression "local_58 = param_1" (identifier "local_58") (= "=") (identifier "param_1")) (; ";")) (expression_statement "local_50 = param_3;" (assignment_expression "local_50 = param_3" (identifier "local_50") (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_48 = param_5;" (assignment_expression "local_48 = param_5" (identifier "local_48") (= "=") (identifier "param_5")) (; ";")) (expression_statement "local_38 = param_2;" (assignment_expression "local_38 = param_2" (identifier "local_38") (= "=") (identifier "param_2")) (; ";")) (expression_statement "bfd_map_over_sections(param_4,FUN_001266e0,&local_58);" (call_expression "bfd_map_over_sections(param_4,FUN_001266e0,&local_58)" (identifier "bfd_map_over_sections") (argument_list "(param_4,FUN_001266e0,&local_58)" (( "(") (identifier "param_4") (, ",") (identifier "FUN_001266e0") (, ",") (pointer_expression "&local_58" (& "&") (identifier "local_58")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char *name,type_1 global,type_2 *sec,type_3 *abfd,type_4 *ncrs)

{
  int var_2;
  char *fmt;
  type_5 info;
  
  var_2 = var_1(abfd);
  if (var_2 == 0) {
    fmt = (char *)var_3(0,"%F%P: %pB: could not read symbols: %E\n",5);
    var_4(fmt,abfd);
  }
  info.asymbols = abfd->outsymbols;
  info.sym_name = name;
  info.defsec = sec;
  info.ncrs = ncrs;
  info.global = global;
  var_5(abfd,check_reloc_refs,&info);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (identifier))))) (return_statement))))

void MASKED(undefined8 param_1,undefined4 param_2,undefined8 param_3,long param_4,
                 undefined8 param_5)

{
  int iVar1;
  undefined8 uVar2;
  undefined8 local_58;
  undefined8 local_50;
  undefined8 local_48;
  undefined8 local_40;
  undefined4 local_38;
  
  iVar1 = bfd_generic_link_read_symbols(param_4);
  if (iVar1 == 0) {
    uVar2 = dcgettext(0,"%F%P: %pB: could not read symbols: %E\n",5);
    FUN_001251f0(uVar2,param_4);
  }
  local_40 = *(undefined8 *)(param_4 + 0xb0);
  local_58 = param_1;
  local_50 = param_3;
  local_48 = param_5;
  local_38 = param_2;
  bfd_map_over_sections(param_4,FUN_001266e0,&local_58);
  return;
}

