
bfd_byte * read_section_stabs(bfd *abfd,char *sect_name,bfd_size_type *size_ptr)

{
  int iVar1;
  undefined4 uVar2;
  long lVar3;
  undefined8 uVar4;
  char *format;
  char *pcVar5;
  bfd_byte *pbVar6;
  bfd_byte *contents;
  
  lVar3 = bfd_get_section_by_name();
  if (lVar3 == 0) {
    pcVar5 = (char *)dcgettext(0,"No %s section present\n\n",5);
    printf(pcVar5,sect_name);
    pbVar6 = (bfd_byte *)0x0;
  }
  else {
    iVar1 = bfd_malloc_and_get_section(abfd,lVar3,&contents);
    if (iVar1 == 0) {
      uVar2 = bfd_get_error();
      uVar4 = bfd_errmsg(uVar2);
      pcVar5 = abfd->filename;
      format = (char *)dcgettext(0,"reading %s section of %s failed: %s",5);
      pbVar6 = (bfd_byte *)0x0;
      non_fatal(format,sect_name,pcVar5,uVar4);
      exit_status = 1;
      free(contents);
    }
    else {
      *size_ptr = *(bfd_size_type *)(lVar3 + 0x38);
      pbVar6 = contents;
    }
  }
  return pbVar6;
}



void * FUN_00108dd0(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)

{
  undefined8 uVar1;
  int iVar2;
  undefined4 uVar3;
  long lVar4;
  undefined8 uVar5;
  undefined8 uVar6;
  char *__format;
  void *pvVar7;
  void *local_30 [2];
  
  lVar4 = bfd_get_section_by_name();
  if (lVar4 == 0) {
    __format = (char *)dcgettext(0,"No %s section present\n\n",5);
    printf(__format,param_2);
    pvVar7 = (void *)0x0;
  }
  else {
    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);
    if (iVar2 == 0) {
      uVar3 = bfd_get_error();
      uVar5 = bfd_errmsg(uVar3);
      uVar1 = *param_1;
      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);
      pvVar7 = (void *)0x0;
      FUN_00136630(uVar6,param_2,uVar1,uVar5);
      DAT_00157388 = 1;
      free(local_30[0]);
    }
    else {
      *param_3 = *(undefined8 *)(lVar4 + 0x38);
      pvVar7 = local_30[0];
    }
  }
  return pvVar7;
}


