
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 init_os(lang_output_section_statement_type *s,flagword flags)

{
  char *pcVar1;
  asection *paVar2;
  char *fmt;
  char *pcVar3;
  int iVar4;
  byte *pbVar5;
  byte *pbVar6;
  bool bVar7;
  bool bVar8;
  
  iVar4 = 10;
  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;
  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;
  pbVar5 = (byte *)s->name;
  pbVar6 = (byte *)"/DISCARD/";
  do {
    if (iVar4 == 0) break;
    iVar4 = iVar4 + -1;
    bVar7 = *pbVar5 < *pbVar6;
    bVar8 = *pbVar5 == *pbVar6;
    pbVar5 = pbVar5 + 1;
    pbVar6 = pbVar6 + 1;
  } while (bVar8);
  if ((!bVar7 && !bVar8) == bVar7) {
    pcVar3 = (char *)dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);
    einfo(pcVar3,"/DISCARD/");
  }
  if (s->constraint == 0x17e) {
    paVar2 = s->bfd_section;
  }
  else {
    paVar2 = (asection *)bfd_get_section_by_name(link_info.output_bfd,s->name);
    s->bfd_section = paVar2;
  }
  if (paVar2 == (asection *)0x0) {
    paVar2 = (asection *)bfd_make_section_anyway_with_flags(link_info.output_bfd,s->name,flags);
    s->bfd_section = paVar2;
    if (paVar2 == (asection *)0x0) {
      pcVar3 = s->name;
      pcVar1 = (link_info.output_bfd)->xvec->name;
      fmt = (char *)dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)
      ;
      einfo(fmt,pcVar1,pcVar3);
      paVar2 = s->bfd_section;
    }
  }
  paVar2->output_section = paVar2;
  paVar2->output_offset = 0;
  paVar2->userdata = s;
  if (s->addr_tree != (etree_type *)0x0) {
    exp_init_os(s->addr_tree);
  }
  if (s->load_base != (etree_type *)0x0) {
    exp_init_os(s->load_base);
  }
  if (s->section_alignment != 0xffffffff) {
    s->bfd_section->alignment_power = s->section_alignment;
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 FUN_00023000(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  int iVar4;
  byte *pbVar5;
  byte *pbVar6;
  bool bVar7;
  bool bVar8;
  
  iVar4 = 10;
  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;
  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;
  pbVar5 = *(byte **)(param_1 + 0x18);
  pbVar6 = (byte *)"/DISCARD/";
  do {
    if (iVar4 == 0) break;
    iVar4 = iVar4 + -1;
    bVar7 = *pbVar5 < *pbVar6;
    bVar8 = *pbVar5 == *pbVar6;
    pbVar5 = pbVar5 + 1;
    pbVar6 = pbVar6 + 1;
  } while (bVar8);
  if ((!bVar7 && !bVar8) == bVar7) {
    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);
    FUN_00031760(uVar3,"/DISCARD/");
  }
  if (*(int *)(param_1 + 0x48) == 0x17e) {
    iVar4 = *(int *)(param_1 + 0x1c);
  }
  else {
    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));
    *(int *)(param_1 + 0x1c) = iVar4;
  }
  if (iVar4 == 0) {
    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)
    ;
    *(int *)(param_1 + 0x1c) = iVar4;
    if (iVar4 == 0) {
      uVar3 = *(undefined4 *)(param_1 + 0x18);
      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);
      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);
      FUN_00031760(uVar2,uVar1,uVar3);
      iVar4 = *(int *)(param_1 + 0x1c);
    }
  }
  *(int *)(iVar4 + 0x3c) = iVar4;
  *(undefined4 *)(iVar4 + 0x38) = 0;
  *(int *)(iVar4 + 0x68) = param_1;
  if (*(int *)(param_1 + 0x2c) != 0) {
    FUN_00022f50();
  }
  if (*(int *)(param_1 + 0x30) != 0) {
    FUN_00022f50();
  }
  if (*(int *)(param_1 + 0x44) != -1) {
    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);
  }
  return;
}


