
void core_get_text_space(bfd *cbfd)

{
  size_t __size;
  asection *paVar1;
  char *pcVar2;
  int iVar3;
  char *pcVar4;
  
  paVar1 = core_text_sect;
  __size = core_text_sect->size;
  core_text_space = malloc(__size);
  pcVar2 = whoami;
  if (core_text_space == (void *)0x0) {
    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);
    fprintf(stderr,pcVar4,pcVar2,__size);
                    /* WARNING: Subroutine does not return */
    done(1);
  }
  iVar3 = bfd_get_section_contents(cbfd,paVar1,core_text_space,0,__size);
  if (iVar3 == 0) {
    bfd_perror("bfd_get_section_contents");
    free(core_text_space);
    core_text_space = (void *)0x0;
  }
  else if (core_text_space != (void *)0x0) {
    return;
  }
  pcVar2 = whoami;
  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);
  fprintf(stderr,pcVar4,pcVar2);
  return;
}



void FUN_00108500(undefined8 param_1)

{
  size_t __size;
  long lVar1;
  undefined8 uVar2;
  int iVar3;
  char *pcVar4;
  
  lVar1 = DAT_00119af8;
  __size = *(size_t *)(DAT_00119af8 + 0x38);
  DAT_00119ae0 = malloc(__size);
  uVar2 = DAT_00119b10;
  if (DAT_00119ae0 == (void *)0x0) {
    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);
    fprintf(stderr,pcVar4,uVar2,__size);
                    /* WARNING: Subroutine does not return */
    FUN_0010a4c0(1);
  }
  iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size);
  if (iVar3 == 0) {
    bfd_perror("bfd_get_section_contents");
    free(DAT_00119ae0);
    DAT_00119ae0 = (void *)0x0;
  }
  else if (DAT_00119ae0 != (void *)0x0) {
    return;
  }
  uVar2 = DAT_00119b10;
  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);
  fprintf(stderr,pcVar4,uVar2);
  return;
}


