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

bfd_boolean write_build_id(bfd *abfd)

{
  void *pvVar1;
  output_elf_obj_tdata *poVar2;
  asection *paVar3;
  void *pvVar4;
  undefined4 uVar5;
  bfd_size_type bVar6;
  bfd_target *pbVar7;
  int iVar8;
  char *pcVar9;
  bfd_boolean bVar10;
  uint uVar11;
  bfd_size_type bVar12;
  uchar *local_30;
  
  pbVar7 = abfd->xvec;
  pvVar1 = pbVar7->backend_data;
  poVar2 = ((abfd->tdata).elf_obj_data)->o;
  pcVar9 = (poVar2->build_id).style;
  paVar3 = (poVar2->build_id).sec;
  if (paVar3->output_section == (bfd_section *)(PTR__bfd_std_section_001cefbc + 0x180)) {
    pcVar9 = (char *)dcgettext(0,
                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"
                               ,5);
    einfo(pcVar9);
    bVar10 = 1;
  }
  else {
    pvVar4 = paVar3->output_section->used_by_bfd;
    iVar8 = *(int *)((int)&paVar3->size + 4);
    uVar11 = (uint)paVar3->size;
    if (*(int *)((int)pvVar4 + 0x44) == 0) {
      local_30 = paVar3->contents;
      if (local_30 == (uchar *)0x0) {
        local_30 = (uchar *)xmalloc(uVar11);
        uVar11 = (uint)paVar3->size;
        iVar8 = *(int *)((int)&paVar3->size + 4);
        paVar3->contents = local_30;
        pbVar7 = abfd->xvec;
      }
    }
    else {
      local_30 = (uchar *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset);
    }
    (*pbVar7->bfd_h_putx32)(4,local_30);
    (*abfd->xvec->bfd_h_putx32)
              (CONCAT44(iVar8 + -1 + (uint)(0xf < uVar11),uVar11 - 0x10),local_30 + 4);
    (*abfd->xvec->bfd_h_putx32)(3,local_30 + 8);
    builtin_memcpy(local_30 + 0xc,"GNU",4);
    generate_build_id(abfd,pcVar9,*(checksum_fn *)(*(int *)((int)pvVar1 + 0x19c) + 0x18),
                      local_30 + 0x10,uVar11 - 0x10);
    bVar12 = paVar3->size;
    uVar5 = *(undefined4 *)((int)&paVar3->size + 4);
    bVar6 = paVar3->size;
    uVar11 = (uint)paVar3->output_offset;
    iVar8 = bfd_seek(abfd,uVar11 + *(uint *)((int)pvVar4 + 0x18),
                     *(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c) +
                     (uint)CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18)),0);
    bVar10 = 0;
    if (iVar8 == 0) {
      bVar12 = bfd_bwrite(local_30,(int)bVar12,uVar5,abfd);
      return (uint)(bVar12 == bVar6);
    }
  }
  return bVar10;
}



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

bool FUN_0004f380(int param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  longlong lVar5;
  int iVar6;
  undefined4 uVar7;
  bool bVar8;
  int iVar9;
  uint uVar10;
  longlong lVar11;
  int local_30;
  
  iVar6 = *(int *)(param_1 + 4);
  iVar1 = *(int *)(iVar6 + 0x1c0);
  iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0);
  uVar7 = *(undefined4 *)(iVar2 + 0x14);
  iVar2 = *(int *)(iVar2 + 0x18);
  if (*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180) {
    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)
    ;
    FUN_00034d20(uVar7);
    bVar8 = true;
  }
  else {
    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);
    iVar9 = *(int *)(iVar2 + 0x30);
    uVar10 = *(uint *)(iVar2 + 0x2c);
    if (*(int *)(iVar3 + 0x44) == 0) {
      local_30 = *(int *)(iVar2 + 0x84);
      if (local_30 == 0) {
        local_30 = xmalloc(uVar10);
        uVar10 = *(uint *)(iVar2 + 0x2c);
        iVar9 = *(int *)(iVar2 + 0x30);
        *(int *)(iVar2 + 0x84) = local_30;
        iVar6 = *(int *)(param_1 + 4);
      }
    }
    else {
      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);
    }
    (**(code **)(iVar6 + 0x54))(4,0,local_30);
    (**(code **)(*(int *)(param_1 + 4) + 0x54))
              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);
    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);
    *(undefined4 *)(local_30 + 0xc) = 0x554e47;
    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,
                 uVar10 - 0x10);
    uVar7 = *(undefined4 *)(iVar2 + 0x2c);
    uVar4 = *(undefined4 *)(iVar2 + 0x30);
    lVar5 = *(longlong *)(iVar2 + 0x2c);
    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),
                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +
                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);
    bVar8 = false;
    if (iVar6 == 0) {
      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);
      return lVar11 == lVar5;
    }
  }
  return bVar8;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017b80