PUSH EBP
MOV ECX,0xa
MOV EBP,EAX
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00015a80
ADD EBX,0x6dff0
SUB ESP,0x1c
MOV ESI,dword ptr [EAX + 0x18]
MOV dword ptr [ESP + 0x8],EDX
LEA EDX,[EBX + 0xfffbaf76]
MOV EDI,EDX
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x00023100
CMP dword ptr [EBP + 0x48],0x17e
JNZ 0x00023088
MOV EAX,dword ptr [EBP + 0x1c]
TEST EAX,EAX
JZ 0x000230a6
MOV dword ptr [EAX + 0x3c],EAX
MOV dword ptr [EAX + 0x38],0x0
MOV dword ptr [EAX + 0x68],EBP
MOV EAX,dword ptr [EBP + 0x2c]
TEST EAX,EAX
JZ 0x00023060
CALL 0x00022f50
MOV EAX,dword ptr [EBP + 0x30]
TEST EAX,EAX
JZ 0x0002306c
CALL 0x00022f50
MOV EAX,dword ptr [EBP + 0x44]
CMP EAX,-0x1
JZ 0x0002307a
MOV EDX,dword ptr [EBP + 0x1c]
MOV dword ptr [EDX + 0x40],EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xc20]
SUB ESP,0x8
PUSH dword ptr [EBP + 0x18]
PUSH dword ptr [EAX + 0x30]
CALL 0x00014500
ADD ESP,0x10
MOV dword ptr [EBP + 0x1c],EAX
TEST EAX,EAX
JNZ 0x00023047
LEA ESI,[EBX + 0xc20]
SUB ESP,0x4
PUSH dword ptr [ESP + 0xc]
PUSH dword ptr [EBP + 0x18]
PUSH dword ptr [ESI + 0x30]
CALL 0x00014210
ADD ESP,0x10
MOV dword ptr [EBP + 0x1c],EAX
TEST EAX,EAX
JNZ 0x00023047
MOV EAX,dword ptr [ESI + 0x30]
SUB ESP,0x4
MOV EDI,dword ptr [EBP + 0x18]
MOV EAX,dword ptr [EAX + 0x4]
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xfffbb6d8]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000142f0
ADD ESP,0xc
PUSH EDI
PUSH ESI
PUSH EAX
CALL 0x00031760
MOV EAX,dword ptr [EBP + 0x1c]
ADD ESP,0x10
JMP 0x00023047
MOV dword ptr [ESP + 0xc],EDX
LEA EAX,[EBX + 0xfffbb6b4]
SUB ESP,0x4
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000142f0
POP EDX
POP ECX
MOV EDX,dword ptr [ESP + 0x14]
PUSH EDX
PUSH EAX
CALL 0x00031760
ADD ESP,0x10
JMP 0x00023037
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00023000(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  \n  iVar4 = 10;\n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;\n  pbVar5 = *(byte **)(param_1 + 0x18);\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);\n  if ((!bVar7 && !bVar8) == bVar7) {\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x48) == 0x17e) {\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }\n  else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }\n  if (iVar4 == 0) {\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }\n  *(int *)(iVar4 + 0x3c) = iVar4;\n  *(undefined4 *)(iVar4 + 0x38) = 0;\n  *(int *)(iVar4 + 0x68) = param_1;\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x30) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x44) != -1) {\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00023000(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  \n  iVar4 = 10;\n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;\n  pbVar5 = *(byte **)(param_1 + 0x18);\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);\n  if ((!bVar7 && !bVar8) == bVar7) {\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x48) == 0x17e) {\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }\n  else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }\n  if (iVar4 == 0) {\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }\n  *(int *)(iVar4 + 0x3c) = iVar4;\n  *(undefined4 *)(iVar4 + 0x38) = 0;\n  *(int *)(iVar4 + 0x68) = param_1;\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x30) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x44) != -1) {\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00023000(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  \n  iVar4 = 10;\n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;\n  pbVar5 = *(byte **)(param_1 + 0x18);\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);\n  if ((!bVar7 && !bVar8) == bVar7) {\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x48) == 0x17e) {\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }\n  else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }\n  if (iVar4 == 0) {\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }\n  *(int *)(iVar4 + 0x3c) = iVar4;\n  *(undefined4 *)(iVar4 + 0x38) = 0;\n  *(int *)(iVar4 + 0x68) = param_1;\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x30) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x44) != -1) {\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (expression_statement "iVar4 = 10;" (assignment_expression "iVar4 = 10" identifier = number_literal) ;) (expression_statement "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;" (assignment_expression "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0x1c" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0x1c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar8 = &stack0x00000000 == (undefined1 *)0x2c;" (assignment_expression "bVar8 = &stack0x00000000 == (undefined1 *)0x2c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x2c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x2c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pbVar5 = *(byte **)(param_1 + 0x18);" (assignment_expression "pbVar5 = *(byte **)(param_1 + 0x18)" identifier = (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "pbVar6 = (byte *)"/DISCARD/";" (assignment_expression "pbVar6 = (byte *)"/DISCARD/"" identifier = (cast_expression "(byte *)"/DISCARD/"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""/DISCARD/"" " string_content "))) ;) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);" do (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar7 = *pbVar5 < *pbVar6;" (assignment_expression "bVar7 = *pbVar5 < *pbVar6" identifier = (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar8 = *pbVar5 == *pbVar6;" (assignment_expression "bVar8 = *pbVar5 == *pbVar6" identifier = (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar8)" ( identifier )) ;) (if_statement "if ((!bVar7 && !bVar8) == bVar7) {\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }" if (parenthesized_expression "((!bVar7 && !bVar8) == bVar7)" ( (binary_expression "(!bVar7 && !bVar8) == bVar7" (parenthesized_expression "(!bVar7 && !bVar8)" ( (binary_expression "!bVar7 && !bVar8" (unary_expression "!bVar7" ! identifier) && (unary_expression "!bVar8" ! identifier)) )) == identifier) )) (compound_statement "{\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }" { (expression_statement "uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: illegal use of `%s\' section\n",5)" identifier (argument_list "(0,"%F%P: illegal use of `%s\' section\n",5)" ( number_literal , (string_literal ""%F%P: illegal use of `%s\' section\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00031760(uVar3,"/DISCARD/");" (call_expression "FUN_00031760(uVar3,"/DISCARD/")" identifier (argument_list "(uVar3,"/DISCARD/")" ( identifier , (string_literal ""/DISCARD/"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x48) == 0x17e) {\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }\n  else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x48) == 0x17e)" ( (binary_expression "*(int *)(param_1 + 0x48) == 0x17e" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }" { (expression_statement "iVar4 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }" else (compound_statement "{\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }" { (expression_statement "iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));" (assignment_expression "iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18))" identifier = (call_expression "bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18))" identifier (argument_list "(DAT_00091c50,*(undefined4 *)(param_1 + 0x18))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) )))) ;) (expression_statement "*(int *)(param_1 + 0x1c) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar4" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) }))) (if_statement "if (iVar4 == 0) {\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }" { (expression_statement "iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;" (assignment_expression "iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)" identifier = (call_expression "bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)" identifier (argument_list "(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "*(int *)(param_1 + 0x1c) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar4" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }" { (expression_statement "uVar3 = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = **(undefined4 **)(DAT_00091c50 + 4);" (assignment_expression "uVar1 = **(undefined4 **)(DAT_00091c50 + 4)" identifier = (pointer_expression "**(undefined4 **)(DAT_00091c50 + 4)" * (pointer_expression "*(undefined4 **)(DAT_00091c50 + 4)" * (cast_expression "(undefined4 **)(DAT_00091c50 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00091c50 + 4)" ( (binary_expression "DAT_00091c50 + 4" identifier + number_literal) )))))) ;) (expression_statement "uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" identifier (argument_list "(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" ( number_literal , (string_literal ""%F%P: output format %s cannot represent section called %s: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00031760(uVar2,uVar1,uVar3);" (call_expression "FUN_00031760(uVar2,uVar1,uVar3)" identifier (argument_list "(uVar2,uVar1,uVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar4 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) })) })) (expression_statement "*(int *)(iVar4 + 0x3c) = iVar4;" (assignment_expression "*(int *)(iVar4 + 0x3c) = iVar4" (pointer_expression "*(int *)(iVar4 + 0x3c)" * (cast_expression "(int *)(iVar4 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x38) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x38) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x38)" * (cast_expression "(undefined4 *)(iVar4 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar4 + 0x68) = param_1;" (assignment_expression "*(int *)(iVar4 + 0x68) = param_1" (pointer_expression "*(int *)(iVar4 + 0x68)" * (cast_expression "(int *)(iVar4 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x68)" ( (binary_expression "iVar4 + 0x68" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)(param_1 + 0x2c) != 0) {\n    FUN_00022f50();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x2c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x2c) != 0" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00022f50();\n  }" { (expression_statement "FUN_00022f50();" (call_expression "FUN_00022f50()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x30) != 0) {\n    FUN_00022f50();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x30) != 0)" ( (binary_expression "*(int *)(param_1 + 0x30) != 0" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00022f50();\n  }" { (expression_statement "FUN_00022f50();" (call_expression "FUN_00022f50()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x44) != -1) {\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x44) != -1)" ( (binary_expression "*(int *)(param_1 + 0x44) != -1" (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }" { (expression_statement "*(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);" (assignment_expression "*(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44)" (pointer_expression "*(int *)(*(int *)(param_1 + 0x1c) + 0x40)" * (cast_expression "(int *)(*(int *)(param_1 + 0x1c) + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + 0x40)" ( (binary_expression "*(int *)(param_1 + 0x1c) + 0x40" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 init_os(lang_output_section_statement_type *s,flagword flags)\n\n{\n  char *pcVar1;\n  asection *paVar2;\n  char *fmt;\n  char *pcVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  \n  iVar4 = 10;\n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;\n  pbVar5 = (byte *)s->name;\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);\n  if ((!bVar7 && !bVar8) == bVar7) {\n    pcVar3 = (char *)dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    einfo(pcVar3,"/DISCARD/");\n  }\n  if (s->constraint == 0x17e) {\n    paVar2 = s->bfd_section;\n  }\n  else {\n    paVar2 = (asection *)bfd_get_section_by_name(link_info.output_bfd,s->name);\n    s->bfd_section = paVar2;\n  }\n  if (paVar2 == (asection *)0x0) {\n    paVar2 = (asection *)bfd_make_section_anyway_with_flags(link_info.output_bfd,s->name,flags);\n    s->bfd_section = paVar2;\n    if (paVar2 == (asection *)0x0) {\n      pcVar3 = s->name;\n      pcVar1 = (link_info.output_bfd)->xvec->name;\n      fmt = (char *)dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)\n      ;\n      einfo(fmt,pcVar1,pcVar3);\n      paVar2 = s->bfd_section;\n    }\n  }\n  paVar2->output_section = paVar2;\n  paVar2->output_offset = 0;\n  paVar2->userdata = s;\n  if (s->addr_tree != (etree_type *)0x0) {\n    exp_init_os(s->addr_tree);\n  }\n  if (s->load_base != (etree_type *)0x0) {\n    exp_init_os(s->load_base);\n  }\n  if (s->section_alignment != 0xffffffff) {\n    s->bfd_section->alignment_power = s->section_alignment;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 init_os(lang_output_section_statement_type *s,flagword flags)\n\n{\n  char *pcVar1;\n  asection *paVar2;\n  char *fmt;\n  char *pcVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  \n  iVar4 = 10;\n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;\n  pbVar5 = (byte *)s->name;\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);\n  if ((!bVar7 && !bVar8) == bVar7) {\n    pcVar3 = (char *)dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    einfo(pcVar3,"/DISCARD/");\n  }\n  if (s->constraint == 0x17e) {\n    paVar2 = s->bfd_section;\n  }\n  else {\n    paVar2 = (asection *)bfd_get_section_by_name(link_info.output_bfd,s->name);\n    s->bfd_section = paVar2;\n  }\n  if (paVar2 == (asection *)0x0) {\n    paVar2 = (asection *)bfd_make_section_anyway_with_flags(link_info.output_bfd,s->name,flags);\n    s->bfd_section = paVar2;\n    if (paVar2 == (asection *)0x0) {\n      pcVar3 = s->name;\n      pcVar1 = (link_info.output_bfd)->xvec->name;\n      fmt = (char *)dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)\n      ;\n      einfo(fmt,pcVar1,pcVar3);\n      paVar2 = s->bfd_section;\n    }\n  }\n  paVar2->output_section = paVar2;\n  paVar2->output_offset = 0;\n  paVar2->userdata = s;\n  if (s->addr_tree != (etree_type *)0x0) {\n    exp_init_os(s->addr_tree);\n  }\n  if (s->load_base != (etree_type *)0x0) {\n    exp_init_os(s->load_base);\n  }\n  if (s->section_alignment != 0xffffffff) {\n    s->bfd_section->alignment_power = s->section_alignment;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "init_os(lang_output_section_statement_type *s,flagword flags)" identifier (parameter_list "(lang_output_section_statement_type *s,flagword flags)" ( (parameter_declaration "lang_output_section_statement_type *s" type_identifier (pointer_declarator "*s" * identifier)) , (parameter_declaration "flagword flags" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  asection *paVar2;\n  char *fmt;\n  char *pcVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  \n  iVar4 = 10;\n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;\n  pbVar5 = (byte *)s->name;\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);\n  if ((!bVar7 && !bVar8) == bVar7) {\n    pcVar3 = (char *)dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    einfo(pcVar3,"/DISCARD/");\n  }\n  if (s->constraint == 0x17e) {\n    paVar2 = s->bfd_section;\n  }\n  else {\n    paVar2 = (asection *)bfd_get_section_by_name(link_info.output_bfd,s->name);\n    s->bfd_section = paVar2;\n  }\n  if (paVar2 == (asection *)0x0) {\n    paVar2 = (asection *)bfd_make_section_anyway_with_flags(link_info.output_bfd,s->name,flags);\n    s->bfd_section = paVar2;\n    if (paVar2 == (asection *)0x0) {\n      pcVar3 = s->name;\n      pcVar1 = (link_info.output_bfd)->xvec->name;\n      fmt = (char *)dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)\n      ;\n      einfo(fmt,pcVar1,pcVar3);\n      paVar2 = s->bfd_section;\n    }\n  }\n  paVar2->output_section = paVar2;\n  paVar2->output_offset = 0;\n  paVar2->userdata = s;\n  if (s->addr_tree != (etree_type *)0x0) {\n    exp_init_os(s->addr_tree);\n  }\n  if (s->load_base != (etree_type *)0x0) {\n    exp_init_os(s->load_base);\n  }\n  if (s->section_alignment != 0xffffffff) {\n    s->bfd_section->alignment_power = s->section_alignment;\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "asection *paVar2;" type_identifier (pointer_declarator "*paVar2" * identifier) ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (expression_statement "iVar4 = 10;" (assignment_expression "iVar4 = 10" identifier = number_literal) ;) (expression_statement "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;" (assignment_expression "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0x1c" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0x1c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar8 = &stack0x00000000 == (undefined1 *)0x2c;" (assignment_expression "bVar8 = &stack0x00000000 == (undefined1 *)0x2c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x2c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x2c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pbVar5 = (byte *)s->name;" (assignment_expression "pbVar5 = (byte *)s->name" identifier = (cast_expression "(byte *)s->name" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "s->name" identifier -> field_identifier))) ;) (expression_statement "pbVar6 = (byte *)"/DISCARD/";" (assignment_expression "pbVar6 = (byte *)"/DISCARD/"" identifier = (cast_expression "(byte *)"/DISCARD/"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""/DISCARD/"" " string_content "))) ;) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);" do (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar7 = *pbVar5 < *pbVar6;" (assignment_expression "bVar7 = *pbVar5 < *pbVar6" identifier = (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar8 = *pbVar5 == *pbVar6;" (assignment_expression "bVar8 = *pbVar5 == *pbVar6" identifier = (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar8)" ( identifier )) ;) (if_statement "if ((!bVar7 && !bVar8) == bVar7) {\n    pcVar3 = (char *)dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    einfo(pcVar3,"/DISCARD/");\n  }" if (parenthesized_expression "((!bVar7 && !bVar8) == bVar7)" ( (binary_expression "(!bVar7 && !bVar8) == bVar7" (parenthesized_expression "(!bVar7 && !bVar8)" ( (binary_expression "!bVar7 && !bVar8" (unary_expression "!bVar7" ! identifier) && (unary_expression "!bVar8" ! identifier)) )) == identifier) )) (compound_statement "{\n    pcVar3 = (char *)dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    einfo(pcVar3,"/DISCARD/");\n  }" { (expression_statement "pcVar3 = (char *)dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"%F%P: illegal use of `%s\' section\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%P: illegal use of `%s\' section\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%P: illegal use of `%s\' section\n",5)" identifier (argument_list "(0,"%F%P: illegal use of `%s\' section\n",5)" ( number_literal , (string_literal ""%F%P: illegal use of `%s\' section\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar3,"/DISCARD/");" (call_expression "einfo(pcVar3,"/DISCARD/")" identifier (argument_list "(pcVar3,"/DISCARD/")" ( identifier , (string_literal ""/DISCARD/"" " string_content ") ))) ;) })) (if_statement "if (s->constraint == 0x17e) {\n    paVar2 = s->bfd_section;\n  }\n  else {\n    paVar2 = (asection *)bfd_get_section_by_name(link_info.output_bfd,s->name);\n    s->bfd_section = paVar2;\n  }" if (parenthesized_expression "(s->constraint == 0x17e)" ( (binary_expression "s->constraint == 0x17e" (field_expression "s->constraint" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    paVar2 = s->bfd_section;\n  }" { (expression_statement "paVar2 = s->bfd_section;" (assignment_expression "paVar2 = s->bfd_section" identifier = (field_expression "s->bfd_section" identifier -> field_identifier)) ;) }) (else_clause "else {\n    paVar2 = (asection *)bfd_get_section_by_name(link_info.output_bfd,s->name);\n    s->bfd_section = paVar2;\n  }" else (compound_statement "{\n    paVar2 = (asection *)bfd_get_section_by_name(link_info.output_bfd,s->name);\n    s->bfd_section = paVar2;\n  }" { (expression_statement "paVar2 = (asection *)bfd_get_section_by_name(link_info.output_bfd,s->name);" (assignment_expression "paVar2 = (asection *)bfd_get_section_by_name(link_info.output_bfd,s->name)" identifier = (cast_expression "(asection *)bfd_get_section_by_name(link_info.output_bfd,s->name)" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_get_section_by_name(link_info.output_bfd,s->name)" identifier (argument_list "(link_info.output_bfd,s->name)" ( (field_expression "link_info.output_bfd" identifier . field_identifier) , (field_expression "s->name" identifier -> field_identifier) ))))) ;) (expression_statement "s->bfd_section = paVar2;" (assignment_expression "s->bfd_section = paVar2" (field_expression "s->bfd_section" identifier -> field_identifier) = identifier) ;) }))) (if_statement "if (paVar2 == (asection *)0x0) {\n    paVar2 = (asection *)bfd_make_section_anyway_with_flags(link_info.output_bfd,s->name,flags);\n    s->bfd_section = paVar2;\n    if (paVar2 == (asection *)0x0) {\n      pcVar3 = s->name;\n      pcVar1 = (link_info.output_bfd)->xvec->name;\n      fmt = (char *)dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)\n      ;\n      einfo(fmt,pcVar1,pcVar3);\n      paVar2 = s->bfd_section;\n    }\n  }" if (parenthesized_expression "(paVar2 == (asection *)0x0)" ( (binary_expression "paVar2 == (asection *)0x0" identifier == (cast_expression "(asection *)0x0" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    paVar2 = (asection *)bfd_make_section_anyway_with_flags(link_info.output_bfd,s->name,flags);\n    s->bfd_section = paVar2;\n    if (paVar2 == (asection *)0x0) {\n      pcVar3 = s->name;\n      pcVar1 = (link_info.output_bfd)->xvec->name;\n      fmt = (char *)dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)\n      ;\n      einfo(fmt,pcVar1,pcVar3);\n      paVar2 = s->bfd_section;\n    }\n  }" { (expression_statement "paVar2 = (asection *)bfd_make_section_anyway_with_flags(link_info.output_bfd,s->name,flags);" (assignment_expression "paVar2 = (asection *)bfd_make_section_anyway_with_flags(link_info.output_bfd,s->name,flags)" identifier = (cast_expression "(asection *)bfd_make_section_anyway_with_flags(link_info.output_bfd,s->name,flags)" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_make_section_anyway_with_flags(link_info.output_bfd,s->name,flags)" identifier (argument_list "(link_info.output_bfd,s->name,flags)" ( (field_expression "link_info.output_bfd" identifier . field_identifier) , (field_expression "s->name" identifier -> field_identifier) , identifier ))))) ;) (expression_statement "s->bfd_section = paVar2;" (assignment_expression "s->bfd_section = paVar2" (field_expression "s->bfd_section" identifier -> field_identifier) = identifier) ;) (if_statement "if (paVar2 == (asection *)0x0) {\n      pcVar3 = s->name;\n      pcVar1 = (link_info.output_bfd)->xvec->name;\n      fmt = (char *)dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)\n      ;\n      einfo(fmt,pcVar1,pcVar3);\n      paVar2 = s->bfd_section;\n    }" if (parenthesized_expression "(paVar2 == (asection *)0x0)" ( (binary_expression "paVar2 == (asection *)0x0" identifier == (cast_expression "(asection *)0x0" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar3 = s->name;\n      pcVar1 = (link_info.output_bfd)->xvec->name;\n      fmt = (char *)dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)\n      ;\n      einfo(fmt,pcVar1,pcVar3);\n      paVar2 = s->bfd_section;\n    }" { (expression_statement "pcVar3 = s->name;" (assignment_expression "pcVar3 = s->name" identifier = (field_expression "s->name" identifier -> field_identifier)) ;) (expression_statement "pcVar1 = (link_info.output_bfd)->xvec->name;" (assignment_expression "pcVar1 = (link_info.output_bfd)->xvec->name" identifier = (field_expression "(link_info.output_bfd)->xvec->name" (field_expression "(link_info.output_bfd)->xvec" (parenthesized_expression "(link_info.output_bfd)" ( (field_expression "link_info.output_bfd" identifier . field_identifier) )) -> field_identifier) -> field_identifier)) ;) (expression_statement "fmt = (char *)dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)\n      ;" (assignment_expression "fmt = (char *)dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" identifier (argument_list "(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" ( number_literal , (string_literal ""%F%P: output format %s cannot represent section called %s: %E\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt,pcVar1,pcVar3);" (call_expression "einfo(fmt,pcVar1,pcVar3)" identifier (argument_list "(fmt,pcVar1,pcVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "paVar2 = s->bfd_section;" (assignment_expression "paVar2 = s->bfd_section" identifier = (field_expression "s->bfd_section" identifier -> field_identifier)) ;) })) })) (expression_statement "paVar2->output_section = paVar2;" (assignment_expression "paVar2->output_section = paVar2" (field_expression "paVar2->output_section" identifier -> field_identifier) = identifier) ;) (expression_statement "paVar2->output_offset = 0;" (assignment_expression "paVar2->output_offset = 0" (field_expression "paVar2->output_offset" identifier -> field_identifier) = number_literal) ;) (expression_statement "paVar2->userdata = s;" (assignment_expression "paVar2->userdata = s" (field_expression "paVar2->userdata" identifier -> field_identifier) = identifier) ;) (if_statement "if (s->addr_tree != (etree_type *)0x0) {\n    exp_init_os(s->addr_tree);\n  }" if (parenthesized_expression "(s->addr_tree != (etree_type *)0x0)" ( (binary_expression "s->addr_tree != (etree_type *)0x0" (field_expression "s->addr_tree" identifier -> field_identifier) != (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    exp_init_os(s->addr_tree);\n  }" { (expression_statement "exp_init_os(s->addr_tree);" (call_expression "exp_init_os(s->addr_tree)" identifier (argument_list "(s->addr_tree)" ( (field_expression "s->addr_tree" identifier -> field_identifier) ))) ;) })) (if_statement "if (s->load_base != (etree_type *)0x0) {\n    exp_init_os(s->load_base);\n  }" if (parenthesized_expression "(s->load_base != (etree_type *)0x0)" ( (binary_expression "s->load_base != (etree_type *)0x0" (field_expression "s->load_base" identifier -> field_identifier) != (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    exp_init_os(s->load_base);\n  }" { (expression_statement "exp_init_os(s->load_base);" (call_expression "exp_init_os(s->load_base)" identifier (argument_list "(s->load_base)" ( (field_expression "s->load_base" identifier -> field_identifier) ))) ;) })) (if_statement "if (s->section_alignment != 0xffffffff) {\n    s->bfd_section->alignment_power = s->section_alignment;\n  }" if (parenthesized_expression "(s->section_alignment != 0xffffffff)" ( (binary_expression "s->section_alignment != 0xffffffff" (field_expression "s->section_alignment" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    s->bfd_section->alignment_power = s->section_alignment;\n  }" { (expression_statement "s->bfd_section->alignment_power = s->section_alignment;" (assignment_expression "s->bfd_section->alignment_power = s->section_alignment" (field_expression "s->bfd_section->alignment_power" (field_expression "s->bfd_section" identifier -> field_identifier) -> field_identifier) = (field_expression "s->section_alignment" identifier -> field_identifier)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00023000(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  \n  iVar4 = 10;\n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;\n  pbVar5 = *(byte **)(param_1 + 0x18);\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);\n  if ((!bVar7 && !bVar8) == bVar7) {\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x48) == 0x17e) {\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }\n  else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }\n  if (iVar4 == 0) {\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }\n  *(int *)(iVar4 + 0x3c) = iVar4;\n  *(undefined4 *)(iVar4 + 0x38) = 0;\n  *(int *)(iVar4 + 0x68) = param_1;\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x30) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x44) != -1) {\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00023000(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  \n  iVar4 = 10;\n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;\n  pbVar5 = *(byte **)(param_1 + 0x18);\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);\n  if ((!bVar7 && !bVar8) == bVar7) {\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x48) == 0x17e) {\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }\n  else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }\n  if (iVar4 == 0) {\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }\n  *(int *)(iVar4 + 0x3c) = iVar4;\n  *(undefined4 *)(iVar4 + 0x38) = 0;\n  *(int *)(iVar4 + 0x68) = param_1;\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x30) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x44) != -1) {\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00023000(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  \n  iVar4 = 10;\n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;\n  pbVar5 = *(byte **)(param_1 + 0x18);\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);\n  if ((!bVar7 && !bVar8) == bVar7) {\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x48) == 0x17e) {\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }\n  else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }\n  if (iVar4 == 0) {\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }\n  *(int *)(iVar4 + 0x3c) = iVar4;\n  *(undefined4 *)(iVar4 + 0x38) = 0;\n  *(int *)(iVar4 + 0x68) = param_1;\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x30) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x44) != -1) {\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (expression_statement "iVar4 = 10;" (assignment_expression "iVar4 = 10" identifier = number_literal) ;) (expression_statement "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;" (assignment_expression "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0x1c" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0x1c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar8 = &stack0x00000000 == (undefined1 *)0x2c;" (assignment_expression "bVar8 = &stack0x00000000 == (undefined1 *)0x2c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x2c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x2c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pbVar5 = *(byte **)(param_1 + 0x18);" (assignment_expression "pbVar5 = *(byte **)(param_1 + 0x18)" identifier = (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "pbVar6 = (byte *)"/DISCARD/";" (assignment_expression "pbVar6 = (byte *)"/DISCARD/"" identifier = (cast_expression "(byte *)"/DISCARD/"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""/DISCARD/"" " string_content "))) ;) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);" do (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  }" { (if_statement "if (iVar4 == 0) break;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar7 = *pbVar5 < *pbVar6;" (assignment_expression "bVar7 = *pbVar5 < *pbVar6" identifier = (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "bVar8 = *pbVar5 == *pbVar6;" (assignment_expression "bVar8 = *pbVar5 == *pbVar6" identifier = (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" * identifier) == (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar8)" ( identifier )) ;) (if_statement "if ((!bVar7 && !bVar8) == bVar7) {\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }" if (parenthesized_expression "((!bVar7 && !bVar8) == bVar7)" ( (binary_expression "(!bVar7 && !bVar8) == bVar7" (parenthesized_expression "(!bVar7 && !bVar8)" ( (binary_expression "!bVar7 && !bVar8" (unary_expression "!bVar7" ! identifier) && (unary_expression "!bVar8" ! identifier)) )) == identifier) )) (compound_statement "{\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }" { (expression_statement "uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: illegal use of `%s\' section\n",5)" identifier (argument_list "(0,"%F%P: illegal use of `%s\' section\n",5)" ( number_literal , (string_literal ""%F%P: illegal use of `%s\' section\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00031760(uVar3,"/DISCARD/");" (call_expression "FUN_00031760(uVar3,"/DISCARD/")" identifier (argument_list "(uVar3,"/DISCARD/")" ( identifier , (string_literal ""/DISCARD/"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x48) == 0x17e) {\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }\n  else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x48) == 0x17e)" ( (binary_expression "*(int *)(param_1 + 0x48) == 0x17e" (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }" { (expression_statement "iVar4 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }" else (compound_statement "{\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }" { (expression_statement "iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));" (assignment_expression "iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18))" identifier = (call_expression "bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18))" identifier (argument_list "(DAT_00091c50,*(undefined4 *)(param_1 + 0x18))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) )))) ;) (expression_statement "*(int *)(param_1 + 0x1c) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar4" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) }))) (if_statement "if (iVar4 == 0) {\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }" { (expression_statement "iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;" (assignment_expression "iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)" identifier = (call_expression "bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)" identifier (argument_list "(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "*(int *)(param_1 + 0x1c) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar4" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }" { (expression_statement "uVar3 = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = **(undefined4 **)(DAT_00091c50 + 4);" (assignment_expression "uVar1 = **(undefined4 **)(DAT_00091c50 + 4)" identifier = (pointer_expression "**(undefined4 **)(DAT_00091c50 + 4)" * (pointer_expression "*(undefined4 **)(DAT_00091c50 + 4)" * (cast_expression "(undefined4 **)(DAT_00091c50 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00091c50 + 4)" ( (binary_expression "DAT_00091c50 + 4" identifier + number_literal) )))))) ;) (expression_statement "uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" identifier (argument_list "(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" ( number_literal , (string_literal ""%F%P: output format %s cannot represent section called %s: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00031760(uVar2,uVar1,uVar3);" (call_expression "FUN_00031760(uVar2,uVar1,uVar3)" identifier (argument_list "(uVar2,uVar1,uVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar4 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) })) })) (expression_statement "*(int *)(iVar4 + 0x3c) = iVar4;" (assignment_expression "*(int *)(iVar4 + 0x3c) = iVar4" (pointer_expression "*(int *)(iVar4 + 0x3c)" * (cast_expression "(int *)(iVar4 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x38) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x38) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x38)" * (cast_expression "(undefined4 *)(iVar4 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar4 + 0x68) = param_1;" (assignment_expression "*(int *)(iVar4 + 0x68) = param_1" (pointer_expression "*(int *)(iVar4 + 0x68)" * (cast_expression "(int *)(iVar4 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x68)" ( (binary_expression "iVar4 + 0x68" identifier + number_literal) )))) = identifier) ;) (if_statement "if (*(int *)(param_1 + 0x2c) != 0) {\n    FUN_00022f50();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x2c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x2c) != 0" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00022f50();\n  }" { (expression_statement "FUN_00022f50();" (call_expression "FUN_00022f50()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x30) != 0) {\n    FUN_00022f50();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x30) != 0)" ( (binary_expression "*(int *)(param_1 + 0x30) != 0" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00022f50();\n  }" { (expression_statement "FUN_00022f50();" (call_expression "FUN_00022f50()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x44) != -1) {\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x44) != -1)" ( (binary_expression "*(int *)(param_1 + 0x44) != -1" (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }" { (expression_statement "*(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);" (assignment_expression "*(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44)" (pointer_expression "*(int *)(*(int *)(param_1 + 0x1c) + 0x40)" * (cast_expression "(int *)(*(int *)(param_1 + 0x1c) + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x1c) + 0x40)" ( (binary_expression "*(int *)(param_1 + 0x1c) + 0x40" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (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 , 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00023000(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  \n  iVar4 = 10;\n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;\n  pbVar5 = *(byte **)(param_1 + 0x18);\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);\n  if ((!bVar7 && !bVar8) == bVar7) {\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x48) == 0x17e) {\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }\n  else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }\n  if (iVar4 == 0) {\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }\n  *(int *)(iVar4 + 0x3c) = iVar4;\n  *(undefined4 *)(iVar4 + 0x38) = 0;\n  *(int *)(iVar4 + 0x68) = param_1;\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x30) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x44) != -1) {\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00023000(int param_1,undefined4 param_2)" (identifier "FUN_00023000") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  bool bVar7;\n  bool bVar8;\n  \n  iVar4 = 10;\n  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;\n  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;\n  pbVar5 = *(byte **)(param_1 + 0x18);\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);\n  if ((!bVar7 && !bVar8) == bVar7) {\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x48) == 0x17e) {\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }\n  else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }\n  if (iVar4 == 0) {\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }\n  *(int *)(iVar4 + 0x3c) = iVar4;\n  *(undefined4 *)(iVar4 + 0x38) = 0;\n  *(int *)(iVar4 + 0x68) = param_1;\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x30) != 0) {\n    FUN_00022f50();\n  }\n  if (*(int *)(param_1 + 0x44) != -1) {\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (declaration "bool bVar8;" (primitive_type "bool") (identifier "bVar8") (; ";")) (expression_statement "iVar4 = 10;" (assignment_expression "iVar4 = 10" (identifier "iVar4") (= "=") (number_literal "10")) (; ";")) (expression_statement "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;" (assignment_expression "bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c" (identifier "bVar7") (= "=") (binary_expression "&stack0xfffffff0 < (undefined1 *)0x1c" (pointer_expression "&stack0xfffffff0" (& "&") (identifier "stack0xfffffff0")) (< "<") (cast_expression "(undefined1 *)0x1c" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1c")))) (; ";")) (expression_statement "bVar8 = &stack0x00000000 == (undefined1 *)0x2c;" (assignment_expression "bVar8 = &stack0x00000000 == (undefined1 *)0x2c" (identifier "bVar8") (= "=") (binary_expression "&stack0x00000000 == (undefined1 *)0x2c" (pointer_expression "&stack0x00000000" (& "&") (identifier "stack0x00000000")) (== "==") (cast_expression "(undefined1 *)0x2c" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x2c")))) (; ";")) (expression_statement "pbVar5 = *(byte **)(param_1 + 0x18);" (assignment_expression "pbVar5 = *(byte **)(param_1 + 0x18)" (identifier "pbVar5") (= "=") (pointer_expression "*(byte **)(param_1 + 0x18)" (* "*") (cast_expression "(byte **)(param_1 + 0x18)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "pbVar6 = (byte *)"/DISCARD/";" (assignment_expression "pbVar6 = (byte *)"/DISCARD/"" (identifier "pbVar6") (= "=") (cast_expression "(byte *)"/DISCARD/"" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""/DISCARD/"" (" """) (string_content "/DISCARD/") (" """)))) (; ";")) (do_statement "do {\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while (bVar8);" (do "do") (compound_statement "{\n    if (iVar4 == 0) break;\n    iVar4 = iVar4 + -1;\n    bVar7 = *pbVar5 < *pbVar6;\n    bVar8 = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  }" ({ "{") (if_statement "if (iVar4 == 0) break;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar7 = *pbVar5 < *pbVar6;" (assignment_expression "bVar7 = *pbVar5 < *pbVar6" (identifier "bVar7") (= "=") (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")) (< "<") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";")) (expression_statement "bVar8 = *pbVar5 == *pbVar6;" (assignment_expression "bVar8 = *pbVar5 == *pbVar6" (identifier "bVar8") (= "=") (binary_expression "*pbVar5 == *pbVar6" (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")) (== "==") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")))) (; ";")) (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar5 + 1" (identifier "pbVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar8)" (( "(") (identifier "bVar8") () ")")) (; ";")) (if_statement "if ((!bVar7 && !bVar8) == bVar7) {\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }" (if "if") (parenthesized_expression "((!bVar7 && !bVar8) == bVar7)" (( "(") (binary_expression "(!bVar7 && !bVar8) == bVar7" (parenthesized_expression "(!bVar7 && !bVar8)" (( "(") (binary_expression "!bVar7 && !bVar8" (unary_expression "!bVar7" (! "!") (identifier "bVar7")) (&& "&&") (unary_expression "!bVar8" (! "!") (identifier "bVar8"))) () ")")) (== "==") (identifier "bVar7")) () ")")) (compound_statement "{\n    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00031760(uVar3,"/DISCARD/");\n  }" ({ "{") (expression_statement "uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"%F%P: illegal use of `%s\' section\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%P: illegal use of `%s\' section\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%P: illegal use of `%s\' section\n"" (" """) (string_content "%F%P: illegal use of `%s") (escape_sequence "\'") (string_content " section") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00031760(uVar3,"/DISCARD/");" (call_expression "FUN_00031760(uVar3,"/DISCARD/")" (identifier "FUN_00031760") (argument_list "(uVar3,"/DISCARD/")" (( "(") (identifier "uVar3") (, ",") (string_literal ""/DISCARD/"" (" """) (string_content "/DISCARD/") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x48) == 0x17e) {\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }\n  else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x48) == 0x17e)" (( "(") (binary_expression "*(int *)(param_1 + 0x48) == 0x17e" (pointer_expression "*(int *)(param_1 + 0x48)" (* "*") (cast_expression "(int *)(param_1 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (== "==") (number_literal "0x17e")) () ")")) (compound_statement "{\n    iVar4 = *(int *)(param_1 + 0x1c);\n  }" ({ "{") (expression_statement "iVar4 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x1c)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }" (else "else") (compound_statement "{\n    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));\n    *(int *)(param_1 + 0x1c) = iVar4;\n  }" ({ "{") (expression_statement "iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));" (assignment_expression "iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18))" (identifier "iVar4") (= "=") (call_expression "bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18))" (identifier "bfd_get_section_by_name") (argument_list "(DAT_00091c50,*(undefined4 *)(param_1 + 0x18))" (( "(") (identifier "DAT_00091c50") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) () ")")))) (; ";")) (expression_statement "*(int *)(param_1 + 0x1c) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar4" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (} "}")))) (if_statement "if (iVar4 == 0) {\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;\n    *(int *)(param_1 + 0x1c) = iVar4;\n    if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }\n  }" ({ "{") (expression_statement "iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)\n    ;" (assignment_expression "iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)" (identifier "iVar4") (= "=") (call_expression "bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)" (identifier "bfd_make_section_anyway_with_flags") (argument_list "(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)" (( "(") (identifier "DAT_00091c50") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*(int *)(param_1 + 0x1c) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar4" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (iVar4 == 0) {\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = *(undefined4 *)(param_1 + 0x18);\n      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);\n      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00031760(uVar2,uVar1,uVar3);\n      iVar4 = *(int *)(param_1 + 0x1c);\n    }" ({ "{") (expression_statement "uVar3 = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 0x18)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "uVar1 = **(undefined4 **)(DAT_00091c50 + 4);" (assignment_expression "uVar1 = **(undefined4 **)(DAT_00091c50 + 4)" (identifier "uVar1") (= "=") (pointer_expression "**(undefined4 **)(DAT_00091c50 + 4)" (* "*") (pointer_expression "*(undefined4 **)(DAT_00091c50 + 4)" (* "*") (cast_expression "(undefined4 **)(DAT_00091c50 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_00091c50 + 4)" (( "(") (binary_expression "DAT_00091c50 + 4" (identifier "DAT_00091c50") (+ "+") (number_literal "4")) () ")")))))) (; ";")) (expression_statement "uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%P: output format %s cannot represent section called %s: %E\n"" (" """) (string_content "%F%P: output format %s cannot represent section called %s: %E") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00031760(uVar2,uVar1,uVar3);" (call_expression "FUN_00031760(uVar2,uVar1,uVar3)" (identifier "FUN_00031760") (argument_list "(uVar2,uVar1,uVar3)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar1") (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "iVar4 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x1c)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (} "}"))) (} "}"))) (expression_statement "*(int *)(iVar4 + 0x3c) = iVar4;" (assignment_expression "*(int *)(iVar4 + 0x3c) = iVar4" (pointer_expression "*(int *)(iVar4 + 0x3c)" (* "*") (cast_expression "(int *)(iVar4 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x3c)" (( "(") (binary_expression "iVar4 + 0x3c" (identifier "iVar4") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x38) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x38) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x38)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x38)" (( "(") (binary_expression "iVar4 + 0x38" (identifier "iVar4") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(iVar4 + 0x68) = param_1;" (assignment_expression "*(int *)(iVar4 + 0x68) = param_1" (pointer_expression "*(int *)(iVar4 + 0x68)" (* "*") (cast_expression "(int *)(iVar4 + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x68)" (( "(") (binary_expression "iVar4 + 0x68" (identifier "iVar4") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (if_statement "if (*(int *)(param_1 + 0x2c) != 0) {\n    FUN_00022f50();\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x2c) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) != 0" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00022f50();\n  }" ({ "{") (expression_statement "FUN_00022f50();" (call_expression "FUN_00022f50()" (identifier "FUN_00022f50") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x30) != 0) {\n    FUN_00022f50();\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x30) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x30) != 0" (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00022f50();\n  }" ({ "{") (expression_statement "FUN_00022f50();" (call_expression "FUN_00022f50()" (identifier "FUN_00022f50") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x44) != -1) {\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x44) != -1)" (( "(") (binary_expression "*(int *)(param_1 + 0x44) != -1" (pointer_expression "*(int *)(param_1 + 0x44)" (* "*") (cast_expression "(int *)(param_1 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")")))) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);\n  }" ({ "{") (expression_statement "*(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);" (assignment_expression "*(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44)" (pointer_expression "*(int *)(*(int *)(param_1 + 0x1c) + 0x40)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x1c) + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x1c) + 0x40)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) + 0x40" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x40")) () ")")))) (= "=") (pointer_expression "*(int *)(param_1 + 0x44)" (* "*") (cast_expression "(int *)(param_1 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 function_1(type_1 *s,type_2 flags)

{
  char *pcVar1;
  type_3 *var_8;
  char *fmt;
  char *pcVar3;
  int var_1;
  type_4 *var_2;
  type_4 *var_3;
  bool var_4;
  bool bVar8;
  
  var_1 = 10;
  var_4 = &stack0xfffffff0 < (type_5 *)0x1c;
  bVar8 = &stack0x00000000 == (type_5 *)0x2c;
  var_2 = (type_4 *)s->name;
  var_3 = (type_4 *)"/DISCARD/";
  do {
    if (var_1 == 0) break;
    var_1 = var_1 + -1;
    var_4 = *var_2 < *var_3;
    bVar8 = *var_2 == *var_3;
    var_2 = var_2 + 1;
    var_3 = var_3 + 1;
  } while (bVar8);
  if ((!var_4 && !bVar8) == var_4) {
    pcVar3 = (char *)var_5(0,"%F%P: illegal use of `%s\' section\n",5);
    var_6(pcVar3,"/DISCARD/");
  }
  if (s->constraint == 0x17e) {
    var_8 = s->bfd_section;
  }
  else {
    var_8 = (type_3 *)var_7(link_info.output_bfd,s->name);
    s->bfd_section = var_8;
  }
  if (var_8 == (type_3 *)0x0) {
    var_8 = (type_3 *)var_9(link_info.output_bfd,s->name,flags);
    s->bfd_section = var_8;
    if (var_8 == (type_3 *)0x0) {
      pcVar3 = s->name;
      pcVar1 = (link_info.output_bfd)->xvec->name;
      fmt = (char *)var_5(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)
      ;
      var_6(fmt,pcVar1,pcVar3);
      var_8 = s->bfd_section;
    }
  }
  var_8->output_section = var_8;
  var_8->output_offset = 0;
  var_8->userdata = s;
  if (s->addr_tree != (type_6 *)0x0) {
    var_10(s->addr_tree);
  }
  if (s->load_base != (type_6 *)0x0) {
    var_10(s->load_base);
  }
  if (s->section_alignment != 0xffffffff) {
    s->bfd_section->alignment_power = s->section_alignment;
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 MASKED(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  int iVar4;
  byte *pbVar5;
  byte *pbVar6;
  bool bVar7;
  bool bVar8;
  
  iVar4 = 10;
  bVar7 = &stack0xfffffff0 < (undefined1 *)0x1c;
  bVar8 = &stack0x00000000 == (undefined1 *)0x2c;
  pbVar5 = *(byte **)(param_1 + 0x18);
  pbVar6 = (byte *)"/DISCARD/";
  do {
    if (iVar4 == 0) break;
    iVar4 = iVar4 + -1;
    bVar7 = *pbVar5 < *pbVar6;
    bVar8 = *pbVar5 == *pbVar6;
    pbVar5 = pbVar5 + 1;
    pbVar6 = pbVar6 + 1;
  } while (bVar8);
  if ((!bVar7 && !bVar8) == bVar7) {
    uVar3 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);
    FUN_00031760(uVar3,"/DISCARD/");
  }
  if (*(int *)(param_1 + 0x48) == 0x17e) {
    iVar4 = *(int *)(param_1 + 0x1c);
  }
  else {
    iVar4 = bfd_get_section_by_name(DAT_00091c50,*(undefined4 *)(param_1 + 0x18));
    *(int *)(param_1 + 0x1c) = iVar4;
  }
  if (iVar4 == 0) {
    iVar4 = bfd_make_section_anyway_with_flags(DAT_00091c50,*(undefined4 *)(param_1 + 0x18),param_2)
    ;
    *(int *)(param_1 + 0x1c) = iVar4;
    if (iVar4 == 0) {
      uVar3 = *(undefined4 *)(param_1 + 0x18);
      uVar1 = **(undefined4 **)(DAT_00091c50 + 4);
      uVar2 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);
      FUN_00031760(uVar2,uVar1,uVar3);
      iVar4 = *(int *)(param_1 + 0x1c);
    }
  }
  *(int *)(iVar4 + 0x3c) = iVar4;
  *(undefined4 *)(iVar4 + 0x38) = 0;
  *(int *)(iVar4 + 0x68) = param_1;
  if (*(int *)(param_1 + 0x2c) != 0) {
    FUN_00022f50();
  }
  if (*(int *)(param_1 + 0x30) != 0) {
    FUN_00022f50();
  }
  if (*(int *)(param_1 + 0x44) != -1) {
    *(int *)(*(int *)(param_1 + 0x1c) + 0x40) = *(int *)(param_1 + 0x44);
  }
  return;
}

