
void ldlang_add_file(lang_input_statement_type *entry)

{
  int iVar1;
  bfd *pbVar2;
  
  *file_chain.tail = (lang_statement_union *)entry;
  file_chain.tail = &entry->next;
  pbVar2 = entry->the_bfd;
  if ((pbVar2->link).next != (bfd *)0x0) {
    info_assert("../../ld/ldlang.c",0x19f4);
    pbVar2 = entry->the_bfd;
  }
  if (link_info.output_bfd == pbVar2) {
    info_assert("../../ld/ldlang.c",0x19f5);
    pbVar2 = entry->the_bfd;
  }
  iVar1 = g_switch_value;
  *link_info.input_bfds_tail = pbVar2;
  link_info.input_bfds_tail = (bfd **)&pbVar2->link;
  pbVar2->usrdata = entry;
  bfd_set_gp_size(pbVar2,iVar1);
  bfd_map_over_sections(entry->the_bfd,section_already_linked,entry);
  return;
}



void FUN_0011cde0(long param_1)

{
  undefined4 uVar1;
  long lVar2;
  
  *DAT_002b4c58 = param_1;
  DAT_002b4c58 = (long *)(param_1 + 0x30);
  lVar2 = *(long *)(param_1 + 0x20);
  if (*(long *)(lVar2 + 0xf0) != 0) {
    FUN_00129440("../../ld/ldlang.c",0x19f4);
    lVar2 = *(long *)(param_1 + 0x20);
  }
  if (DAT_002b5f90 == lVar2) {
    FUN_00129440("../../ld/ldlang.c",0x19f5);
    lVar2 = *(long *)(param_1 + 0x20);
  }
  uVar1 = DAT_002b272c;
  *DAT_002b5fa8 = lVar2;
  DAT_002b5fa8 = (long *)(lVar2 + 0xf0);
  *(long *)(lVar2 + 0x100) = param_1;
  bfd_set_gp_size(lVar2,uVar1);
  bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1);
  return;
}