ADD EBX,0x17fc77
SUB ESP,0x2c
MOV ESI,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [ESI + 0x4]
MOV EDX,dword ptr [EAX + 0x1c0]
MOV dword ptr [ESP + 0x10],EDX
MOV EDX,dword ptr [ESI + 0xa0]
MOV EDX,dword ptr [EDX + 0x9c0]
MOV EDI,dword ptr [EDX + 0x14]
MOV EDX,dword ptr [EDX + 0x18]
MOV dword ptr [ESP + 0x14],EDI
MOV EDI,dword ptr [EBX + 0xffffffbc]
MOV ECX,dword ptr [EDX + 0x54]
ADD EDI,0x180
CMP ECX,EDI
JZ 0x0004f500
MOV EDI,dword ptr [ECX + 0xa4]
MOV EBP,dword ptr [EDX + 0x30]
MOV ECX,dword ptr [EDI + 0x44]
MOV dword ptr [ESP + 0x18],EDI
MOV EDI,dword ptr [EDX + 0x2c]
TEST ECX,ECX
JZ 0x0004f4c0
ADD ECX,dword ptr [EDX + 0x4c]
MOV dword ptr [ESP + 0xc],ECX
ADD EDI,-0x10
MOV dword ptr [ESP + 0x1c],EDX
ADC EBP,-0x1
SUB ESP,0x4
PUSH dword ptr [ESP + 0x10]
PUSH 0x0
PUSH 0x4
CALL dword ptr [EAX + 0x54]
MOV ECX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESI + 0x4]
ADD ESP,0xc
ADD ECX,0x4
PUSH ECX
PUSH EBP
PUSH EDI
CALL dword ptr [EAX + 0x54]
MOV ECX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESI + 0x4]
ADD ESP,0xc
ADD ECX,0x8
PUSH ECX
PUSH 0x0
PUSH 0x3
CALL dword ptr [EAX + 0x54]
MOV ECX,dword ptr [ESP + 0x1c]
LEA EAX,[ECX + 0x10]
MOV dword ptr [ECX + 0xc],0x554e47
MOV dword ptr [ESP],EDI
PUSH EAX
MOV EAX,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [EAX + 0x19c]
PUSH dword ptr [EAX + 0x18]
PUSH dword ptr [ESP + 0x2c]
PUSH ESI
CALL 0x00038ad0
MOV EDX,dword ptr [ESP + 0x3c]
ADD ESP,0x20
MOV EDI,dword ptr [EDX + 0x2c]
MOV EBP,dword ptr [EDX + 0x30]
PUSH 0x0
MOV ECX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [EDX + 0x4c]
MOV EDX,dword ptr [EDX + 0x50]
ADD EAX,dword ptr [ECX + 0x18]
ADC EDX,dword ptr [ECX + 0x1c]
PUSH EDX
PUSH EAX
PUSH ESI
CALL 0x00016da0
ADD ESP,0x10
XOR EDX,EDX
TEST EAX,EAX
JZ 0x0004f498
ADD ESP,0x2c
MOV EAX,EDX
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH ESI
PUSH EBP
PUSH EDI
PUSH dword ptr [ESP + 0x18]
CALL 0x000166c0
ADD ESP,0x10
XOR EAX,EDI
XOR EDX,EBP
OR EAX,EDX
SETZ DL
ADD ESP,0x2c
MOVZX EDX,DL
POP EBX
POP ESI
MOV EAX,EDX
POP EDI
POP EBP
RET
MOV ECX,dword ptr [EDX + 0x84]
MOV dword ptr [ESP + 0xc],ECX
TEST ECX,ECX
JNZ 0x0004f3f2
MOV dword ptr [ESP + 0x1c],EDX
SUB ESP,0xc
PUSH EDI
CALL 0x00016dc8
MOV EDX,dword ptr [ESP + 0x2c]
MOV dword ptr [ESP + 0x1c],EAX
ADD ESP,0x10
MOV EDI,dword ptr [EDX + 0x2c]
MOV EBP,dword ptr [EDX + 0x30]
MOV dword ptr [EDX + 0x84],EAX
MOV EAX,dword ptr [ESI + 0x4]
JMP 0x0004f3f2
SUB ESP,0x4
LEA EAX,[EBX + 0xffedf824]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016310
MOV dword ptr [ESP],EAX
CALL 0x00034d20
ADD ESP,0x10
MOV EDX,0x1
JMP 0x0004f48b
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool FUN_0004f380(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  bool bVar8;\n  int iVar9;\n  uint uVar10;\n  longlong lVar11;\n  int local_30;\n  \n  iVar6 = *(int *)(param_1 + 4);\n  iVar1 = *(int *)(iVar6 + 0x1c0);\n  iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0);\n  uVar7 = *(undefined4 *)(iVar2 + 0x14);\n  iVar2 = *(int *)(iVar2 + 0x18);\n  if (*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180) {\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }\n  else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }\n  return bVar8;\n}\n\n" comment (function_definition "bool FUN_0004f380(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  bool bVar8;\n  int iVar9;\n  uint uVar10;\n  longlong lVar11;\n  int local_30;\n  \n  iVar6 = *(int *)(param_1 + 4);\n  iVar1 = *(int *)(iVar6 + 0x1c0);\n  iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0);\n  uVar7 = *(undefined4 *)(iVar2 + 0x14);\n  iVar2 = *(int *)(iVar2 + 0x18);\n  if (*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180) {\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }\n  else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }\n  return bVar8;\n}" primitive_type (function_declarator "FUN_0004f380(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  bool bVar8;\n  int iVar9;\n  uint uVar10;\n  longlong lVar11;\n  int local_30;\n  \n  iVar6 = *(int *)(param_1 + 4);\n  iVar1 = *(int *)(iVar6 + 0x1c0);\n  iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0);\n  uVar7 = *(undefined4 *)(iVar2 + 0x14);\n  iVar2 = *(int *)(iVar2 + 0x18);\n  if (*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180) {\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }\n  else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }\n  return bVar8;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "longlong lVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "longlong lVar11;" type_identifier identifier ;) (declaration "int local_30;" primitive_type identifier ;) (expression_statement "iVar6 = *(int *)(param_1 + 4);" (assignment_expression "iVar6 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(iVar6 + 0x1c0);" (assignment_expression "iVar1 = *(int *)(iVar6 + 0x1c0)" identifier = (pointer_expression "*(int *)(iVar6 + 0x1c0)" * (cast_expression "(int *)(iVar6 + 0x1c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c0)" ( (binary_expression "iVar6 + 0x1c0" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0xa0) + 0x9c0)" * (cast_expression "(int *)(*(int *)(param_1 + 0xa0) + 0x9c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xa0) + 0x9c0)" ( (binary_expression "*(int *)(param_1 + 0xa0) + 0x9c0" (pointer_expression "*(int *)(param_1 + 0xa0)" * (cast_expression "(int *)(param_1 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa0)" ( (binary_expression "param_1 + 0xa0" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar7 = *(undefined4 *)(iVar2 + 0x14);" (assignment_expression "uVar7 = *(undefined4 *)(iVar2 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar2 = *(int *)(iVar2 + 0x18)" identifier = (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180) {\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }\n  else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }" if (parenthesized_expression "(*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180)" ( (binary_expression "*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180" (pointer_expression "*(undefined **)(iVar2 + 0x54)" * (cast_expression "(undefined **)(iVar2 + 0x54)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))) == (binary_expression "PTR__bfd_std_section_001cefbc + 0x180" identifier + number_literal)) )) (compound_statement "{\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }" { (expression_statement "uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;" (assignment_expression "uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)" identifier = (call_expression "dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)" identifier (argument_list "(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)" ( number_literal , (string_literal ""%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar7);" (call_expression "FUN_00034d20(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "bVar8 = true;" (assignment_expression "bVar8 = true" identifier = true) ;) }) (else_clause "else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }" else (compound_statement "{\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }" { (expression_statement "iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);" (assignment_expression "iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4)" identifier = (pointer_expression "*(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4)" * (cast_expression "(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(undefined **)(iVar2 + 0x54) + 0xa4)" ( (binary_expression "*(undefined **)(iVar2 + 0x54) + 0xa4" (pointer_expression "*(undefined **)(iVar2 + 0x54)" * (cast_expression "(undefined **)(iVar2 + 0x54)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(iVar2 + 0x30);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x30)" identifier = (pointer_expression "*(int *)(iVar2 + 0x30)" * (cast_expression "(int *)(iVar2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar10 = *(uint *)(iVar2 + 0x2c);" (assignment_expression "uVar10 = *(uint *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x2c)" * (cast_expression "(uint *)(iVar2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }" if (parenthesized_expression "(*(int *)(iVar3 + 0x44) == 0)" ( (binary_expression "*(int *)(iVar3 + 0x44) == 0" (pointer_expression "*(int *)(iVar3 + 0x44)" * (cast_expression "(int *)(iVar3 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x44)" ( (binary_expression "iVar3 + 0x44" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }" { (expression_statement "local_30 = *(int *)(iVar2 + 0x84);" (assignment_expression "local_30 = *(int *)(iVar2 + 0x84)" identifier = (pointer_expression "*(int *)(iVar2 + 0x84)" * (cast_expression "(int *)(iVar2 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x84)" ( (binary_expression "iVar2 + 0x84" identifier + number_literal) ))))) ;) (if_statement "if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }" { (expression_statement "local_30 = xmalloc(uVar10);" (assignment_expression "local_30 = xmalloc(uVar10)" identifier = (call_expression "xmalloc(uVar10)" identifier (argument_list "(uVar10)" ( identifier )))) ;) (expression_statement "uVar10 = *(uint *)(iVar2 + 0x2c);" (assignment_expression "uVar10 = *(uint *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x2c)" * (cast_expression "(uint *)(iVar2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(iVar2 + 0x30);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x30)" identifier = (pointer_expression "*(int *)(iVar2 + 0x30)" * (cast_expression "(int *)(iVar2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar2 + 0x84) = local_30;" (assignment_expression "*(int *)(iVar2 + 0x84) = local_30" (pointer_expression "*(int *)(iVar2 + 0x84)" * (cast_expression "(int *)(iVar2 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x84)" ( (binary_expression "iVar2 + 0x84" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = *(int *)(param_1 + 4);" (assignment_expression "iVar6 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) })) }) (else_clause "else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }" else (compound_statement "{\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }" { (expression_statement "local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);" (assignment_expression "local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c)" identifier = (binary_expression "*(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c)" (pointer_expression "*(int *)(iVar3 + 0x44)" * (cast_expression "(int *)(iVar3 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x44)" ( (binary_expression "iVar3 + 0x44" identifier + number_literal) )))) + (pointer_expression "*(int *)(iVar2 + 0x4c)" * (cast_expression "(int *)(iVar2 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4c)" ( (binary_expression "iVar2 + 0x4c" identifier + number_literal) )))))) ;) }))) (expression_statement "(**(code **)(iVar6 + 0x54))(4,0,local_30);" (call_expression "(**(code **)(iVar6 + 0x54))(4,0,local_30)" (parenthesized_expression "(**(code **)(iVar6 + 0x54))" ( (pointer_expression "**(code **)(iVar6 + 0x54)" * (pointer_expression "*(code **)(iVar6 + 0x54)" * (cast_expression "(code **)(iVar6 + 0x54)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x54)" ( (binary_expression "iVar6 + 0x54" identifier + number_literal) ))))) )) (argument_list "(4,0,local_30)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "(**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);" (call_expression "(**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4)" (parenthesized_expression "(**(code **)(*(int *)(param_1 + 4) + 0x54))" ( (pointer_expression "**(code **)(*(int *)(param_1 + 4) + 0x54)" * (pointer_expression "*(code **)(*(int *)(param_1 + 4) + 0x54)" * (cast_expression "(code **)(*(int *)(param_1 + 4) + 0x54)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 0x54)" ( (binary_expression "*(int *)(param_1 + 4) + 0x54" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4)" ( (binary_expression "uVar10 - 0x10" identifier - number_literal) , (binary_expression "iVar9 + -1 + (uint)(0xf < uVar10)" (binary_expression "iVar9 + -1" identifier + number_literal) + (call_expression "(uint)(0xf < uVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xf < uVar10)" ( (binary_expression "0xf < uVar10" number_literal < identifier) )))) , (binary_expression "local_30 + 4" identifier + number_literal) ))) ;) (expression_statement "(**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);" (call_expression "(**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8)" (parenthesized_expression "(**(code **)(*(int *)(param_1 + 4) + 0x54))" ( (pointer_expression "**(code **)(*(int *)(param_1 + 4) + 0x54)" * (pointer_expression "*(code **)(*(int *)(param_1 + 4) + 0x54)" * (cast_expression "(code **)(*(int *)(param_1 + 4) + 0x54)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 0x54)" ( (binary_expression "*(int *)(param_1 + 4) + 0x54" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(3,0,local_30 + 8)" ( number_literal , number_literal , (binary_expression "local_30 + 8" identifier + number_literal) ))) ;) (expression_statement "*(undefined4 *)(local_30 + 0xc) = 0x554e47;" (assignment_expression "*(undefined4 *)(local_30 + 0xc) = 0x554e47" (pointer_expression "*(undefined4 *)(local_30 + 0xc)" * (cast_expression "(undefined4 *)(local_30 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30 + 0xc)" ( (binary_expression "local_30 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);" (call_expression "FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10)" identifier (argument_list "(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10)" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x19c) + 0x18)" ( (binary_expression "*(int *)(iVar1 + 0x19c) + 0x18" (pointer_expression "*(int *)(iVar1 + 0x19c)" * (cast_expression "(int *)(iVar1 + 0x19c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x19c)" ( (binary_expression "iVar1 + 0x19c" identifier + number_literal) )))) + number_literal) )))) , (binary_expression "local_30 + 0x10" identifier + number_literal) , (binary_expression "uVar10 - 0x10" identifier - number_literal) ))) ;) (expression_statement "uVar7 = *(undefined4 *)(iVar2 + 0x2c);" (assignment_expression "uVar7 = *(undefined4 *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(undefined4 *)(iVar2 + 0x2c)" * (cast_expression "(undefined4 *)(iVar2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(iVar2 + 0x30);" (assignment_expression "uVar4 = *(undefined4 *)(iVar2 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "lVar5 = *(longlong *)(iVar2 + 0x2c);" (assignment_expression "lVar5 = *(longlong *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(longlong *)(iVar2 + 0x2c)" * (cast_expression "(longlong *)(iVar2 + 0x2c)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);" (assignment_expression "iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0)" identifier = (call_expression "bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0)" identifier (argument_list "(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0)" ( identifier , (binary_expression "*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18)" (pointer_expression "*(uint *)(iVar2 + 0x4c)" * (cast_expression "(uint *)(iVar2 + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4c)" ( (binary_expression "iVar2 + 0x4c" identifier + number_literal) )))) + (pointer_expression "*(uint *)(iVar3 + 0x18)" * (cast_expression "(uint *)(iVar3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) ))))) , (binary_expression "*(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18))" (binary_expression "*(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c)" (pointer_expression "*(int *)(iVar2 + 0x50)" * (cast_expression "(int *)(iVar2 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x50)" ( (binary_expression "iVar2 + 0x50" identifier + number_literal) )))) + (pointer_expression "*(int *)(iVar3 + 0x1c)" * (cast_expression "(int *)(iVar3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) ))))) + (cast_expression "(uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18))" identifier (argument_list "(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18))" ( (pointer_expression "*(uint *)(iVar2 + 0x4c)" * (cast_expression "(uint *)(iVar2 + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4c)" ( (binary_expression "iVar2 + 0x4c" identifier + number_literal) )))) , (pointer_expression "*(uint *)(iVar3 + 0x18)" * (cast_expression "(uint *)(iVar3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) ))))) , number_literal )))) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (if_statement "if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }" { (expression_statement "lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);" (assignment_expression "lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1)" identifier = (call_expression "bfd_bwrite(local_30,uVar7,uVar4,param_1)" identifier (argument_list "(local_30,uVar7,uVar4,param_1)" ( identifier , identifier , identifier , identifier )))) ;) (return_statement "return lVar11 == lVar5;" return (binary_expression "lVar11 == lVar5" identifier == identifier) ;) })) }))) (return_statement "return bVar8;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nbfd_boolean write_build_id(bfd *abfd)\n\n{\n  void *pvVar1;\n  output_elf_obj_tdata *poVar2;\n  asection *paVar3;\n  void *pvVar4;\n  undefined4 uVar5;\n  bfd_size_type bVar6;\n  bfd_target *pbVar7;\n  int iVar8;\n  char *pcVar9;\n  bfd_boolean bVar10;\n  uint uVar11;\n  bfd_size_type bVar12;\n  uchar *local_30;\n  \n  pbVar7 = abfd->xvec;\n  pvVar1 = pbVar7->backend_data;\n  poVar2 = ((abfd->tdata).elf_obj_data)->o;\n  pcVar9 = (poVar2->build_id).style;\n  paVar3 = (poVar2->build_id).sec;\n  if (paVar3->output_section == (bfd_section *)(PTR__bfd_std_section_001cefbc + 0x180)) {\n    pcVar9 = (char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5);\n    einfo(pcVar9);\n    bVar10 = 1;\n  }\n  else {\n    pvVar4 = paVar3->output_section->used_by_bfd;\n    iVar8 = *(int *)((int)&paVar3->size + 4);\n    uVar11 = (uint)paVar3->size;\n    if (*(int *)((int)pvVar4 + 0x44) == 0) {\n      local_30 = paVar3->contents;\n      if (local_30 == (uchar *)0x0) {\n        local_30 = (uchar *)xmalloc(uVar11);\n        uVar11 = (uint)paVar3->size;\n        iVar8 = *(int *)((int)&paVar3->size + 4);\n        paVar3->contents = local_30;\n        pbVar7 = abfd->xvec;\n      }\n    }\n    else {\n      local_30 = (uchar *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset);\n    }\n    (*pbVar7->bfd_h_putx32)(4,local_30);\n    (*abfd->xvec->bfd_h_putx32)\n              (CONCAT44(iVar8 + -1 + (uint)(0xf < uVar11),uVar11 - 0x10),local_30 + 4);\n    (*abfd->xvec->bfd_h_putx32)(3,local_30 + 8);\n    builtin_memcpy(local_30 + 0xc,"GNU",4);\n    generate_build_id(abfd,pcVar9,*(checksum_fn *)(*(int *)((int)pvVar1 + 0x19c) + 0x18),\n                      local_30 + 0x10,uVar11 - 0x10);\n    bVar12 = paVar3->size;\n    uVar5 = *(undefined4 *)((int)&paVar3->size + 4);\n    bVar6 = paVar3->size;\n    uVar11 = (uint)paVar3->output_offset;\n    iVar8 = bfd_seek(abfd,uVar11 + *(uint *)((int)pvVar4 + 0x18),\n                     *(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c) +\n                     (uint)CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18)),0);\n    bVar10 = 0;\n    if (iVar8 == 0) {\n      bVar12 = bfd_bwrite(local_30,(int)bVar12,uVar5,abfd);\n      return (uint)(bVar12 == bVar6);\n    }\n  }\n  return bVar10;\n}\n\n" comment comment (function_definition "bfd_boolean write_build_id(bfd *abfd)\n\n{\n  void *pvVar1;\n  output_elf_obj_tdata *poVar2;\n  asection *paVar3;\n  void *pvVar4;\n  undefined4 uVar5;\n  bfd_size_type bVar6;\n  bfd_target *pbVar7;\n  int iVar8;\n  char *pcVar9;\n  bfd_boolean bVar10;\n  uint uVar11;\n  bfd_size_type bVar12;\n  uchar *local_30;\n  \n  pbVar7 = abfd->xvec;\n  pvVar1 = pbVar7->backend_data;\n  poVar2 = ((abfd->tdata).elf_obj_data)->o;\n  pcVar9 = (poVar2->build_id).style;\n  paVar3 = (poVar2->build_id).sec;\n  if (paVar3->output_section == (bfd_section *)(PTR__bfd_std_section_001cefbc + 0x180)) {\n    pcVar9 = (char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5);\n    einfo(pcVar9);\n    bVar10 = 1;\n  }\n  else {\n    pvVar4 = paVar3->output_section->used_by_bfd;\n    iVar8 = *(int *)((int)&paVar3->size + 4);\n    uVar11 = (uint)paVar3->size;\n    if (*(int *)((int)pvVar4 + 0x44) == 0) {\n      local_30 = paVar3->contents;\n      if (local_30 == (uchar *)0x0) {\n        local_30 = (uchar *)xmalloc(uVar11);\n        uVar11 = (uint)paVar3->size;\n        iVar8 = *(int *)((int)&paVar3->size + 4);\n        paVar3->contents = local_30;\n        pbVar7 = abfd->xvec;\n      }\n    }\n    else {\n      local_30 = (uchar *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset);\n    }\n    (*pbVar7->bfd_h_putx32)(4,local_30);\n    (*abfd->xvec->bfd_h_putx32)\n              (CONCAT44(iVar8 + -1 + (uint)(0xf < uVar11),uVar11 - 0x10),local_30 + 4);\n    (*abfd->xvec->bfd_h_putx32)(3,local_30 + 8);\n    builtin_memcpy(local_30 + 0xc,"GNU",4);\n    generate_build_id(abfd,pcVar9,*(checksum_fn *)(*(int *)((int)pvVar1 + 0x19c) + 0x18),\n                      local_30 + 0x10,uVar11 - 0x10);\n    bVar12 = paVar3->size;\n    uVar5 = *(undefined4 *)((int)&paVar3->size + 4);\n    bVar6 = paVar3->size;\n    uVar11 = (uint)paVar3->output_offset;\n    iVar8 = bfd_seek(abfd,uVar11 + *(uint *)((int)pvVar4 + 0x18),\n                     *(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c) +\n                     (uint)CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18)),0);\n    bVar10 = 0;\n    if (iVar8 == 0) {\n      bVar12 = bfd_bwrite(local_30,(int)bVar12,uVar5,abfd);\n      return (uint)(bVar12 == bVar6);\n    }\n  }\n  return bVar10;\n}" type_identifier (function_declarator "write_build_id(bfd *abfd)" identifier (parameter_list "(bfd *abfd)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) ))) (compound_statement "{\n  void *pvVar1;\n  output_elf_obj_tdata *poVar2;\n  asection *paVar3;\n  void *pvVar4;\n  undefined4 uVar5;\n  bfd_size_type bVar6;\n  bfd_target *pbVar7;\n  int iVar8;\n  char *pcVar9;\n  bfd_boolean bVar10;\n  uint uVar11;\n  bfd_size_type bVar12;\n  uchar *local_30;\n  \n  pbVar7 = abfd->xvec;\n  pvVar1 = pbVar7->backend_data;\n  poVar2 = ((abfd->tdata).elf_obj_data)->o;\n  pcVar9 = (poVar2->build_id).style;\n  paVar3 = (poVar2->build_id).sec;\n  if (paVar3->output_section == (bfd_section *)(PTR__bfd_std_section_001cefbc + 0x180)) {\n    pcVar9 = (char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5);\n    einfo(pcVar9);\n    bVar10 = 1;\n  }\n  else {\n    pvVar4 = paVar3->output_section->used_by_bfd;\n    iVar8 = *(int *)((int)&paVar3->size + 4);\n    uVar11 = (uint)paVar3->size;\n    if (*(int *)((int)pvVar4 + 0x44) == 0) {\n      local_30 = paVar3->contents;\n      if (local_30 == (uchar *)0x0) {\n        local_30 = (uchar *)xmalloc(uVar11);\n        uVar11 = (uint)paVar3->size;\n        iVar8 = *(int *)((int)&paVar3->size + 4);\n        paVar3->contents = local_30;\n        pbVar7 = abfd->xvec;\n      }\n    }\n    else {\n      local_30 = (uchar *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset);\n    }\n    (*pbVar7->bfd_h_putx32)(4,local_30);\n    (*abfd->xvec->bfd_h_putx32)\n              (CONCAT44(iVar8 + -1 + (uint)(0xf < uVar11),uVar11 - 0x10),local_30 + 4);\n    (*abfd->xvec->bfd_h_putx32)(3,local_30 + 8);\n    builtin_memcpy(local_30 + 0xc,"GNU",4);\n    generate_build_id(abfd,pcVar9,*(checksum_fn *)(*(int *)((int)pvVar1 + 0x19c) + 0x18),\n                      local_30 + 0x10,uVar11 - 0x10);\n    bVar12 = paVar3->size;\n    uVar5 = *(undefined4 *)((int)&paVar3->size + 4);\n    bVar6 = paVar3->size;\n    uVar11 = (uint)paVar3->output_offset;\n    iVar8 = bfd_seek(abfd,uVar11 + *(uint *)((int)pvVar4 + 0x18),\n                     *(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c) +\n                     (uint)CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18)),0);\n    bVar10 = 0;\n    if (iVar8 == 0) {\n      bVar12 = bfd_bwrite(local_30,(int)bVar12,uVar5,abfd);\n      return (uint)(bVar12 == bVar6);\n    }\n  }\n  return bVar10;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "output_elf_obj_tdata *poVar2;" type_identifier (pointer_declarator "*poVar2" * identifier) ;) (declaration "asection *paVar3;" type_identifier (pointer_declarator "*paVar3" * identifier) ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "bfd_size_type bVar6;" type_identifier identifier ;) (declaration "bfd_target *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "bfd_boolean bVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "bfd_size_type bVar12;" type_identifier identifier ;) (declaration "uchar *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (expression_statement "pbVar7 = abfd->xvec;" (assignment_expression "pbVar7 = abfd->xvec" identifier = (field_expression "abfd->xvec" identifier -> field_identifier)) ;) (expression_statement "pvVar1 = pbVar7->backend_data;" (assignment_expression "pvVar1 = pbVar7->backend_data" identifier = (field_expression "pbVar7->backend_data" identifier -> field_identifier)) ;) (expression_statement "poVar2 = ((abfd->tdata).elf_obj_data)->o;" (assignment_expression "poVar2 = ((abfd->tdata).elf_obj_data)->o" identifier = (field_expression "((abfd->tdata).elf_obj_data)->o" (parenthesized_expression "((abfd->tdata).elf_obj_data)" ( (field_expression "(abfd->tdata).elf_obj_data" (parenthesized_expression "(abfd->tdata)" ( (field_expression "abfd->tdata" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier)) ;) (expression_statement "pcVar9 = (poVar2->build_id).style;" (assignment_expression "pcVar9 = (poVar2->build_id).style" identifier = (field_expression "(poVar2->build_id).style" (parenthesized_expression "(poVar2->build_id)" ( (field_expression "poVar2->build_id" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "paVar3 = (poVar2->build_id).sec;" (assignment_expression "paVar3 = (poVar2->build_id).sec" identifier = (field_expression "(poVar2->build_id).sec" (parenthesized_expression "(poVar2->build_id)" ( (field_expression "poVar2->build_id" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (paVar3->output_section == (bfd_section *)(PTR__bfd_std_section_001cefbc + 0x180)) {\n    pcVar9 = (char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5);\n    einfo(pcVar9);\n    bVar10 = 1;\n  }\n  else {\n    pvVar4 = paVar3->output_section->used_by_bfd;\n    iVar8 = *(int *)((int)&paVar3->size + 4);\n    uVar11 = (uint)paVar3->size;\n    if (*(int *)((int)pvVar4 + 0x44) == 0) {\n      local_30 = paVar3->contents;\n      if (local_30 == (uchar *)0x0) {\n        local_30 = (uchar *)xmalloc(uVar11);\n        uVar11 = (uint)paVar3->size;\n        iVar8 = *(int *)((int)&paVar3->size + 4);\n        paVar3->contents = local_30;\n        pbVar7 = abfd->xvec;\n      }\n    }\n    else {\n      local_30 = (uchar *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset);\n    }\n    (*pbVar7->bfd_h_putx32)(4,local_30);\n    (*abfd->xvec->bfd_h_putx32)\n              (CONCAT44(iVar8 + -1 + (uint)(0xf < uVar11),uVar11 - 0x10),local_30 + 4);\n    (*abfd->xvec->bfd_h_putx32)(3,local_30 + 8);\n    builtin_memcpy(local_30 + 0xc,"GNU",4);\n    generate_build_id(abfd,pcVar9,*(checksum_fn *)(*(int *)((int)pvVar1 + 0x19c) + 0x18),\n                      local_30 + 0x10,uVar11 - 0x10);\n    bVar12 = paVar3->size;\n    uVar5 = *(undefined4 *)((int)&paVar3->size + 4);\n    bVar6 = paVar3->size;\n    uVar11 = (uint)paVar3->output_offset;\n    iVar8 = bfd_seek(abfd,uVar11 + *(uint *)((int)pvVar4 + 0x18),\n                     *(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c) +\n                     (uint)CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18)),0);\n    bVar10 = 0;\n    if (iVar8 == 0) {\n      bVar12 = bfd_bwrite(local_30,(int)bVar12,uVar5,abfd);\n      return (uint)(bVar12 == bVar6);\n    }\n  }" if (parenthesized_expression "(paVar3->output_section == (bfd_section *)(PTR__bfd_std_section_001cefbc + 0x180))" ( (binary_expression "paVar3->output_section == (bfd_section *)(PTR__bfd_std_section_001cefbc + 0x180)" (field_expression "paVar3->output_section" identifier -> field_identifier) == (cast_expression "(bfd_section *)(PTR__bfd_std_section_001cefbc + 0x180)" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_001cefbc + 0x180)" ( (binary_expression "PTR__bfd_std_section_001cefbc + 0x180" identifier + number_literal) )))) )) (compound_statement "{\n    pcVar9 = (char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5);\n    einfo(pcVar9);\n    bVar10 = 1;\n  }" { (expression_statement "pcVar9 = (char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5);" (assignment_expression "pcVar9 = (char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5)" identifier = (cast_expression "(char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5)" identifier (argument_list "(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5)" ( number_literal , (string_literal ""%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar9);" (call_expression "einfo(pcVar9)" identifier (argument_list "(pcVar9)" ( identifier ))) ;) (expression_statement "bVar10 = 1;" (assignment_expression "bVar10 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    pvVar4 = paVar3->output_section->used_by_bfd;\n    iVar8 = *(int *)((int)&paVar3->size + 4);\n    uVar11 = (uint)paVar3->size;\n    if (*(int *)((int)pvVar4 + 0x44) == 0) {\n      local_30 = paVar3->contents;\n      if (local_30 == (uchar *)0x0) {\n        local_30 = (uchar *)xmalloc(uVar11);\n        uVar11 = (uint)paVar3->size;\n        iVar8 = *(int *)((int)&paVar3->size + 4);\n        paVar3->contents = local_30;\n        pbVar7 = abfd->xvec;\n      }\n    }\n    else {\n      local_30 = (uchar *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset);\n    }\n    (*pbVar7->bfd_h_putx32)(4,local_30);\n    (*abfd->xvec->bfd_h_putx32)\n              (CONCAT44(iVar8 + -1 + (uint)(0xf < uVar11),uVar11 - 0x10),local_30 + 4);\n    (*abfd->xvec->bfd_h_putx32)(3,local_30 + 8);\n    builtin_memcpy(local_30 + 0xc,"GNU",4);\n    generate_build_id(abfd,pcVar9,*(checksum_fn *)(*(int *)((int)pvVar1 + 0x19c) + 0x18),\n                      local_30 + 0x10,uVar11 - 0x10);\n    bVar12 = paVar3->size;\n    uVar5 = *(undefined4 *)((int)&paVar3->size + 4);\n    bVar6 = paVar3->size;\n    uVar11 = (uint)paVar3->output_offset;\n    iVar8 = bfd_seek(abfd,uVar11 + *(uint *)((int)pvVar4 + 0x18),\n                     *(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c) +\n                     (uint)CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18)),0);\n    bVar10 = 0;\n    if (iVar8 == 0) {\n      bVar12 = bfd_bwrite(local_30,(int)bVar12,uVar5,abfd);\n      return (uint)(bVar12 == bVar6);\n    }\n  }" else (compound_statement "{\n    pvVar4 = paVar3->output_section->used_by_bfd;\n    iVar8 = *(int *)((int)&paVar3->size + 4);\n    uVar11 = (uint)paVar3->size;\n    if (*(int *)((int)pvVar4 + 0x44) == 0) {\n      local_30 = paVar3->contents;\n      if (local_30 == (uchar *)0x0) {\n        local_30 = (uchar *)xmalloc(uVar11);\n        uVar11 = (uint)paVar3->size;\n        iVar8 = *(int *)((int)&paVar3->size + 4);\n        paVar3->contents = local_30;\n        pbVar7 = abfd->xvec;\n      }\n    }\n    else {\n      local_30 = (uchar *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset);\n    }\n    (*pbVar7->bfd_h_putx32)(4,local_30);\n    (*abfd->xvec->bfd_h_putx32)\n              (CONCAT44(iVar8 + -1 + (uint)(0xf < uVar11),uVar11 - 0x10),local_30 + 4);\n    (*abfd->xvec->bfd_h_putx32)(3,local_30 + 8);\n    builtin_memcpy(local_30 + 0xc,"GNU",4);\n    generate_build_id(abfd,pcVar9,*(checksum_fn *)(*(int *)((int)pvVar1 + 0x19c) + 0x18),\n                      local_30 + 0x10,uVar11 - 0x10);\n    bVar12 = paVar3->size;\n    uVar5 = *(undefined4 *)((int)&paVar3->size + 4);\n    bVar6 = paVar3->size;\n    uVar11 = (uint)paVar3->output_offset;\n    iVar8 = bfd_seek(abfd,uVar11 + *(uint *)((int)pvVar4 + 0x18),\n                     *(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c) +\n                     (uint)CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18)),0);\n    bVar10 = 0;\n    if (iVar8 == 0) {\n      bVar12 = bfd_bwrite(local_30,(int)bVar12,uVar5,abfd);\n      return (uint)(bVar12 == bVar6);\n    }\n  }" { (expression_statement "pvVar4 = paVar3->output_section->used_by_bfd;" (assignment_expression "pvVar4 = paVar3->output_section->used_by_bfd" identifier = (field_expression "paVar3->output_section->used_by_bfd" (field_expression "paVar3->output_section" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "iVar8 = *(int *)((int)&paVar3->size + 4);" (assignment_expression "iVar8 = *(int *)((int)&paVar3->size + 4)" identifier = (pointer_expression "*(int *)((int)&paVar3->size + 4)" * (cast_expression "(int *)((int)&paVar3->size + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&paVar3->size + 4)" ( (binary_expression "(int)&paVar3->size + 4" (cast_expression "(int)&paVar3->size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&paVar3->size" & (field_expression "paVar3->size" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar11 = (uint)paVar3->size;" (assignment_expression "uVar11 = (uint)paVar3->size" identifier = (cast_expression "(uint)paVar3->size" ( (type_descriptor "uint" type_identifier) ) (field_expression "paVar3->size" identifier -> field_identifier))) ;) (if_statement "if (*(int *)((int)pvVar4 + 0x44) == 0) {\n      local_30 = paVar3->contents;\n      if (local_30 == (uchar *)0x0) {\n        local_30 = (uchar *)xmalloc(uVar11);\n        uVar11 = (uint)paVar3->size;\n        iVar8 = *(int *)((int)&paVar3->size + 4);\n        paVar3->contents = local_30;\n        pbVar7 = abfd->xvec;\n      }\n    }\n    else {\n      local_30 = (uchar *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset);\n    }" if (parenthesized_expression "(*(int *)((int)pvVar4 + 0x44) == 0)" ( (binary_expression "*(int *)((int)pvVar4 + 0x44) == 0" (pointer_expression "*(int *)((int)pvVar4 + 0x44)" * (cast_expression "(int *)((int)pvVar4 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 + 0x44)" ( (binary_expression "(int)pvVar4 + 0x44" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n      local_30 = paVar3->contents;\n      if (local_30 == (uchar *)0x0) {\n        local_30 = (uchar *)xmalloc(uVar11);\n        uVar11 = (uint)paVar3->size;\n        iVar8 = *(int *)((int)&paVar3->size + 4);\n        paVar3->contents = local_30;\n        pbVar7 = abfd->xvec;\n      }\n    }" { (expression_statement "local_30 = paVar3->contents;" (assignment_expression "local_30 = paVar3->contents" identifier = (field_expression "paVar3->contents" identifier -> field_identifier)) ;) (if_statement "if (local_30 == (uchar *)0x0) {\n        local_30 = (uchar *)xmalloc(uVar11);\n        uVar11 = (uint)paVar3->size;\n        iVar8 = *(int *)((int)&paVar3->size + 4);\n        paVar3->contents = local_30;\n        pbVar7 = abfd->xvec;\n      }" if (parenthesized_expression "(local_30 == (uchar *)0x0)" ( (binary_expression "local_30 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        local_30 = (uchar *)xmalloc(uVar11);\n        uVar11 = (uint)paVar3->size;\n        iVar8 = *(int *)((int)&paVar3->size + 4);\n        paVar3->contents = local_30;\n        pbVar7 = abfd->xvec;\n      }" { (expression_statement "local_30 = (uchar *)xmalloc(uVar11);" (assignment_expression "local_30 = (uchar *)xmalloc(uVar11)" identifier = (cast_expression "(uchar *)xmalloc(uVar11)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))))) ;) (expression_statement "uVar11 = (uint)paVar3->size;" (assignment_expression "uVar11 = (uint)paVar3->size" identifier = (cast_expression "(uint)paVar3->size" ( (type_descriptor "uint" type_identifier) ) (field_expression "paVar3->size" identifier -> field_identifier))) ;) (expression_statement "iVar8 = *(int *)((int)&paVar3->size + 4);" (assignment_expression "iVar8 = *(int *)((int)&paVar3->size + 4)" identifier = (pointer_expression "*(int *)((int)&paVar3->size + 4)" * (cast_expression "(int *)((int)&paVar3->size + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&paVar3->size + 4)" ( (binary_expression "(int)&paVar3->size + 4" (cast_expression "(int)&paVar3->size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&paVar3->size" & (field_expression "paVar3->size" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "paVar3->contents = local_30;" (assignment_expression "paVar3->contents = local_30" (field_expression "paVar3->contents" identifier -> field_identifier) = identifier) ;) (expression_statement "pbVar7 = abfd->xvec;" (assignment_expression "pbVar7 = abfd->xvec" identifier = (field_expression "abfd->xvec" identifier -> field_identifier)) ;) })) }) (else_clause "else {\n      local_30 = (uchar *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset);\n    }" else (compound_statement "{\n      local_30 = (uchar *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset);\n    }" { (expression_statement "local_30 = (uchar *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset);" (assignment_expression "local_30 = (uchar *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset)" identifier = (cast_expression "(uchar *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset)" ( (binary_expression "*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset" (pointer_expression "*(int *)((int)pvVar4 + 0x44)" * (cast_expression "(int *)((int)pvVar4 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 + 0x44)" ( (binary_expression "(int)pvVar4 + 0x44" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + (cast_expression "(int)paVar3->output_offset" ( (type_descriptor "int" primitive_type) ) (field_expression "paVar3->output_offset" identifier -> field_identifier))) )))) ;) }))) (expression_statement "(*pbVar7->bfd_h_putx32)(4,local_30);" (call_expression "(*pbVar7->bfd_h_putx32)(4,local_30)" (parenthesized_expression "(*pbVar7->bfd_h_putx32)" ( (pointer_expression "*pbVar7->bfd_h_putx32" * (field_expression "pbVar7->bfd_h_putx32" identifier -> field_identifier)) )) (argument_list "(4,local_30)" ( number_literal , identifier ))) ;) (expression_statement "(*abfd->xvec->bfd_h_putx32)\n              (CONCAT44(iVar8 + -1 + (uint)(0xf < uVar11),uVar11 - 0x10),local_30 + 4);" (call_expression "(*abfd->xvec->bfd_h_putx32)\n              (CONCAT44(iVar8 + -1 + (uint)(0xf < uVar11),uVar11 - 0x10),local_30 + 4)" (parenthesized_expression "(*abfd->xvec->bfd_h_putx32)" ( (pointer_expression "*abfd->xvec->bfd_h_putx32" * (field_expression "abfd->xvec->bfd_h_putx32" (field_expression "abfd->xvec" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(CONCAT44(iVar8 + -1 + (uint)(0xf < uVar11),uVar11 - 0x10),local_30 + 4)" ( (call_expression "CONCAT44(iVar8 + -1 + (uint)(0xf < uVar11),uVar11 - 0x10)" identifier (argument_list "(iVar8 + -1 + (uint)(0xf < uVar11),uVar11 - 0x10)" ( (binary_expression "iVar8 + -1 + (uint)(0xf < uVar11)" (binary_expression "iVar8 + -1" identifier + number_literal) + (call_expression "(uint)(0xf < uVar11)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xf < uVar11)" ( (binary_expression "0xf < uVar11" number_literal < identifier) )))) , (binary_expression "uVar11 - 0x10" identifier - number_literal) ))) , (binary_expression "local_30 + 4" identifier + number_literal) ))) ;) (expression_statement "(*abfd->xvec->bfd_h_putx32)(3,local_30 + 8);" (call_expression "(*abfd->xvec->bfd_h_putx32)(3,local_30 + 8)" (parenthesized_expression "(*abfd->xvec->bfd_h_putx32)" ( (pointer_expression "*abfd->xvec->bfd_h_putx32" * (field_expression "abfd->xvec->bfd_h_putx32" (field_expression "abfd->xvec" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(3,local_30 + 8)" ( number_literal , (binary_expression "local_30 + 8" identifier + number_literal) ))) ;) (expression_statement "builtin_memcpy(local_30 + 0xc,"GNU",4);" (call_expression "builtin_memcpy(local_30 + 0xc,"GNU",4)" identifier (argument_list "(local_30 + 0xc,"GNU",4)" ( (binary_expression "local_30 + 0xc" identifier + number_literal) , (string_literal ""GNU"" " string_content ") , number_literal ))) ;) (expression_statement "generate_build_id(abfd,pcVar9,*(checksum_fn *)(*(int *)((int)pvVar1 + 0x19c) + 0x18),\n                      local_30 + 0x10,uVar11 - 0x10);" (call_expression "generate_build_id(abfd,pcVar9,*(checksum_fn *)(*(int *)((int)pvVar1 + 0x19c) + 0x18),\n                      local_30 + 0x10,uVar11 - 0x10)" identifier (argument_list "(abfd,pcVar9,*(checksum_fn *)(*(int *)((int)pvVar1 + 0x19c) + 0x18),\n                      local_30 + 0x10,uVar11 - 0x10)" ( identifier , identifier , (pointer_expression "*(checksum_fn *)(*(int *)((int)pvVar1 + 0x19c) + 0x18)" * (cast_expression "(checksum_fn *)(*(int *)((int)pvVar1 + 0x19c) + 0x18)" ( (type_descriptor "checksum_fn *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)pvVar1 + 0x19c) + 0x18)" ( (binary_expression "*(int *)((int)pvVar1 + 0x19c) + 0x18" (pointer_expression "*(int *)((int)pvVar1 + 0x19c)" * (cast_expression "(int *)((int)pvVar1 + 0x19c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + 0x19c)" ( (binary_expression "(int)pvVar1 + 0x19c" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) )))) , (binary_expression "local_30 + 0x10" identifier + number_literal) , (binary_expression "uVar11 - 0x10" identifier - number_literal) ))) ;) (expression_statement "bVar12 = paVar3->size;" (assignment_expression "bVar12 = paVar3->size" identifier = (field_expression "paVar3->size" identifier -> field_identifier)) ;) (expression_statement "uVar5 = *(undefined4 *)((int)&paVar3->size + 4);" (assignment_expression "uVar5 = *(undefined4 *)((int)&paVar3->size + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&paVar3->size + 4)" * (cast_expression "(undefined4 *)((int)&paVar3->size + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&paVar3->size + 4)" ( (binary_expression "(int)&paVar3->size + 4" (cast_expression "(int)&paVar3->size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&paVar3->size" & (field_expression "paVar3->size" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "bVar6 = paVar3->size;" (assignment_expression "bVar6 = paVar3->size" identifier = (field_expression "paVar3->size" identifier -> field_identifier)) ;) (expression_statement "uVar11 = (uint)paVar3->output_offset;" (assignment_expression "uVar11 = (uint)paVar3->output_offset" identifier = (cast_expression "(uint)paVar3->output_offset" ( (type_descriptor "uint" type_identifier) ) (field_expression "paVar3->output_offset" identifier -> field_identifier))) ;) (expression_statement "iVar8 = bfd_seek(abfd,uVar11 + *(uint *)((int)pvVar4 + 0x18),\n                     *(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c) +\n                     (uint)CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18)),0);" (assignment_expression "iVar8 = bfd_seek(abfd,uVar11 + *(uint *)((int)pvVar4 + 0x18),\n                     *(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c) +\n                     (uint)CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18)),0)" identifier = (call_expression "bfd_seek(abfd,uVar11 + *(uint *)((int)pvVar4 + 0x18),\n                     *(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c) +\n                     (uint)CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18)),0)" identifier (argument_list "(abfd,uVar11 + *(uint *)((int)pvVar4 + 0x18),\n                     *(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c) +\n                     (uint)CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18)),0)" ( identifier , (binary_expression "uVar11 + *(uint *)((int)pvVar4 + 0x18)" identifier + (pointer_expression "*(uint *)((int)pvVar4 + 0x18)" * (cast_expression "(uint *)((int)pvVar4 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 + 0x18)" ( (binary_expression "(int)pvVar4 + 0x18" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) , (binary_expression "*(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c) +\n                     (uint)CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18))" (binary_expression "*(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c)" (pointer_expression "*(int *)((int)&paVar3->output_offset + 4)" * (cast_expression "(int *)((int)&paVar3->output_offset + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&paVar3->output_offset + 4)" ( (binary_expression "(int)&paVar3->output_offset + 4" (cast_expression "(int)&paVar3->output_offset" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&paVar3->output_offset" & (field_expression "paVar3->output_offset" identifier -> field_identifier))) + number_literal) )))) + (pointer_expression "*(int *)((int)pvVar4 + 0x1c)" * (cast_expression "(int *)((int)pvVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 + 0x1c)" ( (binary_expression "(int)pvVar4 + 0x1c" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) + (cast_expression "(uint)CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar11,*(uint *)((int)pvVar4 + 0x18))" identifier (argument_list "(uVar11,*(uint *)((int)pvVar4 + 0x18))" ( identifier , (pointer_expression "*(uint *)((int)pvVar4 + 0x18)" * (cast_expression "(uint *)((int)pvVar4 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar4 + 0x18)" ( (binary_expression "(int)pvVar4 + 0x18" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))))) , number_literal )))) ;) (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" identifier = number_literal) ;) (if_statement "if (iVar8 == 0) {\n      bVar12 = bfd_bwrite(local_30,(int)bVar12,uVar5,abfd);\n      return (uint)(bVar12 == bVar6);\n    }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      bVar12 = bfd_bwrite(local_30,(int)bVar12,uVar5,abfd);\n      return (uint)(bVar12 == bVar6);\n    }" { (expression_statement "bVar12 = bfd_bwrite(local_30,(int)bVar12,uVar5,abfd);" (assignment_expression "bVar12 = bfd_bwrite(local_30,(int)bVar12,uVar5,abfd)" identifier = (call_expression "bfd_bwrite(local_30,(int)bVar12,uVar5,abfd)" identifier (argument_list "(local_30,(int)bVar12,uVar5,abfd)" ( identifier , (cast_expression "(int)bVar12" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier )))) ;) (return_statement "return (uint)(bVar12 == bVar6);" return (call_expression "(uint)(bVar12 == bVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar12 == bVar6)" ( (binary_expression "bVar12 == bVar6" identifier == identifier) ))) ;) })) }))) (return_statement "return bVar10;" return identifier ;) })))
(translation_unit "bool FUN_0004f380(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  bool bVar8;\n  int iVar9;\n  uint uVar10;\n  longlong lVar11;\n  int local_30;\n  \n  iVar6 = *(int *)(param_1 + 4);\n  iVar1 = *(int *)(iVar6 + 0x1c0);\n  iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0);\n  uVar7 = *(undefined4 *)(iVar2 + 0x14);\n  iVar2 = *(int *)(iVar2 + 0x18);\n  if (*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180) {\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }\n  else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }\n  return bVar8;\n}\n\n" (function_definition "bool FUN_0004f380(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  bool bVar8;\n  int iVar9;\n  uint uVar10;\n  longlong lVar11;\n  int local_30;\n  \n  iVar6 = *(int *)(param_1 + 4);\n  iVar1 = *(int *)(iVar6 + 0x1c0);\n  iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0);\n  uVar7 = *(undefined4 *)(iVar2 + 0x14);\n  iVar2 = *(int *)(iVar2 + 0x18);\n  if (*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180) {\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }\n  else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }\n  return bVar8;\n}" primitive_type (function_declarator "FUN_0004f380(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  bool bVar8;\n  int iVar9;\n  uint uVar10;\n  longlong lVar11;\n  int local_30;\n  \n  iVar6 = *(int *)(param_1 + 4);\n  iVar1 = *(int *)(iVar6 + 0x1c0);\n  iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0);\n  uVar7 = *(undefined4 *)(iVar2 + 0x14);\n  iVar2 = *(int *)(iVar2 + 0x18);\n  if (*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180) {\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }\n  else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }\n  return bVar8;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "longlong lVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "longlong lVar11;" type_identifier identifier ;) (declaration "int local_30;" primitive_type identifier ;) (expression_statement "iVar6 = *(int *)(param_1 + 4);" (assignment_expression "iVar6 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(iVar6 + 0x1c0);" (assignment_expression "iVar1 = *(int *)(iVar6 + 0x1c0)" identifier = (pointer_expression "*(int *)(iVar6 + 0x1c0)" * (cast_expression "(int *)(iVar6 + 0x1c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c0)" ( (binary_expression "iVar6 + 0x1c0" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0xa0) + 0x9c0)" * (cast_expression "(int *)(*(int *)(param_1 + 0xa0) + 0x9c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xa0) + 0x9c0)" ( (binary_expression "*(int *)(param_1 + 0xa0) + 0x9c0" (pointer_expression "*(int *)(param_1 + 0xa0)" * (cast_expression "(int *)(param_1 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa0)" ( (binary_expression "param_1 + 0xa0" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar7 = *(undefined4 *)(iVar2 + 0x14);" (assignment_expression "uVar7 = *(undefined4 *)(iVar2 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar2 = *(int *)(iVar2 + 0x18)" identifier = (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180) {\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }\n  else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }" if (parenthesized_expression "(*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180)" ( (binary_expression "*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180" (pointer_expression "*(undefined **)(iVar2 + 0x54)" * (cast_expression "(undefined **)(iVar2 + 0x54)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))) == (binary_expression "PTR__bfd_std_section_001cefbc + 0x180" identifier + number_literal)) )) (compound_statement "{\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }" { (expression_statement "uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;" (assignment_expression "uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)" identifier = (call_expression "dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)" identifier (argument_list "(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)" ( number_literal , (string_literal ""%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar7);" (call_expression "FUN_00034d20(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "bVar8 = true;" (assignment_expression "bVar8 = true" identifier = true) ;) }) (else_clause "else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }" else (compound_statement "{\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }" { (expression_statement "iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);" (assignment_expression "iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4)" identifier = (pointer_expression "*(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4)" * (cast_expression "(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(undefined **)(iVar2 + 0x54) + 0xa4)" ( (binary_expression "*(undefined **)(iVar2 + 0x54) + 0xa4" (pointer_expression "*(undefined **)(iVar2 + 0x54)" * (cast_expression "(undefined **)(iVar2 + 0x54)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(iVar2 + 0x30);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x30)" identifier = (pointer_expression "*(int *)(iVar2 + 0x30)" * (cast_expression "(int *)(iVar2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar10 = *(uint *)(iVar2 + 0x2c);" (assignment_expression "uVar10 = *(uint *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x2c)" * (cast_expression "(uint *)(iVar2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }" if (parenthesized_expression "(*(int *)(iVar3 + 0x44) == 0)" ( (binary_expression "*(int *)(iVar3 + 0x44) == 0" (pointer_expression "*(int *)(iVar3 + 0x44)" * (cast_expression "(int *)(iVar3 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x44)" ( (binary_expression "iVar3 + 0x44" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }" { (expression_statement "local_30 = *(int *)(iVar2 + 0x84);" (assignment_expression "local_30 = *(int *)(iVar2 + 0x84)" identifier = (pointer_expression "*(int *)(iVar2 + 0x84)" * (cast_expression "(int *)(iVar2 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x84)" ( (binary_expression "iVar2 + 0x84" identifier + number_literal) ))))) ;) (if_statement "if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }" { (expression_statement "local_30 = xmalloc(uVar10);" (assignment_expression "local_30 = xmalloc(uVar10)" identifier = (call_expression "xmalloc(uVar10)" identifier (argument_list "(uVar10)" ( identifier )))) ;) (expression_statement "uVar10 = *(uint *)(iVar2 + 0x2c);" (assignment_expression "uVar10 = *(uint *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x2c)" * (cast_expression "(uint *)(iVar2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(iVar2 + 0x30);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x30)" identifier = (pointer_expression "*(int *)(iVar2 + 0x30)" * (cast_expression "(int *)(iVar2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar2 + 0x84) = local_30;" (assignment_expression "*(int *)(iVar2 + 0x84) = local_30" (pointer_expression "*(int *)(iVar2 + 0x84)" * (cast_expression "(int *)(iVar2 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x84)" ( (binary_expression "iVar2 + 0x84" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = *(int *)(param_1 + 4);" (assignment_expression "iVar6 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) })) }) (else_clause "else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }" else (compound_statement "{\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }" { (expression_statement "local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);" (assignment_expression "local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c)" identifier = (binary_expression "*(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c)" (pointer_expression "*(int *)(iVar3 + 0x44)" * (cast_expression "(int *)(iVar3 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x44)" ( (binary_expression "iVar3 + 0x44" identifier + number_literal) )))) + (pointer_expression "*(int *)(iVar2 + 0x4c)" * (cast_expression "(int *)(iVar2 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4c)" ( (binary_expression "iVar2 + 0x4c" identifier + number_literal) )))))) ;) }))) (expression_statement "(**(code **)(iVar6 + 0x54))(4,0,local_30);" (call_expression "(**(code **)(iVar6 + 0x54))(4,0,local_30)" (parenthesized_expression "(**(code **)(iVar6 + 0x54))" ( (pointer_expression "**(code **)(iVar6 + 0x54)" * (pointer_expression "*(code **)(iVar6 + 0x54)" * (cast_expression "(code **)(iVar6 + 0x54)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x54)" ( (binary_expression "iVar6 + 0x54" identifier + number_literal) ))))) )) (argument_list "(4,0,local_30)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "(**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);" (call_expression "(**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4)" (parenthesized_expression "(**(code **)(*(int *)(param_1 + 4) + 0x54))" ( (pointer_expression "**(code **)(*(int *)(param_1 + 4) + 0x54)" * (pointer_expression "*(code **)(*(int *)(param_1 + 4) + 0x54)" * (cast_expression "(code **)(*(int *)(param_1 + 4) + 0x54)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 0x54)" ( (binary_expression "*(int *)(param_1 + 4) + 0x54" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4)" ( (binary_expression "uVar10 - 0x10" identifier - number_literal) , (binary_expression "iVar9 + -1 + (uint)(0xf < uVar10)" (binary_expression "iVar9 + -1" identifier + number_literal) + (call_expression "(uint)(0xf < uVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xf < uVar10)" ( (binary_expression "0xf < uVar10" number_literal < identifier) )))) , (binary_expression "local_30 + 4" identifier + number_literal) ))) ;) (expression_statement "(**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);" (call_expression "(**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8)" (parenthesized_expression "(**(code **)(*(int *)(param_1 + 4) + 0x54))" ( (pointer_expression "**(code **)(*(int *)(param_1 + 4) + 0x54)" * (pointer_expression "*(code **)(*(int *)(param_1 + 4) + 0x54)" * (cast_expression "(code **)(*(int *)(param_1 + 4) + 0x54)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 0x54)" ( (binary_expression "*(int *)(param_1 + 4) + 0x54" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(3,0,local_30 + 8)" ( number_literal , number_literal , (binary_expression "local_30 + 8" identifier + number_literal) ))) ;) (expression_statement "*(undefined4 *)(local_30 + 0xc) = 0x554e47;" (assignment_expression "*(undefined4 *)(local_30 + 0xc) = 0x554e47" (pointer_expression "*(undefined4 *)(local_30 + 0xc)" * (cast_expression "(undefined4 *)(local_30 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30 + 0xc)" ( (binary_expression "local_30 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);" (call_expression "FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10)" identifier (argument_list "(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10)" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x19c) + 0x18)" ( (binary_expression "*(int *)(iVar1 + 0x19c) + 0x18" (pointer_expression "*(int *)(iVar1 + 0x19c)" * (cast_expression "(int *)(iVar1 + 0x19c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x19c)" ( (binary_expression "iVar1 + 0x19c" identifier + number_literal) )))) + number_literal) )))) , (binary_expression "local_30 + 0x10" identifier + number_literal) , (binary_expression "uVar10 - 0x10" identifier - number_literal) ))) ;) (expression_statement "uVar7 = *(undefined4 *)(iVar2 + 0x2c);" (assignment_expression "uVar7 = *(undefined4 *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(undefined4 *)(iVar2 + 0x2c)" * (cast_expression "(undefined4 *)(iVar2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(iVar2 + 0x30);" (assignment_expression "uVar4 = *(undefined4 *)(iVar2 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "lVar5 = *(longlong *)(iVar2 + 0x2c);" (assignment_expression "lVar5 = *(longlong *)(iVar2 + 0x2c)" identifier = (pointer_expression "*(longlong *)(iVar2 + 0x2c)" * (cast_expression "(longlong *)(iVar2 + 0x2c)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);" (assignment_expression "iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0)" identifier = (call_expression "bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0)" identifier (argument_list "(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0)" ( identifier , (binary_expression "*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18)" (pointer_expression "*(uint *)(iVar2 + 0x4c)" * (cast_expression "(uint *)(iVar2 + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4c)" ( (binary_expression "iVar2 + 0x4c" identifier + number_literal) )))) + (pointer_expression "*(uint *)(iVar3 + 0x18)" * (cast_expression "(uint *)(iVar3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) ))))) , (binary_expression "*(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18))" (binary_expression "*(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c)" (pointer_expression "*(int *)(iVar2 + 0x50)" * (cast_expression "(int *)(iVar2 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x50)" ( (binary_expression "iVar2 + 0x50" identifier + number_literal) )))) + (pointer_expression "*(int *)(iVar3 + 0x1c)" * (cast_expression "(int *)(iVar3 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) ))))) + (cast_expression "(uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18))" identifier (argument_list "(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18))" ( (pointer_expression "*(uint *)(iVar2 + 0x4c)" * (cast_expression "(uint *)(iVar2 + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4c)" ( (binary_expression "iVar2 + 0x4c" identifier + number_literal) )))) , (pointer_expression "*(uint *)(iVar3 + 0x18)" * (cast_expression "(uint *)(iVar3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) ))))) , number_literal )))) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (if_statement "if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }" { (expression_statement "lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);" (assignment_expression "lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1)" identifier = (call_expression "bfd_bwrite(local_30,uVar7,uVar4,param_1)" identifier (argument_list "(local_30,uVar7,uVar4,param_1)" ( identifier , identifier , identifier , identifier )))) ;) (return_statement "return lVar11 == lVar5;" return (binary_expression "lVar11 == lVar5" identifier == identifier) ;) })) }))) (return_statement "return bVar8;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , LIT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( (binary_expression IDENT - LIT) , (binary_expression (binary_expression IDENT + LIT) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) )))) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( LIT , LIT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) , (binary_expression IDENT + LIT) , (binary_expression IDENT - LIT) ))) ;) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 = (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))))) , LIT )))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (return_statement return (binary_expression IDENT == IDENT) ;) })) }))) (return_statement return IDENT ;) })))
(function_definition "bool FUN_0004f380(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  bool bVar8;\n  int iVar9;\n  uint uVar10;\n  longlong lVar11;\n  int local_30;\n  \n  iVar6 = *(int *)(param_1 + 4);\n  iVar1 = *(int *)(iVar6 + 0x1c0);\n  iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0);\n  uVar7 = *(undefined4 *)(iVar2 + 0x14);\n  iVar2 = *(int *)(iVar2 + 0x18);\n  if (*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180) {\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }\n  else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }\n  return bVar8;\n}" (primitive_type "bool") (function_declarator "FUN_0004f380(int param_1)" (identifier "FUN_0004f380") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  longlong lVar5;\n  int iVar6;\n  undefined4 uVar7;\n  bool bVar8;\n  int iVar9;\n  uint uVar10;\n  longlong lVar11;\n  int local_30;\n  \n  iVar6 = *(int *)(param_1 + 4);\n  iVar1 = *(int *)(iVar6 + 0x1c0);\n  iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0);\n  uVar7 = *(undefined4 *)(iVar2 + 0x14);\n  iVar2 = *(int *)(iVar2 + 0x18);\n  if (*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180) {\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }\n  else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }\n  return bVar8;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "longlong lVar5;" (type_identifier "longlong") (identifier "lVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "bool bVar8;" (primitive_type "bool") (identifier "bVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "longlong lVar11;" (type_identifier "longlong") (identifier "lVar11") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (expression_statement "iVar6 = *(int *)(param_1 + 4);" (assignment_expression "iVar6 = *(int *)(param_1 + 4)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar1 = *(int *)(iVar6 + 0x1c0);" (assignment_expression "iVar1 = *(int *)(iVar6 + 0x1c0)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar6 + 0x1c0)" (* "*") (cast_expression "(int *)(iVar6 + 0x1c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x1c0)" (( "(") (binary_expression "iVar6 + 0x1c0" (identifier "iVar6") (+ "+") (number_literal "0x1c0")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0xa0) + 0x9c0)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0xa0) + 0x9c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xa0) + 0x9c0)" (( "(") (binary_expression "*(int *)(param_1 + 0xa0) + 0x9c0" (pointer_expression "*(int *)(param_1 + 0xa0)" (* "*") (cast_expression "(int *)(param_1 + 0xa0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xa0)" (( "(") (binary_expression "param_1 + 0xa0" (identifier "param_1") (+ "+") (number_literal "0xa0")) () ")")))) (+ "+") (number_literal "0x9c0")) () ")"))))) (; ";")) (expression_statement "uVar7 = *(undefined4 *)(iVar2 + 0x14);" (assignment_expression "uVar7 = *(undefined4 *)(iVar2 + 0x14)" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar2 = *(int *)(iVar2 + 0x18)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180) {\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }\n  else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }" (if "if") (parenthesized_expression "(*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180)" (( "(") (binary_expression "*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180" (pointer_expression "*(undefined **)(iVar2 + 0x54)" (* "*") (cast_expression "(undefined **)(iVar2 + 0x54)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 0x54)" (( "(") (binary_expression "iVar2 + 0x54" (identifier "iVar2") (+ "+") (number_literal "0x54")) () ")")))) (== "==") (binary_expression "PTR__bfd_std_section_001cefbc + 0x180" (identifier "PTR__bfd_std_section_001cefbc") (+ "+") (number_literal "0x180"))) () ")")) (compound_statement "{\n    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_00034d20(uVar7);\n    bVar8 = true;\n  }" ({ "{") (expression_statement "uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;" (assignment_expression "uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)" (identifier "uVar7") (= "=") (call_expression "dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)" (identifier "dcgettext") (argument_list "(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"" (" """) (string_content "%P: warning: .note.gnu.build-id section discarded, --build-id ignored") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar7);" (call_expression "FUN_00034d20(uVar7)" (identifier "FUN_00034d20") (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "bVar8 = true;" (assignment_expression "bVar8 = true" (identifier "bVar8") (= "=") (true "true")) (; ";")) (} "}")) (else_clause "else {\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }" (else "else") (compound_statement "{\n    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);\n    iVar9 = *(int *)(iVar2 + 0x30);\n    uVar10 = *(uint *)(iVar2 + 0x2c);\n    if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }\n    (**(code **)(iVar6 + 0x54))(4,0,local_30);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);\n    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);\n    *(undefined4 *)(local_30 + 0xc) = 0x554e47;\n    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);\n    uVar7 = *(undefined4 *)(iVar2 + 0x2c);\n    uVar4 = *(undefined4 *)(iVar2 + 0x30);\n    lVar5 = *(longlong *)(iVar2 + 0x2c);\n    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);\n    bVar8 = false;\n    if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }\n  }" ({ "{") (expression_statement "iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);" (assignment_expression "iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4)" (* "*") (cast_expression "(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(undefined **)(iVar2 + 0x54) + 0xa4)" (( "(") (binary_expression "*(undefined **)(iVar2 + 0x54) + 0xa4" (pointer_expression "*(undefined **)(iVar2 + 0x54)" (* "*") (cast_expression "(undefined **)(iVar2 + 0x54)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 0x54)" (( "(") (binary_expression "iVar2 + 0x54" (identifier "iVar2") (+ "+") (number_literal "0x54")) () ")")))) (+ "+") (number_literal "0xa4")) () ")"))))) (; ";")) (expression_statement "iVar9 = *(int *)(iVar2 + 0x30);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x30)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar2 + 0x30)" (* "*") (cast_expression "(int *)(iVar2 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "uVar10 = *(uint *)(iVar2 + 0x2c);" (assignment_expression "uVar10 = *(uint *)(iVar2 + 0x2c)" (identifier "uVar10") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c)" (( "(") (binary_expression "iVar2 + 0x2c" (identifier "iVar2") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar3 + 0x44) == 0) {\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }\n    else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 0x44) == 0)" (( "(") (binary_expression "*(int *)(iVar3 + 0x44) == 0" (pointer_expression "*(int *)(iVar3 + 0x44)" (* "*") (cast_expression "(int *)(iVar3 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x44)" (( "(") (binary_expression "iVar3 + 0x44" (identifier "iVar3") (+ "+") (number_literal "0x44")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      local_30 = *(int *)(iVar2 + 0x84);\n      if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }\n    }" ({ "{") (expression_statement "local_30 = *(int *)(iVar2 + 0x84);" (assignment_expression "local_30 = *(int *)(iVar2 + 0x84)" (identifier "local_30") (= "=") (pointer_expression "*(int *)(iVar2 + 0x84)" (* "*") (cast_expression "(int *)(iVar2 + 0x84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x84)" (( "(") (binary_expression "iVar2 + 0x84" (identifier "iVar2") (+ "+") (number_literal "0x84")) () ")"))))) (; ";")) (if_statement "if (local_30 == 0) {\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }" (if "if") (parenthesized_expression "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_30 = xmalloc(uVar10);\n        uVar10 = *(uint *)(iVar2 + 0x2c);\n        iVar9 = *(int *)(iVar2 + 0x30);\n        *(int *)(iVar2 + 0x84) = local_30;\n        iVar6 = *(int *)(param_1 + 4);\n      }" ({ "{") (expression_statement "local_30 = xmalloc(uVar10);" (assignment_expression "local_30 = xmalloc(uVar10)" (identifier "local_30") (= "=") (call_expression "xmalloc(uVar10)" (identifier "xmalloc") (argument_list "(uVar10)" (( "(") (identifier "uVar10") () ")")))) (; ";")) (expression_statement "uVar10 = *(uint *)(iVar2 + 0x2c);" (assignment_expression "uVar10 = *(uint *)(iVar2 + 0x2c)" (identifier "uVar10") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x2c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c)" (( "(") (binary_expression "iVar2 + 0x2c" (identifier "iVar2") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "iVar9 = *(int *)(iVar2 + 0x30);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x30)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar2 + 0x30)" (* "*") (cast_expression "(int *)(iVar2 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*(int *)(iVar2 + 0x84) = local_30;" (assignment_expression "*(int *)(iVar2 + 0x84) = local_30" (pointer_expression "*(int *)(iVar2 + 0x84)" (* "*") (cast_expression "(int *)(iVar2 + 0x84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x84)" (( "(") (binary_expression "iVar2 + 0x84" (identifier "iVar2") (+ "+") (number_literal "0x84")) () ")")))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "iVar6 = *(int *)(param_1 + 4);" (assignment_expression "iVar6 = *(int *)(param_1 + 4)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }" (else "else") (compound_statement "{\n      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);\n    }" ({ "{") (expression_statement "local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);" (assignment_expression "local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c)" (identifier "local_30") (= "=") (binary_expression "*(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c)" (pointer_expression "*(int *)(iVar3 + 0x44)" (* "*") (cast_expression "(int *)(iVar3 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x44)" (( "(") (binary_expression "iVar3 + 0x44" (identifier "iVar3") (+ "+") (number_literal "0x44")) () ")")))) (+ "+") (pointer_expression "*(int *)(iVar2 + 0x4c)" (* "*") (cast_expression "(int *)(iVar2 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x4c)" (( "(") (binary_expression "iVar2 + 0x4c" (identifier "iVar2") (+ "+") (number_literal "0x4c")) () ")")))))) (; ";")) (} "}")))) (expression_statement "(**(code **)(iVar6 + 0x54))(4,0,local_30);" (call_expression "(**(code **)(iVar6 + 0x54))(4,0,local_30)" (parenthesized_expression "(**(code **)(iVar6 + 0x54))" (( "(") (pointer_expression "**(code **)(iVar6 + 0x54)" (* "*") (pointer_expression "*(code **)(iVar6 + 0x54)" (* "*") (cast_expression "(code **)(iVar6 + 0x54)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x54)" (( "(") (binary_expression "iVar6 + 0x54" (identifier "iVar6") (+ "+") (number_literal "0x54")) () ")"))))) () ")")) (argument_list "(4,0,local_30)" (( "(") (number_literal "4") (, ",") (number_literal "0") (, ",") (identifier "local_30") () ")"))) (; ";")) (expression_statement "(**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);" (call_expression "(**(code **)(*(int *)(param_1 + 4) + 0x54))\n              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4)" (parenthesized_expression "(**(code **)(*(int *)(param_1 + 4) + 0x54))" (( "(") (pointer_expression "**(code **)(*(int *)(param_1 + 4) + 0x54)" (* "*") (pointer_expression "*(code **)(*(int *)(param_1 + 4) + 0x54)" (* "*") (cast_expression "(code **)(*(int *)(param_1 + 4) + 0x54)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 4) + 0x54)" (( "(") (binary_expression "*(int *)(param_1 + 4) + 0x54" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x54")) () ")"))))) () ")")) (argument_list "(uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4)" (( "(") (binary_expression "uVar10 - 0x10" (identifier "uVar10") (- "-") (number_literal "0x10")) (, ",") (binary_expression "iVar9 + -1 + (uint)(0xf < uVar10)" (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1")) (+ "+") (call_expression "(uint)(0xf < uVar10)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0xf < uVar10)" (( "(") (binary_expression "0xf < uVar10" (number_literal "0xf") (< "<") (identifier "uVar10")) () ")")))) (, ",") (binary_expression "local_30 + 4" (identifier "local_30") (+ "+") (number_literal "4")) () ")"))) (; ";")) (expression_statement "(**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);" (call_expression "(**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8)" (parenthesized_expression "(**(code **)(*(int *)(param_1 + 4) + 0x54))" (( "(") (pointer_expression "**(code **)(*(int *)(param_1 + 4) + 0x54)" (* "*") (pointer_expression "*(code **)(*(int *)(param_1 + 4) + 0x54)" (* "*") (cast_expression "(code **)(*(int *)(param_1 + 4) + 0x54)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 4) + 0x54)" (( "(") (binary_expression "*(int *)(param_1 + 4) + 0x54" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x54")) () ")"))))) () ")")) (argument_list "(3,0,local_30 + 8)" (( "(") (number_literal "3") (, ",") (number_literal "0") (, ",") (binary_expression "local_30 + 8" (identifier "local_30") (+ "+") (number_literal "8")) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(local_30 + 0xc) = 0x554e47;" (assignment_expression "*(undefined4 *)(local_30 + 0xc) = 0x554e47" (pointer_expression "*(undefined4 *)(local_30 + 0xc)" (* "*") (cast_expression "(undefined4 *)(local_30 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_30 + 0xc)" (( "(") (binary_expression "local_30 + 0xc" (identifier "local_30") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0x554e47")) (; ";")) (expression_statement "FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10);" (call_expression "FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10)" (identifier "FUN_00038ad0") (argument_list "(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,\n                 uVar10 - 0x10)" (( "(") (identifier "param_1") (, ",") (identifier "uVar7") (, ",") (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x19c) + 0x18)" (( "(") (binary_expression "*(int *)(iVar1 + 0x19c) + 0x18" (pointer_expression "*(int *)(iVar1 + 0x19c)" (* "*") (cast_expression "(int *)(iVar1 + 0x19c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x19c)" (( "(") (binary_expression "iVar1 + 0x19c" (identifier "iVar1") (+ "+") (number_literal "0x19c")) () ")")))) (+ "+") (number_literal "0x18")) () ")")))) (, ",") (binary_expression "local_30 + 0x10" (identifier "local_30") (+ "+") (number_literal "0x10")) (, ",") (binary_expression "uVar10 - 0x10" (identifier "uVar10") (- "-") (number_literal "0x10")) () ")"))) (; ";")) (expression_statement "uVar7 = *(undefined4 *)(iVar2 + 0x2c);" (assignment_expression "uVar7 = *(undefined4 *)(iVar2 + 0x2c)" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c)" (( "(") (binary_expression "iVar2 + 0x2c" (identifier "iVar2") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(undefined4 *)(iVar2 + 0x30);" (assignment_expression "uVar4 = *(undefined4 *)(iVar2 + 0x30)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "lVar5 = *(longlong *)(iVar2 + 0x2c);" (assignment_expression "lVar5 = *(longlong *)(iVar2 + 0x2c)" (identifier "lVar5") (= "=") (pointer_expression "*(longlong *)(iVar2 + 0x2c)" (* "*") (cast_expression "(longlong *)(iVar2 + 0x2c)" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c)" (( "(") (binary_expression "iVar2 + 0x2c" (identifier "iVar2") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);" (assignment_expression "iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0)" (identifier "iVar6") (= "=") (call_expression "bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0)" (identifier "bfd_seek") (argument_list "(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),\n                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0)" (( "(") (identifier "param_1") (, ",") (binary_expression "*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18)" (pointer_expression "*(uint *)(iVar2 + 0x4c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x4c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x4c)" (( "(") (binary_expression "iVar2 + 0x4c" (identifier "iVar2") (+ "+") (number_literal "0x4c")) () ")")))) (+ "+") (pointer_expression "*(uint *)(iVar3 + 0x18)" (* "*") (cast_expression "(uint *)(iVar3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x18)" (( "(") (binary_expression "iVar3 + 0x18" (identifier "iVar3") (+ "+") (number_literal "0x18")) () ")"))))) (, ",") (binary_expression "*(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +\n                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18))" (binary_expression "*(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c)" (pointer_expression "*(int *)(iVar2 + 0x50)" (* "*") (cast_expression "(int *)(iVar2 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x50)" (( "(") (binary_expression "iVar2 + 0x50" (identifier "iVar2") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (pointer_expression "*(int *)(iVar3 + 0x1c)" (* "*") (cast_expression "(int *)(iVar3 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1c)" (( "(") (binary_expression "iVar3 + 0x1c" (identifier "iVar3") (+ "+") (number_literal "0x1c")) () ")"))))) (+ "+") (cast_expression "(uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18))" (identifier "CARRY4") (argument_list "(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18))" (( "(") (pointer_expression "*(uint *)(iVar2 + 0x4c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x4c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x4c)" (( "(") (binary_expression "iVar2 + 0x4c" (identifier "iVar2") (+ "+") (number_literal "0x4c")) () ")")))) (, ",") (pointer_expression "*(uint *)(iVar3 + 0x18)" (* "*") (cast_expression "(uint *)(iVar3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x18)" (( "(") (binary_expression "iVar3 + 0x18" (identifier "iVar3") (+ "+") (number_literal "0x18")) () ")")))) () ")"))))) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" (identifier "bVar8") (= "=") (false "false")) (; ";")) (if_statement "if (iVar6 == 0) {\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);\n      return lVar11 == lVar5;\n    }" ({ "{") (expression_statement "lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);" (assignment_expression "lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1)" (identifier "lVar11") (= "=") (call_expression "bfd_bwrite(local_30,uVar7,uVar4,param_1)" (identifier "bfd_bwrite") (argument_list "(local_30,uVar7,uVar4,param_1)" (( "(") (identifier "local_30") (, ",") (identifier "uVar7") (, ",") (identifier "uVar4") (, ",") (identifier "param_1") () ")")))) (; ";")) (return_statement "return lVar11 == lVar5;" (return "return") (binary_expression "lVar11 == lVar5" (identifier "lVar11") (== "==") (identifier "lVar5")) (; ";")) (} "}"))) (} "}")))) (return_statement "return bVar8;" (return "return") (identifier "bVar8") (; ";")) (} "}")))

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

type_1 function_1(type_2 *abfd)

{
  void *pvVar1;
  type_3 *poVar2;
  type_4 *paVar3;
  void *pvVar4;
  type_5 uVar5;
  type_6 var_15;
  type_7 *pbVar7;
  int var_7;
  char *pcVar9;
  type_1 bVar10;
  type_8 var_8;
  type_6 var_14;
  type_9 *var_4;
  
  pbVar7 = abfd->xvec;
  pvVar1 = pbVar7->backend_data;
  poVar2 = ((abfd->tdata).elf_obj_data)->o;
  pcVar9 = (poVar2->build_id).style;
  paVar3 = (poVar2->build_id).sec;
  if (paVar3->output_section == (type_10 *)(var_1 + 0x180)) {
    pcVar9 = (char *)var_2(0,
                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"
                               ,5);
    var_3(pcVar9);
    bVar10 = 1;
  }
  else {
    pvVar4 = paVar3->output_section->used_by_bfd;
    var_7 = *(int *)((int)&paVar3->size + 4);
    var_8 = (type_8)paVar3->size;
    if (*(int *)((int)pvVar4 + 0x44) == 0) {
      var_4 = paVar3->contents;
      if (var_4 == (type_9 *)0x0) {
        var_4 = (type_9 *)var_5(var_8);
        var_8 = (type_8)paVar3->size;
        var_7 = *(int *)((int)&paVar3->size + 4);
        paVar3->contents = var_4;
        pbVar7 = abfd->xvec;
      }
    }
    else {
      var_4 = (type_9 *)(*(int *)((int)pvVar4 + 0x44) + (int)paVar3->output_offset);
    }
    (*pbVar7->bfd_h_putx32)(4,var_4);
    (*abfd->xvec->bfd_h_putx32)
              (var_6(var_7 + -1 + (type_8)(0xf < var_8),var_8 - 0x10),var_4 + 4);
    (*abfd->xvec->bfd_h_putx32)(3,var_4 + 8);
    var_9(var_4 + 0xc,"GNU",4);
    var_10(abfd,pcVar9,*(type_11 *)(*(int *)((int)pvVar1 + 0x19c) + 0x18),
                      var_4 + 0x10,var_8 - 0x10);
    var_14 = paVar3->size;
    uVar5 = *(type_5 *)((int)&paVar3->size + 4);
    var_15 = paVar3->size;
    var_8 = (type_8)paVar3->output_offset;
    var_7 = var_11(abfd,var_8 + *(type_8 *)((int)pvVar4 + 0x18),
                     *(int *)((int)&paVar3->output_offset + 4) + *(int *)((int)pvVar4 + 0x1c) +
                     (type_8)var_12(var_8,*(type_8 *)((int)pvVar4 + 0x18)),0);
    bVar10 = 0;
    if (var_7 == 0) {
      var_14 = var_13(var_4,(int)var_14,uVar5,abfd);
      return (type_8)(var_14 == var_15);
    }
  }
  return bVar10;
}


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

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

bool MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  longlong lVar5;
  int iVar6;
  undefined4 uVar7;
  bool bVar8;
  int iVar9;
  uint uVar10;
  longlong lVar11;
  int local_30;
  
  iVar6 = *(int *)(param_1 + 4);
  iVar1 = *(int *)(iVar6 + 0x1c0);
  iVar2 = *(int *)(*(int *)(param_1 + 0xa0) + 0x9c0);
  uVar7 = *(undefined4 *)(iVar2 + 0x14);
  iVar2 = *(int *)(iVar2 + 0x18);
  if (*(undefined **)(iVar2 + 0x54) == PTR__bfd_std_section_001cefbc + 0x180) {
    uVar7 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)
    ;
    FUN_00034d20(uVar7);
    bVar8 = true;
  }
  else {
    iVar3 = *(int *)(*(undefined **)(iVar2 + 0x54) + 0xa4);
    iVar9 = *(int *)(iVar2 + 0x30);
    uVar10 = *(uint *)(iVar2 + 0x2c);
    if (*(int *)(iVar3 + 0x44) == 0) {
      local_30 = *(int *)(iVar2 + 0x84);
      if (local_30 == 0) {
        local_30 = xmalloc(uVar10);
        uVar10 = *(uint *)(iVar2 + 0x2c);
        iVar9 = *(int *)(iVar2 + 0x30);
        *(int *)(iVar2 + 0x84) = local_30;
        iVar6 = *(int *)(param_1 + 4);
      }
    }
    else {
      local_30 = *(int *)(iVar3 + 0x44) + *(int *)(iVar2 + 0x4c);
    }
    (**(code **)(iVar6 + 0x54))(4,0,local_30);
    (**(code **)(*(int *)(param_1 + 4) + 0x54))
              (uVar10 - 0x10,iVar9 + -1 + (uint)(0xf < uVar10),local_30 + 4);
    (**(code **)(*(int *)(param_1 + 4) + 0x54))(3,0,local_30 + 8);
    *(undefined4 *)(local_30 + 0xc) = 0x554e47;
    FUN_00038ad0(param_1,uVar7,*(undefined4 *)(*(int *)(iVar1 + 0x19c) + 0x18),local_30 + 0x10,
                 uVar10 - 0x10);
    uVar7 = *(undefined4 *)(iVar2 + 0x2c);
    uVar4 = *(undefined4 *)(iVar2 + 0x30);
    lVar5 = *(longlong *)(iVar2 + 0x2c);
    iVar6 = bfd_seek(param_1,*(uint *)(iVar2 + 0x4c) + *(uint *)(iVar3 + 0x18),
                     *(int *)(iVar2 + 0x50) + *(int *)(iVar3 + 0x1c) +
                     (uint)CARRY4(*(uint *)(iVar2 + 0x4c),*(uint *)(iVar3 + 0x18)),0);
    bVar8 = false;
    if (iVar6 == 0) {
      lVar11 = bfd_bwrite(local_30,uVar7,uVar4,param_1);
      return lVar11 == lVar5;
    }
  }
  return bVar8;
}

