
void init_os(lang_output_section_statement_type *s,flagword flags)

{
  etree_type *exp;
  char *pcVar1;
  asection *paVar2;
  char *fmt;
  char *pcVar3;
  long lVar4;
  byte *pbVar5;
  byte *pbVar6;
  undefined1 in_CF;
  undefined1 in_ZF;
  
  lVar4 = 10;
  pbVar5 = (byte *)s->name;
  pbVar6 = (byte *)"/DISCARD/";
  do {
    if (lVar4 == 0) break;
    lVar4 = lVar4 + -1;
    in_CF = *pbVar5 < *pbVar6;
    in_ZF = *pbVar5 == *pbVar6;
    pbVar5 = pbVar5 + 1;
    pbVar6 = pbVar6 + 1;
  } while ((bool)in_ZF);
  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {
    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;
    }
  }
  exp = s->addr_tree;
  paVar2->output_section = paVar2;
  paVar2->output_offset = 0;
  paVar2->userdata = s;
  if (exp != (etree_type *)0x0) {
    exp_init_os(exp);
  }
  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;
}



void FUN_0011b2c0(long param_1,undefined4 param_2)

{
  long lVar1;
  undefined8 uVar2;
  undefined8 uVar3;
  undefined8 uVar4;
  long lVar5;
  byte *pbVar6;
  byte *pbVar7;
  undefined1 in_CF;
  undefined1 in_ZF;
  
  lVar5 = 10;
  pbVar6 = *(byte **)(param_1 + 0x30);
  pbVar7 = (byte *)"/DISCARD/";
  do {
    if (lVar5 == 0) break;
    lVar5 = lVar5 + -1;
    in_CF = *pbVar6 < *pbVar7;
    in_ZF = *pbVar6 == *pbVar7;
    pbVar6 = pbVar6 + 1;
    pbVar7 = pbVar7 + 1;
  } while ((bool)in_ZF);
  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {
    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);
    FUN_00129380(uVar4,"/DISCARD/");
  }
  if (*(int *)(param_1 + 0x84) == 0x17e) {
    lVar5 = *(long *)(param_1 + 0x38);
  }
  else {
    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));
    *(long *)(param_1 + 0x38) = lVar5;
  }
  if (lVar5 == 0) {
    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)
    ;
    *(long *)(param_1 + 0x38) = lVar5;
    if (lVar5 == 0) {
      uVar4 = *(undefined8 *)(param_1 + 0x30);
      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);
      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);
      FUN_00129380(uVar3,uVar2,uVar4);
      lVar5 = *(long *)(param_1 + 0x38);
    }
  }
  lVar1 = *(long *)(param_1 + 0x58);
  *(long *)(lVar5 + 0x68) = lVar5;
  *(undefined8 *)(lVar5 + 0x60) = 0;
  *(long *)(lVar5 + 0xa8) = param_1;
  if (lVar1 != 0) {
    FUN_0011b210();
  }
  if (*(long *)(param_1 + 0x60) != 0) {
    FUN_0011b210();
  }
  if (*(int *)(param_1 + 0x80) != -1) {
    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);
  }
  return;
}