MOV RAX,qword ptr [0x002b4c58]
PUSH RBX
MOV RBX,RDI
MOV qword ptr [RAX],RDI
LEA RAX,[RDI + 0x30]
MOV RDI,qword ptr [RDI + 0x20]
MOV qword ptr [0x002b4c58],RAX
CMP qword ptr [RDI + 0xf0],0x0
JZ 0x0011ce1c
LEA RDI,[0x16bf26]
MOV ESI,0x19f4
CALL 0x00129440
MOV RDI,qword ptr [RBX + 0x20]
CMP qword ptr [0x002b5f90],RDI
JZ 0x0011ce68
MOV RAX,qword ptr [0x002b5fa8]
MOV ESI,dword ptr [0x002b272c]
MOV qword ptr [RAX],RDI
LEA RAX,[RDI + 0xf0]
MOV qword ptr [RDI + 0x100],RBX
MOV qword ptr [0x002b5fa8],RAX
CALL 0x0010d960
MOV RDI,qword ptr [RBX + 0x20]
MOV RDX,RBX
POP RBX
LEA RSI,[0x117450]
JMP 0x0010dc40
LEA RDI,[0x16bf26]
MOV ESI,0x19f5
CALL 0x00129440
MOV RDI,qword ptr [RBX + 0x20]
JMP 0x0011ce25
(translation_unit "void FUN_0011cde0(long param_1)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  \n  *DAT_002b4c58 = param_1;\n  DAT_002b4c58 = (long *)(param_1 + 0x30);\n  lVar2 = *(long *)(param_1 + 0x20);\n  if (*(long *)(lVar2 + 0xf0) != 0) {\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  if (DAT_002b5f90 == lVar2) {\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  uVar1 = DAT_002b272c;\n  *DAT_002b5fa8 = lVar2;\n  DAT_002b5fa8 = (long *)(lVar2 + 0xf0);\n  *(long *)(lVar2 + 0x100) = param_1;\n  bfd_set_gp_size(lVar2,uVar1);\n  bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1);\n  return;\n}\n\n" (function_definition "void FUN_0011cde0(long param_1)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  \n  *DAT_002b4c58 = param_1;\n  DAT_002b4c58 = (long *)(param_1 + 0x30);\n  lVar2 = *(long *)(param_1 + 0x20);\n  if (*(long *)(lVar2 + 0xf0) != 0) {\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  if (DAT_002b5f90 == lVar2) {\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  uVar1 = DAT_002b272c;\n  *DAT_002b5fa8 = lVar2;\n  DAT_002b5fa8 = (long *)(lVar2 + 0xf0);\n  *(long *)(lVar2 + 0x100) = param_1;\n  bfd_set_gp_size(lVar2,uVar1);\n  bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0011cde0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  long lVar2;\n  \n  *DAT_002b4c58 = param_1;\n  DAT_002b4c58 = (long *)(param_1 + 0x30);\n  lVar2 = *(long *)(param_1 + 0x20);\n  if (*(long *)(lVar2 + 0xf0) != 0) {\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  if (DAT_002b5f90 == lVar2) {\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  uVar1 = DAT_002b272c;\n  *DAT_002b5fa8 = lVar2;\n  DAT_002b5fa8 = (long *)(lVar2 + 0xf0);\n  *(long *)(lVar2 + 0x100) = param_1;\n  bfd_set_gp_size(lVar2,uVar1);\n  bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "*DAT_002b4c58 = param_1;" (assignment_expression "*DAT_002b4c58 = param_1" (pointer_expression "*DAT_002b4c58" * identifier) = identifier) ;) (expression_statement "DAT_002b4c58 = (long *)(param_1 + 0x30);" (assignment_expression "DAT_002b4c58 = (long *)(param_1 + 0x30)" identifier = (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x20);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x20)" identifier = (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if (*(long *)(lVar2 + 0xf0) != 0) {\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }" if (parenthesized_expression "(*(long *)(lVar2 + 0xf0) != 0)" ( (binary_expression "*(long *)(lVar2 + 0xf0) != 0" (pointer_expression "*(long *)(lVar2 + 0xf0)" * (cast_expression "(long *)(lVar2 + 0xf0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0xf0)" ( (binary_expression "lVar2 + 0xf0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }" { (expression_statement "FUN_00129440("../../ld/ldlang.c",0x19f4);" (call_expression "FUN_00129440("../../ld/ldlang.c",0x19f4)" identifier (argument_list "("../../ld/ldlang.c",0x19f4)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x20);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x20)" identifier = (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) })) (if_statement "if (DAT_002b5f90 == lVar2) {\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }" if (parenthesized_expression "(DAT_002b5f90 == lVar2)" ( (binary_expression "DAT_002b5f90 == lVar2" identifier == identifier) )) (compound_statement "{\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }" { (expression_statement "FUN_00129440("../../ld/ldlang.c",0x19f5);" (call_expression "FUN_00129440("../../ld/ldlang.c",0x19f5)" identifier (argument_list "("../../ld/ldlang.c",0x19f5)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x20);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x20)" identifier = (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) })) (expression_statement "uVar1 = DAT_002b272c;" (assignment_expression "uVar1 = DAT_002b272c" identifier = identifier) ;) (expression_statement "*DAT_002b5fa8 = lVar2;" (assignment_expression "*DAT_002b5fa8 = lVar2" (pointer_expression "*DAT_002b5fa8" * identifier) = identifier) ;) (expression_statement "DAT_002b5fa8 = (long *)(lVar2 + 0xf0);" (assignment_expression "DAT_002b5fa8 = (long *)(lVar2 + 0xf0)" identifier = (cast_expression "(long *)(lVar2 + 0xf0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0xf0)" ( (binary_expression "lVar2 + 0xf0" identifier + number_literal) )))) ;) (expression_statement "*(long *)(lVar2 + 0x100) = param_1;" (assignment_expression "*(long *)(lVar2 + 0x100) = param_1" (pointer_expression "*(long *)(lVar2 + 0x100)" * (cast_expression "(long *)(lVar2 + 0x100)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x100)" ( (binary_expression "lVar2 + 0x100" identifier + number_literal) )))) = identifier) ;) (expression_statement "bfd_set_gp_size(lVar2,uVar1);" (call_expression "bfd_set_gp_size(lVar2,uVar1)" identifier (argument_list "(lVar2,uVar1)" ( identifier , identifier ))) ;) (expression_statement "bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1);" (call_expression "bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1)" identifier (argument_list "(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1)" ( (pointer_expression "*(undefined8 *)(param_1 + 0x20)" * (cast_expression "(undefined8 *)(param_1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void ldlang_add_file(lang_input_statement_type *entry)\n\n{\n  int iVar1;\n  bfd *pbVar2;\n  \n  *file_chain.tail = (lang_statement_union *)entry;\n  file_chain.tail = &entry->next;\n  pbVar2 = entry->the_bfd;\n  if ((pbVar2->link).next != (bfd *)0x0) {\n    info_assert("../../ld/ldlang.c",0x19f4);\n    pbVar2 = entry->the_bfd;\n  }\n  if (link_info.output_bfd == pbVar2) {\n    info_assert("../../ld/ldlang.c",0x19f5);\n    pbVar2 = entry->the_bfd;\n  }\n  iVar1 = g_switch_value;\n  *link_info.input_bfds_tail = pbVar2;\n  link_info.input_bfds_tail = (bfd **)&pbVar2->link;\n  pbVar2->usrdata = entry;\n  bfd_set_gp_size(pbVar2,iVar1);\n  bfd_map_over_sections(entry->the_bfd,section_already_linked,entry);\n  return;\n}\n\n" (function_definition "void ldlang_add_file(lang_input_statement_type *entry)\n\n{\n  int iVar1;\n  bfd *pbVar2;\n  \n  *file_chain.tail = (lang_statement_union *)entry;\n  file_chain.tail = &entry->next;\n  pbVar2 = entry->the_bfd;\n  if ((pbVar2->link).next != (bfd *)0x0) {\n    info_assert("../../ld/ldlang.c",0x19f4);\n    pbVar2 = entry->the_bfd;\n  }\n  if (link_info.output_bfd == pbVar2) {\n    info_assert("../../ld/ldlang.c",0x19f5);\n    pbVar2 = entry->the_bfd;\n  }\n  iVar1 = g_switch_value;\n  *link_info.input_bfds_tail = pbVar2;\n  link_info.input_bfds_tail = (bfd **)&pbVar2->link;\n  pbVar2->usrdata = entry;\n  bfd_set_gp_size(pbVar2,iVar1);\n  bfd_map_over_sections(entry->the_bfd,section_already_linked,entry);\n  return;\n}" primitive_type (function_declarator "ldlang_add_file(lang_input_statement_type *entry)" identifier (parameter_list "(lang_input_statement_type *entry)" ( (parameter_declaration "lang_input_statement_type *entry" type_identifier (pointer_declarator "*entry" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  bfd *pbVar2;\n  \n  *file_chain.tail = (lang_statement_union *)entry;\n  file_chain.tail = &entry->next;\n  pbVar2 = entry->the_bfd;\n  if ((pbVar2->link).next != (bfd *)0x0) {\n    info_assert("../../ld/ldlang.c",0x19f4);\n    pbVar2 = entry->the_bfd;\n  }\n  if (link_info.output_bfd == pbVar2) {\n    info_assert("../../ld/ldlang.c",0x19f5);\n    pbVar2 = entry->the_bfd;\n  }\n  iVar1 = g_switch_value;\n  *link_info.input_bfds_tail = pbVar2;\n  link_info.input_bfds_tail = (bfd **)&pbVar2->link;\n  pbVar2->usrdata = entry;\n  bfd_set_gp_size(pbVar2,iVar1);\n  bfd_map_over_sections(entry->the_bfd,section_already_linked,entry);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bfd *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (expression_statement "*file_chain.tail = (lang_statement_union *)entry;" (assignment_expression "*file_chain.tail = (lang_statement_union *)entry" (pointer_expression "*file_chain.tail" * (field_expression "file_chain.tail" identifier . field_identifier)) = (cast_expression "(lang_statement_union *)entry" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "file_chain.tail = &entry->next;" (assignment_expression "file_chain.tail = &entry->next" (field_expression "file_chain.tail" identifier . field_identifier) = (pointer_expression "&entry->next" & (field_expression "entry->next" identifier -> field_identifier))) ;) (expression_statement "pbVar2 = entry->the_bfd;" (assignment_expression "pbVar2 = entry->the_bfd" identifier = (field_expression "entry->the_bfd" identifier -> field_identifier)) ;) (if_statement "if ((pbVar2->link).next != (bfd *)0x0) {\n    info_assert("../../ld/ldlang.c",0x19f4);\n    pbVar2 = entry->the_bfd;\n  }" if (parenthesized_expression "((pbVar2->link).next != (bfd *)0x0)" ( (binary_expression "(pbVar2->link).next != (bfd *)0x0" (field_expression "(pbVar2->link).next" (parenthesized_expression "(pbVar2->link)" ( (field_expression "pbVar2->link" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    info_assert("../../ld/ldlang.c",0x19f4);\n    pbVar2 = entry->the_bfd;\n  }" { (expression_statement "info_assert("../../ld/ldlang.c",0x19f4);" (call_expression "info_assert("../../ld/ldlang.c",0x19f4)" identifier (argument_list "("../../ld/ldlang.c",0x19f4)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) (expression_statement "pbVar2 = entry->the_bfd;" (assignment_expression "pbVar2 = entry->the_bfd" identifier = (field_expression "entry->the_bfd" identifier -> field_identifier)) ;) })) (if_statement "if (link_info.output_bfd == pbVar2) {\n    info_assert("../../ld/ldlang.c",0x19f5);\n    pbVar2 = entry->the_bfd;\n  }" if (parenthesized_expression "(link_info.output_bfd == pbVar2)" ( (binary_expression "link_info.output_bfd == pbVar2" (field_expression "link_info.output_bfd" identifier . field_identifier) == identifier) )) (compound_statement "{\n    info_assert("../../ld/ldlang.c",0x19f5);\n    pbVar2 = entry->the_bfd;\n  }" { (expression_statement "info_assert("../../ld/ldlang.c",0x19f5);" (call_expression "info_assert("../../ld/ldlang.c",0x19f5)" identifier (argument_list "("../../ld/ldlang.c",0x19f5)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) (expression_statement "pbVar2 = entry->the_bfd;" (assignment_expression "pbVar2 = entry->the_bfd" identifier = (field_expression "entry->the_bfd" identifier -> field_identifier)) ;) })) (expression_statement "iVar1 = g_switch_value;" (assignment_expression "iVar1 = g_switch_value" identifier = identifier) ;) (expression_statement "*link_info.input_bfds_tail = pbVar2;" (assignment_expression "*link_info.input_bfds_tail = pbVar2" (pointer_expression "*link_info.input_bfds_tail" * (field_expression "link_info.input_bfds_tail" identifier . field_identifier)) = identifier) ;) (expression_statement "link_info.input_bfds_tail = (bfd **)&pbVar2->link;" (assignment_expression "link_info.input_bfds_tail = (bfd **)&pbVar2->link" (field_expression "link_info.input_bfds_tail" identifier . field_identifier) = (cast_expression "(bfd **)&pbVar2->link" ( (type_descriptor "bfd **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&pbVar2->link" & (field_expression "pbVar2->link" identifier -> field_identifier)))) ;) (expression_statement "pbVar2->usrdata = entry;" (assignment_expression "pbVar2->usrdata = entry" (field_expression "pbVar2->usrdata" identifier -> field_identifier) = identifier) ;) (expression_statement "bfd_set_gp_size(pbVar2,iVar1);" (call_expression "bfd_set_gp_size(pbVar2,iVar1)" identifier (argument_list "(pbVar2,iVar1)" ( identifier , identifier ))) ;) (expression_statement "bfd_map_over_sections(entry->the_bfd,section_already_linked,entry);" (call_expression "bfd_map_over_sections(entry->the_bfd,section_already_linked,entry)" identifier (argument_list "(entry->the_bfd,section_already_linked,entry)" ( (field_expression "entry->the_bfd" identifier -> field_identifier) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0011cde0(long param_1)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  \n  *DAT_002b4c58 = param_1;\n  DAT_002b4c58 = (long *)(param_1 + 0x30);\n  lVar2 = *(long *)(param_1 + 0x20);\n  if (*(long *)(lVar2 + 0xf0) != 0) {\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  if (DAT_002b5f90 == lVar2) {\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  uVar1 = DAT_002b272c;\n  *DAT_002b5fa8 = lVar2;\n  DAT_002b5fa8 = (long *)(lVar2 + 0xf0);\n  *(long *)(lVar2 + 0x100) = param_1;\n  bfd_set_gp_size(lVar2,uVar1);\n  bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1);\n  return;\n}\n\n" (function_definition "void FUN_0011cde0(long param_1)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  \n  *DAT_002b4c58 = param_1;\n  DAT_002b4c58 = (long *)(param_1 + 0x30);\n  lVar2 = *(long *)(param_1 + 0x20);\n  if (*(long *)(lVar2 + 0xf0) != 0) {\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  if (DAT_002b5f90 == lVar2) {\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  uVar1 = DAT_002b272c;\n  *DAT_002b5fa8 = lVar2;\n  DAT_002b5fa8 = (long *)(lVar2 + 0xf0);\n  *(long *)(lVar2 + 0x100) = param_1;\n  bfd_set_gp_size(lVar2,uVar1);\n  bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0011cde0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  long lVar2;\n  \n  *DAT_002b4c58 = param_1;\n  DAT_002b4c58 = (long *)(param_1 + 0x30);\n  lVar2 = *(long *)(param_1 + 0x20);\n  if (*(long *)(lVar2 + 0xf0) != 0) {\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  if (DAT_002b5f90 == lVar2) {\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  uVar1 = DAT_002b272c;\n  *DAT_002b5fa8 = lVar2;\n  DAT_002b5fa8 = (long *)(lVar2 + 0xf0);\n  *(long *)(lVar2 + 0x100) = param_1;\n  bfd_set_gp_size(lVar2,uVar1);\n  bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "*DAT_002b4c58 = param_1;" (assignment_expression "*DAT_002b4c58 = param_1" (pointer_expression "*DAT_002b4c58" * identifier) = identifier) ;) (expression_statement "DAT_002b4c58 = (long *)(param_1 + 0x30);" (assignment_expression "DAT_002b4c58 = (long *)(param_1 + 0x30)" identifier = (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x20);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x20)" identifier = (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if (*(long *)(lVar2 + 0xf0) != 0) {\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }" if (parenthesized_expression "(*(long *)(lVar2 + 0xf0) != 0)" ( (binary_expression "*(long *)(lVar2 + 0xf0) != 0" (pointer_expression "*(long *)(lVar2 + 0xf0)" * (cast_expression "(long *)(lVar2 + 0xf0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0xf0)" ( (binary_expression "lVar2 + 0xf0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }" { (expression_statement "FUN_00129440("../../ld/ldlang.c",0x19f4);" (call_expression "FUN_00129440("../../ld/ldlang.c",0x19f4)" identifier (argument_list "("../../ld/ldlang.c",0x19f4)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x20);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x20)" identifier = (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) })) (if_statement "if (DAT_002b5f90 == lVar2) {\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }" if (parenthesized_expression "(DAT_002b5f90 == lVar2)" ( (binary_expression "DAT_002b5f90 == lVar2" identifier == identifier) )) (compound_statement "{\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }" { (expression_statement "FUN_00129440("../../ld/ldlang.c",0x19f5);" (call_expression "FUN_00129440("../../ld/ldlang.c",0x19f5)" identifier (argument_list "("../../ld/ldlang.c",0x19f5)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x20);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x20)" identifier = (pointer_expression "*(long *)(param_1 + 0x20)" * (cast_expression "(long *)(param_1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) })) (expression_statement "uVar1 = DAT_002b272c;" (assignment_expression "uVar1 = DAT_002b272c" identifier = identifier) ;) (expression_statement "*DAT_002b5fa8 = lVar2;" (assignment_expression "*DAT_002b5fa8 = lVar2" (pointer_expression "*DAT_002b5fa8" * identifier) = identifier) ;) (expression_statement "DAT_002b5fa8 = (long *)(lVar2 + 0xf0);" (assignment_expression "DAT_002b5fa8 = (long *)(lVar2 + 0xf0)" identifier = (cast_expression "(long *)(lVar2 + 0xf0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0xf0)" ( (binary_expression "lVar2 + 0xf0" identifier + number_literal) )))) ;) (expression_statement "*(long *)(lVar2 + 0x100) = param_1;" (assignment_expression "*(long *)(lVar2 + 0x100) = param_1" (pointer_expression "*(long *)(lVar2 + 0x100)" * (cast_expression "(long *)(lVar2 + 0x100)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x100)" ( (binary_expression "lVar2 + 0x100" identifier + number_literal) )))) = identifier) ;) (expression_statement "bfd_set_gp_size(lVar2,uVar1);" (call_expression "bfd_set_gp_size(lVar2,uVar1)" identifier (argument_list "(lVar2,uVar1)" ( identifier , identifier ))) ;) (expression_statement "bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1);" (call_expression "bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1)" identifier (argument_list "(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1)" ( (pointer_expression "*(undefined8 *)(param_1 + 0x20)" * (cast_expression "(undefined8 *)(param_1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0011cde0(long param_1)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  \n  *DAT_002b4c58 = param_1;\n  DAT_002b4c58 = (long *)(param_1 + 0x30);\n  lVar2 = *(long *)(param_1 + 0x20);\n  if (*(long *)(lVar2 + 0xf0) != 0) {\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  if (DAT_002b5f90 == lVar2) {\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  uVar1 = DAT_002b272c;\n  *DAT_002b5fa8 = lVar2;\n  DAT_002b5fa8 = (long *)(lVar2 + 0xf0);\n  *(long *)(lVar2 + 0x100) = param_1;\n  bfd_set_gp_size(lVar2,uVar1);\n  bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0011cde0(long param_1)" (identifier "FUN_0011cde0") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  long lVar2;\n  \n  *DAT_002b4c58 = param_1;\n  DAT_002b4c58 = (long *)(param_1 + 0x30);\n  lVar2 = *(long *)(param_1 + 0x20);\n  if (*(long *)(lVar2 + 0xf0) != 0) {\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  if (DAT_002b5f90 == lVar2) {\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }\n  uVar1 = DAT_002b272c;\n  *DAT_002b5fa8 = lVar2;\n  DAT_002b5fa8 = (long *)(lVar2 + 0xf0);\n  *(long *)(lVar2 + 0x100) = param_1;\n  bfd_set_gp_size(lVar2,uVar1);\n  bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (expression_statement "*DAT_002b4c58 = param_1;" (assignment_expression "*DAT_002b4c58 = param_1" (pointer_expression "*DAT_002b4c58" (* "*") (identifier "DAT_002b4c58")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "DAT_002b4c58 = (long *)(param_1 + 0x30);" (assignment_expression "DAT_002b4c58 = (long *)(param_1 + 0x30)" (identifier "DAT_002b4c58") (= "=") (cast_expression "(long *)(param_1 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (; ";")) (expression_statement "lVar2 = *(long *)(param_1 + 0x20);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x20)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(param_1 + 0x20)" (* "*") (cast_expression "(long *)(param_1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (if_statement "if (*(long *)(lVar2 + 0xf0) != 0) {\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }" (if "if") (parenthesized_expression "(*(long *)(lVar2 + 0xf0) != 0)" (( "(") (binary_expression "*(long *)(lVar2 + 0xf0) != 0" (pointer_expression "*(long *)(lVar2 + 0xf0)" (* "*") (cast_expression "(long *)(lVar2 + 0xf0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0xf0)" (( "(") (binary_expression "lVar2 + 0xf0" (identifier "lVar2") (+ "+") (number_literal "0xf0")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00129440("../../ld/ldlang.c",0x19f4);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }" ({ "{") (expression_statement "FUN_00129440("../../ld/ldlang.c",0x19f4);" (call_expression "FUN_00129440("../../ld/ldlang.c",0x19f4)" (identifier "FUN_00129440") (argument_list "("../../ld/ldlang.c",0x19f4)" (( "(") (string_literal ""../../ld/ldlang.c"" (" """) (string_content "../../ld/ldlang.c") (" """)) (, ",") (number_literal "0x19f4") () ")"))) (; ";")) (expression_statement "lVar2 = *(long *)(param_1 + 0x20);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x20)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(param_1 + 0x20)" (* "*") (cast_expression "(long *)(param_1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (DAT_002b5f90 == lVar2) {\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }" (if "if") (parenthesized_expression "(DAT_002b5f90 == lVar2)" (( "(") (binary_expression "DAT_002b5f90 == lVar2" (identifier "DAT_002b5f90") (== "==") (identifier "lVar2")) () ")")) (compound_statement "{\n    FUN_00129440("../../ld/ldlang.c",0x19f5);\n    lVar2 = *(long *)(param_1 + 0x20);\n  }" ({ "{") (expression_statement "FUN_00129440("../../ld/ldlang.c",0x19f5);" (call_expression "FUN_00129440("../../ld/ldlang.c",0x19f5)" (identifier "FUN_00129440") (argument_list "("../../ld/ldlang.c",0x19f5)" (( "(") (string_literal ""../../ld/ldlang.c"" (" """) (string_content "../../ld/ldlang.c") (" """)) (, ",") (number_literal "0x19f5") () ")"))) (; ";")) (expression_statement "lVar2 = *(long *)(param_1 + 0x20);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x20)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(param_1 + 0x20)" (* "*") (cast_expression "(long *)(param_1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar1 = DAT_002b272c;" (assignment_expression "uVar1 = DAT_002b272c" (identifier "uVar1") (= "=") (identifier "DAT_002b272c")) (; ";")) (expression_statement "*DAT_002b5fa8 = lVar2;" (assignment_expression "*DAT_002b5fa8 = lVar2" (pointer_expression "*DAT_002b5fa8" (* "*") (identifier "DAT_002b5fa8")) (= "=") (identifier "lVar2")) (; ";")) (expression_statement "DAT_002b5fa8 = (long *)(lVar2 + 0xf0);" (assignment_expression "DAT_002b5fa8 = (long *)(lVar2 + 0xf0)" (identifier "DAT_002b5fa8") (= "=") (cast_expression "(long *)(lVar2 + 0xf0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0xf0)" (( "(") (binary_expression "lVar2 + 0xf0" (identifier "lVar2") (+ "+") (number_literal "0xf0")) () ")")))) (; ";")) (expression_statement "*(long *)(lVar2 + 0x100) = param_1;" (assignment_expression "*(long *)(lVar2 + 0x100) = param_1" (pointer_expression "*(long *)(lVar2 + 0x100)" (* "*") (cast_expression "(long *)(lVar2 + 0x100)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x100)" (( "(") (binary_expression "lVar2 + 0x100" (identifier "lVar2") (+ "+") (number_literal "0x100")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "bfd_set_gp_size(lVar2,uVar1);" (call_expression "bfd_set_gp_size(lVar2,uVar1)" (identifier "bfd_set_gp_size") (argument_list "(lVar2,uVar1)" (( "(") (identifier "lVar2") (, ",") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1);" (call_expression "bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1)" (identifier "bfd_map_over_sections") (argument_list "(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1)" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (identifier "FUN_00117450") (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *entry)

{
  int iVar1;
  type_2 *var_2;
  
  *file_chain.tail = (type_3 *)entry;
  file_chain.tail = &entry->next;
  var_2 = entry->the_bfd;
  if ((var_2->link).next != (type_2 *)0x0) {
    var_1("../../ld/ldlang.c",0x19f4);
    var_2 = entry->the_bfd;
  }
  if (link_info.output_bfd == var_2) {
    var_1("../../ld/ldlang.c",0x19f5);
    var_2 = entry->the_bfd;
  }
  iVar1 = g_switch_value;
  *link_info.input_bfds_tail = var_2;
  link_info.input_bfds_tail = (type_2 **)&var_2->link;
  var_2->usrdata = entry;
  var_3(var_2,iVar1);
  var_4(entry->the_bfd,section_already_linked,entry);
  return;
}


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

void MASKED(long param_1)

{
  undefined4 uVar1;
  long lVar2;
  
  *DAT_002b4c58 = param_1;
  DAT_002b4c58 = (long *)(param_1 + 0x30);
  lVar2 = *(long *)(param_1 + 0x20);
  if (*(long *)(lVar2 + 0xf0) != 0) {
    FUN_00129440("../../ld/ldlang.c",0x19f4);
    lVar2 = *(long *)(param_1 + 0x20);
  }
  if (DAT_002b5f90 == lVar2) {
    FUN_00129440("../../ld/ldlang.c",0x19f5);
    lVar2 = *(long *)(param_1 + 0x20);
  }
  uVar1 = DAT_002b272c;
  *DAT_002b5fa8 = lVar2;
  DAT_002b5fa8 = (long *)(lVar2 + 0xf0);
  *(long *)(lVar2 + 0x100) = param_1;
  bfd_set_gp_size(lVar2,uVar1);
  bfd_map_over_sections(*(undefined8 *)(param_1 + 0x20),FUN_00117450,param_1);
  return;
}