PUSH R12
MOV R12,RDI
PUSH RBP
MOV RBP,qword ptr [0x00119af8]
PUSH RBX
MOV RBX,qword ptr [RBP + 0x38]
MOV RDI,RBX
CALL 0x00102360
MOV qword ptr [0x00119ae0],RAX
TEST RAX,RAX
JZ 0x001085aa
XOR ECX,ECX
MOV R8,RBX
MOV RDX,RAX
MOV RSI,RBP
MOV RDI,R12
CALL 0x00102180
TEST EAX,EAX
JZ 0x00108550
CMP qword ptr [0x00119ae0],0x0
JZ 0x00108573
POP RBX
POP RBP
POP R12
RET
LEA RDI,[0x110d7f]
CALL 0x001023d0
MOV RDI,qword ptr [0x00119ae0]
CALL 0x00102050
MOV qword ptr [0x00119ae0],0x0
MOV RBX,qword ptr [0x00119b10]
MOV EDX,0x5
LEA RSI,[0x110d98]
LEA RDI,[0x110008]
CALL 0x00102170
MOV RDI,qword ptr [0x00118940]
MOV RDX,RBX
MOV RSI,RAX
POP RBX
XOR EAX,EAX
POP RBP
POP R12
JMP 0x001022f0
MOV RBP,qword ptr [0x00119b10]
MOV EDX,0x5
LEA RSI,[0x110bb8]
LEA RDI,[0x110008]
CALL 0x00102170
MOV RDI,qword ptr [0x00118940]
MOV RCX,RBX
MOV RSI,RAX
MOV RDX,RBP
XOR EAX,EAX
CALL 0x001022f0
MOV EDI,0x1
CALL 0x0010a4c0
(translation_unit "void FUN_00108500(undefined8 param_1)\n\n{\n  size_t __size;\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  lVar1 = DAT_00119af8;\n  __size = *(size_t *)(DAT_00119af8 + 0x38);\n  DAT_00119ae0 = malloc(__size);\n  uVar2 = DAT_00119b10;\n  if (DAT_00119ae0 == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    /* WARNING: Subroutine does not return */\n    FUN_0010a4c0(1);\n  }\n  iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size);\n  if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }\n  else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }\n  uVar2 = DAT_00119b10;\n  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);\n  fprintf(stderr,pcVar4,uVar2);\n  return;\n}\n\n" (function_definition "void FUN_00108500(undefined8 param_1)\n\n{\n  size_t __size;\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  lVar1 = DAT_00119af8;\n  __size = *(size_t *)(DAT_00119af8 + 0x38);\n  DAT_00119ae0 = malloc(__size);\n  uVar2 = DAT_00119b10;\n  if (DAT_00119ae0 == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    /* WARNING: Subroutine does not return */\n    FUN_0010a4c0(1);\n  }\n  iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size);\n  if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }\n  else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }\n  uVar2 = DAT_00119b10;\n  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);\n  fprintf(stderr,pcVar4,uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_00108500(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  size_t __size;\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  lVar1 = DAT_00119af8;\n  __size = *(size_t *)(DAT_00119af8 + 0x38);\n  DAT_00119ae0 = malloc(__size);\n  uVar2 = DAT_00119b10;\n  if (DAT_00119ae0 == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    /* WARNING: Subroutine does not return */\n    FUN_0010a4c0(1);\n  }\n  iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size);\n  if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }\n  else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }\n  uVar2 = DAT_00119b10;\n  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);\n  fprintf(stderr,pcVar4,uVar2);\n  return;\n}" { (declaration "size_t __size;" primitive_type identifier ;) (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "lVar1 = DAT_00119af8;" (assignment_expression "lVar1 = DAT_00119af8" identifier = identifier) ;) (expression_statement "__size = *(size_t *)(DAT_00119af8 + 0x38);" (assignment_expression "__size = *(size_t *)(DAT_00119af8 + 0x38)" identifier = (pointer_expression "*(size_t *)(DAT_00119af8 + 0x38)" * (cast_expression "(size_t *)(DAT_00119af8 + 0x38)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00119af8 + 0x38)" ( (binary_expression "DAT_00119af8 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "DAT_00119ae0 = malloc(__size);" (assignment_expression "DAT_00119ae0 = malloc(__size)" identifier = (call_expression "malloc(__size)" identifier (argument_list "(__size)" ( identifier )))) ;) (expression_statement "uVar2 = DAT_00119b10;" (assignment_expression "uVar2 = DAT_00119b10" identifier = identifier) ;) (if_statement "if (DAT_00119ae0 == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    /* WARNING: Subroutine does not return */\n    FUN_0010a4c0(1);\n  }" if (parenthesized_expression "(DAT_00119ae0 == (void *)0x0)" ( (binary_expression "DAT_00119ae0 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    /* WARNING: Subroutine does not return */\n    FUN_0010a4c0(1);\n  }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5)" identifier (argument_list "("gprof","%s: ran out room for %lu bytes of text space\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: ran out room for %lu bytes of text space\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(stderr,pcVar4,uVar2,__size);" (call_expression "fprintf(stderr,pcVar4,uVar2,__size)" identifier (argument_list "(stderr,pcVar4,uVar2,__size)" ( identifier , identifier , identifier , identifier ))) ;) comment (expression_statement "FUN_0010a4c0(1);" (call_expression "FUN_0010a4c0(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size);" (assignment_expression "iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size)" identifier = (call_expression "bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size)" identifier (argument_list "(param_1,lVar1,DAT_00119ae0,0,__size)" ( identifier , identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }\n  else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }" { (expression_statement "bfd_perror("bfd_get_section_contents");" (call_expression "bfd_perror("bfd_get_section_contents")" identifier (argument_list "("bfd_get_section_contents")" ( (string_literal ""bfd_get_section_contents"" " string_content ") ))) ;) (expression_statement "free(DAT_00119ae0);" (call_expression "free(DAT_00119ae0)" identifier (argument_list "(DAT_00119ae0)" ( identifier ))) ;) (expression_statement "DAT_00119ae0 = (void *)0x0;" (assignment_expression "DAT_00119ae0 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }" else (if_statement "if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }" if (parenthesized_expression "(DAT_00119ae0 != (void *)0x0)" ( (binary_expression "DAT_00119ae0 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })))) (expression_statement "uVar2 = DAT_00119b10;" (assignment_expression "uVar2 = DAT_00119b10" identifier = identifier) ;) (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: can\'t do -c\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: can\'t do -c\n",5)" identifier (argument_list "("gprof","%s: can\'t do -c\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: can\'t do -c\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(stderr,pcVar4,uVar2);" (call_expression "fprintf(stderr,pcVar4,uVar2)" identifier (argument_list "(stderr,pcVar4,uVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void core_get_text_space(bfd *cbfd)\n\n{\n  size_t __size;\n  asection *paVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  paVar1 = core_text_sect;\n  __size = core_text_sect->size;\n  core_text_space = malloc(__size);\n  pcVar2 = whoami;\n  if (core_text_space == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,pcVar2,__size);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }\n  iVar3 = bfd_get_section_contents(cbfd,paVar1,core_text_space,0,__size);\n  if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(core_text_space);\n    core_text_space = (void *)0x0;\n  }\n  else if (core_text_space != (void *)0x0) {\n    return;\n  }\n  pcVar2 = whoami;\n  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);\n  fprintf(stderr,pcVar4,pcVar2);\n  return;\n}\n\n" (function_definition "void core_get_text_space(bfd *cbfd)\n\n{\n  size_t __size;\n  asection *paVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  paVar1 = core_text_sect;\n  __size = core_text_sect->size;\n  core_text_space = malloc(__size);\n  pcVar2 = whoami;\n  if (core_text_space == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,pcVar2,__size);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }\n  iVar3 = bfd_get_section_contents(cbfd,paVar1,core_text_space,0,__size);\n  if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(core_text_space);\n    core_text_space = (void *)0x0;\n  }\n  else if (core_text_space != (void *)0x0) {\n    return;\n  }\n  pcVar2 = whoami;\n  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);\n  fprintf(stderr,pcVar4,pcVar2);\n  return;\n}" primitive_type (function_declarator "core_get_text_space(bfd *cbfd)" identifier (parameter_list "(bfd *cbfd)" ( (parameter_declaration "bfd *cbfd" type_identifier (pointer_declarator "*cbfd" * identifier)) ))) (compound_statement "{\n  size_t __size;\n  asection *paVar1;\n  char *pcVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  paVar1 = core_text_sect;\n  __size = core_text_sect->size;\n  core_text_space = malloc(__size);\n  pcVar2 = whoami;\n  if (core_text_space == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,pcVar2,__size);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }\n  iVar3 = bfd_get_section_contents(cbfd,paVar1,core_text_space,0,__size);\n  if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(core_text_space);\n    core_text_space = (void *)0x0;\n  }\n  else if (core_text_space != (void *)0x0) {\n    return;\n  }\n  pcVar2 = whoami;\n  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);\n  fprintf(stderr,pcVar4,pcVar2);\n  return;\n}" { (declaration "size_t __size;" primitive_type identifier ;) (declaration "asection *paVar1;" type_identifier (pointer_declarator "*paVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "paVar1 = core_text_sect;" (assignment_expression "paVar1 = core_text_sect" identifier = identifier) ;) (expression_statement "__size = core_text_sect->size;" (assignment_expression "__size = core_text_sect->size" identifier = (field_expression "core_text_sect->size" identifier -> field_identifier)) ;) (expression_statement "core_text_space = malloc(__size);" (assignment_expression "core_text_space = malloc(__size)" identifier = (call_expression "malloc(__size)" identifier (argument_list "(__size)" ( identifier )))) ;) (expression_statement "pcVar2 = whoami;" (assignment_expression "pcVar2 = whoami" identifier = identifier) ;) (if_statement "if (core_text_space == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,pcVar2,__size);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }" if (parenthesized_expression "(core_text_space == (void *)0x0)" ( (binary_expression "core_text_space == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,pcVar2,__size);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5)" identifier (argument_list "("gprof","%s: ran out room for %lu bytes of text space\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: ran out room for %lu bytes of text space\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(stderr,pcVar4,pcVar2,__size);" (call_expression "fprintf(stderr,pcVar4,pcVar2,__size)" identifier (argument_list "(stderr,pcVar4,pcVar2,__size)" ( identifier , identifier , identifier , identifier ))) ;) comment (expression_statement "done(1);" (call_expression "done(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "iVar3 = bfd_get_section_contents(cbfd,paVar1,core_text_space,0,__size);" (assignment_expression "iVar3 = bfd_get_section_contents(cbfd,paVar1,core_text_space,0,__size)" identifier = (call_expression "bfd_get_section_contents(cbfd,paVar1,core_text_space,0,__size)" identifier (argument_list "(cbfd,paVar1,core_text_space,0,__size)" ( identifier , identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(core_text_space);\n    core_text_space = (void *)0x0;\n  }\n  else if (core_text_space != (void *)0x0) {\n    return;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    bfd_perror("bfd_get_section_contents");\n    free(core_text_space);\n    core_text_space = (void *)0x0;\n  }" { (expression_statement "bfd_perror("bfd_get_section_contents");" (call_expression "bfd_perror("bfd_get_section_contents")" identifier (argument_list "("bfd_get_section_contents")" ( (string_literal ""bfd_get_section_contents"" " string_content ") ))) ;) (expression_statement "free(core_text_space);" (call_expression "free(core_text_space)" identifier (argument_list "(core_text_space)" ( identifier ))) ;) (expression_statement "core_text_space = (void *)0x0;" (assignment_expression "core_text_space = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else if (core_text_space != (void *)0x0) {\n    return;\n  }" else (if_statement "if (core_text_space != (void *)0x0) {\n    return;\n  }" if (parenthesized_expression "(core_text_space != (void *)0x0)" ( (binary_expression "core_text_space != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })))) (expression_statement "pcVar2 = whoami;" (assignment_expression "pcVar2 = whoami" identifier = identifier) ;) (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: can\'t do -c\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: can\'t do -c\n",5)" identifier (argument_list "("gprof","%s: can\'t do -c\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: can\'t do -c\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(stderr,pcVar4,pcVar2);" (call_expression "fprintf(stderr,pcVar4,pcVar2)" identifier (argument_list "(stderr,pcVar4,pcVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00108500(undefined8 param_1)\n\n{\n  size_t __size;\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  lVar1 = DAT_00119af8;\n  __size = *(size_t *)(DAT_00119af8 + 0x38);\n  DAT_00119ae0 = malloc(__size);\n  uVar2 = DAT_00119b10;\n  if (DAT_00119ae0 == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    \n    FUN_0010a4c0(1);\n  }\n  iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size);\n  if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }\n  else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }\n  uVar2 = DAT_00119b10;\n  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);\n  fprintf(stderr,pcVar4,uVar2);\n  return;\n}\n\n" (function_definition "void FUN_00108500(undefined8 param_1)\n\n{\n  size_t __size;\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  lVar1 = DAT_00119af8;\n  __size = *(size_t *)(DAT_00119af8 + 0x38);\n  DAT_00119ae0 = malloc(__size);\n  uVar2 = DAT_00119b10;\n  if (DAT_00119ae0 == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    \n    FUN_0010a4c0(1);\n  }\n  iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size);\n  if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }\n  else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }\n  uVar2 = DAT_00119b10;\n  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);\n  fprintf(stderr,pcVar4,uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_00108500(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  size_t __size;\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  lVar1 = DAT_00119af8;\n  __size = *(size_t *)(DAT_00119af8 + 0x38);\n  DAT_00119ae0 = malloc(__size);\n  uVar2 = DAT_00119b10;\n  if (DAT_00119ae0 == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    \n    FUN_0010a4c0(1);\n  }\n  iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size);\n  if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }\n  else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }\n  uVar2 = DAT_00119b10;\n  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);\n  fprintf(stderr,pcVar4,uVar2);\n  return;\n}" { (declaration "size_t __size;" primitive_type identifier ;) (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "lVar1 = DAT_00119af8;" (assignment_expression "lVar1 = DAT_00119af8" identifier = identifier) ;) (expression_statement "__size = *(size_t *)(DAT_00119af8 + 0x38);" (assignment_expression "__size = *(size_t *)(DAT_00119af8 + 0x38)" identifier = (pointer_expression "*(size_t *)(DAT_00119af8 + 0x38)" * (cast_expression "(size_t *)(DAT_00119af8 + 0x38)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00119af8 + 0x38)" ( (binary_expression "DAT_00119af8 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "DAT_00119ae0 = malloc(__size);" (assignment_expression "DAT_00119ae0 = malloc(__size)" identifier = (call_expression "malloc(__size)" identifier (argument_list "(__size)" ( identifier )))) ;) (expression_statement "uVar2 = DAT_00119b10;" (assignment_expression "uVar2 = DAT_00119b10" identifier = identifier) ;) (if_statement "if (DAT_00119ae0 == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    \n    FUN_0010a4c0(1);\n  }" if (parenthesized_expression "(DAT_00119ae0 == (void *)0x0)" ( (binary_expression "DAT_00119ae0 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    \n    FUN_0010a4c0(1);\n  }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5)" identifier (argument_list "("gprof","%s: ran out room for %lu bytes of text space\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: ran out room for %lu bytes of text space\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(stderr,pcVar4,uVar2,__size);" (call_expression "fprintf(stderr,pcVar4,uVar2,__size)" identifier (argument_list "(stderr,pcVar4,uVar2,__size)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "FUN_0010a4c0(1);" (call_expression "FUN_0010a4c0(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size);" (assignment_expression "iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size)" identifier = (call_expression "bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size)" identifier (argument_list "(param_1,lVar1,DAT_00119ae0,0,__size)" ( identifier , identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }\n  else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }" { (expression_statement "bfd_perror("bfd_get_section_contents");" (call_expression "bfd_perror("bfd_get_section_contents")" identifier (argument_list "("bfd_get_section_contents")" ( (string_literal ""bfd_get_section_contents"" " string_content ") ))) ;) (expression_statement "free(DAT_00119ae0);" (call_expression "free(DAT_00119ae0)" identifier (argument_list "(DAT_00119ae0)" ( identifier ))) ;) (expression_statement "DAT_00119ae0 = (void *)0x0;" (assignment_expression "DAT_00119ae0 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }" else (if_statement "if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }" if (parenthesized_expression "(DAT_00119ae0 != (void *)0x0)" ( (binary_expression "DAT_00119ae0 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })))) (expression_statement "uVar2 = DAT_00119b10;" (assignment_expression "uVar2 = DAT_00119b10" identifier = identifier) ;) (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: can\'t do -c\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: can\'t do -c\n",5)" identifier (argument_list "("gprof","%s: can\'t do -c\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: can\'t do -c\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(stderr,pcVar4,uVar2);" (call_expression "fprintf(stderr,pcVar4,uVar2)" identifier (argument_list "(stderr,pcVar4,uVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content escape_sequence ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content escape_sequence string_content escape_sequence ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00108500(undefined8 param_1)\n\n{\n  size_t __size;\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  lVar1 = DAT_00119af8;\n  __size = *(size_t *)(DAT_00119af8 + 0x38);\n  DAT_00119ae0 = malloc(__size);\n  uVar2 = DAT_00119b10;\n  if (DAT_00119ae0 == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    \n    FUN_0010a4c0(1);\n  }\n  iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size);\n  if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }\n  else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }\n  uVar2 = DAT_00119b10;\n  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);\n  fprintf(stderr,pcVar4,uVar2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00108500(undefined8 param_1)" (identifier "FUN_00108500") (parameter_list "(undefined8 param_1)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) () ")"))) (compound_statement "{\n  size_t __size;\n  long lVar1;\n  undefined8 uVar2;\n  int iVar3;\n  char *pcVar4;\n  \n  lVar1 = DAT_00119af8;\n  __size = *(size_t *)(DAT_00119af8 + 0x38);\n  DAT_00119ae0 = malloc(__size);\n  uVar2 = DAT_00119b10;\n  if (DAT_00119ae0 == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    \n    FUN_0010a4c0(1);\n  }\n  iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size);\n  if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }\n  else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }\n  uVar2 = DAT_00119b10;\n  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);\n  fprintf(stderr,pcVar4,uVar2);\n  return;\n}" ({ "{") (declaration "size_t __size;" (primitive_type "size_t") (identifier "__size") (; ";")) (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (expression_statement "lVar1 = DAT_00119af8;" (assignment_expression "lVar1 = DAT_00119af8" (identifier "lVar1") (= "=") (identifier "DAT_00119af8")) (; ";")) (expression_statement "__size = *(size_t *)(DAT_00119af8 + 0x38);" (assignment_expression "__size = *(size_t *)(DAT_00119af8 + 0x38)" (identifier "__size") (= "=") (pointer_expression "*(size_t *)(DAT_00119af8 + 0x38)" (* "*") (cast_expression "(size_t *)(DAT_00119af8 + 0x38)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00119af8 + 0x38)" (( "(") (binary_expression "DAT_00119af8 + 0x38" (identifier "DAT_00119af8") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "DAT_00119ae0 = malloc(__size);" (assignment_expression "DAT_00119ae0 = malloc(__size)" (identifier "DAT_00119ae0") (= "=") (call_expression "malloc(__size)" (identifier "malloc") (argument_list "(__size)" (( "(") (identifier "__size") () ")")))) (; ";")) (expression_statement "uVar2 = DAT_00119b10;" (assignment_expression "uVar2 = DAT_00119b10" (identifier "uVar2") (= "=") (identifier "DAT_00119b10")) (; ";")) (if_statement "if (DAT_00119ae0 == (void *)0x0) {\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    \n    FUN_0010a4c0(1);\n  }" (if "if") (parenthesized_expression "(DAT_00119ae0 == (void *)0x0)" (( "(") (binary_expression "DAT_00119ae0 == (void *)0x0" (identifier "DAT_00119ae0") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);\n    fprintf(stderr,pcVar4,uVar2,__size);\n                    \n    FUN_0010a4c0(1);\n  }" ({ "{") (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5)" (identifier "dcgettext") (argument_list "("gprof","%s: ran out room for %lu bytes of text space\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""%s: ran out room for %lu bytes of text space\n"" (" """) (string_content "%s: ran out room for %lu bytes of text space") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "fprintf(stderr,pcVar4,uVar2,__size);" (call_expression "fprintf(stderr,pcVar4,uVar2,__size)" (identifier "fprintf") (argument_list "(stderr,pcVar4,uVar2,__size)" (( "(") (identifier "stderr") (, ",") (identifier "pcVar4") (, ",") (identifier "uVar2") (, ",") (identifier "__size") () ")"))) (; ";")) (expression_statement "FUN_0010a4c0(1);" (call_expression "FUN_0010a4c0(1)" (identifier "FUN_0010a4c0") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size);" (assignment_expression "iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size)" (identifier "iVar3") (= "=") (call_expression "bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size)" (identifier "bfd_get_section_contents") (argument_list "(param_1,lVar1,DAT_00119ae0,0,__size)" (( "(") (identifier "param_1") (, ",") (identifier "lVar1") (, ",") (identifier "DAT_00119ae0") (, ",") (number_literal "0") (, ",") (identifier "__size") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }\n  else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    bfd_perror("bfd_get_section_contents");\n    free(DAT_00119ae0);\n    DAT_00119ae0 = (void *)0x0;\n  }" ({ "{") (expression_statement "bfd_perror("bfd_get_section_contents");" (call_expression "bfd_perror("bfd_get_section_contents")" (identifier "bfd_perror") (argument_list "("bfd_get_section_contents")" (( "(") (string_literal ""bfd_get_section_contents"" (" """) (string_content "bfd_get_section_contents") (" """)) () ")"))) (; ";")) (expression_statement "free(DAT_00119ae0);" (call_expression "free(DAT_00119ae0)" (identifier "free") (argument_list "(DAT_00119ae0)" (( "(") (identifier "DAT_00119ae0") () ")"))) (; ";")) (expression_statement "DAT_00119ae0 = (void *)0x0;" (assignment_expression "DAT_00119ae0 = (void *)0x0" (identifier "DAT_00119ae0") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }" (else "else") (if_statement "if (DAT_00119ae0 != (void *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_00119ae0 != (void *)0x0)" (( "(") (binary_expression "DAT_00119ae0 != (void *)0x0" (identifier "DAT_00119ae0") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))))) (expression_statement "uVar2 = DAT_00119b10;" (assignment_expression "uVar2 = DAT_00119b10" (identifier "uVar2") (= "=") (identifier "DAT_00119b10")) (; ";")) (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","%s: can\'t do -c\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","%s: can\'t do -c\n",5)" (identifier "dcgettext") (argument_list "("gprof","%s: can\'t do -c\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""%s: can\'t do -c\n"" (" """) (string_content "%s: can") (escape_sequence "\'") (string_content "t do -c") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "fprintf(stderr,pcVar4,uVar2);" (call_expression "fprintf(stderr,pcVar4,uVar2)" (identifier "fprintf") (argument_list "(stderr,pcVar4,uVar2)" (( "(") (identifier "stderr") (, ",") (identifier "pcVar4") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *cbfd)

{
  size_t __size;
  type_2 *paVar1;
  char *pcVar2;
  int var_7;
  char *pcVar4;
  
  paVar1 = core_text_sect;
  __size = core_text_sect->size;
  var_2 = var_1(__size);
  pcVar2 = whoami;
  if (var_2 == (void *)0x0) {
    pcVar4 = (char *)var_3("gprof","%s: ran out room for %lu bytes of text space\n",5);
    var_4(stderr,pcVar4,pcVar2,__size);
                    /* WARNING: Subroutine does not return */
    var_5(1);
  }
  var_7 = var_6(cbfd,paVar1,var_2,0,__size);
  if (var_7 == 0) {
    var_8("bfd_get_section_contents");
    var_9(var_2);
    var_2 = (void *)0x0;
  }
  else if (var_2 != (void *)0x0) {
    return;
  }
  pcVar2 = whoami;
  pcVar4 = (char *)var_3("gprof","%s: can\'t do -c\n",5);
  var_4(stderr,pcVar4,pcVar2);
  return;
}


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

void MASKED(undefined8 param_1)

{
  size_t __size;
  long lVar1;
  undefined8 uVar2;
  int iVar3;
  char *pcVar4;
  
  lVar1 = DAT_00119af8;
  __size = *(size_t *)(DAT_00119af8 + 0x38);
  DAT_00119ae0 = malloc(__size);
  uVar2 = DAT_00119b10;
  if (DAT_00119ae0 == (void *)0x0) {
    pcVar4 = (char *)dcgettext("gprof","%s: ran out room for %lu bytes of text space\n",5);
    fprintf(stderr,pcVar4,uVar2,__size);
                    /* WARNING: Subroutine does not return */
    FUN_0010a4c0(1);
  }
  iVar3 = bfd_get_section_contents(param_1,lVar1,DAT_00119ae0,0,__size);
  if (iVar3 == 0) {
    bfd_perror("bfd_get_section_contents");
    free(DAT_00119ae0);
    DAT_00119ae0 = (void *)0x0;
  }
  else if (DAT_00119ae0 != (void *)0x0) {
    return;
  }
  uVar2 = DAT_00119b10;
  pcVar4 = (char *)dcgettext("gprof","%s: can\'t do -c\n",5);
  fprintf(stderr,pcVar4,uVar2);
  return;
}

