
bfd_boolean write_build_id(bfd *abfd)

{
  output_elf_obj_tdata *poVar1;
  void *pvVar2;
  asection *paVar3;
  void *pvVar4;
  long lVar5;
  int iVar6;
  bfd_size_type bVar7;
  char *pcVar8;
  uint uVar9;
  bfd_target *pbVar10;
  uchar *puVar11;
  bfd_size_type bVar12;
  
  pbVar10 = abfd->xvec;
  poVar1 = ((abfd->tdata).elf_obj_data)->o;
  pvVar2 = pbVar10->backend_data;
  paVar3 = (poVar1->build_id).sec;
  pcVar8 = (poVar1->build_id).style;
  if (paVar3->output_section == (bfd_section *)(_bfd_std_section + 0x230)) {
    pcVar8 = (char *)dcgettext(0,
                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"
                               ,5);
    einfo(pcVar8);
    uVar9 = 1;
  }
  else {
    pvVar4 = paVar3->output_section->used_by_bfd;
    bVar12 = paVar3->size;
    lVar5 = *(long *)((long)pvVar4 + 0x48);
    if (lVar5 == 0) {
      puVar11 = paVar3->contents;
      if (puVar11 == (uchar *)0x0) {
        puVar11 = (uchar *)xmalloc(bVar12);
        bVar12 = paVar3->size;
        pbVar10 = abfd->xvec;
        paVar3->contents = puVar11;
      }
    }
    else {
      puVar11 = (uchar *)(lVar5 + paVar3->output_offset);
    }
    (*pbVar10->bfd_h_putx32)(4,puVar11);
    (*abfd->xvec->bfd_h_putx32)(bVar12 - 0x10,puVar11 + 4);
    (*abfd->xvec->bfd_h_putx32)(3,puVar11 + 8);
    builtin_memcpy(puVar11 + 0xc,"GNU",4);
    generate_build_id(abfd,pcVar8,*(checksum_fn *)(*(long *)((long)pvVar2 + 0x300) + 0x20),
                      puVar11 + 0x10,(int)(bVar12 - 0x10));
    bVar12 = paVar3->size;
    iVar6 = bfd_seek(abfd,paVar3->output_offset + *(long *)((long)pvVar4 + 0x18),0);
    uVar9 = 0;
    if (iVar6 == 0) {
      bVar7 = bfd_bwrite(puVar11,bVar12,abfd);
      uVar9 = (uint)(bVar7 == bVar12);
    }
  }
  return uVar9;
}



bool FUN_001469b0(long param_1)

{
  long lVar1;
  long lVar2;
  int iVar3;
  long lVar4;
  undefined8 uVar5;
  long lVar6;
  long lVar7;
  long lVar8;
  bool bVar9;
  
  lVar6 = *(long *)(param_1 + 8);
  lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98);
  lVar1 = *(long *)(lVar6 + 0x368);
  lVar2 = *(long *)(lVar4 + 0x30);
  uVar5 = *(undefined8 *)(lVar4 + 0x28);
  if (*(long *)(lVar2 + 0x68) == 0x2a52f0) {
    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)
    ;
    FUN_001283c0(uVar5);
    bVar9 = true;
  }
  else {
    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);
    lVar8 = *(long *)(lVar2 + 0x38);
    lVar7 = *(long *)(lVar4 + 0x48);
    if (lVar7 == 0) {
      lVar7 = *(long *)(lVar2 + 0xb0);
      if (lVar7 == 0) {
        lVar7 = xmalloc(lVar8);
        lVar8 = *(long *)(lVar2 + 0x38);
        lVar6 = *(long *)(param_1 + 8);
        *(long *)(lVar2 + 0xb0) = lVar7;
      }
    }
    else {
      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);
    }
    (**(code **)(lVar6 + 0x90))(4,lVar7);
    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);
    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);
    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;
    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,
                 lVar8 - 0x10U & 0xffffffff);
    lVar6 = *(long *)(lVar2 + 0x38);
    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);
    bVar9 = false;
    if (iVar3 == 0) {
      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);
      bVar9 = lVar4 == lVar6;
    }
  }
  return bVar9;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x18