PUSH R13
MOV R13,RDX
PUSH R12
MOV R12,RSI
PUSH RBP
MOV RBP,RDI
PUSH RBX
SUB RSP,0x18
CALL 0x001073d0
MOV RBX,RAX
TEST RAX,RAX
JZ 0x00108e80
LEA RDX,[RSP + 0x8]
MOV RSI,RAX
MOV RDI,RBP
CALL 0x001071c0
TEST EAX,EAX
JZ 0x00108e28
MOV RAX,qword ptr [RBX + 0x38]
MOV RBX,qword ptr [RSP + 0x8]
MOV qword ptr [R13],RAX
ADD RSP,0x18
MOV RAX,RBX
POP RBX
POP RBP
POP R12
POP R13
RET
CALL 0x00107320
MOV EDI,EAX
CALL 0x00107720
MOV RBX,qword ptr [RBP]
MOV EDX,0x5
XOR EDI,EDI
LEA RSI,[0x13d0a8]
MOV R13,RAX
CALL 0x00107230
MOV RDX,RBX
MOV RCX,R13
MOV RSI,R12
MOV RDI,RAX
XOR EAX,EAX
XOR EBX,EBX
CALL 0x00136630
MOV RDI,qword ptr [RSP + 0x8]
MOV dword ptr [0x00157388],0x1
CALL 0x00107070
JMP 0x00108e15
XOR EDI,EDI
MOV EDX,0x5
LEA RSI,[0x13d520]
CALL 0x00107230
MOV RSI,R12
MOV RDI,RAX
XOR EAX,EAX
CALL 0x00107290
JMP 0x00108e15
(translation_unit "void * FUN_00108dd0(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  char *__format;\n  void *pvVar7;\n  void *local_30 [2];\n  \n  lVar4 = bfd_get_section_by_name();\n  if (lVar4 == 0) {\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }\n  else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }\n  return pvVar7;\n}\n\n" (function_definition "void * FUN_00108dd0(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  char *__format;\n  void *pvVar7;\n  void *local_30 [2];\n  \n  lVar4 = bfd_get_section_by_name();\n  if (lVar4 == 0) {\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }\n  else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }\n  return pvVar7;\n}" primitive_type (pointer_declarator "* FUN_00108dd0(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)" * (function_declarator "FUN_00108dd0(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  undefined8 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  char *__format;\n  void *pvVar7;\n  void *local_30 [2];\n  \n  lVar4 = bfd_get_section_by_name();\n  if (lVar4 == 0) {\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }\n  else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }\n  return pvVar7;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "void *pvVar7;" primitive_type (pointer_declarator "*pvVar7" * identifier) ;) (declaration "void *local_30 [2];" primitive_type (pointer_declarator "*local_30 [2]" * (array_declarator "local_30 [2]" identifier [ number_literal ])) ;) (expression_statement "lVar4 = bfd_get_section_by_name();" (assignment_expression "lVar4 = bfd_get_section_by_name()" identifier = (call_expression "bfd_get_section_by_name()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar4 == 0) {\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }\n  else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }" if (parenthesized_expression "(lVar4 == 0)" ( (binary_expression "lVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }" { (expression_statement "__format = (char *)dcgettext(0,"No %s section present\n\n",5);" (assignment_expression "__format = (char *)dcgettext(0,"No %s section present\n\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"No %s section present\n\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"No %s section present\n\n",5)" identifier (argument_list "(0,"No %s section present\n\n",5)" ( number_literal , (string_literal ""No %s section present\n\n"" " string_content escape_sequence escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(__format,param_2);" (call_expression "printf(__format,param_2)" identifier (argument_list "(__format,param_2)" ( identifier , identifier ))) ;) (expression_statement "pvVar7 = (void *)0x0;" (assignment_expression "pvVar7 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }" else (compound_statement "{\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }" { (expression_statement "iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);" (assignment_expression "iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30)" identifier = (call_expression "bfd_malloc_and_get_section(param_1,lVar4,local_30)" identifier (argument_list "(param_1,lVar4,local_30)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }" { (expression_statement "uVar3 = bfd_get_error();" (assignment_expression "uVar3 = bfd_get_error()" identifier = (call_expression "bfd_get_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = bfd_errmsg(uVar3);" (assignment_expression "uVar5 = bfd_errmsg(uVar3)" identifier = (call_expression "bfd_errmsg(uVar3)" identifier (argument_list "(uVar3)" ( identifier )))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);" (assignment_expression "uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5)" identifier = (call_expression "dcgettext(0,"reading %s section of %s failed: %s",5)" identifier (argument_list "(0,"reading %s section of %s failed: %s",5)" ( number_literal , (string_literal ""reading %s section of %s failed: %s"" " string_content ") , number_literal )))) ;) (expression_statement "pvVar7 = (void *)0x0;" (assignment_expression "pvVar7 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "FUN_00136630(uVar6,param_2,uVar1,uVar5);" (call_expression "FUN_00136630(uVar6,param_2,uVar1,uVar5)" identifier (argument_list "(uVar6,param_2,uVar1,uVar5)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "DAT_00157388 = 1;" (assignment_expression "DAT_00157388 = 1" identifier = number_literal) ;) (expression_statement "free(local_30[0]);" (call_expression "free(local_30[0])" identifier (argument_list "(local_30[0])" ( (subscript_expression "local_30[0]" identifier [ number_literal ]) ))) ;) }) (else_clause "else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }" else (compound_statement "{\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }" { (expression_statement "*param_3 = *(undefined8 *)(lVar4 + 0x38);" (assignment_expression "*param_3 = *(undefined8 *)(lVar4 + 0x38)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined8 *)(lVar4 + 0x38)" * (cast_expression "(undefined8 *)(lVar4 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x38)" ( (binary_expression "lVar4 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "pvVar7 = local_30[0];" (assignment_expression "pvVar7 = local_30[0]" identifier = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) }))) }))) (return_statement "return pvVar7;" return identifier ;) })))
(translation_unit "bfd_byte * read_section_stabs(bfd *abfd,char *sect_name,bfd_size_type *size_ptr)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  long lVar3;\n  undefined8 uVar4;\n  char *format;\n  char *pcVar5;\n  bfd_byte *pbVar6;\n  bfd_byte *contents;\n  \n  lVar3 = bfd_get_section_by_name();\n  if (lVar3 == 0) {\n    pcVar5 = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(pcVar5,sect_name);\n    pbVar6 = (bfd_byte *)0x0;\n  }\n  else {\n    iVar1 = bfd_malloc_and_get_section(abfd,lVar3,&contents);\n    if (iVar1 == 0) {\n      uVar2 = bfd_get_error();\n      uVar4 = bfd_errmsg(uVar2);\n      pcVar5 = abfd->filename;\n      format = (char *)dcgettext(0,"reading %s section of %s failed: %s",5);\n      pbVar6 = (bfd_byte *)0x0;\n      non_fatal(format,sect_name,pcVar5,uVar4);\n      exit_status = 1;\n      free(contents);\n    }\n    else {\n      *size_ptr = *(bfd_size_type *)(lVar3 + 0x38);\n      pbVar6 = contents;\n    }\n  }\n  return pbVar6;\n}\n\n" (function_definition "bfd_byte * read_section_stabs(bfd *abfd,char *sect_name,bfd_size_type *size_ptr)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  long lVar3;\n  undefined8 uVar4;\n  char *format;\n  char *pcVar5;\n  bfd_byte *pbVar6;\n  bfd_byte *contents;\n  \n  lVar3 = bfd_get_section_by_name();\n  if (lVar3 == 0) {\n    pcVar5 = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(pcVar5,sect_name);\n    pbVar6 = (bfd_byte *)0x0;\n  }\n  else {\n    iVar1 = bfd_malloc_and_get_section(abfd,lVar3,&contents);\n    if (iVar1 == 0) {\n      uVar2 = bfd_get_error();\n      uVar4 = bfd_errmsg(uVar2);\n      pcVar5 = abfd->filename;\n      format = (char *)dcgettext(0,"reading %s section of %s failed: %s",5);\n      pbVar6 = (bfd_byte *)0x0;\n      non_fatal(format,sect_name,pcVar5,uVar4);\n      exit_status = 1;\n      free(contents);\n    }\n    else {\n      *size_ptr = *(bfd_size_type *)(lVar3 + 0x38);\n      pbVar6 = contents;\n    }\n  }\n  return pbVar6;\n}" type_identifier (pointer_declarator "* read_section_stabs(bfd *abfd,char *sect_name,bfd_size_type *size_ptr)" * (function_declarator "read_section_stabs(bfd *abfd,char *sect_name,bfd_size_type *size_ptr)" identifier (parameter_list "(bfd *abfd,char *sect_name,bfd_size_type *size_ptr)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "char *sect_name" primitive_type (pointer_declarator "*sect_name" * identifier)) , (parameter_declaration "bfd_size_type *size_ptr" type_identifier (pointer_declarator "*size_ptr" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  long lVar3;\n  undefined8 uVar4;\n  char *format;\n  char *pcVar5;\n  bfd_byte *pbVar6;\n  bfd_byte *contents;\n  \n  lVar3 = bfd_get_section_by_name();\n  if (lVar3 == 0) {\n    pcVar5 = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(pcVar5,sect_name);\n    pbVar6 = (bfd_byte *)0x0;\n  }\n  else {\n    iVar1 = bfd_malloc_and_get_section(abfd,lVar3,&contents);\n    if (iVar1 == 0) {\n      uVar2 = bfd_get_error();\n      uVar4 = bfd_errmsg(uVar2);\n      pcVar5 = abfd->filename;\n      format = (char *)dcgettext(0,"reading %s section of %s failed: %s",5);\n      pbVar6 = (bfd_byte *)0x0;\n      non_fatal(format,sect_name,pcVar5,uVar4);\n      exit_status = 1;\n      free(contents);\n    }\n    else {\n      *size_ptr = *(bfd_size_type *)(lVar3 + 0x38);\n      pbVar6 = contents;\n    }\n  }\n  return pbVar6;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "bfd_byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "bfd_byte *contents;" type_identifier (pointer_declarator "*contents" * identifier) ;) (expression_statement "lVar3 = bfd_get_section_by_name();" (assignment_expression "lVar3 = bfd_get_section_by_name()" identifier = (call_expression "bfd_get_section_by_name()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar3 == 0) {\n    pcVar5 = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(pcVar5,sect_name);\n    pbVar6 = (bfd_byte *)0x0;\n  }\n  else {\n    iVar1 = bfd_malloc_and_get_section(abfd,lVar3,&contents);\n    if (iVar1 == 0) {\n      uVar2 = bfd_get_error();\n      uVar4 = bfd_errmsg(uVar2);\n      pcVar5 = abfd->filename;\n      format = (char *)dcgettext(0,"reading %s section of %s failed: %s",5);\n      pbVar6 = (bfd_byte *)0x0;\n      non_fatal(format,sect_name,pcVar5,uVar4);\n      exit_status = 1;\n      free(contents);\n    }\n    else {\n      *size_ptr = *(bfd_size_type *)(lVar3 + 0x38);\n      pbVar6 = contents;\n    }\n  }" if (parenthesized_expression "(lVar3 == 0)" ( (binary_expression "lVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar5 = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(pcVar5,sect_name);\n    pbVar6 = (bfd_byte *)0x0;\n  }" { (expression_statement "pcVar5 = (char *)dcgettext(0,"No %s section present\n\n",5);" (assignment_expression "pcVar5 = (char *)dcgettext(0,"No %s section present\n\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"No %s section present\n\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"No %s section present\n\n",5)" identifier (argument_list "(0,"No %s section present\n\n",5)" ( number_literal , (string_literal ""No %s section present\n\n"" " string_content escape_sequence escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(pcVar5,sect_name);" (call_expression "printf(pcVar5,sect_name)" identifier (argument_list "(pcVar5,sect_name)" ( identifier , identifier ))) ;) (expression_statement "pbVar6 = (bfd_byte *)0x0;" (assignment_expression "pbVar6 = (bfd_byte *)0x0" identifier = (cast_expression "(bfd_byte *)0x0" ( (type_descriptor "bfd_byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    iVar1 = bfd_malloc_and_get_section(abfd,lVar3,&contents);\n    if (iVar1 == 0) {\n      uVar2 = bfd_get_error();\n      uVar4 = bfd_errmsg(uVar2);\n      pcVar5 = abfd->filename;\n      format = (char *)dcgettext(0,"reading %s section of %s failed: %s",5);\n      pbVar6 = (bfd_byte *)0x0;\n      non_fatal(format,sect_name,pcVar5,uVar4);\n      exit_status = 1;\n      free(contents);\n    }\n    else {\n      *size_ptr = *(bfd_size_type *)(lVar3 + 0x38);\n      pbVar6 = contents;\n    }\n  }" else (compound_statement "{\n    iVar1 = bfd_malloc_and_get_section(abfd,lVar3,&contents);\n    if (iVar1 == 0) {\n      uVar2 = bfd_get_error();\n      uVar4 = bfd_errmsg(uVar2);\n      pcVar5 = abfd->filename;\n      format = (char *)dcgettext(0,"reading %s section of %s failed: %s",5);\n      pbVar6 = (bfd_byte *)0x0;\n      non_fatal(format,sect_name,pcVar5,uVar4);\n      exit_status = 1;\n      free(contents);\n    }\n    else {\n      *size_ptr = *(bfd_size_type *)(lVar3 + 0x38);\n      pbVar6 = contents;\n    }\n  }" { (expression_statement "iVar1 = bfd_malloc_and_get_section(abfd,lVar3,&contents);" (assignment_expression "iVar1 = bfd_malloc_and_get_section(abfd,lVar3,&contents)" identifier = (call_expression "bfd_malloc_and_get_section(abfd,lVar3,&contents)" identifier (argument_list "(abfd,lVar3,&contents)" ( identifier , identifier , (pointer_expression "&contents" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n      uVar2 = bfd_get_error();\n      uVar4 = bfd_errmsg(uVar2);\n      pcVar5 = abfd->filename;\n      format = (char *)dcgettext(0,"reading %s section of %s failed: %s",5);\n      pbVar6 = (bfd_byte *)0x0;\n      non_fatal(format,sect_name,pcVar5,uVar4);\n      exit_status = 1;\n      free(contents);\n    }\n    else {\n      *size_ptr = *(bfd_size_type *)(lVar3 + 0x38);\n      pbVar6 = contents;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar2 = bfd_get_error();\n      uVar4 = bfd_errmsg(uVar2);\n      pcVar5 = abfd->filename;\n      format = (char *)dcgettext(0,"reading %s section of %s failed: %s",5);\n      pbVar6 = (bfd_byte *)0x0;\n      non_fatal(format,sect_name,pcVar5,uVar4);\n      exit_status = 1;\n      free(contents);\n    }" { (expression_statement "uVar2 = bfd_get_error();" (assignment_expression "uVar2 = bfd_get_error()" identifier = (call_expression "bfd_get_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar4 = bfd_errmsg(uVar2);" (assignment_expression "uVar4 = bfd_errmsg(uVar2)" identifier = (call_expression "bfd_errmsg(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "pcVar5 = abfd->filename;" (assignment_expression "pcVar5 = abfd->filename" identifier = (field_expression "abfd->filename" identifier -> field_identifier)) ;) (expression_statement "format = (char *)dcgettext(0,"reading %s section of %s failed: %s",5);" (assignment_expression "format = (char *)dcgettext(0,"reading %s section of %s failed: %s",5)" identifier = (cast_expression "(char *)dcgettext(0,"reading %s section of %s failed: %s",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"reading %s section of %s failed: %s",5)" identifier (argument_list "(0,"reading %s section of %s failed: %s",5)" ( number_literal , (string_literal ""reading %s section of %s failed: %s"" " string_content ") , number_literal ))))) ;) (expression_statement "pbVar6 = (bfd_byte *)0x0;" (assignment_expression "pbVar6 = (bfd_byte *)0x0" identifier = (cast_expression "(bfd_byte *)0x0" ( (type_descriptor "bfd_byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "non_fatal(format,sect_name,pcVar5,uVar4);" (call_expression "non_fatal(format,sect_name,pcVar5,uVar4)" identifier (argument_list "(format,sect_name,pcVar5,uVar4)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "exit_status = 1;" (assignment_expression "exit_status = 1" identifier = number_literal) ;) (expression_statement "free(contents);" (call_expression "free(contents)" identifier (argument_list "(contents)" ( identifier ))) ;) }) (else_clause "else {\n      *size_ptr = *(bfd_size_type *)(lVar3 + 0x38);\n      pbVar6 = contents;\n    }" else (compound_statement "{\n      *size_ptr = *(bfd_size_type *)(lVar3 + 0x38);\n      pbVar6 = contents;\n    }" { (expression_statement "*size_ptr = *(bfd_size_type *)(lVar3 + 0x38);" (assignment_expression "*size_ptr = *(bfd_size_type *)(lVar3 + 0x38)" (pointer_expression "*size_ptr" * identifier) = (pointer_expression "*(bfd_size_type *)(lVar3 + 0x38)" * (cast_expression "(bfd_size_type *)(lVar3 + 0x38)" ( (type_descriptor "bfd_size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x38)" ( (binary_expression "lVar3 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "pbVar6 = contents;" (assignment_expression "pbVar6 = contents" identifier = identifier) ;) }))) }))) (return_statement "return pbVar6;" return identifier ;) })))
(translation_unit "void * FUN_00108dd0(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  char *__format;\n  void *pvVar7;\n  void *local_30 [2];\n  \n  lVar4 = bfd_get_section_by_name();\n  if (lVar4 == 0) {\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }\n  else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }\n  return pvVar7;\n}\n\n" (function_definition "void * FUN_00108dd0(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  char *__format;\n  void *pvVar7;\n  void *local_30 [2];\n  \n  lVar4 = bfd_get_section_by_name();\n  if (lVar4 == 0) {\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }\n  else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }\n  return pvVar7;\n}" primitive_type (pointer_declarator "* FUN_00108dd0(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)" * (function_declarator "FUN_00108dd0(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  undefined8 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  char *__format;\n  void *pvVar7;\n  void *local_30 [2];\n  \n  lVar4 = bfd_get_section_by_name();\n  if (lVar4 == 0) {\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }\n  else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }\n  return pvVar7;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "void *pvVar7;" primitive_type (pointer_declarator "*pvVar7" * identifier) ;) (declaration "void *local_30 [2];" primitive_type (pointer_declarator "*local_30 [2]" * (array_declarator "local_30 [2]" identifier [ number_literal ])) ;) (expression_statement "lVar4 = bfd_get_section_by_name();" (assignment_expression "lVar4 = bfd_get_section_by_name()" identifier = (call_expression "bfd_get_section_by_name()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar4 == 0) {\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }\n  else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }" if (parenthesized_expression "(lVar4 == 0)" ( (binary_expression "lVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }" { (expression_statement "__format = (char *)dcgettext(0,"No %s section present\n\n",5);" (assignment_expression "__format = (char *)dcgettext(0,"No %s section present\n\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"No %s section present\n\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"No %s section present\n\n",5)" identifier (argument_list "(0,"No %s section present\n\n",5)" ( number_literal , (string_literal ""No %s section present\n\n"" " string_content escape_sequence escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(__format,param_2);" (call_expression "printf(__format,param_2)" identifier (argument_list "(__format,param_2)" ( identifier , identifier ))) ;) (expression_statement "pvVar7 = (void *)0x0;" (assignment_expression "pvVar7 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }" else (compound_statement "{\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }" { (expression_statement "iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);" (assignment_expression "iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30)" identifier = (call_expression "bfd_malloc_and_get_section(param_1,lVar4,local_30)" identifier (argument_list "(param_1,lVar4,local_30)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }" { (expression_statement "uVar3 = bfd_get_error();" (assignment_expression "uVar3 = bfd_get_error()" identifier = (call_expression "bfd_get_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = bfd_errmsg(uVar3);" (assignment_expression "uVar5 = bfd_errmsg(uVar3)" identifier = (call_expression "bfd_errmsg(uVar3)" identifier (argument_list "(uVar3)" ( identifier )))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);" (assignment_expression "uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5)" identifier = (call_expression "dcgettext(0,"reading %s section of %s failed: %s",5)" identifier (argument_list "(0,"reading %s section of %s failed: %s",5)" ( number_literal , (string_literal ""reading %s section of %s failed: %s"" " string_content ") , number_literal )))) ;) (expression_statement "pvVar7 = (void *)0x0;" (assignment_expression "pvVar7 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "FUN_00136630(uVar6,param_2,uVar1,uVar5);" (call_expression "FUN_00136630(uVar6,param_2,uVar1,uVar5)" identifier (argument_list "(uVar6,param_2,uVar1,uVar5)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "DAT_00157388 = 1;" (assignment_expression "DAT_00157388 = 1" identifier = number_literal) ;) (expression_statement "free(local_30[0]);" (call_expression "free(local_30[0])" identifier (argument_list "(local_30[0])" ( (subscript_expression "local_30[0]" identifier [ number_literal ]) ))) ;) }) (else_clause "else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }" else (compound_statement "{\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }" { (expression_statement "*param_3 = *(undefined8 *)(lVar4 + 0x38);" (assignment_expression "*param_3 = *(undefined8 *)(lVar4 + 0x38)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined8 *)(lVar4 + 0x38)" * (cast_expression "(undefined8 *)(lVar4 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x38)" ( (binary_expression "lVar4 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "pvVar7 = local_30[0];" (assignment_expression "pvVar7 = local_30[0]" identifier = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) }))) }))) (return_statement "return pvVar7;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence escape_sequence ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) }))) (return_statement return IDENT ;) })))
(function_definition "void * FUN_00108dd0(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  char *__format;\n  void *pvVar7;\n  void *local_30 [2];\n  \n  lVar4 = bfd_get_section_by_name();\n  if (lVar4 == 0) {\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }\n  else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }\n  return pvVar7;\n}" (primitive_type "void") (pointer_declarator "* FUN_00108dd0(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)" (* "*") (function_declarator "FUN_00108dd0(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)" (identifier "FUN_00108dd0") (parameter_list "(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 *param_3" (type_identifier "undefined8") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  undefined8 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  undefined8 uVar6;\n  char *__format;\n  void *pvVar7;\n  void *local_30 [2];\n  \n  lVar4 = bfd_get_section_by_name();\n  if (lVar4 == 0) {\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }\n  else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }\n  return pvVar7;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (declaration "undefined8 uVar6;" (type_identifier "undefined8") (identifier "uVar6") (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (declaration "void *pvVar7;" (primitive_type "void") (pointer_declarator "*pvVar7" (* "*") (identifier "pvVar7")) (; ";")) (declaration "void *local_30 [2];" (primitive_type "void") (pointer_declarator "*local_30 [2]" (* "*") (array_declarator "local_30 [2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "lVar4 = bfd_get_section_by_name();" (assignment_expression "lVar4 = bfd_get_section_by_name()" (identifier "lVar4") (= "=") (call_expression "bfd_get_section_by_name()" (identifier "bfd_get_section_by_name") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (lVar4 == 0) {\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }\n  else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }" (if "if") (parenthesized_expression "(lVar4 == 0)" (( "(") (binary_expression "lVar4 == 0" (identifier "lVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    __format = (char *)dcgettext(0,"No %s section present\n\n",5);\n    printf(__format,param_2);\n    pvVar7 = (void *)0x0;\n  }" ({ "{") (expression_statement "__format = (char *)dcgettext(0,"No %s section present\n\n",5);" (assignment_expression "__format = (char *)dcgettext(0,"No %s section present\n\n",5)" (identifier "__format") (= "=") (cast_expression "(char *)dcgettext(0,"No %s section present\n\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"No %s section present\n\n",5)" (identifier "dcgettext") (argument_list "(0,"No %s section present\n\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""No %s section present\n\n"" (" """) (string_content "No %s section present") (escape_sequence "\n") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(__format,param_2);" (call_expression "printf(__format,param_2)" (identifier "printf") (argument_list "(__format,param_2)" (( "(") (identifier "__format") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "pvVar7 = (void *)0x0;" (assignment_expression "pvVar7 = (void *)0x0" (identifier "pvVar7") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }" (else "else") (compound_statement "{\n    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);\n    if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }\n  }" ({ "{") (expression_statement "iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);" (assignment_expression "iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30)" (identifier "iVar2") (= "=") (call_expression "bfd_malloc_and_get_section(param_1,lVar4,local_30)" (identifier "bfd_malloc_and_get_section") (argument_list "(param_1,lVar4,local_30)" (( "(") (identifier "param_1") (, ",") (identifier "lVar4") (, ",") (identifier "local_30") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }\n    else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar3 = bfd_get_error();\n      uVar5 = bfd_errmsg(uVar3);\n      uVar1 = *param_1;\n      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);\n      pvVar7 = (void *)0x0;\n      FUN_00136630(uVar6,param_2,uVar1,uVar5);\n      DAT_00157388 = 1;\n      free(local_30[0]);\n    }" ({ "{") (expression_statement "uVar3 = bfd_get_error();" (assignment_expression "uVar3 = bfd_get_error()" (identifier "uVar3") (= "=") (call_expression "bfd_get_error()" (identifier "bfd_get_error") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar5 = bfd_errmsg(uVar3);" (assignment_expression "uVar5 = bfd_errmsg(uVar3)" (identifier "uVar5") (= "=") (call_expression "bfd_errmsg(uVar3)" (identifier "bfd_errmsg") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")")))) (; ";")) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" (identifier "uVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);" (assignment_expression "uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5)" (identifier "uVar6") (= "=") (call_expression "dcgettext(0,"reading %s section of %s failed: %s",5)" (identifier "dcgettext") (argument_list "(0,"reading %s section of %s failed: %s",5)" (( "(") (number_literal "0") (, ",") (string_literal ""reading %s section of %s failed: %s"" (" """) (string_content "reading %s section of %s failed: %s") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "pvVar7 = (void *)0x0;" (assignment_expression "pvVar7 = (void *)0x0" (identifier "pvVar7") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "FUN_00136630(uVar6,param_2,uVar1,uVar5);" (call_expression "FUN_00136630(uVar6,param_2,uVar1,uVar5)" (identifier "FUN_00136630") (argument_list "(uVar6,param_2,uVar1,uVar5)" (( "(") (identifier "uVar6") (, ",") (identifier "param_2") (, ",") (identifier "uVar1") (, ",") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "DAT_00157388 = 1;" (assignment_expression "DAT_00157388 = 1" (identifier "DAT_00157388") (= "=") (number_literal "1")) (; ";")) (expression_statement "free(local_30[0]);" (call_expression "free(local_30[0])" (identifier "free") (argument_list "(local_30[0])" (( "(") (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }" (else "else") (compound_statement "{\n      *param_3 = *(undefined8 *)(lVar4 + 0x38);\n      pvVar7 = local_30[0];\n    }" ({ "{") (expression_statement "*param_3 = *(undefined8 *)(lVar4 + 0x38);" (assignment_expression "*param_3 = *(undefined8 *)(lVar4 + 0x38)" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (pointer_expression "*(undefined8 *)(lVar4 + 0x38)" (* "*") (cast_expression "(undefined8 *)(lVar4 + 0x38)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x38)" (( "(") (binary_expression "lVar4 + 0x38" (identifier "lVar4") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "pvVar7 = local_30[0];" (assignment_expression "pvVar7 = local_30[0]" (identifier "pvVar7") (= "=") (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")))) (} "}")))) (return_statement "return pvVar7;" (return "return") (identifier "pvVar7") (; ";")) (} "}")))

type_1 * function_1(type_2 *abfd,char *sect_name,type_3 *size_ptr)

{
  int var_6;
  type_4 uVar2;
  long var_2;
  type_5 uVar4;
  char *format;
  char *pcVar5;
  type_1 *pbVar6;
  type_1 *contents;
  
  var_2 = var_1();
  if (var_2 == 0) {
    pcVar5 = (char *)var_3(0,"No %s section present\n\n",5);
    var_4(pcVar5,sect_name);
    pbVar6 = (type_1 *)0x0;
  }
  else {
    var_6 = var_5(abfd,var_2,&contents);
    if (var_6 == 0) {
      uVar2 = var_7();
      uVar4 = var_8(uVar2);
      pcVar5 = abfd->filename;
      format = (char *)var_3(0,"reading %s section of %s failed: %s",5);
      pbVar6 = (type_1 *)0x0;
      var_9(format,sect_name,pcVar5,uVar4);
      exit_status = 1;
      var_10(contents);
    }
    else {
      *size_ptr = *(type_3 *)(var_2 + 0x38);
      pbVar6 = contents;
    }
  }
  return pbVar6;
}


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

void * MASKED(undefined8 *param_1,undefined8 param_2,undefined8 *param_3)

{
  undefined8 uVar1;
  int iVar2;
  undefined4 uVar3;
  long lVar4;
  undefined8 uVar5;
  undefined8 uVar6;
  char *__format;
  void *pvVar7;
  void *local_30 [2];
  
  lVar4 = bfd_get_section_by_name();
  if (lVar4 == 0) {
    __format = (char *)dcgettext(0,"No %s section present\n\n",5);
    printf(__format,param_2);
    pvVar7 = (void *)0x0;
  }
  else {
    iVar2 = bfd_malloc_and_get_section(param_1,lVar4,local_30);
    if (iVar2 == 0) {
      uVar3 = bfd_get_error();
      uVar5 = bfd_errmsg(uVar3);
      uVar1 = *param_1;
      uVar6 = dcgettext(0,"reading %s section of %s failed: %s",5);
      pvVar7 = (void *)0x0;
      FUN_00136630(uVar6,param_2,uVar1,uVar5);
      DAT_00157388 = 1;
      free(local_30[0]);
    }
    else {
      *param_3 = *(undefined8 *)(lVar4 + 0x38);
      pvVar7 = local_30[0];
    }
  }
  return pvVar7;
}