PUSH R12
LEA R12,[0x16c1a5]
MOV ECX,0xa
PUSH RBP
MOV EBP,ESI
PUSH RBX
MOV RSI,qword ptr [RDI + 0x30]
MOV RBX,RDI
MOV RDI,R12
CMPSB.REPE RDI,RSI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x0011b3d0
CMP dword ptr [RBX + 0x84],0x17e
JNZ 0x0011b350
MOV RAX,qword ptr [RBX + 0x38]
TEST RAX,RAX
JZ 0x0011b369
MOV RDI,qword ptr [RBX + 0x58]
MOV qword ptr [RAX + 0x68],RAX
MOV qword ptr [RAX + 0x60],0x0
MOV qword ptr [RAX + 0xa8],RBX
TEST RDI,RDI
JZ 0x0011b321
CALL 0x0011b210
MOV RDI,qword ptr [RBX + 0x60]
TEST RDI,RDI
JZ 0x0011b32f
CALL 0x0011b210
MOV EAX,dword ptr [RBX + 0x80]
CMP EAX,-0x1
JZ 0x0011b341
MOV RDX,qword ptr [RBX + 0x38]
MOV dword ptr [RDX + 0x70],EAX
POP RBX
POP RBP
POP R12
RET
MOV RSI,qword ptr [RBX + 0x30]
MOV RDI,qword ptr [0x002b5f90]
CALL 0x0010d550
MOV qword ptr [RBX + 0x38],RAX
TEST RAX,RAX
JNZ 0x0011b300
MOV RSI,qword ptr [RBX + 0x30]
MOV RDI,qword ptr [0x002b5f90]
MOV EDX,EBP
CALL 0x0010d250
MOV qword ptr [RBX + 0x38],RAX
TEST RAX,RAX
JNZ 0x0011b300
MOV RAX,qword ptr [0x002b5f90]
MOV R12,qword ptr [RBX + 0x30]
MOV EDX,0x5
XOR EDI,EDI
LEA RSI,[0x16c928]
MOV RAX,qword ptr [RAX + 0x8]
MOV RBP,qword ptr [RAX]
CALL 0x0010d300
MOV RDX,R12
MOV RDI,RAX
MOV RSI,RBP
XOR EAX,EAX
CALL 0x00129380
MOV RAX,qword ptr [RBX + 0x38]
JMP 0x0011b300
XOR EDI,EDI
MOV EDX,0x5
LEA RSI,[0x16c900]
CALL 0x0010d300
MOV RSI,R12
MOV RDI,RAX
XOR EAX,EAX
CALL 0x00129380
JMP 0x0011b2eb
(translation_unit "void FUN_0011b2c0(long param_1,undefined4 param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  long lVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  undefined1 in_CF;\n  undefined1 in_ZF;\n  \n  lVar5 = 10;\n  pbVar6 = *(byte **)(param_1 + 0x30);\n  pbVar7 = (byte *)"/DISCARD/";\n  do {\n    if (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while ((bool)in_ZF);\n  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x84) == 0x17e) {\n    lVar5 = *(long *)(param_1 + 0x38);\n  }\n  else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }\n  if (lVar5 == 0) {\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }\n  lVar1 = *(long *)(param_1 + 0x58);\n  *(long *)(lVar5 + 0x68) = lVar5;\n  *(undefined8 *)(lVar5 + 0x60) = 0;\n  *(long *)(lVar5 + 0xa8) = param_1;\n  if (lVar1 != 0) {\n    FUN_0011b210();\n  }\n  if (*(long *)(param_1 + 0x60) != 0) {\n    FUN_0011b210();\n  }\n  if (*(int *)(param_1 + 0x80) != -1) {\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0011b2c0(long param_1,undefined4 param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  long lVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  undefined1 in_CF;\n  undefined1 in_ZF;\n  \n  lVar5 = 10;\n  pbVar6 = *(byte **)(param_1 + 0x30);\n  pbVar7 = (byte *)"/DISCARD/";\n  do {\n    if (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while ((bool)in_ZF);\n  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x84) == 0x17e) {\n    lVar5 = *(long *)(param_1 + 0x38);\n  }\n  else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }\n  if (lVar5 == 0) {\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }\n  lVar1 = *(long *)(param_1 + 0x58);\n  *(long *)(lVar5 + 0x68) = lVar5;\n  *(undefined8 *)(lVar5 + 0x60) = 0;\n  *(long *)(lVar5 + 0xa8) = param_1;\n  if (lVar1 != 0) {\n    FUN_0011b210();\n  }\n  if (*(long *)(param_1 + 0x60) != 0) {\n    FUN_0011b210();\n  }\n  if (*(int *)(param_1 + 0x80) != -1) {\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0011b2c0(long param_1,undefined4 param_2)" identifier (parameter_list "(long param_1,undefined4 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  long lVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  undefined1 in_CF;\n  undefined1 in_ZF;\n  \n  lVar5 = 10;\n  pbVar6 = *(byte **)(param_1 + 0x30);\n  pbVar7 = (byte *)"/DISCARD/";\n  do {\n    if (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while ((bool)in_ZF);\n  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x84) == 0x17e) {\n    lVar5 = *(long *)(param_1 + 0x38);\n  }\n  else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }\n  if (lVar5 == 0) {\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }\n  lVar1 = *(long *)(param_1 + 0x58);\n  *(long *)(lVar5 + 0x68) = lVar5;\n  *(undefined8 *)(lVar5 + 0x60) = 0;\n  *(long *)(lVar5 + 0xa8) = param_1;\n  if (lVar1 != 0) {\n    FUN_0011b210();\n  }\n  if (*(long *)(param_1 + 0x60) != 0) {\n    FUN_0011b210();\n  }\n  if (*(int *)(param_1 + 0x80) != -1) {\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "undefined1 in_CF;" type_identifier identifier ;) (declaration "undefined1 in_ZF;" type_identifier identifier ;) (expression_statement "lVar5 = 10;" (assignment_expression "lVar5 = 10" identifier = number_literal) ;) (expression_statement "pbVar6 = *(byte **)(param_1 + 0x30);" (assignment_expression "pbVar6 = *(byte **)(param_1 + 0x30)" identifier = (pointer_expression "*(byte **)(param_1 + 0x30)" * (cast_expression "(byte **)(param_1 + 0x30)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "pbVar7 = (byte *)"/DISCARD/";" (assignment_expression "pbVar7 = (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 (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while ((bool)in_ZF);" do (compound_statement "{\n    if (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  }" { (if_statement "if (lVar5 == 0) break;" if (parenthesized_expression "(lVar5 == 0)" ( (binary_expression "lVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar5 = lVar5 + -1;" (assignment_expression "lVar5 = lVar5 + -1" identifier = (binary_expression "lVar5 + -1" identifier + number_literal)) ;) (expression_statement "in_CF = *pbVar6 < *pbVar7;" (assignment_expression "in_CF = *pbVar6 < *pbVar7" identifier = (binary_expression "*pbVar6 < *pbVar7" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "in_ZF = *pbVar6 == *pbVar7;" (assignment_expression "in_ZF = *pbVar6 == *pbVar7" identifier = (binary_expression "*pbVar6 == *pbVar7" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((bool)in_ZF)" ( (cast_expression "(bool)in_ZF" ( (type_descriptor "bool" primitive_type) ) identifier) )) ;) (if_statement "if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }" if (parenthesized_expression "((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF)" ( (binary_expression "(!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF" (parenthesized_expression "(!(bool)in_CF && !(bool)in_ZF)" ( (binary_expression "!(bool)in_CF && !(bool)in_ZF" (unary_expression "!(bool)in_CF" ! (cast_expression "(bool)in_CF" ( (type_descriptor "bool" primitive_type) ) identifier)) && (unary_expression "!(bool)in_ZF" ! (cast_expression "(bool)in_ZF" ( (type_descriptor "bool" primitive_type) ) identifier))) )) == (cast_expression "(bool)in_CF" ( (type_descriptor "bool" primitive_type) ) identifier)) )) (compound_statement "{\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }" { (expression_statement "uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);" (assignment_expression "uVar4 = 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_00129380(uVar4,"/DISCARD/");" (call_expression "FUN_00129380(uVar4,"/DISCARD/")" identifier (argument_list "(uVar4,"/DISCARD/")" ( identifier , (string_literal ""/DISCARD/"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x84) == 0x17e) {\n    lVar5 = *(long *)(param_1 + 0x38);\n  }\n  else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x84) == 0x17e)" ( (binary_expression "*(int *)(param_1 + 0x84) == 0x17e" (pointer_expression "*(int *)(param_1 + 0x84)" * (cast_expression "(int *)(param_1 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    lVar5 = *(long *)(param_1 + 0x38);\n  }" { (expression_statement "lVar5 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar5 = *(long *)(param_1 + 0x38)" identifier = (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }" else (compound_statement "{\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }" { (expression_statement "lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));" (assignment_expression "lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30))" identifier = (call_expression "bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30))" identifier (argument_list "(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30))" ( identifier , (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) )))) ;) (expression_statement "*(long *)(param_1 + 0x38) = lVar5;" (assignment_expression "*(long *)(param_1 + 0x38) = lVar5" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = identifier) ;) }))) (if_statement "if (lVar5 == 0) {\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }" if (parenthesized_expression "(lVar5 == 0)" ( (binary_expression "lVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }" { (expression_statement "lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;" (assignment_expression "lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)" identifier = (call_expression "bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)" identifier (argument_list "(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)" ( identifier , (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "*(long *)(param_1 + 0x38) = lVar5;" (assignment_expression "*(long *)(param_1 + 0x38) = lVar5" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = identifier) ;) (if_statement "if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }" if (parenthesized_expression "(lVar5 == 0)" ( (binary_expression "lVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }" { (expression_statement "uVar4 = *(undefined8 *)(param_1 + 0x30);" (assignment_expression "uVar4 = *(undefined8 *)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);" (assignment_expression "uVar2 = **(undefined8 **)(DAT_002b5f90 + 8)" identifier = (pointer_expression "**(undefined8 **)(DAT_002b5f90 + 8)" * (pointer_expression "*(undefined8 **)(DAT_002b5f90 + 8)" * (cast_expression "(undefined8 **)(DAT_002b5f90 + 8)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_002b5f90 + 8)" ( (binary_expression "DAT_002b5f90 + 8" identifier + number_literal) )))))) ;) (expression_statement "uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);" (assignment_expression "uVar3 = 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_00129380(uVar3,uVar2,uVar4);" (call_expression "FUN_00129380(uVar3,uVar2,uVar4)" identifier (argument_list "(uVar3,uVar2,uVar4)" ( identifier , identifier , identifier ))) ;) (expression_statement "lVar5 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar5 = *(long *)(param_1 + 0x38)" identifier = (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) })) })) (expression_statement "lVar1 = *(long *)(param_1 + 0x58);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x58)" identifier = (pointer_expression "*(long *)(param_1 + 0x58)" * (cast_expression "(long *)(param_1 + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) ))))) ;) (expression_statement "*(long *)(lVar5 + 0x68) = lVar5;" (assignment_expression "*(long *)(lVar5 + 0x68) = lVar5" (pointer_expression "*(long *)(lVar5 + 0x68)" * (cast_expression "(long *)(lVar5 + 0x68)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x68)" ( (binary_expression "lVar5 + 0x68" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(lVar5 + 0x60) = 0;" (assignment_expression "*(undefined8 *)(lVar5 + 0x60) = 0" (pointer_expression "*(undefined8 *)(lVar5 + 0x60)" * (cast_expression "(undefined8 *)(lVar5 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x60)" ( (binary_expression "lVar5 + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(long *)(lVar5 + 0xa8) = param_1;" (assignment_expression "*(long *)(lVar5 + 0xa8) = param_1" (pointer_expression "*(long *)(lVar5 + 0xa8)" * (cast_expression "(long *)(lVar5 + 0xa8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xa8)" ( (binary_expression "lVar5 + 0xa8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (lVar1 != 0) {\n    FUN_0011b210();\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0011b210();\n  }" { (expression_statement "FUN_0011b210();" (call_expression "FUN_0011b210()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(long *)(param_1 + 0x60) != 0) {\n    FUN_0011b210();\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x60) != 0)" ( (binary_expression "*(long *)(param_1 + 0x60) != 0" (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_0011b210();\n  }" { (expression_statement "FUN_0011b210();" (call_expression "FUN_0011b210()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x80) != -1) {\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x80) != -1)" ( (binary_expression "*(int *)(param_1 + 0x80) != -1" (pointer_expression "*(int *)(param_1 + 0x80)" * (cast_expression "(int *)(param_1 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x80)" ( (binary_expression "param_1 + 0x80" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }" { (expression_statement "*(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);" (assignment_expression "*(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80)" (pointer_expression "*(int *)(*(long *)(param_1 + 0x38) + 0x70)" * (cast_expression "(int *)(*(long *)(param_1 + 0x38) + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x38) + 0x70)" ( (binary_expression "*(long *)(param_1 + 0x38) + 0x70" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*(int *)(param_1 + 0x80)" * (cast_expression "(int *)(param_1 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x80)" ( (binary_expression "param_1 + 0x80" identifier + number_literal) ))))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void init_os(lang_output_section_statement_type *s,flagword flags)\n\n{\n  etree_type *exp;\n  char *pcVar1;\n  asection *paVar2;\n  char *fmt;\n  char *pcVar3;\n  long lVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  undefined1 in_CF;\n  undefined1 in_ZF;\n  \n  lVar4 = 10;\n  pbVar5 = (byte *)s->name;\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (lVar4 == 0) break;\n    lVar4 = lVar4 + -1;\n    in_CF = *pbVar5 < *pbVar6;\n    in_ZF = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while ((bool)in_ZF);\n  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\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  exp = s->addr_tree;\n  paVar2->output_section = paVar2;\n  paVar2->output_offset = 0;\n  paVar2->userdata = s;\n  if (exp != (etree_type *)0x0) {\n    exp_init_os(exp);\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" (function_definition "void init_os(lang_output_section_statement_type *s,flagword flags)\n\n{\n  etree_type *exp;\n  char *pcVar1;\n  asection *paVar2;\n  char *fmt;\n  char *pcVar3;\n  long lVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  undefined1 in_CF;\n  undefined1 in_ZF;\n  \n  lVar4 = 10;\n  pbVar5 = (byte *)s->name;\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (lVar4 == 0) break;\n    lVar4 = lVar4 + -1;\n    in_CF = *pbVar5 < *pbVar6;\n    in_ZF = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while ((bool)in_ZF);\n  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\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  exp = s->addr_tree;\n  paVar2->output_section = paVar2;\n  paVar2->output_offset = 0;\n  paVar2->userdata = s;\n  if (exp != (etree_type *)0x0) {\n    exp_init_os(exp);\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 (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  etree_type *exp;\n  char *pcVar1;\n  asection *paVar2;\n  char *fmt;\n  char *pcVar3;\n  long lVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  undefined1 in_CF;\n  undefined1 in_ZF;\n  \n  lVar4 = 10;\n  pbVar5 = (byte *)s->name;\n  pbVar6 = (byte *)"/DISCARD/";\n  do {\n    if (lVar4 == 0) break;\n    lVar4 = lVar4 + -1;\n    in_CF = *pbVar5 < *pbVar6;\n    in_ZF = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while ((bool)in_ZF);\n  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\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  exp = s->addr_tree;\n  paVar2->output_section = paVar2;\n  paVar2->output_offset = 0;\n  paVar2->userdata = s;\n  if (exp != (etree_type *)0x0) {\n    exp_init_os(exp);\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 "etree_type *exp;" type_identifier (pointer_declarator "*exp" * identifier) ;) (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 "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "undefined1 in_CF;" type_identifier identifier ;) (declaration "undefined1 in_ZF;" type_identifier identifier ;) (expression_statement "lVar4 = 10;" (assignment_expression "lVar4 = 10" identifier = 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 (lVar4 == 0) break;\n    lVar4 = lVar4 + -1;\n    in_CF = *pbVar5 < *pbVar6;\n    in_ZF = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  } while ((bool)in_ZF);" do (compound_statement "{\n    if (lVar4 == 0) break;\n    lVar4 = lVar4 + -1;\n    in_CF = *pbVar5 < *pbVar6;\n    in_ZF = *pbVar5 == *pbVar6;\n    pbVar5 = pbVar5 + 1;\n    pbVar6 = pbVar6 + 1;\n  }" { (if_statement "if (lVar4 == 0) break;" if (parenthesized_expression "(lVar4 == 0)" ( (binary_expression "lVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar4 = lVar4 + -1;" (assignment_expression "lVar4 = lVar4 + -1" identifier = (binary_expression "lVar4 + -1" identifier + number_literal)) ;) (expression_statement "in_CF = *pbVar5 < *pbVar6;" (assignment_expression "in_CF = *pbVar5 < *pbVar6" identifier = (binary_expression "*pbVar5 < *pbVar6" (pointer_expression "*pbVar5" * identifier) < (pointer_expression "*pbVar6" * identifier))) ;) (expression_statement "in_ZF = *pbVar5 == *pbVar6;" (assignment_expression "in_ZF = *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 "((bool)in_ZF)" ( (cast_expression "(bool)in_ZF" ( (type_descriptor "bool" primitive_type) ) identifier) )) ;) (if_statement "if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\n    pcVar3 = (char *)dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    einfo(pcVar3,"/DISCARD/");\n  }" if (parenthesized_expression "((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF)" ( (binary_expression "(!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF" (parenthesized_expression "(!(bool)in_CF && !(bool)in_ZF)" ( (binary_expression "!(bool)in_CF && !(bool)in_ZF" (unary_expression "!(bool)in_CF" ! (cast_expression "(bool)in_CF" ( (type_descriptor "bool" primitive_type) ) identifier)) && (unary_expression "!(bool)in_ZF" ! (cast_expression "(bool)in_ZF" ( (type_descriptor "bool" primitive_type) ) identifier))) )) == (cast_expression "(bool)in_CF" ( (type_descriptor "bool" primitive_type) ) 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 "exp = s->addr_tree;" (assignment_expression "exp = s->addr_tree" identifier = (field_expression "s->addr_tree" 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 (exp != (etree_type *)0x0) {\n    exp_init_os(exp);\n  }" if (parenthesized_expression "(exp != (etree_type *)0x0)" ( (binary_expression "exp != (etree_type *)0x0" identifier != (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    exp_init_os(exp);\n  }" { (expression_statement "exp_init_os(exp);" (call_expression "exp_init_os(exp)" identifier (argument_list "(exp)" ( 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 FUN_0011b2c0(long param_1,undefined4 param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  long lVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  undefined1 in_CF;\n  undefined1 in_ZF;\n  \n  lVar5 = 10;\n  pbVar6 = *(byte **)(param_1 + 0x30);\n  pbVar7 = (byte *)"/DISCARD/";\n  do {\n    if (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while ((bool)in_ZF);\n  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x84) == 0x17e) {\n    lVar5 = *(long *)(param_1 + 0x38);\n  }\n  else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }\n  if (lVar5 == 0) {\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }\n  lVar1 = *(long *)(param_1 + 0x58);\n  *(long *)(lVar5 + 0x68) = lVar5;\n  *(undefined8 *)(lVar5 + 0x60) = 0;\n  *(long *)(lVar5 + 0xa8) = param_1;\n  if (lVar1 != 0) {\n    FUN_0011b210();\n  }\n  if (*(long *)(param_1 + 0x60) != 0) {\n    FUN_0011b210();\n  }\n  if (*(int *)(param_1 + 0x80) != -1) {\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0011b2c0(long param_1,undefined4 param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  long lVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  undefined1 in_CF;\n  undefined1 in_ZF;\n  \n  lVar5 = 10;\n  pbVar6 = *(byte **)(param_1 + 0x30);\n  pbVar7 = (byte *)"/DISCARD/";\n  do {\n    if (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while ((bool)in_ZF);\n  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x84) == 0x17e) {\n    lVar5 = *(long *)(param_1 + 0x38);\n  }\n  else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }\n  if (lVar5 == 0) {\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }\n  lVar1 = *(long *)(param_1 + 0x58);\n  *(long *)(lVar5 + 0x68) = lVar5;\n  *(undefined8 *)(lVar5 + 0x60) = 0;\n  *(long *)(lVar5 + 0xa8) = param_1;\n  if (lVar1 != 0) {\n    FUN_0011b210();\n  }\n  if (*(long *)(param_1 + 0x60) != 0) {\n    FUN_0011b210();\n  }\n  if (*(int *)(param_1 + 0x80) != -1) {\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0011b2c0(long param_1,undefined4 param_2)" identifier (parameter_list "(long param_1,undefined4 param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  long lVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  undefined1 in_CF;\n  undefined1 in_ZF;\n  \n  lVar5 = 10;\n  pbVar6 = *(byte **)(param_1 + 0x30);\n  pbVar7 = (byte *)"/DISCARD/";\n  do {\n    if (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while ((bool)in_ZF);\n  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x84) == 0x17e) {\n    lVar5 = *(long *)(param_1 + 0x38);\n  }\n  else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }\n  if (lVar5 == 0) {\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }\n  lVar1 = *(long *)(param_1 + 0x58);\n  *(long *)(lVar5 + 0x68) = lVar5;\n  *(undefined8 *)(lVar5 + 0x60) = 0;\n  *(long *)(lVar5 + 0xa8) = param_1;\n  if (lVar1 != 0) {\n    FUN_0011b210();\n  }\n  if (*(long *)(param_1 + 0x60) != 0) {\n    FUN_0011b210();\n  }\n  if (*(int *)(param_1 + 0x80) != -1) {\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "undefined1 in_CF;" type_identifier identifier ;) (declaration "undefined1 in_ZF;" type_identifier identifier ;) (expression_statement "lVar5 = 10;" (assignment_expression "lVar5 = 10" identifier = number_literal) ;) (expression_statement "pbVar6 = *(byte **)(param_1 + 0x30);" (assignment_expression "pbVar6 = *(byte **)(param_1 + 0x30)" identifier = (pointer_expression "*(byte **)(param_1 + 0x30)" * (cast_expression "(byte **)(param_1 + 0x30)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "pbVar7 = (byte *)"/DISCARD/";" (assignment_expression "pbVar7 = (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 (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while ((bool)in_ZF);" do (compound_statement "{\n    if (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  }" { (if_statement "if (lVar5 == 0) break;" if (parenthesized_expression "(lVar5 == 0)" ( (binary_expression "lVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar5 = lVar5 + -1;" (assignment_expression "lVar5 = lVar5 + -1" identifier = (binary_expression "lVar5 + -1" identifier + number_literal)) ;) (expression_statement "in_CF = *pbVar6 < *pbVar7;" (assignment_expression "in_CF = *pbVar6 < *pbVar7" identifier = (binary_expression "*pbVar6 < *pbVar7" (pointer_expression "*pbVar6" * identifier) < (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "in_ZF = *pbVar6 == *pbVar7;" (assignment_expression "in_ZF = *pbVar6 == *pbVar7" identifier = (binary_expression "*pbVar6 == *pbVar7" (pointer_expression "*pbVar6" * identifier) == (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((bool)in_ZF)" ( (cast_expression "(bool)in_ZF" ( (type_descriptor "bool" primitive_type) ) identifier) )) ;) (if_statement "if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }" if (parenthesized_expression "((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF)" ( (binary_expression "(!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF" (parenthesized_expression "(!(bool)in_CF && !(bool)in_ZF)" ( (binary_expression "!(bool)in_CF && !(bool)in_ZF" (unary_expression "!(bool)in_CF" ! (cast_expression "(bool)in_CF" ( (type_descriptor "bool" primitive_type) ) identifier)) && (unary_expression "!(bool)in_ZF" ! (cast_expression "(bool)in_ZF" ( (type_descriptor "bool" primitive_type) ) identifier))) )) == (cast_expression "(bool)in_CF" ( (type_descriptor "bool" primitive_type) ) identifier)) )) (compound_statement "{\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }" { (expression_statement "uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);" (assignment_expression "uVar4 = 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_00129380(uVar4,"/DISCARD/");" (call_expression "FUN_00129380(uVar4,"/DISCARD/")" identifier (argument_list "(uVar4,"/DISCARD/")" ( identifier , (string_literal ""/DISCARD/"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x84) == 0x17e) {\n    lVar5 = *(long *)(param_1 + 0x38);\n  }\n  else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x84) == 0x17e)" ( (binary_expression "*(int *)(param_1 + 0x84) == 0x17e" (pointer_expression "*(int *)(param_1 + 0x84)" * (cast_expression "(int *)(param_1 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    lVar5 = *(long *)(param_1 + 0x38);\n  }" { (expression_statement "lVar5 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar5 = *(long *)(param_1 + 0x38)" identifier = (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }" else (compound_statement "{\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }" { (expression_statement "lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));" (assignment_expression "lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30))" identifier = (call_expression "bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30))" identifier (argument_list "(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30))" ( identifier , (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) )))) ;) (expression_statement "*(long *)(param_1 + 0x38) = lVar5;" (assignment_expression "*(long *)(param_1 + 0x38) = lVar5" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = identifier) ;) }))) (if_statement "if (lVar5 == 0) {\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }" if (parenthesized_expression "(lVar5 == 0)" ( (binary_expression "lVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }" { (expression_statement "lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;" (assignment_expression "lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)" identifier = (call_expression "bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)" identifier (argument_list "(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)" ( identifier , (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "*(long *)(param_1 + 0x38) = lVar5;" (assignment_expression "*(long *)(param_1 + 0x38) = lVar5" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = identifier) ;) (if_statement "if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }" if (parenthesized_expression "(lVar5 == 0)" ( (binary_expression "lVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }" { (expression_statement "uVar4 = *(undefined8 *)(param_1 + 0x30);" (assignment_expression "uVar4 = *(undefined8 *)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);" (assignment_expression "uVar2 = **(undefined8 **)(DAT_002b5f90 + 8)" identifier = (pointer_expression "**(undefined8 **)(DAT_002b5f90 + 8)" * (pointer_expression "*(undefined8 **)(DAT_002b5f90 + 8)" * (cast_expression "(undefined8 **)(DAT_002b5f90 + 8)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_002b5f90 + 8)" ( (binary_expression "DAT_002b5f90 + 8" identifier + number_literal) )))))) ;) (expression_statement "uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);" (assignment_expression "uVar3 = 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_00129380(uVar3,uVar2,uVar4);" (call_expression "FUN_00129380(uVar3,uVar2,uVar4)" identifier (argument_list "(uVar3,uVar2,uVar4)" ( identifier , identifier , identifier ))) ;) (expression_statement "lVar5 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar5 = *(long *)(param_1 + 0x38)" identifier = (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) })) })) (expression_statement "lVar1 = *(long *)(param_1 + 0x58);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x58)" identifier = (pointer_expression "*(long *)(param_1 + 0x58)" * (cast_expression "(long *)(param_1 + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) ))))) ;) (expression_statement "*(long *)(lVar5 + 0x68) = lVar5;" (assignment_expression "*(long *)(lVar5 + 0x68) = lVar5" (pointer_expression "*(long *)(lVar5 + 0x68)" * (cast_expression "(long *)(lVar5 + 0x68)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x68)" ( (binary_expression "lVar5 + 0x68" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(lVar5 + 0x60) = 0;" (assignment_expression "*(undefined8 *)(lVar5 + 0x60) = 0" (pointer_expression "*(undefined8 *)(lVar5 + 0x60)" * (cast_expression "(undefined8 *)(lVar5 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x60)" ( (binary_expression "lVar5 + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(long *)(lVar5 + 0xa8) = param_1;" (assignment_expression "*(long *)(lVar5 + 0xa8) = param_1" (pointer_expression "*(long *)(lVar5 + 0xa8)" * (cast_expression "(long *)(lVar5 + 0xa8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xa8)" ( (binary_expression "lVar5 + 0xa8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (lVar1 != 0) {\n    FUN_0011b210();\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0011b210();\n  }" { (expression_statement "FUN_0011b210();" (call_expression "FUN_0011b210()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(long *)(param_1 + 0x60) != 0) {\n    FUN_0011b210();\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x60) != 0)" ( (binary_expression "*(long *)(param_1 + 0x60) != 0" (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_0011b210();\n  }" { (expression_statement "FUN_0011b210();" (call_expression "FUN_0011b210()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x80) != -1) {\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x80) != -1)" ( (binary_expression "*(int *)(param_1 + 0x80) != -1" (pointer_expression "*(int *)(param_1 + 0x80)" * (cast_expression "(int *)(param_1 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x80)" ( (binary_expression "param_1 + 0x80" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }" { (expression_statement "*(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);" (assignment_expression "*(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80)" (pointer_expression "*(int *)(*(long *)(param_1 + 0x38) + 0x70)" * (cast_expression "(int *)(*(long *)(param_1 + 0x38) + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x38) + 0x70)" ( (binary_expression "*(long *)(param_1 + 0x38) + 0x70" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) )))) = (pointer_expression "*(int *)(param_1 + 0x80)" * (cast_expression "(int *)(param_1 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x80)" ( (binary_expression "param_1 + 0x80" identifier + number_literal) ))))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) 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 = (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 ( (cast_expression ( (type_descriptor TYPE) ) IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! (cast_expression ( (type_descriptor TYPE) ) IDENT)) && (unary_expression ! (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) == (cast_expression ( (type_descriptor TYPE) ) 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 (sized_type_specifier long) (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 (sized_type_specifier long) (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 (sized_type_specifier long) (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (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 (sized_type_specifier long) (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 FUN_0011b2c0(long param_1,undefined4 param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  long lVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  undefined1 in_CF;\n  undefined1 in_ZF;\n  \n  lVar5 = 10;\n  pbVar6 = *(byte **)(param_1 + 0x30);\n  pbVar7 = (byte *)"/DISCARD/";\n  do {\n    if (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while ((bool)in_ZF);\n  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x84) == 0x17e) {\n    lVar5 = *(long *)(param_1 + 0x38);\n  }\n  else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }\n  if (lVar5 == 0) {\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }\n  lVar1 = *(long *)(param_1 + 0x58);\n  *(long *)(lVar5 + 0x68) = lVar5;\n  *(undefined8 *)(lVar5 + 0x60) = 0;\n  *(long *)(lVar5 + 0xa8) = param_1;\n  if (lVar1 != 0) {\n    FUN_0011b210();\n  }\n  if (*(long *)(param_1 + 0x60) != 0) {\n    FUN_0011b210();\n  }\n  if (*(int *)(param_1 + 0x80) != -1) {\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0011b2c0(long param_1,undefined4 param_2)" (identifier "FUN_0011b2c0") (parameter_list "(long param_1,undefined4 param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  long lVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  undefined1 in_CF;\n  undefined1 in_ZF;\n  \n  lVar5 = 10;\n  pbVar6 = *(byte **)(param_1 + 0x30);\n  pbVar7 = (byte *)"/DISCARD/";\n  do {\n    if (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while ((bool)in_ZF);\n  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }\n  if (*(int *)(param_1 + 0x84) == 0x17e) {\n    lVar5 = *(long *)(param_1 + 0x38);\n  }\n  else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }\n  if (lVar5 == 0) {\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }\n  lVar1 = *(long *)(param_1 + 0x58);\n  *(long *)(lVar5 + 0x68) = lVar5;\n  *(undefined8 *)(lVar5 + 0x60) = 0;\n  *(long *)(lVar5 + 0xa8) = param_1;\n  if (lVar1 != 0) {\n    FUN_0011b210();\n  }\n  if (*(long *)(param_1 + 0x60) != 0) {\n    FUN_0011b210();\n  }\n  if (*(int *)(param_1 + 0x80) != -1) {\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "undefined1 in_CF;" (type_identifier "undefined1") (identifier "in_CF") (; ";")) (declaration "undefined1 in_ZF;" (type_identifier "undefined1") (identifier "in_ZF") (; ";")) (expression_statement "lVar5 = 10;" (assignment_expression "lVar5 = 10" (identifier "lVar5") (= "=") (number_literal "10")) (; ";")) (expression_statement "pbVar6 = *(byte **)(param_1 + 0x30);" (assignment_expression "pbVar6 = *(byte **)(param_1 + 0x30)" (identifier "pbVar6") (= "=") (pointer_expression "*(byte **)(param_1 + 0x30)" (* "*") (cast_expression "(byte **)(param_1 + 0x30)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "pbVar7 = (byte *)"/DISCARD/";" (assignment_expression "pbVar7 = (byte *)"/DISCARD/"" (identifier "pbVar7") (= "=") (cast_expression "(byte *)"/DISCARD/"" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""/DISCARD/"" (" """) (string_content "/DISCARD/") (" """)))) (; ";")) (do_statement "do {\n    if (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  } while ((bool)in_ZF);" (do "do") (compound_statement "{\n    if (lVar5 == 0) break;\n    lVar5 = lVar5 + -1;\n    in_CF = *pbVar6 < *pbVar7;\n    in_ZF = *pbVar6 == *pbVar7;\n    pbVar6 = pbVar6 + 1;\n    pbVar7 = pbVar7 + 1;\n  }" ({ "{") (if_statement "if (lVar5 == 0) break;" (if "if") (parenthesized_expression "(lVar5 == 0)" (( "(") (binary_expression "lVar5 == 0" (identifier "lVar5") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "lVar5 = lVar5 + -1;" (assignment_expression "lVar5 = lVar5 + -1" (identifier "lVar5") (= "=") (binary_expression "lVar5 + -1" (identifier "lVar5") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "in_CF = *pbVar6 < *pbVar7;" (assignment_expression "in_CF = *pbVar6 < *pbVar7" (identifier "in_CF") (= "=") (binary_expression "*pbVar6 < *pbVar7" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (< "<") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "in_ZF = *pbVar6 == *pbVar7;" (assignment_expression "in_ZF = *pbVar6 == *pbVar7" (identifier "in_ZF") (= "=") (binary_expression "*pbVar6 == *pbVar7" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (== "==") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((bool)in_ZF)" (( "(") (cast_expression "(bool)in_ZF" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (identifier "in_ZF")) () ")")) (; ";")) (if_statement "if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }" (if "if") (parenthesized_expression "((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF)" (( "(") (binary_expression "(!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF" (parenthesized_expression "(!(bool)in_CF && !(bool)in_ZF)" (( "(") (binary_expression "!(bool)in_CF && !(bool)in_ZF" (unary_expression "!(bool)in_CF" (! "!") (cast_expression "(bool)in_CF" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (identifier "in_CF"))) (&& "&&") (unary_expression "!(bool)in_ZF" (! "!") (cast_expression "(bool)in_ZF" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (identifier "in_ZF")))) () ")")) (== "==") (cast_expression "(bool)in_CF" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (identifier "in_CF"))) () ")")) (compound_statement "{\n    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);\n    FUN_00129380(uVar4,"/DISCARD/");\n  }" ({ "{") (expression_statement "uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5)" (identifier "uVar4") (= "=") (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_00129380(uVar4,"/DISCARD/");" (call_expression "FUN_00129380(uVar4,"/DISCARD/")" (identifier "FUN_00129380") (argument_list "(uVar4,"/DISCARD/")" (( "(") (identifier "uVar4") (, ",") (string_literal ""/DISCARD/"" (" """) (string_content "/DISCARD/") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x84) == 0x17e) {\n    lVar5 = *(long *)(param_1 + 0x38);\n  }\n  else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x84) == 0x17e)" (( "(") (binary_expression "*(int *)(param_1 + 0x84) == 0x17e" (pointer_expression "*(int *)(param_1 + 0x84)" (* "*") (cast_expression "(int *)(param_1 + 0x84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x84)" (( "(") (binary_expression "param_1 + 0x84" (identifier "param_1") (+ "+") (number_literal "0x84")) () ")")))) (== "==") (number_literal "0x17e")) () ")")) (compound_statement "{\n    lVar5 = *(long *)(param_1 + 0x38);\n  }" ({ "{") (expression_statement "lVar5 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar5 = *(long *)(param_1 + 0x38)" (identifier "lVar5") (= "=") (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }" (else "else") (compound_statement "{\n    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));\n    *(long *)(param_1 + 0x38) = lVar5;\n  }" ({ "{") (expression_statement "lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));" (assignment_expression "lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30))" (identifier "lVar5") (= "=") (call_expression "bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30))" (identifier "bfd_get_section_by_name") (argument_list "(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30))" (( "(") (identifier "DAT_002b5f90") (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) () ")")))) (; ";")) (expression_statement "*(long *)(param_1 + 0x38) = lVar5;" (assignment_expression "*(long *)(param_1 + 0x38) = lVar5" (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (identifier "lVar5")) (; ";")) (} "}")))) (if_statement "if (lVar5 == 0) {\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }" (if "if") (parenthesized_expression "(lVar5 == 0)" (( "(") (binary_expression "lVar5 == 0" (identifier "lVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;\n    *(long *)(param_1 + 0x38) = lVar5;\n    if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }\n  }" ({ "{") (expression_statement "lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)\n    ;" (assignment_expression "lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)" (identifier "lVar5") (= "=") (call_expression "bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)" (identifier "bfd_make_section_anyway_with_flags") (argument_list "(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)" (( "(") (identifier "DAT_002b5f90") (, ",") (pointer_expression "*(undefined8 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*(long *)(param_1 + 0x38) = lVar5;" (assignment_expression "*(long *)(param_1 + 0x38) = lVar5" (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (identifier "lVar5")) (; ";")) (if_statement "if (lVar5 == 0) {\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }" (if "if") (parenthesized_expression "(lVar5 == 0)" (( "(") (binary_expression "lVar5 == 0" (identifier "lVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar4 = *(undefined8 *)(param_1 + 0x30);\n      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);\n      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);\n      FUN_00129380(uVar3,uVar2,uVar4);\n      lVar5 = *(long *)(param_1 + 0x38);\n    }" ({ "{") (expression_statement "uVar4 = *(undefined8 *)(param_1 + 0x30);" (assignment_expression "uVar4 = *(undefined8 *)(param_1 + 0x30)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined8 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);" (assignment_expression "uVar2 = **(undefined8 **)(DAT_002b5f90 + 8)" (identifier "uVar2") (= "=") (pointer_expression "**(undefined8 **)(DAT_002b5f90 + 8)" (* "*") (pointer_expression "*(undefined8 **)(DAT_002b5f90 + 8)" (* "*") (cast_expression "(undefined8 **)(DAT_002b5f90 + 8)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_002b5f90 + 8)" (( "(") (binary_expression "DAT_002b5f90 + 8" (identifier "DAT_002b5f90") (+ "+") (number_literal "8")) () ")")))))) (; ";")) (expression_statement "uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)" (identifier "uVar3") (= "=") (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_00129380(uVar3,uVar2,uVar4);" (call_expression "FUN_00129380(uVar3,uVar2,uVar4)" (identifier "FUN_00129380") (argument_list "(uVar3,uVar2,uVar4)" (( "(") (identifier "uVar3") (, ",") (identifier "uVar2") (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "lVar5 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar5 = *(long *)(param_1 + 0x38)" (identifier "lVar5") (= "=") (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (} "}"))) (} "}"))) (expression_statement "lVar1 = *(long *)(param_1 + 0x58);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x58)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_1 + 0x58)" (* "*") (cast_expression "(long *)(param_1 + 0x58)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")"))))) (; ";")) (expression_statement "*(long *)(lVar5 + 0x68) = lVar5;" (assignment_expression "*(long *)(lVar5 + 0x68) = lVar5" (pointer_expression "*(long *)(lVar5 + 0x68)" (* "*") (cast_expression "(long *)(lVar5 + 0x68)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x68)" (( "(") (binary_expression "lVar5 + 0x68" (identifier "lVar5") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (identifier "lVar5")) (; ";")) (expression_statement "*(undefined8 *)(lVar5 + 0x60) = 0;" (assignment_expression "*(undefined8 *)(lVar5 + 0x60) = 0" (pointer_expression "*(undefined8 *)(lVar5 + 0x60)" (* "*") (cast_expression "(undefined8 *)(lVar5 + 0x60)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x60)" (( "(") (binary_expression "lVar5 + 0x60" (identifier "lVar5") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(long *)(lVar5 + 0xa8) = param_1;" (assignment_expression "*(long *)(lVar5 + 0xa8) = param_1" (pointer_expression "*(long *)(lVar5 + 0xa8)" (* "*") (cast_expression "(long *)(lVar5 + 0xa8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0xa8)" (( "(") (binary_expression "lVar5 + 0xa8" (identifier "lVar5") (+ "+") (number_literal "0xa8")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (if_statement "if (lVar1 != 0) {\n    FUN_0011b210();\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0011b210();\n  }" ({ "{") (expression_statement "FUN_0011b210();" (call_expression "FUN_0011b210()" (identifier "FUN_0011b210") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(long *)(param_1 + 0x60) != 0) {\n    FUN_0011b210();\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x60) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x60) != 0" (pointer_expression "*(long *)(param_1 + 0x60)" (* "*") (cast_expression "(long *)(param_1 + 0x60)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0011b210();\n  }" ({ "{") (expression_statement "FUN_0011b210();" (call_expression "FUN_0011b210()" (identifier "FUN_0011b210") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x80) != -1) {\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x80) != -1)" (( "(") (binary_expression "*(int *)(param_1 + 0x80) != -1" (pointer_expression "*(int *)(param_1 + 0x80)" (* "*") (cast_expression "(int *)(param_1 + 0x80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x80)" (( "(") (binary_expression "param_1 + 0x80" (identifier "param_1") (+ "+") (number_literal "0x80")) () ")")))) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);\n  }" ({ "{") (expression_statement "*(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);" (assignment_expression "*(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80)" (pointer_expression "*(int *)(*(long *)(param_1 + 0x38) + 0x70)" (* "*") (cast_expression "(int *)(*(long *)(param_1 + 0x38) + 0x70)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x38) + 0x70)" (( "(") (binary_expression "*(long *)(param_1 + 0x38) + 0x70" (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "0x70")) () ")")))) (= "=") (pointer_expression "*(int *)(param_1 + 0x80)" (* "*") (cast_expression "(int *)(param_1 + 0x80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x80)" (( "(") (binary_expression "param_1 + 0x80" (identifier "param_1") (+ "+") (number_literal "0x80")) () ")"))))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *s,type_2 flags)

{
  type_3 *var_9;
  char *pcVar1;
  type_4 *var_7;
  char *fmt;
  char *pcVar3;
  long var_1;
  type_5 *var_2;
  type_5 *var_3;
  type_6 in_CF;
  type_6 in_ZF;
  
  var_1 = 10;
  var_2 = (type_5 *)s->name;
  var_3 = (type_5 *)"/DISCARD/";
  do {
    if (var_1 == 0) break;
    var_1 = var_1 + -1;
    in_CF = *var_2 < *var_3;
    in_ZF = *var_2 == *var_3;
    var_2 = var_2 + 1;
    var_3 = var_3 + 1;
  } while ((bool)in_ZF);
  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {
    pcVar3 = (char *)var_4(0,"%F%P: illegal use of `%s\' section\n",5);
    var_5(pcVar3,"/DISCARD/");
  }
  if (s->constraint == 0x17e) {
    var_7 = s->bfd_section;
  }
  else {
    var_7 = (type_4 *)var_6(link_info.output_bfd,s->name);
    s->bfd_section = var_7;
  }
  if (var_7 == (type_4 *)0x0) {
    var_7 = (type_4 *)var_8(link_info.output_bfd,s->name,flags);
    s->bfd_section = var_7;
    if (var_7 == (type_4 *)0x0) {
      pcVar3 = s->name;
      pcVar1 = (link_info.output_bfd)->xvec->name;
      fmt = (char *)var_4(0,"%F%P: output format %s cannot represent section called %s: %E\n",5)
      ;
      var_5(fmt,pcVar1,pcVar3);
      var_7 = s->bfd_section;
    }
  }
  var_9 = s->addr_tree;
  var_7->output_section = var_7;
  var_7->output_offset = 0;
  var_7->userdata = s;
  if (var_9 != (type_3 *)0x0) {
    var_10(var_9);
  }
  if (s->load_base != (type_3 *)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) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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 (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (unary_expression argument: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (sized_type_specifier) 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: (sized_type_specifier) 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: (sized_type_specifier) 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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (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: (sized_type_specifier) 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 (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (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: (sized_type_specifier) 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))))

void MASKED(long param_1,undefined4 param_2)

{
  long lVar1;
  undefined8 uVar2;
  undefined8 uVar3;
  undefined8 uVar4;
  long lVar5;
  byte *pbVar6;
  byte *pbVar7;
  undefined1 in_CF;
  undefined1 in_ZF;
  
  lVar5 = 10;
  pbVar6 = *(byte **)(param_1 + 0x30);
  pbVar7 = (byte *)"/DISCARD/";
  do {
    if (lVar5 == 0) break;
    lVar5 = lVar5 + -1;
    in_CF = *pbVar6 < *pbVar7;
    in_ZF = *pbVar6 == *pbVar7;
    pbVar6 = pbVar6 + 1;
    pbVar7 = pbVar7 + 1;
  } while ((bool)in_ZF);
  if ((!(bool)in_CF && !(bool)in_ZF) == (bool)in_CF) {
    uVar4 = dcgettext(0,"%F%P: illegal use of `%s\' section\n",5);
    FUN_00129380(uVar4,"/DISCARD/");
  }
  if (*(int *)(param_1 + 0x84) == 0x17e) {
    lVar5 = *(long *)(param_1 + 0x38);
  }
  else {
    lVar5 = bfd_get_section_by_name(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30));
    *(long *)(param_1 + 0x38) = lVar5;
  }
  if (lVar5 == 0) {
    lVar5 = bfd_make_section_anyway_with_flags(DAT_002b5f90,*(undefined8 *)(param_1 + 0x30),param_2)
    ;
    *(long *)(param_1 + 0x38) = lVar5;
    if (lVar5 == 0) {
      uVar4 = *(undefined8 *)(param_1 + 0x30);
      uVar2 = **(undefined8 **)(DAT_002b5f90 + 8);
      uVar3 = dcgettext(0,"%F%P: output format %s cannot represent section called %s: %E\n",5);
      FUN_00129380(uVar3,uVar2,uVar4);
      lVar5 = *(long *)(param_1 + 0x38);
    }
  }
  lVar1 = *(long *)(param_1 + 0x58);
  *(long *)(lVar5 + 0x68) = lVar5;
  *(undefined8 *)(lVar5 + 0x60) = 0;
  *(long *)(lVar5 + 0xa8) = param_1;
  if (lVar1 != 0) {
    FUN_0011b210();
  }
  if (*(long *)(param_1 + 0x60) != 0) {
    FUN_0011b210();
  }
  if (*(int *)(param_1 + 0x80) != -1) {
    *(int *)(*(long *)(param_1 + 0x38) + 0x70) = *(int *)(param_1 + 0x80);
  }
  return;
}