MOV RAX,qword ptr [RDI + 0xf8]
MOV RDX,qword ptr [RDI + 0x8]
MOV RAX,qword ptr [RAX + 0xc98]
MOV R14,qword ptr [RDX + 0x368]
MOV R12,qword ptr [RAX + 0x30]
MOV RCX,qword ptr [RAX + 0x28]
MOV RAX,qword ptr [R12 + 0x68]
MOV qword ptr [RSP + 0x8],RCX
LEA RCX,[0x2a52f0]
CMP RAX,RCX
JZ 0x00146af8
MOV R15,qword ptr [RAX + 0xe0]
MOV RBP,RDI
MOV R13,qword ptr [R12 + 0x38]
MOV RBX,qword ptr [R15 + 0x48]
TEST RBX,RBX
JZ 0x00146ac0
ADD RBX,qword ptr [R12 + 0x60]
MOV RSI,RBX
MOV EDI,0x4
SUB R13,0x10
CALL qword ptr [RDX + 0x90]
MOV RAX,qword ptr [RBP + 0x8]
MOV RDI,R13
LEA RSI,[RBX + 0x4]
CALL qword ptr [RAX + 0x90]
MOV RAX,qword ptr [RBP + 0x8]
LEA RSI,[RBX + 0x8]
MOV EDI,0x3
CALL qword ptr [RAX + 0x90]
MOV R8D,R13D
LEA RCX,[RBX + 0x10]
MOV RDI,RBP
MOV dword ptr [RBX + 0xc],0x554e47
MOV RAX,qword ptr [R14 + 0x300]
MOV RSI,qword ptr [RSP + 0x8]
MOV RDX,qword ptr [RAX + 0x20]
CALL 0x0012c030
MOV RSI,qword ptr [R12 + 0x60]
XOR EDX,EDX
ADD RSI,qword ptr [R15 + 0x18]
MOV RDI,RBP
MOV R13,qword ptr [R12 + 0x38]
CALL 0x0010cdc0
XOR EDX,EDX
TEST EAX,EAX
JZ 0x00146aa8
ADD RSP,0x18
MOV EAX,EDX
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RDX,RBP
MOV RSI,R13
MOV RDI,RBX
CALL 0x0010c770
XOR EDX,EDX
CMP RAX,R13
SETZ DL
JMP 0x00146a94
MOV RBX,qword ptr [R12 + 0xb0]
TEST RBX,RBX
JNZ 0x00146a1a
MOV RDI,R13
CALL 0x0010cde0
MOV R13,qword ptr [R12 + 0x38]
MOV RDX,qword ptr [RBP + 0x8]
MOV RBX,RAX
MOV qword ptr [R12 + 0xb0],RAX
JMP 0x00146a1a
MOV EDX,0x5
LEA RSI,[0x196438]
XOR EDI,EDI
CALL 0x0010c350
MOV RDI,RAX
XOR EAX,EAX
CALL 0x001283c0
MOV EDX,0x1
JMP 0x00146a94
(translation_unit "bool FUN_001469b0(long param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  int iVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  bool bVar9;\n  \n  lVar6 = *(long *)(param_1 + 8);\n  lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98);\n  lVar1 = *(long *)(lVar6 + 0x368);\n  lVar2 = *(long *)(lVar4 + 0x30);\n  uVar5 = *(undefined8 *)(lVar4 + 0x28);\n  if (*(long *)(lVar2 + 0x68) == 0x2a52f0) {\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }\n  else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }\n  return bVar9;\n}\n\n" (function_definition "bool FUN_001469b0(long param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  int iVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  bool bVar9;\n  \n  lVar6 = *(long *)(param_1 + 8);\n  lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98);\n  lVar1 = *(long *)(lVar6 + 0x368);\n  lVar2 = *(long *)(lVar4 + 0x30);\n  uVar5 = *(undefined8 *)(lVar4 + 0x28);\n  if (*(long *)(lVar2 + 0x68) == 0x2a52f0) {\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }\n  else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }\n  return bVar9;\n}" primitive_type (function_declarator "FUN_001469b0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  int iVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  bool bVar9;\n  \n  lVar6 = *(long *)(param_1 + 8);\n  lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98);\n  lVar1 = *(long *)(lVar6 + 0x368);\n  lVar2 = *(long *)(lVar4 + 0x30);\n  uVar5 = *(undefined8 *)(lVar4 + 0x28);\n  if (*(long *)(lVar2 + 0x68) == 0x2a52f0) {\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }\n  else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }\n  return bVar9;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (expression_statement "lVar6 = *(long *)(param_1 + 8);" (assignment_expression "lVar6 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98);" (assignment_expression "lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98)" identifier = (pointer_expression "*(long *)(*(long *)(param_1 + 0xf8) + 0xc98)" * (cast_expression "(long *)(*(long *)(param_1 + 0xf8) + 0xc98)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xf8) + 0xc98)" ( (binary_expression "*(long *)(param_1 + 0xf8) + 0xc98" (pointer_expression "*(long *)(param_1 + 0xf8)" * (cast_expression "(long *)(param_1 + 0xf8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf8)" ( (binary_expression "param_1 + 0xf8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "lVar1 = *(long *)(lVar6 + 0x368);" (assignment_expression "lVar1 = *(long *)(lVar6 + 0x368)" identifier = (pointer_expression "*(long *)(lVar6 + 0x368)" * (cast_expression "(long *)(lVar6 + 0x368)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + 0x368)" ( (binary_expression "lVar6 + 0x368" identifier + number_literal) ))))) ;) (expression_statement "lVar2 = *(long *)(lVar4 + 0x30);" (assignment_expression "lVar2 = *(long *)(lVar4 + 0x30)" identifier = (pointer_expression "*(long *)(lVar4 + 0x30)" * (cast_expression "(long *)(lVar4 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x30)" ( (binary_expression "lVar4 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined8 *)(lVar4 + 0x28);" (assignment_expression "uVar5 = *(undefined8 *)(lVar4 + 0x28)" identifier = (pointer_expression "*(undefined8 *)(lVar4 + 0x28)" * (cast_expression "(undefined8 *)(lVar4 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x28)" ( (binary_expression "lVar4 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(long *)(lVar2 + 0x68) == 0x2a52f0) {\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }\n  else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }" if (parenthesized_expression "(*(long *)(lVar2 + 0x68) == 0x2a52f0)" ( (binary_expression "*(long *)(lVar2 + 0x68) == 0x2a52f0" (pointer_expression "*(long *)(lVar2 + 0x68)" * (cast_expression "(long *)(lVar2 + 0x68)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x68)" ( (binary_expression "lVar2 + 0x68" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }" { (expression_statement "uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;" (assignment_expression "uVar5 = 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_001283c0(uVar5);" (call_expression "FUN_001283c0(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "bVar9 = true;" (assignment_expression "bVar9 = true" identifier = true) ;) }) (else_clause "else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }" else (compound_statement "{\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }" { (expression_statement "lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);" (assignment_expression "lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0)" identifier = (pointer_expression "*(long *)(*(long *)(lVar2 + 0x68) + 0xe0)" * (cast_expression "(long *)(*(long *)(lVar2 + 0x68) + 0xe0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar2 + 0x68) + 0xe0)" ( (binary_expression "*(long *)(lVar2 + 0x68) + 0xe0" (pointer_expression "*(long *)(lVar2 + 0x68)" * (cast_expression "(long *)(lVar2 + 0x68)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x68)" ( (binary_expression "lVar2 + 0x68" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "lVar8 = *(long *)(lVar2 + 0x38);" (assignment_expression "lVar8 = *(long *)(lVar2 + 0x38)" identifier = (pointer_expression "*(long *)(lVar2 + 0x38)" * (cast_expression "(long *)(lVar2 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x38)" ( (binary_expression "lVar2 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "lVar7 = *(long *)(lVar4 + 0x48);" (assignment_expression "lVar7 = *(long *)(lVar4 + 0x48)" identifier = (pointer_expression "*(long *)(lVar4 + 0x48)" * (cast_expression "(long *)(lVar4 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x48)" ( (binary_expression "lVar4 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }" if (parenthesized_expression "(lVar7 == 0)" ( (binary_expression "lVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }" { (expression_statement "lVar7 = *(long *)(lVar2 + 0xb0);" (assignment_expression "lVar7 = *(long *)(lVar2 + 0xb0)" identifier = (pointer_expression "*(long *)(lVar2 + 0xb0)" * (cast_expression "(long *)(lVar2 + 0xb0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0xb0)" ( (binary_expression "lVar2 + 0xb0" identifier + number_literal) ))))) ;) (if_statement "if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }" if (parenthesized_expression "(lVar7 == 0)" ( (binary_expression "lVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }" { (expression_statement "lVar7 = xmalloc(lVar8);" (assignment_expression "lVar7 = xmalloc(lVar8)" identifier = (call_expression "xmalloc(lVar8)" identifier (argument_list "(lVar8)" ( identifier )))) ;) (expression_statement "lVar8 = *(long *)(lVar2 + 0x38);" (assignment_expression "lVar8 = *(long *)(lVar2 + 0x38)" identifier = (pointer_expression "*(long *)(lVar2 + 0x38)" * (cast_expression "(long *)(lVar2 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x38)" ( (binary_expression "lVar2 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "lVar6 = *(long *)(param_1 + 8);" (assignment_expression "lVar6 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(long *)(lVar2 + 0xb0) = lVar7;" (assignment_expression "*(long *)(lVar2 + 0xb0) = lVar7" (pointer_expression "*(long *)(lVar2 + 0xb0)" * (cast_expression "(long *)(lVar2 + 0xb0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0xb0)" ( (binary_expression "lVar2 + 0xb0" identifier + number_literal) )))) = identifier) ;) })) }) (else_clause "else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }" else (compound_statement "{\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }" { (expression_statement "lVar7 = lVar7 + *(long *)(lVar2 + 0x60);" (assignment_expression "lVar7 = lVar7 + *(long *)(lVar2 + 0x60)" identifier = (binary_expression "lVar7 + *(long *)(lVar2 + 0x60)" identifier + (pointer_expression "*(long *)(lVar2 + 0x60)" * (cast_expression "(long *)(lVar2 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x60)" ( (binary_expression "lVar2 + 0x60" identifier + number_literal) )))))) ;) }))) (expression_statement "(**(code **)(lVar6 + 0x90))(4,lVar7);" (call_expression "(**(code **)(lVar6 + 0x90))(4,lVar7)" (parenthesized_expression "(**(code **)(lVar6 + 0x90))" ( (pointer_expression "**(code **)(lVar6 + 0x90)" * (pointer_expression "*(code **)(lVar6 + 0x90)" * (cast_expression "(code **)(lVar6 + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar6 + 0x90)" ( (binary_expression "lVar6 + 0x90" identifier + number_literal) ))))) )) (argument_list "(4,lVar7)" ( number_literal , identifier ))) ;) (expression_statement "(**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);" (call_expression "(**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4)" (parenthesized_expression "(**(code **)(*(long *)(param_1 + 8) + 0x90))" ( (pointer_expression "**(code **)(*(long *)(param_1 + 8) + 0x90)" * (pointer_expression "*(code **)(*(long *)(param_1 + 8) + 0x90)" * (cast_expression "(code **)(*(long *)(param_1 + 8) + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x90)" ( (binary_expression "*(long *)(param_1 + 8) + 0x90" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(lVar8 - 0x10U,lVar7 + 4)" ( (binary_expression "lVar8 - 0x10U" identifier - number_literal) , (binary_expression "lVar7 + 4" identifier + number_literal) ))) ;) (expression_statement "(**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);" (call_expression "(**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8)" (parenthesized_expression "(**(code **)(*(long *)(param_1 + 8) + 0x90))" ( (pointer_expression "**(code **)(*(long *)(param_1 + 8) + 0x90)" * (pointer_expression "*(code **)(*(long *)(param_1 + 8) + 0x90)" * (cast_expression "(code **)(*(long *)(param_1 + 8) + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x90)" ( (binary_expression "*(long *)(param_1 + 8) + 0x90" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(3,lVar7 + 8)" ( number_literal , (binary_expression "lVar7 + 8" identifier + number_literal) ))) ;) (expression_statement "*(undefined4 *)(lVar7 + 0xc) = 0x554e47;" (assignment_expression "*(undefined4 *)(lVar7 + 0xc) = 0x554e47" (pointer_expression "*(undefined4 *)(lVar7 + 0xc)" * (cast_expression "(undefined4 *)(lVar7 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0xc)" ( (binary_expression "lVar7 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);" (call_expression "FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff)" identifier (argument_list "(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff)" ( identifier , identifier , (pointer_expression "*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20)" * (cast_expression "(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar1 + 0x300) + 0x20)" ( (binary_expression "*(long *)(lVar1 + 0x300) + 0x20" (pointer_expression "*(long *)(lVar1 + 0x300)" * (cast_expression "(long *)(lVar1 + 0x300)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x300)" ( (binary_expression "lVar1 + 0x300" identifier + number_literal) )))) + number_literal) )))) , (binary_expression "lVar7 + 0x10" identifier + number_literal) , (binary_expression "lVar8 - 0x10U & 0xffffffff" (binary_expression "lVar8 - 0x10U" identifier - number_literal) & number_literal) ))) ;) (expression_statement "lVar6 = *(long *)(lVar2 + 0x38);" (assignment_expression "lVar6 = *(long *)(lVar2 + 0x38)" identifier = (pointer_expression "*(long *)(lVar2 + 0x38)" * (cast_expression "(long *)(lVar2 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x38)" ( (binary_expression "lVar2 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);" (assignment_expression "iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0)" identifier = (call_expression "bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0)" identifier (argument_list "(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0)" ( identifier , (binary_expression "*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18)" (pointer_expression "*(long *)(lVar2 + 0x60)" * (cast_expression "(long *)(lVar2 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x60)" ( (binary_expression "lVar2 + 0x60" identifier + number_literal) )))) + (pointer_expression "*(long *)(lVar4 + 0x18)" * (cast_expression "(long *)(lVar4 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x18)" ( (binary_expression "lVar4 + 0x18" identifier + number_literal) ))))) , number_literal )))) ;) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (if_statement "if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }" { (expression_statement "lVar4 = bfd_bwrite(lVar7,lVar6,param_1);" (assignment_expression "lVar4 = bfd_bwrite(lVar7,lVar6,param_1)" identifier = (call_expression "bfd_bwrite(lVar7,lVar6,param_1)" identifier (argument_list "(lVar7,lVar6,param_1)" ( identifier , identifier , identifier )))) ;) (expression_statement "bVar9 = lVar4 == lVar6;" (assignment_expression "bVar9 = lVar4 == lVar6" identifier = (binary_expression "lVar4 == lVar6" identifier == identifier)) ;) })) }))) (return_statement "return bVar9;" return identifier ;) })))
(translation_unit "bfd_boolean write_build_id(bfd *abfd)\n\n{\n  output_elf_obj_tdata *poVar1;\n  void *pvVar2;\n  asection *paVar3;\n  void *pvVar4;\n  long lVar5;\n  int iVar6;\n  bfd_size_type bVar7;\n  char *pcVar8;\n  uint uVar9;\n  bfd_target *pbVar10;\n  uchar *puVar11;\n  bfd_size_type bVar12;\n  \n  pbVar10 = abfd->xvec;\n  poVar1 = ((abfd->tdata).elf_obj_data)->o;\n  pvVar2 = pbVar10->backend_data;\n  paVar3 = (poVar1->build_id).sec;\n  pcVar8 = (poVar1->build_id).style;\n  if (paVar3->output_section == (bfd_section *)(_bfd_std_section + 0x230)) {\n    pcVar8 = (char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5);\n    einfo(pcVar8);\n    uVar9 = 1;\n  }\n  else {\n    pvVar4 = paVar3->output_section->used_by_bfd;\n    bVar12 = paVar3->size;\n    lVar5 = *(long *)((long)pvVar4 + 0x48);\n    if (lVar5 == 0) {\n      puVar11 = paVar3->contents;\n      if (puVar11 == (uchar *)0x0) {\n        puVar11 = (uchar *)xmalloc(bVar12);\n        bVar12 = paVar3->size;\n        pbVar10 = abfd->xvec;\n        paVar3->contents = puVar11;\n      }\n    }\n    else {\n      puVar11 = (uchar *)(lVar5 + paVar3->output_offset);\n    }\n    (*pbVar10->bfd_h_putx32)(4,puVar11);\n    (*abfd->xvec->bfd_h_putx32)(bVar12 - 0x10,puVar11 + 4);\n    (*abfd->xvec->bfd_h_putx32)(3,puVar11 + 8);\n    builtin_memcpy(puVar11 + 0xc,"GNU",4);\n    generate_build_id(abfd,pcVar8,*(checksum_fn *)(*(long *)((long)pvVar2 + 0x300) + 0x20),\n                      puVar11 + 0x10,(int)(bVar12 - 0x10));\n    bVar12 = paVar3->size;\n    iVar6 = bfd_seek(abfd,paVar3->output_offset + *(long *)((long)pvVar4 + 0x18),0);\n    uVar9 = 0;\n    if (iVar6 == 0) {\n      bVar7 = bfd_bwrite(puVar11,bVar12,abfd);\n      uVar9 = (uint)(bVar7 == bVar12);\n    }\n  }\n  return uVar9;\n}\n\n" (function_definition "bfd_boolean write_build_id(bfd *abfd)\n\n{\n  output_elf_obj_tdata *poVar1;\n  void *pvVar2;\n  asection *paVar3;\n  void *pvVar4;\n  long lVar5;\n  int iVar6;\n  bfd_size_type bVar7;\n  char *pcVar8;\n  uint uVar9;\n  bfd_target *pbVar10;\n  uchar *puVar11;\n  bfd_size_type bVar12;\n  \n  pbVar10 = abfd->xvec;\n  poVar1 = ((abfd->tdata).elf_obj_data)->o;\n  pvVar2 = pbVar10->backend_data;\n  paVar3 = (poVar1->build_id).sec;\n  pcVar8 = (poVar1->build_id).style;\n  if (paVar3->output_section == (bfd_section *)(_bfd_std_section + 0x230)) {\n    pcVar8 = (char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5);\n    einfo(pcVar8);\n    uVar9 = 1;\n  }\n  else {\n    pvVar4 = paVar3->output_section->used_by_bfd;\n    bVar12 = paVar3->size;\n    lVar5 = *(long *)((long)pvVar4 + 0x48);\n    if (lVar5 == 0) {\n      puVar11 = paVar3->contents;\n      if (puVar11 == (uchar *)0x0) {\n        puVar11 = (uchar *)xmalloc(bVar12);\n        bVar12 = paVar3->size;\n        pbVar10 = abfd->xvec;\n        paVar3->contents = puVar11;\n      }\n    }\n    else {\n      puVar11 = (uchar *)(lVar5 + paVar3->output_offset);\n    }\n    (*pbVar10->bfd_h_putx32)(4,puVar11);\n    (*abfd->xvec->bfd_h_putx32)(bVar12 - 0x10,puVar11 + 4);\n    (*abfd->xvec->bfd_h_putx32)(3,puVar11 + 8);\n    builtin_memcpy(puVar11 + 0xc,"GNU",4);\n    generate_build_id(abfd,pcVar8,*(checksum_fn *)(*(long *)((long)pvVar2 + 0x300) + 0x20),\n                      puVar11 + 0x10,(int)(bVar12 - 0x10));\n    bVar12 = paVar3->size;\n    iVar6 = bfd_seek(abfd,paVar3->output_offset + *(long *)((long)pvVar4 + 0x18),0);\n    uVar9 = 0;\n    if (iVar6 == 0) {\n      bVar7 = bfd_bwrite(puVar11,bVar12,abfd);\n      uVar9 = (uint)(bVar7 == bVar12);\n    }\n  }\n  return uVar9;\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  output_elf_obj_tdata *poVar1;\n  void *pvVar2;\n  asection *paVar3;\n  void *pvVar4;\n  long lVar5;\n  int iVar6;\n  bfd_size_type bVar7;\n  char *pcVar8;\n  uint uVar9;\n  bfd_target *pbVar10;\n  uchar *puVar11;\n  bfd_size_type bVar12;\n  \n  pbVar10 = abfd->xvec;\n  poVar1 = ((abfd->tdata).elf_obj_data)->o;\n  pvVar2 = pbVar10->backend_data;\n  paVar3 = (poVar1->build_id).sec;\n  pcVar8 = (poVar1->build_id).style;\n  if (paVar3->output_section == (bfd_section *)(_bfd_std_section + 0x230)) {\n    pcVar8 = (char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5);\n    einfo(pcVar8);\n    uVar9 = 1;\n  }\n  else {\n    pvVar4 = paVar3->output_section->used_by_bfd;\n    bVar12 = paVar3->size;\n    lVar5 = *(long *)((long)pvVar4 + 0x48);\n    if (lVar5 == 0) {\n      puVar11 = paVar3->contents;\n      if (puVar11 == (uchar *)0x0) {\n        puVar11 = (uchar *)xmalloc(bVar12);\n        bVar12 = paVar3->size;\n        pbVar10 = abfd->xvec;\n        paVar3->contents = puVar11;\n      }\n    }\n    else {\n      puVar11 = (uchar *)(lVar5 + paVar3->output_offset);\n    }\n    (*pbVar10->bfd_h_putx32)(4,puVar11);\n    (*abfd->xvec->bfd_h_putx32)(bVar12 - 0x10,puVar11 + 4);\n    (*abfd->xvec->bfd_h_putx32)(3,puVar11 + 8);\n    builtin_memcpy(puVar11 + 0xc,"GNU",4);\n    generate_build_id(abfd,pcVar8,*(checksum_fn *)(*(long *)((long)pvVar2 + 0x300) + 0x20),\n                      puVar11 + 0x10,(int)(bVar12 - 0x10));\n    bVar12 = paVar3->size;\n    iVar6 = bfd_seek(abfd,paVar3->output_offset + *(long *)((long)pvVar4 + 0x18),0);\n    uVar9 = 0;\n    if (iVar6 == 0) {\n      bVar7 = bfd_bwrite(puVar11,bVar12,abfd);\n      uVar9 = (uint)(bVar7 == bVar12);\n    }\n  }\n  return uVar9;\n}" { (declaration "output_elf_obj_tdata *poVar1;" type_identifier (pointer_declarator "*poVar1" * identifier) ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "asection *paVar3;" type_identifier (pointer_declarator "*paVar3" * identifier) ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "bfd_size_type bVar7;" type_identifier identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "bfd_target *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "uchar *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "bfd_size_type bVar12;" type_identifier identifier ;) (expression_statement "pbVar10 = abfd->xvec;" (assignment_expression "pbVar10 = abfd->xvec" identifier = (field_expression "abfd->xvec" identifier -> field_identifier)) ;) (expression_statement "poVar1 = ((abfd->tdata).elf_obj_data)->o;" (assignment_expression "poVar1 = ((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 "pvVar2 = pbVar10->backend_data;" (assignment_expression "pvVar2 = pbVar10->backend_data" identifier = (field_expression "pbVar10->backend_data" identifier -> field_identifier)) ;) (expression_statement "paVar3 = (poVar1->build_id).sec;" (assignment_expression "paVar3 = (poVar1->build_id).sec" identifier = (field_expression "(poVar1->build_id).sec" (parenthesized_expression "(poVar1->build_id)" ( (field_expression "poVar1->build_id" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pcVar8 = (poVar1->build_id).style;" (assignment_expression "pcVar8 = (poVar1->build_id).style" identifier = (field_expression "(poVar1->build_id).style" (parenthesized_expression "(poVar1->build_id)" ( (field_expression "poVar1->build_id" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (paVar3->output_section == (bfd_section *)(_bfd_std_section + 0x230)) {\n    pcVar8 = (char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5);\n    einfo(pcVar8);\n    uVar9 = 1;\n  }\n  else {\n    pvVar4 = paVar3->output_section->used_by_bfd;\n    bVar12 = paVar3->size;\n    lVar5 = *(long *)((long)pvVar4 + 0x48);\n    if (lVar5 == 0) {\n      puVar11 = paVar3->contents;\n      if (puVar11 == (uchar *)0x0) {\n        puVar11 = (uchar *)xmalloc(bVar12);\n        bVar12 = paVar3->size;\n        pbVar10 = abfd->xvec;\n        paVar3->contents = puVar11;\n      }\n    }\n    else {\n      puVar11 = (uchar *)(lVar5 + paVar3->output_offset);\n    }\n    (*pbVar10->bfd_h_putx32)(4,puVar11);\n    (*abfd->xvec->bfd_h_putx32)(bVar12 - 0x10,puVar11 + 4);\n    (*abfd->xvec->bfd_h_putx32)(3,puVar11 + 8);\n    builtin_memcpy(puVar11 + 0xc,"GNU",4);\n    generate_build_id(abfd,pcVar8,*(checksum_fn *)(*(long *)((long)pvVar2 + 0x300) + 0x20),\n                      puVar11 + 0x10,(int)(bVar12 - 0x10));\n    bVar12 = paVar3->size;\n    iVar6 = bfd_seek(abfd,paVar3->output_offset + *(long *)((long)pvVar4 + 0x18),0);\n    uVar9 = 0;\n    if (iVar6 == 0) {\n      bVar7 = bfd_bwrite(puVar11,bVar12,abfd);\n      uVar9 = (uint)(bVar7 == bVar12);\n    }\n  }" if (parenthesized_expression "(paVar3->output_section == (bfd_section *)(_bfd_std_section + 0x230))" ( (binary_expression "paVar3->output_section == (bfd_section *)(_bfd_std_section + 0x230)" (field_expression "paVar3->output_section" identifier -> field_identifier) == (cast_expression "(bfd_section *)(_bfd_std_section + 0x230)" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(_bfd_std_section + 0x230)" ( (binary_expression "_bfd_std_section + 0x230" identifier + number_literal) )))) )) (compound_statement "{\n    pcVar8 = (char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5);\n    einfo(pcVar8);\n    uVar9 = 1;\n  }" { (expression_statement "pcVar8 = (char *)dcgettext(0,\n                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"\n                               ,5);" (assignment_expression "pcVar8 = (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(pcVar8);" (call_expression "einfo(pcVar8)" identifier (argument_list "(pcVar8)" ( identifier ))) ;) (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    pvVar4 = paVar3->output_section->used_by_bfd;\n    bVar12 = paVar3->size;\n    lVar5 = *(long *)((long)pvVar4 + 0x48);\n    if (lVar5 == 0) {\n      puVar11 = paVar3->contents;\n      if (puVar11 == (uchar *)0x0) {\n        puVar11 = (uchar *)xmalloc(bVar12);\n        bVar12 = paVar3->size;\n        pbVar10 = abfd->xvec;\n        paVar3->contents = puVar11;\n      }\n    }\n    else {\n      puVar11 = (uchar *)(lVar5 + paVar3->output_offset);\n    }\n    (*pbVar10->bfd_h_putx32)(4,puVar11);\n    (*abfd->xvec->bfd_h_putx32)(bVar12 - 0x10,puVar11 + 4);\n    (*abfd->xvec->bfd_h_putx32)(3,puVar11 + 8);\n    builtin_memcpy(puVar11 + 0xc,"GNU",4);\n    generate_build_id(abfd,pcVar8,*(checksum_fn *)(*(long *)((long)pvVar2 + 0x300) + 0x20),\n                      puVar11 + 0x10,(int)(bVar12 - 0x10));\n    bVar12 = paVar3->size;\n    iVar6 = bfd_seek(abfd,paVar3->output_offset + *(long *)((long)pvVar4 + 0x18),0);\n    uVar9 = 0;\n    if (iVar6 == 0) {\n      bVar7 = bfd_bwrite(puVar11,bVar12,abfd);\n      uVar9 = (uint)(bVar7 == bVar12);\n    }\n  }" else (compound_statement "{\n    pvVar4 = paVar3->output_section->used_by_bfd;\n    bVar12 = paVar3->size;\n    lVar5 = *(long *)((long)pvVar4 + 0x48);\n    if (lVar5 == 0) {\n      puVar11 = paVar3->contents;\n      if (puVar11 == (uchar *)0x0) {\n        puVar11 = (uchar *)xmalloc(bVar12);\n        bVar12 = paVar3->size;\n        pbVar10 = abfd->xvec;\n        paVar3->contents = puVar11;\n      }\n    }\n    else {\n      puVar11 = (uchar *)(lVar5 + paVar3->output_offset);\n    }\n    (*pbVar10->bfd_h_putx32)(4,puVar11);\n    (*abfd->xvec->bfd_h_putx32)(bVar12 - 0x10,puVar11 + 4);\n    (*abfd->xvec->bfd_h_putx32)(3,puVar11 + 8);\n    builtin_memcpy(puVar11 + 0xc,"GNU",4);\n    generate_build_id(abfd,pcVar8,*(checksum_fn *)(*(long *)((long)pvVar2 + 0x300) + 0x20),\n                      puVar11 + 0x10,(int)(bVar12 - 0x10));\n    bVar12 = paVar3->size;\n    iVar6 = bfd_seek(abfd,paVar3->output_offset + *(long *)((long)pvVar4 + 0x18),0);\n    uVar9 = 0;\n    if (iVar6 == 0) {\n      bVar7 = bfd_bwrite(puVar11,bVar12,abfd);\n      uVar9 = (uint)(bVar7 == bVar12);\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 "bVar12 = paVar3->size;" (assignment_expression "bVar12 = paVar3->size" identifier = (field_expression "paVar3->size" identifier -> field_identifier)) ;) (expression_statement "lVar5 = *(long *)((long)pvVar4 + 0x48);" (assignment_expression "lVar5 = *(long *)((long)pvVar4 + 0x48)" identifier = (pointer_expression "*(long *)((long)pvVar4 + 0x48)" * (cast_expression "(long *)((long)pvVar4 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar4 + 0x48)" ( (binary_expression "(long)pvVar4 + 0x48" (cast_expression "(long)pvVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (if_statement "if (lVar5 == 0) {\n      puVar11 = paVar3->contents;\n      if (puVar11 == (uchar *)0x0) {\n        puVar11 = (uchar *)xmalloc(bVar12);\n        bVar12 = paVar3->size;\n        pbVar10 = abfd->xvec;\n        paVar3->contents = puVar11;\n      }\n    }\n    else {\n      puVar11 = (uchar *)(lVar5 + paVar3->output_offset);\n    }" if (parenthesized_expression "(lVar5 == 0)" ( (binary_expression "lVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar11 = paVar3->contents;\n      if (puVar11 == (uchar *)0x0) {\n        puVar11 = (uchar *)xmalloc(bVar12);\n        bVar12 = paVar3->size;\n        pbVar10 = abfd->xvec;\n        paVar3->contents = puVar11;\n      }\n    }" { (expression_statement "puVar11 = paVar3->contents;" (assignment_expression "puVar11 = paVar3->contents" identifier = (field_expression "paVar3->contents" identifier -> field_identifier)) ;) (if_statement "if (puVar11 == (uchar *)0x0) {\n        puVar11 = (uchar *)xmalloc(bVar12);\n        bVar12 = paVar3->size;\n        pbVar10 = abfd->xvec;\n        paVar3->contents = puVar11;\n      }" if (parenthesized_expression "(puVar11 == (uchar *)0x0)" ( (binary_expression "puVar11 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar11 = (uchar *)xmalloc(bVar12);\n        bVar12 = paVar3->size;\n        pbVar10 = abfd->xvec;\n        paVar3->contents = puVar11;\n      }" { (expression_statement "puVar11 = (uchar *)xmalloc(bVar12);" (assignment_expression "puVar11 = (uchar *)xmalloc(bVar12)" identifier = (cast_expression "(uchar *)xmalloc(bVar12)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(bVar12)" identifier (argument_list "(bVar12)" ( identifier ))))) ;) (expression_statement "bVar12 = paVar3->size;" (assignment_expression "bVar12 = paVar3->size" identifier = (field_expression "paVar3->size" identifier -> field_identifier)) ;) (expression_statement "pbVar10 = abfd->xvec;" (assignment_expression "pbVar10 = abfd->xvec" identifier = (field_expression "abfd->xvec" identifier -> field_identifier)) ;) (expression_statement "paVar3->contents = puVar11;" (assignment_expression "paVar3->contents = puVar11" (field_expression "paVar3->contents" identifier -> field_identifier) = identifier) ;) })) }) (else_clause "else {\n      puVar11 = (uchar *)(lVar5 + paVar3->output_offset);\n    }" else (compound_statement "{\n      puVar11 = (uchar *)(lVar5 + paVar3->output_offset);\n    }" { (expression_statement "puVar11 = (uchar *)(lVar5 + paVar3->output_offset);" (assignment_expression "puVar11 = (uchar *)(lVar5 + paVar3->output_offset)" identifier = (cast_expression "(uchar *)(lVar5 + paVar3->output_offset)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + paVar3->output_offset)" ( (binary_expression "lVar5 + paVar3->output_offset" identifier + (field_expression "paVar3->output_offset" identifier -> field_identifier)) )))) ;) }))) (expression_statement "(*pbVar10->bfd_h_putx32)(4,puVar11);" (call_expression "(*pbVar10->bfd_h_putx32)(4,puVar11)" (parenthesized_expression "(*pbVar10->bfd_h_putx32)" ( (pointer_expression "*pbVar10->bfd_h_putx32" * (field_expression "pbVar10->bfd_h_putx32" identifier -> field_identifier)) )) (argument_list "(4,puVar11)" ( number_literal , identifier ))) ;) (expression_statement "(*abfd->xvec->bfd_h_putx32)(bVar12 - 0x10,puVar11 + 4);" (call_expression "(*abfd->xvec->bfd_h_putx32)(bVar12 - 0x10,puVar11 + 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 "(bVar12 - 0x10,puVar11 + 4)" ( (binary_expression "bVar12 - 0x10" identifier - number_literal) , (binary_expression "puVar11 + 4" identifier + number_literal) ))) ;) (expression_statement "(*abfd->xvec->bfd_h_putx32)(3,puVar11 + 8);" (call_expression "(*abfd->xvec->bfd_h_putx32)(3,puVar11 + 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,puVar11 + 8)" ( number_literal , (binary_expression "puVar11 + 8" identifier + number_literal) ))) ;) (expression_statement "builtin_memcpy(puVar11 + 0xc,"GNU",4);" (call_expression "builtin_memcpy(puVar11 + 0xc,"GNU",4)" identifier (argument_list "(puVar11 + 0xc,"GNU",4)" ( (binary_expression "puVar11 + 0xc" identifier + number_literal) , (string_literal ""GNU"" " string_content ") , number_literal ))) ;) (expression_statement "generate_build_id(abfd,pcVar8,*(checksum_fn *)(*(long *)((long)pvVar2 + 0x300) + 0x20),\n                      puVar11 + 0x10,(int)(bVar12 - 0x10));" (call_expression "generate_build_id(abfd,pcVar8,*(checksum_fn *)(*(long *)((long)pvVar2 + 0x300) + 0x20),\n                      puVar11 + 0x10,(int)(bVar12 - 0x10))" identifier (argument_list "(abfd,pcVar8,*(checksum_fn *)(*(long *)((long)pvVar2 + 0x300) + 0x20),\n                      puVar11 + 0x10,(int)(bVar12 - 0x10))" ( identifier , identifier , (pointer_expression "*(checksum_fn *)(*(long *)((long)pvVar2 + 0x300) + 0x20)" * (cast_expression "(checksum_fn *)(*(long *)((long)pvVar2 + 0x300) + 0x20)" ( (type_descriptor "checksum_fn *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)((long)pvVar2 + 0x300) + 0x20)" ( (binary_expression "*(long *)((long)pvVar2 + 0x300) + 0x20" (pointer_expression "*(long *)((long)pvVar2 + 0x300)" * (cast_expression "(long *)((long)pvVar2 + 0x300)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar2 + 0x300)" ( (binary_expression "(long)pvVar2 + 0x300" (cast_expression "(long)pvVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal) )))) , (binary_expression "puVar11 + 0x10" identifier + number_literal) , (cast_expression "(int)(bVar12 - 0x10)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(bVar12 - 0x10)" ( (binary_expression "bVar12 - 0x10" identifier - number_literal) ))) ))) ;) (expression_statement "bVar12 = paVar3->size;" (assignment_expression "bVar12 = paVar3->size" identifier = (field_expression "paVar3->size" identifier -> field_identifier)) ;) (expression_statement "iVar6 = bfd_seek(abfd,paVar3->output_offset + *(long *)((long)pvVar4 + 0x18),0);" (assignment_expression "iVar6 = bfd_seek(abfd,paVar3->output_offset + *(long *)((long)pvVar4 + 0x18),0)" identifier = (call_expression "bfd_seek(abfd,paVar3->output_offset + *(long *)((long)pvVar4 + 0x18),0)" identifier (argument_list "(abfd,paVar3->output_offset + *(long *)((long)pvVar4 + 0x18),0)" ( identifier , (binary_expression "paVar3->output_offset + *(long *)((long)pvVar4 + 0x18)" (field_expression "paVar3->output_offset" identifier -> field_identifier) + (pointer_expression "*(long *)((long)pvVar4 + 0x18)" * (cast_expression "(long *)((long)pvVar4 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar4 + 0x18)" ( (binary_expression "(long)pvVar4 + 0x18" (cast_expression "(long)pvVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) , number_literal )))) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (if_statement "if (iVar6 == 0) {\n      bVar7 = bfd_bwrite(puVar11,bVar12,abfd);\n      uVar9 = (uint)(bVar7 == bVar12);\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      bVar7 = bfd_bwrite(puVar11,bVar12,abfd);\n      uVar9 = (uint)(bVar7 == bVar12);\n    }" { (expression_statement "bVar7 = bfd_bwrite(puVar11,bVar12,abfd);" (assignment_expression "bVar7 = bfd_bwrite(puVar11,bVar12,abfd)" identifier = (call_expression "bfd_bwrite(puVar11,bVar12,abfd)" identifier (argument_list "(puVar11,bVar12,abfd)" ( identifier , identifier , identifier )))) ;) (expression_statement "uVar9 = (uint)(bVar7 == bVar12);" (assignment_expression "uVar9 = (uint)(bVar7 == bVar12)" identifier = (call_expression "(uint)(bVar7 == bVar12)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar7 == bVar12)" ( (binary_expression "bVar7 == bVar12" identifier == identifier) )))) ;) })) }))) (return_statement "return uVar9;" return identifier ;) })))
(translation_unit "bool FUN_001469b0(long param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  int iVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  bool bVar9;\n  \n  lVar6 = *(long *)(param_1 + 8);\n  lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98);\n  lVar1 = *(long *)(lVar6 + 0x368);\n  lVar2 = *(long *)(lVar4 + 0x30);\n  uVar5 = *(undefined8 *)(lVar4 + 0x28);\n  if (*(long *)(lVar2 + 0x68) == 0x2a52f0) {\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }\n  else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }\n  return bVar9;\n}\n\n" (function_definition "bool FUN_001469b0(long param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  int iVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  bool bVar9;\n  \n  lVar6 = *(long *)(param_1 + 8);\n  lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98);\n  lVar1 = *(long *)(lVar6 + 0x368);\n  lVar2 = *(long *)(lVar4 + 0x30);\n  uVar5 = *(undefined8 *)(lVar4 + 0x28);\n  if (*(long *)(lVar2 + 0x68) == 0x2a52f0) {\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }\n  else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }\n  return bVar9;\n}" primitive_type (function_declarator "FUN_001469b0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  int iVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  bool bVar9;\n  \n  lVar6 = *(long *)(param_1 + 8);\n  lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98);\n  lVar1 = *(long *)(lVar6 + 0x368);\n  lVar2 = *(long *)(lVar4 + 0x30);\n  uVar5 = *(undefined8 *)(lVar4 + 0x28);\n  if (*(long *)(lVar2 + 0x68) == 0x2a52f0) {\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }\n  else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }\n  return bVar9;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (expression_statement "lVar6 = *(long *)(param_1 + 8);" (assignment_expression "lVar6 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98);" (assignment_expression "lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98)" identifier = (pointer_expression "*(long *)(*(long *)(param_1 + 0xf8) + 0xc98)" * (cast_expression "(long *)(*(long *)(param_1 + 0xf8) + 0xc98)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xf8) + 0xc98)" ( (binary_expression "*(long *)(param_1 + 0xf8) + 0xc98" (pointer_expression "*(long *)(param_1 + 0xf8)" * (cast_expression "(long *)(param_1 + 0xf8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf8)" ( (binary_expression "param_1 + 0xf8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "lVar1 = *(long *)(lVar6 + 0x368);" (assignment_expression "lVar1 = *(long *)(lVar6 + 0x368)" identifier = (pointer_expression "*(long *)(lVar6 + 0x368)" * (cast_expression "(long *)(lVar6 + 0x368)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + 0x368)" ( (binary_expression "lVar6 + 0x368" identifier + number_literal) ))))) ;) (expression_statement "lVar2 = *(long *)(lVar4 + 0x30);" (assignment_expression "lVar2 = *(long *)(lVar4 + 0x30)" identifier = (pointer_expression "*(long *)(lVar4 + 0x30)" * (cast_expression "(long *)(lVar4 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x30)" ( (binary_expression "lVar4 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined8 *)(lVar4 + 0x28);" (assignment_expression "uVar5 = *(undefined8 *)(lVar4 + 0x28)" identifier = (pointer_expression "*(undefined8 *)(lVar4 + 0x28)" * (cast_expression "(undefined8 *)(lVar4 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x28)" ( (binary_expression "lVar4 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(long *)(lVar2 + 0x68) == 0x2a52f0) {\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }\n  else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }" if (parenthesized_expression "(*(long *)(lVar2 + 0x68) == 0x2a52f0)" ( (binary_expression "*(long *)(lVar2 + 0x68) == 0x2a52f0" (pointer_expression "*(long *)(lVar2 + 0x68)" * (cast_expression "(long *)(lVar2 + 0x68)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x68)" ( (binary_expression "lVar2 + 0x68" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }" { (expression_statement "uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;" (assignment_expression "uVar5 = 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_001283c0(uVar5);" (call_expression "FUN_001283c0(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "bVar9 = true;" (assignment_expression "bVar9 = true" identifier = true) ;) }) (else_clause "else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }" else (compound_statement "{\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }" { (expression_statement "lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);" (assignment_expression "lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0)" identifier = (pointer_expression "*(long *)(*(long *)(lVar2 + 0x68) + 0xe0)" * (cast_expression "(long *)(*(long *)(lVar2 + 0x68) + 0xe0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar2 + 0x68) + 0xe0)" ( (binary_expression "*(long *)(lVar2 + 0x68) + 0xe0" (pointer_expression "*(long *)(lVar2 + 0x68)" * (cast_expression "(long *)(lVar2 + 0x68)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x68)" ( (binary_expression "lVar2 + 0x68" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "lVar8 = *(long *)(lVar2 + 0x38);" (assignment_expression "lVar8 = *(long *)(lVar2 + 0x38)" identifier = (pointer_expression "*(long *)(lVar2 + 0x38)" * (cast_expression "(long *)(lVar2 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x38)" ( (binary_expression "lVar2 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "lVar7 = *(long *)(lVar4 + 0x48);" (assignment_expression "lVar7 = *(long *)(lVar4 + 0x48)" identifier = (pointer_expression "*(long *)(lVar4 + 0x48)" * (cast_expression "(long *)(lVar4 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x48)" ( (binary_expression "lVar4 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }" if (parenthesized_expression "(lVar7 == 0)" ( (binary_expression "lVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }" { (expression_statement "lVar7 = *(long *)(lVar2 + 0xb0);" (assignment_expression "lVar7 = *(long *)(lVar2 + 0xb0)" identifier = (pointer_expression "*(long *)(lVar2 + 0xb0)" * (cast_expression "(long *)(lVar2 + 0xb0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0xb0)" ( (binary_expression "lVar2 + 0xb0" identifier + number_literal) ))))) ;) (if_statement "if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }" if (parenthesized_expression "(lVar7 == 0)" ( (binary_expression "lVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }" { (expression_statement "lVar7 = xmalloc(lVar8);" (assignment_expression "lVar7 = xmalloc(lVar8)" identifier = (call_expression "xmalloc(lVar8)" identifier (argument_list "(lVar8)" ( identifier )))) ;) (expression_statement "lVar8 = *(long *)(lVar2 + 0x38);" (assignment_expression "lVar8 = *(long *)(lVar2 + 0x38)" identifier = (pointer_expression "*(long *)(lVar2 + 0x38)" * (cast_expression "(long *)(lVar2 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x38)" ( (binary_expression "lVar2 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "lVar6 = *(long *)(param_1 + 8);" (assignment_expression "lVar6 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(long *)(lVar2 + 0xb0) = lVar7;" (assignment_expression "*(long *)(lVar2 + 0xb0) = lVar7" (pointer_expression "*(long *)(lVar2 + 0xb0)" * (cast_expression "(long *)(lVar2 + 0xb0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0xb0)" ( (binary_expression "lVar2 + 0xb0" identifier + number_literal) )))) = identifier) ;) })) }) (else_clause "else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }" else (compound_statement "{\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }" { (expression_statement "lVar7 = lVar7 + *(long *)(lVar2 + 0x60);" (assignment_expression "lVar7 = lVar7 + *(long *)(lVar2 + 0x60)" identifier = (binary_expression "lVar7 + *(long *)(lVar2 + 0x60)" identifier + (pointer_expression "*(long *)(lVar2 + 0x60)" * (cast_expression "(long *)(lVar2 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x60)" ( (binary_expression "lVar2 + 0x60" identifier + number_literal) )))))) ;) }))) (expression_statement "(**(code **)(lVar6 + 0x90))(4,lVar7);" (call_expression "(**(code **)(lVar6 + 0x90))(4,lVar7)" (parenthesized_expression "(**(code **)(lVar6 + 0x90))" ( (pointer_expression "**(code **)(lVar6 + 0x90)" * (pointer_expression "*(code **)(lVar6 + 0x90)" * (cast_expression "(code **)(lVar6 + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar6 + 0x90)" ( (binary_expression "lVar6 + 0x90" identifier + number_literal) ))))) )) (argument_list "(4,lVar7)" ( number_literal , identifier ))) ;) (expression_statement "(**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);" (call_expression "(**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4)" (parenthesized_expression "(**(code **)(*(long *)(param_1 + 8) + 0x90))" ( (pointer_expression "**(code **)(*(long *)(param_1 + 8) + 0x90)" * (pointer_expression "*(code **)(*(long *)(param_1 + 8) + 0x90)" * (cast_expression "(code **)(*(long *)(param_1 + 8) + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x90)" ( (binary_expression "*(long *)(param_1 + 8) + 0x90" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(lVar8 - 0x10U,lVar7 + 4)" ( (binary_expression "lVar8 - 0x10U" identifier - number_literal) , (binary_expression "lVar7 + 4" identifier + number_literal) ))) ;) (expression_statement "(**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);" (call_expression "(**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8)" (parenthesized_expression "(**(code **)(*(long *)(param_1 + 8) + 0x90))" ( (pointer_expression "**(code **)(*(long *)(param_1 + 8) + 0x90)" * (pointer_expression "*(code **)(*(long *)(param_1 + 8) + 0x90)" * (cast_expression "(code **)(*(long *)(param_1 + 8) + 0x90)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x90)" ( (binary_expression "*(long *)(param_1 + 8) + 0x90" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(3,lVar7 + 8)" ( number_literal , (binary_expression "lVar7 + 8" identifier + number_literal) ))) ;) (expression_statement "*(undefined4 *)(lVar7 + 0xc) = 0x554e47;" (assignment_expression "*(undefined4 *)(lVar7 + 0xc) = 0x554e47" (pointer_expression "*(undefined4 *)(lVar7 + 0xc)" * (cast_expression "(undefined4 *)(lVar7 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0xc)" ( (binary_expression "lVar7 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);" (call_expression "FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff)" identifier (argument_list "(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff)" ( identifier , identifier , (pointer_expression "*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20)" * (cast_expression "(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar1 + 0x300) + 0x20)" ( (binary_expression "*(long *)(lVar1 + 0x300) + 0x20" (pointer_expression "*(long *)(lVar1 + 0x300)" * (cast_expression "(long *)(lVar1 + 0x300)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x300)" ( (binary_expression "lVar1 + 0x300" identifier + number_literal) )))) + number_literal) )))) , (binary_expression "lVar7 + 0x10" identifier + number_literal) , (binary_expression "lVar8 - 0x10U & 0xffffffff" (binary_expression "lVar8 - 0x10U" identifier - number_literal) & number_literal) ))) ;) (expression_statement "lVar6 = *(long *)(lVar2 + 0x38);" (assignment_expression "lVar6 = *(long *)(lVar2 + 0x38)" identifier = (pointer_expression "*(long *)(lVar2 + 0x38)" * (cast_expression "(long *)(lVar2 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x38)" ( (binary_expression "lVar2 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);" (assignment_expression "iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0)" identifier = (call_expression "bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0)" identifier (argument_list "(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0)" ( identifier , (binary_expression "*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18)" (pointer_expression "*(long *)(lVar2 + 0x60)" * (cast_expression "(long *)(lVar2 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x60)" ( (binary_expression "lVar2 + 0x60" identifier + number_literal) )))) + (pointer_expression "*(long *)(lVar4 + 0x18)" * (cast_expression "(long *)(lVar4 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x18)" ( (binary_expression "lVar4 + 0x18" identifier + number_literal) ))))) , number_literal )))) ;) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (if_statement "if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }" { (expression_statement "lVar4 = bfd_bwrite(lVar7,lVar6,param_1);" (assignment_expression "lVar4 = bfd_bwrite(lVar7,lVar6,param_1)" identifier = (call_expression "bfd_bwrite(lVar7,lVar6,param_1)" identifier (argument_list "(lVar7,lVar6,param_1)" ( identifier , identifier , identifier )))) ;) (expression_statement "bVar9 = lVar4 == lVar6;" (assignment_expression "bVar9 = lVar4 == lVar6" identifier = (binary_expression "lVar4 == lVar6" identifier == identifier)) ;) })) }))) (return_statement "return bVar9;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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 , 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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( (binary_expression IDENT - LIT) , (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( 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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) , (binary_expression IDENT + LIT) , (binary_expression (binary_expression IDENT - LIT) & LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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 )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == IDENT)) ;) })) }))) (return_statement return IDENT ;) })))
(function_definition "bool FUN_001469b0(long param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  int iVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  bool bVar9;\n  \n  lVar6 = *(long *)(param_1 + 8);\n  lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98);\n  lVar1 = *(long *)(lVar6 + 0x368);\n  lVar2 = *(long *)(lVar4 + 0x30);\n  uVar5 = *(undefined8 *)(lVar4 + 0x28);\n  if (*(long *)(lVar2 + 0x68) == 0x2a52f0) {\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }\n  else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }\n  return bVar9;\n}" (primitive_type "bool") (function_declarator "FUN_001469b0(long param_1)" (identifier "FUN_001469b0") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  int iVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  bool bVar9;\n  \n  lVar6 = *(long *)(param_1 + 8);\n  lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98);\n  lVar1 = *(long *)(lVar6 + 0x368);\n  lVar2 = *(long *)(lVar4 + 0x30);\n  uVar5 = *(undefined8 *)(lVar4 + 0x28);\n  if (*(long *)(lVar2 + 0x68) == 0x2a52f0) {\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }\n  else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }\n  return bVar9;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (declaration "long lVar6;" (sized_type_specifier "long" (long "long")) (identifier "lVar6") (; ";")) (declaration "long lVar7;" (sized_type_specifier "long" (long "long")) (identifier "lVar7") (; ";")) (declaration "long lVar8;" (sized_type_specifier "long" (long "long")) (identifier "lVar8") (; ";")) (declaration "bool bVar9;" (primitive_type "bool") (identifier "bVar9") (; ";")) (expression_statement "lVar6 = *(long *)(param_1 + 8);" (assignment_expression "lVar6 = *(long *)(param_1 + 8)" (identifier "lVar6") (= "=") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98);" (assignment_expression "lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(*(long *)(param_1 + 0xf8) + 0xc98)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0xf8) + 0xc98)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0xf8) + 0xc98)" (( "(") (binary_expression "*(long *)(param_1 + 0xf8) + 0xc98" (pointer_expression "*(long *)(param_1 + 0xf8)" (* "*") (cast_expression "(long *)(param_1 + 0xf8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf8)" (( "(") (binary_expression "param_1 + 0xf8" (identifier "param_1") (+ "+") (number_literal "0xf8")) () ")")))) (+ "+") (number_literal "0xc98")) () ")"))))) (; ";")) (expression_statement "lVar1 = *(long *)(lVar6 + 0x368);" (assignment_expression "lVar1 = *(long *)(lVar6 + 0x368)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(lVar6 + 0x368)" (* "*") (cast_expression "(long *)(lVar6 + 0x368)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + 0x368)" (( "(") (binary_expression "lVar6 + 0x368" (identifier "lVar6") (+ "+") (number_literal "0x368")) () ")"))))) (; ";")) (expression_statement "lVar2 = *(long *)(lVar4 + 0x30);" (assignment_expression "lVar2 = *(long *)(lVar4 + 0x30)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(lVar4 + 0x30)" (* "*") (cast_expression "(long *)(lVar4 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x30)" (( "(") (binary_expression "lVar4 + 0x30" (identifier "lVar4") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(undefined8 *)(lVar4 + 0x28);" (assignment_expression "uVar5 = *(undefined8 *)(lVar4 + 0x28)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined8 *)(lVar4 + 0x28)" (* "*") (cast_expression "(undefined8 *)(lVar4 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x28)" (( "(") (binary_expression "lVar4 + 0x28" (identifier "lVar4") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (*(long *)(lVar2 + 0x68) == 0x2a52f0) {\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }\n  else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }" (if "if") (parenthesized_expression "(*(long *)(lVar2 + 0x68) == 0x2a52f0)" (( "(") (binary_expression "*(long *)(lVar2 + 0x68) == 0x2a52f0" (pointer_expression "*(long *)(lVar2 + 0x68)" (* "*") (cast_expression "(long *)(lVar2 + 0x68)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x68)" (( "(") (binary_expression "lVar2 + 0x68" (identifier "lVar2") (+ "+") (number_literal "0x68")) () ")")))) (== "==") (number_literal "0x2a52f0")) () ")")) (compound_statement "{\n    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;\n    FUN_001283c0(uVar5);\n    bVar9 = true;\n  }" ({ "{") (expression_statement "uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)\n    ;" (assignment_expression "uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)" (identifier "uVar5") (= "=") (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_001283c0(uVar5);" (call_expression "FUN_001283c0(uVar5)" (identifier "FUN_001283c0") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "bVar9 = true;" (assignment_expression "bVar9 = true" (identifier "bVar9") (= "=") (true "true")) (; ";")) (} "}")) (else_clause "else {\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }" (else "else") (compound_statement "{\n    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);\n    lVar8 = *(long *)(lVar2 + 0x38);\n    lVar7 = *(long *)(lVar4 + 0x48);\n    if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }\n    (**(code **)(lVar6 + 0x90))(4,lVar7);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);\n    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);\n    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;\n    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);\n    lVar6 = *(long *)(lVar2 + 0x38);\n    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);\n    bVar9 = false;\n    if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }\n  }" ({ "{") (expression_statement "lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);" (assignment_expression "lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(*(long *)(lVar2 + 0x68) + 0xe0)" (* "*") (cast_expression "(long *)(*(long *)(lVar2 + 0x68) + 0xe0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar2 + 0x68) + 0xe0)" (( "(") (binary_expression "*(long *)(lVar2 + 0x68) + 0xe0" (pointer_expression "*(long *)(lVar2 + 0x68)" (* "*") (cast_expression "(long *)(lVar2 + 0x68)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x68)" (( "(") (binary_expression "lVar2 + 0x68" (identifier "lVar2") (+ "+") (number_literal "0x68")) () ")")))) (+ "+") (number_literal "0xe0")) () ")"))))) (; ";")) (expression_statement "lVar8 = *(long *)(lVar2 + 0x38);" (assignment_expression "lVar8 = *(long *)(lVar2 + 0x38)" (identifier "lVar8") (= "=") (pointer_expression "*(long *)(lVar2 + 0x38)" (* "*") (cast_expression "(long *)(lVar2 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x38)" (( "(") (binary_expression "lVar2 + 0x38" (identifier "lVar2") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "lVar7 = *(long *)(lVar4 + 0x48);" (assignment_expression "lVar7 = *(long *)(lVar4 + 0x48)" (identifier "lVar7") (= "=") (pointer_expression "*(long *)(lVar4 + 0x48)" (* "*") (cast_expression "(long *)(lVar4 + 0x48)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x48)" (( "(") (binary_expression "lVar4 + 0x48" (identifier "lVar4") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (if_statement "if (lVar7 == 0) {\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }\n    else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }" (if "if") (parenthesized_expression "(lVar7 == 0)" (( "(") (binary_expression "lVar7 == 0" (identifier "lVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      lVar7 = *(long *)(lVar2 + 0xb0);\n      if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }\n    }" ({ "{") (expression_statement "lVar7 = *(long *)(lVar2 + 0xb0);" (assignment_expression "lVar7 = *(long *)(lVar2 + 0xb0)" (identifier "lVar7") (= "=") (pointer_expression "*(long *)(lVar2 + 0xb0)" (* "*") (cast_expression "(long *)(lVar2 + 0xb0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0xb0)" (( "(") (binary_expression "lVar2 + 0xb0" (identifier "lVar2") (+ "+") (number_literal "0xb0")) () ")"))))) (; ";")) (if_statement "if (lVar7 == 0) {\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }" (if "if") (parenthesized_expression "(lVar7 == 0)" (( "(") (binary_expression "lVar7 == 0" (identifier "lVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        lVar7 = xmalloc(lVar8);\n        lVar8 = *(long *)(lVar2 + 0x38);\n        lVar6 = *(long *)(param_1 + 8);\n        *(long *)(lVar2 + 0xb0) = lVar7;\n      }" ({ "{") (expression_statement "lVar7 = xmalloc(lVar8);" (assignment_expression "lVar7 = xmalloc(lVar8)" (identifier "lVar7") (= "=") (call_expression "xmalloc(lVar8)" (identifier "xmalloc") (argument_list "(lVar8)" (( "(") (identifier "lVar8") () ")")))) (; ";")) (expression_statement "lVar8 = *(long *)(lVar2 + 0x38);" (assignment_expression "lVar8 = *(long *)(lVar2 + 0x38)" (identifier "lVar8") (= "=") (pointer_expression "*(long *)(lVar2 + 0x38)" (* "*") (cast_expression "(long *)(lVar2 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x38)" (( "(") (binary_expression "lVar2 + 0x38" (identifier "lVar2") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "lVar6 = *(long *)(param_1 + 8);" (assignment_expression "lVar6 = *(long *)(param_1 + 8)" (identifier "lVar6") (= "=") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(long *)(lVar2 + 0xb0) = lVar7;" (assignment_expression "*(long *)(lVar2 + 0xb0) = lVar7" (pointer_expression "*(long *)(lVar2 + 0xb0)" (* "*") (cast_expression "(long *)(lVar2 + 0xb0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0xb0)" (( "(") (binary_expression "lVar2 + 0xb0" (identifier "lVar2") (+ "+") (number_literal "0xb0")) () ")")))) (= "=") (identifier "lVar7")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }" (else "else") (compound_statement "{\n      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);\n    }" ({ "{") (expression_statement "lVar7 = lVar7 + *(long *)(lVar2 + 0x60);" (assignment_expression "lVar7 = lVar7 + *(long *)(lVar2 + 0x60)" (identifier "lVar7") (= "=") (binary_expression "lVar7 + *(long *)(lVar2 + 0x60)" (identifier "lVar7") (+ "+") (pointer_expression "*(long *)(lVar2 + 0x60)" (* "*") (cast_expression "(long *)(lVar2 + 0x60)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x60)" (( "(") (binary_expression "lVar2 + 0x60" (identifier "lVar2") (+ "+") (number_literal "0x60")) () ")")))))) (; ";")) (} "}")))) (expression_statement "(**(code **)(lVar6 + 0x90))(4,lVar7);" (call_expression "(**(code **)(lVar6 + 0x90))(4,lVar7)" (parenthesized_expression "(**(code **)(lVar6 + 0x90))" (( "(") (pointer_expression "**(code **)(lVar6 + 0x90)" (* "*") (pointer_expression "*(code **)(lVar6 + 0x90)" (* "*") (cast_expression "(code **)(lVar6 + 0x90)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar6 + 0x90)" (( "(") (binary_expression "lVar6 + 0x90" (identifier "lVar6") (+ "+") (number_literal "0x90")) () ")"))))) () ")")) (argument_list "(4,lVar7)" (( "(") (number_literal "4") (, ",") (identifier "lVar7") () ")"))) (; ";")) (expression_statement "(**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);" (call_expression "(**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4)" (parenthesized_expression "(**(code **)(*(long *)(param_1 + 8) + 0x90))" (( "(") (pointer_expression "**(code **)(*(long *)(param_1 + 8) + 0x90)" (* "*") (pointer_expression "*(code **)(*(long *)(param_1 + 8) + 0x90)" (* "*") (cast_expression "(code **)(*(long *)(param_1 + 8) + 0x90)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 8) + 0x90)" (( "(") (binary_expression "*(long *)(param_1 + 8) + 0x90" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x90")) () ")"))))) () ")")) (argument_list "(lVar8 - 0x10U,lVar7 + 4)" (( "(") (binary_expression "lVar8 - 0x10U" (identifier "lVar8") (- "-") (number_literal "0x10U")) (, ",") (binary_expression "lVar7 + 4" (identifier "lVar7") (+ "+") (number_literal "4")) () ")"))) (; ";")) (expression_statement "(**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);" (call_expression "(**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8)" (parenthesized_expression "(**(code **)(*(long *)(param_1 + 8) + 0x90))" (( "(") (pointer_expression "**(code **)(*(long *)(param_1 + 8) + 0x90)" (* "*") (pointer_expression "*(code **)(*(long *)(param_1 + 8) + 0x90)" (* "*") (cast_expression "(code **)(*(long *)(param_1 + 8) + 0x90)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 8) + 0x90)" (( "(") (binary_expression "*(long *)(param_1 + 8) + 0x90" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x90")) () ")"))))) () ")")) (argument_list "(3,lVar7 + 8)" (( "(") (number_literal "3") (, ",") (binary_expression "lVar7 + 8" (identifier "lVar7") (+ "+") (number_literal "8")) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(lVar7 + 0xc) = 0x554e47;" (assignment_expression "*(undefined4 *)(lVar7 + 0xc) = 0x554e47" (pointer_expression "*(undefined4 *)(lVar7 + 0xc)" (* "*") (cast_expression "(undefined4 *)(lVar7 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0xc)" (( "(") (binary_expression "lVar7 + 0xc" (identifier "lVar7") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0x554e47")) (; ";")) (expression_statement "FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff);" (call_expression "FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff)" (identifier "FUN_0012c030") (argument_list "(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,\n                 lVar8 - 0x10U & 0xffffffff)" (( "(") (identifier "param_1") (, ",") (identifier "uVar5") (, ",") (pointer_expression "*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20)" (* "*") (cast_expression "(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar1 + 0x300) + 0x20)" (( "(") (binary_expression "*(long *)(lVar1 + 0x300) + 0x20" (pointer_expression "*(long *)(lVar1 + 0x300)" (* "*") (cast_expression "(long *)(lVar1 + 0x300)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x300)" (( "(") (binary_expression "lVar1 + 0x300" (identifier "lVar1") (+ "+") (number_literal "0x300")) () ")")))) (+ "+") (number_literal "0x20")) () ")")))) (, ",") (binary_expression "lVar7 + 0x10" (identifier "lVar7") (+ "+") (number_literal "0x10")) (, ",") (binary_expression "lVar8 - 0x10U & 0xffffffff" (binary_expression "lVar8 - 0x10U" (identifier "lVar8") (- "-") (number_literal "0x10U")) (& "&") (number_literal "0xffffffff")) () ")"))) (; ";")) (expression_statement "lVar6 = *(long *)(lVar2 + 0x38);" (assignment_expression "lVar6 = *(long *)(lVar2 + 0x38)" (identifier "lVar6") (= "=") (pointer_expression "*(long *)(lVar2 + 0x38)" (* "*") (cast_expression "(long *)(lVar2 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x38)" (( "(") (binary_expression "lVar2 + 0x38" (identifier "lVar2") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);" (assignment_expression "iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0)" (identifier "iVar3") (= "=") (call_expression "bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0)" (identifier "bfd_seek") (argument_list "(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0)" (( "(") (identifier "param_1") (, ",") (binary_expression "*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18)" (pointer_expression "*(long *)(lVar2 + 0x60)" (* "*") (cast_expression "(long *)(lVar2 + 0x60)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x60)" (( "(") (binary_expression "lVar2 + 0x60" (identifier "lVar2") (+ "+") (number_literal "0x60")) () ")")))) (+ "+") (pointer_expression "*(long *)(lVar4 + 0x18)" (* "*") (cast_expression "(long *)(lVar4 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x18)" (( "(") (binary_expression "lVar4 + 0x18" (identifier "lVar4") (+ "+") (number_literal "0x18")) () ")"))))) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" (identifier "bVar9") (= "=") (false "false")) (; ";")) (if_statement "if (iVar3 == 0) {\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);\n      bVar9 = lVar4 == lVar6;\n    }" ({ "{") (expression_statement "lVar4 = bfd_bwrite(lVar7,lVar6,param_1);" (assignment_expression "lVar4 = bfd_bwrite(lVar7,lVar6,param_1)" (identifier "lVar4") (= "=") (call_expression "bfd_bwrite(lVar7,lVar6,param_1)" (identifier "bfd_bwrite") (argument_list "(lVar7,lVar6,param_1)" (( "(") (identifier "lVar7") (, ",") (identifier "lVar6") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "bVar9 = lVar4 == lVar6;" (assignment_expression "bVar9 = lVar4 == lVar6" (identifier "bVar9") (= "=") (binary_expression "lVar4 == lVar6" (identifier "lVar4") (== "==") (identifier "lVar6"))) (; ";")) (} "}"))) (} "}")))) (return_statement "return bVar9;" (return "return") (identifier "bVar9") (; ";")) (} "}")))

type_1 function_1(type_2 *abfd)

{
  type_3 *poVar1;
  void *pvVar2;
  type_4 *paVar3;
  void *pvVar4;
  long var_4;
  int var_11;
  type_5 var_13;
  char *pcVar8;
  type_6 uVar9;
  type_7 *pbVar10;
  type_8 *var_5;
  type_5 var_7;
  
  pbVar10 = abfd->xvec;
  poVar1 = ((abfd->tdata).elf_obj_data)->o;
  pvVar2 = pbVar10->backend_data;
  paVar3 = (poVar1->build_id).sec;
  pcVar8 = (poVar1->build_id).style;
  if (paVar3->output_section == (type_9 *)(var_1 + 0x230)) {
    pcVar8 = (char *)var_2(0,
                               "%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n"
                               ,5);
    var_3(pcVar8);
    uVar9 = 1;
  }
  else {
    pvVar4 = paVar3->output_section->used_by_bfd;
    var_7 = paVar3->size;
    var_4 = *(long *)((long)pvVar4 + 0x48);
    if (var_4 == 0) {
      var_5 = paVar3->contents;
      if (var_5 == (type_8 *)0x0) {
        var_5 = (type_8 *)var_6(var_7);
        var_7 = paVar3->size;
        pbVar10 = abfd->xvec;
        paVar3->contents = var_5;
      }
    }
    else {
      var_5 = (type_8 *)(var_4 + paVar3->output_offset);
    }
    (*pbVar10->bfd_h_putx32)(4,var_5);
    (*abfd->xvec->bfd_h_putx32)(var_7 - 0x10,var_5 + 4);
    (*abfd->xvec->bfd_h_putx32)(3,var_5 + 8);
    var_8(var_5 + 0xc,"GNU",4);
    var_9(abfd,pcVar8,*(type_10 *)(*(long *)((long)pvVar2 + 0x300) + 0x20),
                      var_5 + 0x10,(int)(var_7 - 0x10));
    var_7 = paVar3->size;
    var_11 = var_10(abfd,paVar3->output_offset + *(long *)((long)pvVar4 + 0x18),0);
    uVar9 = 0;
    if (var_11 == 0) {
      var_13 = var_12(var_5,var_7,abfd);
      uVar9 = (type_6)(var_13 == var_7);
    }
  }
  return uVar9;
}


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

bool MASKED(long param_1)

{
  long lVar1;
  long lVar2;
  int iVar3;
  long lVar4;
  undefined8 uVar5;
  long lVar6;
  long lVar7;
  long lVar8;
  bool bVar9;
  
  lVar6 = *(long *)(param_1 + 8);
  lVar4 = *(long *)(*(long *)(param_1 + 0xf8) + 0xc98);
  lVar1 = *(long *)(lVar6 + 0x368);
  lVar2 = *(long *)(lVar4 + 0x30);
  uVar5 = *(undefined8 *)(lVar4 + 0x28);
  if (*(long *)(lVar2 + 0x68) == 0x2a52f0) {
    uVar5 = dcgettext(0,"%P: warning: .note.gnu.build-id section discarded, --build-id ignored\n",5)
    ;
    FUN_001283c0(uVar5);
    bVar9 = true;
  }
  else {
    lVar4 = *(long *)(*(long *)(lVar2 + 0x68) + 0xe0);
    lVar8 = *(long *)(lVar2 + 0x38);
    lVar7 = *(long *)(lVar4 + 0x48);
    if (lVar7 == 0) {
      lVar7 = *(long *)(lVar2 + 0xb0);
      if (lVar7 == 0) {
        lVar7 = xmalloc(lVar8);
        lVar8 = *(long *)(lVar2 + 0x38);
        lVar6 = *(long *)(param_1 + 8);
        *(long *)(lVar2 + 0xb0) = lVar7;
      }
    }
    else {
      lVar7 = lVar7 + *(long *)(lVar2 + 0x60);
    }
    (**(code **)(lVar6 + 0x90))(4,lVar7);
    (**(code **)(*(long *)(param_1 + 8) + 0x90))(lVar8 - 0x10U,lVar7 + 4);
    (**(code **)(*(long *)(param_1 + 8) + 0x90))(3,lVar7 + 8);
    *(undefined4 *)(lVar7 + 0xc) = 0x554e47;
    FUN_0012c030(param_1,uVar5,*(undefined8 *)(*(long *)(lVar1 + 0x300) + 0x20),lVar7 + 0x10,
                 lVar8 - 0x10U & 0xffffffff);
    lVar6 = *(long *)(lVar2 + 0x38);
    iVar3 = bfd_seek(param_1,*(long *)(lVar2 + 0x60) + *(long *)(lVar4 + 0x18),0);
    bVar9 = false;
    if (iVar3 == 0) {
      lVar4 = bfd_bwrite(lVar7,lVar6,param_1);
      bVar9 = lVar4 == lVar6;
    }
  }
  return bVar9;
}

