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

void find_call(Sym *parent,bfd_vma p_lowpc,bfd_vma p_highpc)

{
  char *pcVar1;
  uint uVar2;
  undefined4 uVar3;
  char *__format;
  
  if (core_text_space != (void *)0x0) {
    hist_clip_symbol_address(&p_lowpc,&p_highpc);
    uVar2 = bfd_get_arch(core_bfd);
    if (uVar2 == 7) {
      mips_find_call(parent,p_lowpc,p_highpc);
    }
    else {
      if (uVar2 < 8) {
        if (uVar2 == 3) {
          vax_find_call(parent,p_lowpc,p_highpc);
          return;
        }
        if (uVar2 == 5) {
          sparc_find_call(parent,p_lowpc,p_highpc);
          return;
        }
      }
      else {
        if (uVar2 == 0x20) {
          alpha_find_call(parent,p_lowpc,p_highpc);
          return;
        }
        if (uVar2 == 0x53) {
          aarch64_find_call(parent,p_lowpc,p_highpc);
          return;
        }
        if (uVar2 == 8) {
          i386_find_call(parent,p_lowpc,p_highpc);
          return;
        }
      }
      uVar3 = bfd_printable_name(core_bfd);
      pcVar1 = whoami;
      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);
      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,pcVar1,uVar3);
      ignore_direct_calls = 0;
    }
  }
  return;
}



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

void FUN_00018a20(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  uint uVar2;
  undefined4 uVar3;
  char *__format;
  
  if (DAT_0002d47c != 0) {
    FUN_0001b950(&param_2,&param_3);
    uVar2 = bfd_get_arch(DAT_0002d478);
    if (uVar2 == 7) {
      FUN_0001e580(param_1,param_2,param_3);
    }
    else {
      if (uVar2 < 8) {
        if (uVar2 == 3) {
          FUN_0001e000(param_1,param_2,param_3);
          return;
        }
        if (uVar2 == 5) {
          FUN_0001e3c0(param_1,param_2,param_3);
          return;
        }
      }
      else {
        if (uVar2 == 0x20) {
          FUN_0001d9d0(param_1,param_2,param_3);
          return;
        }
        if (uVar2 == 0x53) {
          FUN_0001e860(param_1,param_2,param_3);
          return;
        }
        if (uVar2 == 8) {
          FUN_0001d7e0(param_1,param_2,param_3);
          return;
        }
      }
      uVar3 = bfd_printable_name(DAT_0002d478);
      uVar1 = DAT_0002d494;
      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);
      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);
      DAT_0002d14c = 0;
    }
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013030
ADD EBX,0x135d8
LEA EAX,[EBX + 0x147c]
MOV EDX,dword ptr [EAX]
TEST EDX,EDX
JZ 0x00018ad2
SUB ESP,0x8
LEA EAX,[ESP + 0x20]
PUSH EAX
LEA EAX,[ESP + 0x20]
PUSH EAX
CALL 0x0001b950
LEA ESI,[EBX + 0x1478]
POP EAX
PUSH dword ptr [ESI]
CALL 0x000122f0
ADD ESP,0x10
CMP EAX,0x7
JZ 0x00018b88
JBE 0x00018ae0
CMP EAX,0x20
JZ 0x00018b68
CMP EAX,0x53
JZ 0x00018b08
CMP EAX,0x8
JZ 0x00018b28
SUB ESP,0xc
PUSH dword ptr [ESI]
CALL 0x00012240
ADD ESP,0xc
MOV EDI,EAX
LEA EAX,[EBX + 0x1494]
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xffff5b80]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
PUSH EDI
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffcc]
PUSH dword ptr [EAX]
CALL 0x00012310
LEA EAX,[EBX + 0x114c]
ADD ESP,0x20
MOV dword ptr [EAX],0x0
POP EBX
POP ESI
POP EDI
RET
CMP EAX,0x3
JZ 0x00018b48
CMP EAX,0x5
JNZ 0x00018a87
SUB ESP,0x4
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
CALL 0x0001e3c0
ADD ESP,0x10
JMP 0x00018ad2
SUB ESP,0x4
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
CALL 0x0001e860
ADD ESP,0x10
JMP 0x00018ad2
SUB ESP,0x4
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
CALL 0x0001d7e0
ADD ESP,0x10
JMP 0x00018ad2
SUB ESP,0x4
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
CALL 0x0001e000
ADD ESP,0x10
JMP 0x00018ad2
SUB ESP,0x4
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
CALL 0x0001d9d0
ADD ESP,0x10
JMP 0x00018ad2
SUB ESP,0x4
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
CALL 0x0001e580
ADD ESP,0x10
JMP 0x00018ad2
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00018a20(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  char *__format;\n  \n  if (DAT_0002d47c != 0) {\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00018a20(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  char *__format;\n  \n  if (DAT_0002d47c != 0) {\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00018a20(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  char *__format;\n  \n  if (DAT_0002d47c != 0) {\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (if_statement "if (DAT_0002d47c != 0) {\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }" if (parenthesized_expression "(DAT_0002d47c != 0)" ( (binary_expression "DAT_0002d47c != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }" { (expression_statement "FUN_0001b950(&param_2,&param_3);" (call_expression "FUN_0001b950(&param_2,&param_3)" identifier (argument_list "(&param_2,&param_3)" ( (pointer_expression "&param_2" & identifier) , (pointer_expression "&param_3" & identifier) ))) ;) (expression_statement "uVar2 = bfd_get_arch(DAT_0002d478);" (assignment_expression "uVar2 = bfd_get_arch(DAT_0002d478)" identifier = (call_expression "bfd_get_arch(DAT_0002d478)" identifier (argument_list "(DAT_0002d478)" ( identifier )))) ;) (if_statement "if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }" if (parenthesized_expression "(uVar2 == 7)" ( (binary_expression "uVar2 == 7" identifier == number_literal) )) (compound_statement "{\n      FUN_0001e580(param_1,param_2,param_3);\n    }" { (expression_statement "FUN_0001e580(param_1,param_2,param_3);" (call_expression "FUN_0001e580(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }" else (compound_statement "{\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }" { (if_statement "if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }" if (parenthesized_expression "(uVar2 < 8)" ( (binary_expression "uVar2 < 8" identifier < number_literal) )) (compound_statement "{\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }" { (if_statement "if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 3)" ( (binary_expression "uVar2 == 3" identifier == number_literal) )) (compound_statement "{\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }" { (expression_statement "FUN_0001e000(param_1,param_2,param_3);" (call_expression "FUN_0001e000(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 5)" ( (binary_expression "uVar2 == 5" identifier == number_literal) )) (compound_statement "{\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }" { (expression_statement "FUN_0001e3c0(param_1,param_2,param_3);" (call_expression "FUN_0001e3c0(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }" else (compound_statement "{\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }" { (if_statement "if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 0x20)" ( (binary_expression "uVar2 == 0x20" identifier == number_literal) )) (compound_statement "{\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }" { (expression_statement "FUN_0001d9d0(param_1,param_2,param_3);" (call_expression "FUN_0001d9d0(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 0x53)" ( (binary_expression "uVar2 == 0x53" identifier == number_literal) )) (compound_statement "{\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }" { (expression_statement "FUN_0001e860(param_1,param_2,param_3);" (call_expression "FUN_0001e860(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 8)" ( (binary_expression "uVar2 == 8" identifier == number_literal) )) (compound_statement "{\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }" { (expression_statement "FUN_0001d7e0(param_1,param_2,param_3);" (call_expression "FUN_0001d7e0(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) }))) (expression_statement "uVar3 = bfd_printable_name(DAT_0002d478);" (assignment_expression "uVar3 = bfd_printable_name(DAT_0002d478)" identifier = (call_expression "bfd_printable_name(DAT_0002d478)" identifier (argument_list "(DAT_0002d478)" ( identifier )))) ;) (expression_statement "uVar1 = DAT_0002d494;" (assignment_expression "uVar1 = DAT_0002d494" identifier = identifier) ;) (expression_statement "__format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);" (assignment_expression "__format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: -c not supported on architecture %s\n",5)" identifier (argument_list "("gprof","%s: -c not supported on architecture %s\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: -c not supported on architecture %s\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3)" identifier (argument_list "(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3)" ( (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" * (cast_expression "(FILE **)PTR_stderr_0002bfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier ))) ;) (expression_statement "DAT_0002d14c = 0;" (assignment_expression "DAT_0002d14c = 0" identifier = number_literal) ;) }))) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid find_call(Sym *parent,bfd_vma p_lowpc,bfd_vma p_highpc)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  char *__format;\n  \n  if (core_text_space != (void *)0x0) {\n    hist_clip_symbol_address(&p_lowpc,&p_highpc);\n    uVar2 = bfd_get_arch(core_bfd);\n    if (uVar2 == 7) {\n      mips_find_call(parent,p_lowpc,p_highpc);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          vax_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 5) {\n          sparc_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          alpha_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          aarch64_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 8) {\n          i386_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(core_bfd);\n      pcVar1 = whoami;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,pcVar1,uVar3);\n      ignore_direct_calls = 0;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void find_call(Sym *parent,bfd_vma p_lowpc,bfd_vma p_highpc)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  char *__format;\n  \n  if (core_text_space != (void *)0x0) {\n    hist_clip_symbol_address(&p_lowpc,&p_highpc);\n    uVar2 = bfd_get_arch(core_bfd);\n    if (uVar2 == 7) {\n      mips_find_call(parent,p_lowpc,p_highpc);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          vax_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 5) {\n          sparc_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          alpha_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          aarch64_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 8) {\n          i386_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(core_bfd);\n      pcVar1 = whoami;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,pcVar1,uVar3);\n      ignore_direct_calls = 0;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "find_call(Sym *parent,bfd_vma p_lowpc,bfd_vma p_highpc)" identifier (parameter_list "(Sym *parent,bfd_vma p_lowpc,bfd_vma p_highpc)" ( (parameter_declaration "Sym *parent" type_identifier (pointer_declarator "*parent" * identifier)) , (parameter_declaration "bfd_vma p_lowpc" type_identifier identifier) , (parameter_declaration "bfd_vma p_highpc" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  char *__format;\n  \n  if (core_text_space != (void *)0x0) {\n    hist_clip_symbol_address(&p_lowpc,&p_highpc);\n    uVar2 = bfd_get_arch(core_bfd);\n    if (uVar2 == 7) {\n      mips_find_call(parent,p_lowpc,p_highpc);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          vax_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 5) {\n          sparc_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          alpha_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          aarch64_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 8) {\n          i386_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(core_bfd);\n      pcVar1 = whoami;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,pcVar1,uVar3);\n      ignore_direct_calls = 0;\n    }\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (if_statement "if (core_text_space != (void *)0x0) {\n    hist_clip_symbol_address(&p_lowpc,&p_highpc);\n    uVar2 = bfd_get_arch(core_bfd);\n    if (uVar2 == 7) {\n      mips_find_call(parent,p_lowpc,p_highpc);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          vax_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 5) {\n          sparc_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          alpha_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          aarch64_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 8) {\n          i386_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(core_bfd);\n      pcVar1 = whoami;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,pcVar1,uVar3);\n      ignore_direct_calls = 0;\n    }\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    hist_clip_symbol_address(&p_lowpc,&p_highpc);\n    uVar2 = bfd_get_arch(core_bfd);\n    if (uVar2 == 7) {\n      mips_find_call(parent,p_lowpc,p_highpc);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          vax_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 5) {\n          sparc_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          alpha_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          aarch64_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 8) {\n          i386_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(core_bfd);\n      pcVar1 = whoami;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,pcVar1,uVar3);\n      ignore_direct_calls = 0;\n    }\n  }" { (expression_statement "hist_clip_symbol_address(&p_lowpc,&p_highpc);" (call_expression "hist_clip_symbol_address(&p_lowpc,&p_highpc)" identifier (argument_list "(&p_lowpc,&p_highpc)" ( (pointer_expression "&p_lowpc" & identifier) , (pointer_expression "&p_highpc" & identifier) ))) ;) (expression_statement "uVar2 = bfd_get_arch(core_bfd);" (assignment_expression "uVar2 = bfd_get_arch(core_bfd)" identifier = (call_expression "bfd_get_arch(core_bfd)" identifier (argument_list "(core_bfd)" ( identifier )))) ;) (if_statement "if (uVar2 == 7) {\n      mips_find_call(parent,p_lowpc,p_highpc);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          vax_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 5) {\n          sparc_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          alpha_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          aarch64_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 8) {\n          i386_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(core_bfd);\n      pcVar1 = whoami;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,pcVar1,uVar3);\n      ignore_direct_calls = 0;\n    }" if (parenthesized_expression "(uVar2 == 7)" ( (binary_expression "uVar2 == 7" identifier == number_literal) )) (compound_statement "{\n      mips_find_call(parent,p_lowpc,p_highpc);\n    }" { (expression_statement "mips_find_call(parent,p_lowpc,p_highpc);" (call_expression "mips_find_call(parent,p_lowpc,p_highpc)" identifier (argument_list "(parent,p_lowpc,p_highpc)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          vax_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 5) {\n          sparc_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          alpha_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          aarch64_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 8) {\n          i386_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(core_bfd);\n      pcVar1 = whoami;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,pcVar1,uVar3);\n      ignore_direct_calls = 0;\n    }" else (compound_statement "{\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          vax_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 5) {\n          sparc_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          alpha_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          aarch64_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 8) {\n          i386_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(core_bfd);\n      pcVar1 = whoami;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,pcVar1,uVar3);\n      ignore_direct_calls = 0;\n    }" { (if_statement "if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          vax_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 5) {\n          sparc_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          alpha_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          aarch64_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 8) {\n          i386_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }" if (parenthesized_expression "(uVar2 < 8)" ( (binary_expression "uVar2 < 8" identifier < number_literal) )) (compound_statement "{\n        if (uVar2 == 3) {\n          vax_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 5) {\n          sparc_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }" { (if_statement "if (uVar2 == 3) {\n          vax_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 3)" ( (binary_expression "uVar2 == 3" identifier == number_literal) )) (compound_statement "{\n          vax_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }" { (expression_statement "vax_find_call(parent,p_lowpc,p_highpc);" (call_expression "vax_find_call(parent,p_lowpc,p_highpc)" identifier (argument_list "(parent,p_lowpc,p_highpc)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar2 == 5) {\n          sparc_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 5)" ( (binary_expression "uVar2 == 5" identifier == number_literal) )) (compound_statement "{\n          sparc_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }" { (expression_statement "sparc_find_call(parent,p_lowpc,p_highpc);" (call_expression "sparc_find_call(parent,p_lowpc,p_highpc)" identifier (argument_list "(parent,p_lowpc,p_highpc)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n        if (uVar2 == 0x20) {\n          alpha_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          aarch64_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 8) {\n          i386_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }" else (compound_statement "{\n        if (uVar2 == 0x20) {\n          alpha_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          aarch64_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n        if (uVar2 == 8) {\n          i386_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }\n      }" { (if_statement "if (uVar2 == 0x20) {\n          alpha_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 0x20)" ( (binary_expression "uVar2 == 0x20" identifier == number_literal) )) (compound_statement "{\n          alpha_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }" { (expression_statement "alpha_find_call(parent,p_lowpc,p_highpc);" (call_expression "alpha_find_call(parent,p_lowpc,p_highpc)" identifier (argument_list "(parent,p_lowpc,p_highpc)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar2 == 0x53) {\n          aarch64_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 0x53)" ( (binary_expression "uVar2 == 0x53" identifier == number_literal) )) (compound_statement "{\n          aarch64_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }" { (expression_statement "aarch64_find_call(parent,p_lowpc,p_highpc);" (call_expression "aarch64_find_call(parent,p_lowpc,p_highpc)" identifier (argument_list "(parent,p_lowpc,p_highpc)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar2 == 8) {\n          i386_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 8)" ( (binary_expression "uVar2 == 8" identifier == number_literal) )) (compound_statement "{\n          i386_find_call(parent,p_lowpc,p_highpc);\n          return;\n        }" { (expression_statement "i386_find_call(parent,p_lowpc,p_highpc);" (call_expression "i386_find_call(parent,p_lowpc,p_highpc)" identifier (argument_list "(parent,p_lowpc,p_highpc)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) }))) (expression_statement "uVar3 = bfd_printable_name(core_bfd);" (assignment_expression "uVar3 = bfd_printable_name(core_bfd)" identifier = (call_expression "bfd_printable_name(core_bfd)" identifier (argument_list "(core_bfd)" ( identifier )))) ;) (expression_statement "pcVar1 = whoami;" (assignment_expression "pcVar1 = whoami" identifier = identifier) ;) (expression_statement "__format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);" (assignment_expression "__format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: -c not supported on architecture %s\n",5)" identifier (argument_list "("gprof","%s: -c not supported on architecture %s\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: -c not supported on architecture %s\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,pcVar1,uVar3);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,pcVar1,uVar3)" identifier (argument_list "(*(FILE **)PTR_stderr_0002bfcc,__format,pcVar1,uVar3)" ( (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" * (cast_expression "(FILE **)PTR_stderr_0002bfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier ))) ;) (expression_statement "ignore_direct_calls = 0;" (assignment_expression "ignore_direct_calls = 0" identifier = number_literal) ;) }))) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00018a20(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  char *__format;\n  \n  if (DAT_0002d47c != 0) {\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00018a20(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  char *__format;\n  \n  if (DAT_0002d47c != 0) {\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00018a20(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  char *__format;\n  \n  if (DAT_0002d47c != 0) {\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (if_statement "if (DAT_0002d47c != 0) {\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }" if (parenthesized_expression "(DAT_0002d47c != 0)" ( (binary_expression "DAT_0002d47c != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }" { (expression_statement "FUN_0001b950(&param_2,&param_3);" (call_expression "FUN_0001b950(&param_2,&param_3)" identifier (argument_list "(&param_2,&param_3)" ( (pointer_expression "&param_2" & identifier) , (pointer_expression "&param_3" & identifier) ))) ;) (expression_statement "uVar2 = bfd_get_arch(DAT_0002d478);" (assignment_expression "uVar2 = bfd_get_arch(DAT_0002d478)" identifier = (call_expression "bfd_get_arch(DAT_0002d478)" identifier (argument_list "(DAT_0002d478)" ( identifier )))) ;) (if_statement "if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }" if (parenthesized_expression "(uVar2 == 7)" ( (binary_expression "uVar2 == 7" identifier == number_literal) )) (compound_statement "{\n      FUN_0001e580(param_1,param_2,param_3);\n    }" { (expression_statement "FUN_0001e580(param_1,param_2,param_3);" (call_expression "FUN_0001e580(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }" else (compound_statement "{\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }" { (if_statement "if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }" if (parenthesized_expression "(uVar2 < 8)" ( (binary_expression "uVar2 < 8" identifier < number_literal) )) (compound_statement "{\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }" { (if_statement "if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 3)" ( (binary_expression "uVar2 == 3" identifier == number_literal) )) (compound_statement "{\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }" { (expression_statement "FUN_0001e000(param_1,param_2,param_3);" (call_expression "FUN_0001e000(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 5)" ( (binary_expression "uVar2 == 5" identifier == number_literal) )) (compound_statement "{\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }" { (expression_statement "FUN_0001e3c0(param_1,param_2,param_3);" (call_expression "FUN_0001e3c0(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }" else (compound_statement "{\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }" { (if_statement "if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 0x20)" ( (binary_expression "uVar2 == 0x20" identifier == number_literal) )) (compound_statement "{\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }" { (expression_statement "FUN_0001d9d0(param_1,param_2,param_3);" (call_expression "FUN_0001d9d0(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 0x53)" ( (binary_expression "uVar2 == 0x53" identifier == number_literal) )) (compound_statement "{\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }" { (expression_statement "FUN_0001e860(param_1,param_2,param_3);" (call_expression "FUN_0001e860(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }" if (parenthesized_expression "(uVar2 == 8)" ( (binary_expression "uVar2 == 8" identifier == number_literal) )) (compound_statement "{\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }" { (expression_statement "FUN_0001d7e0(param_1,param_2,param_3);" (call_expression "FUN_0001d7e0(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) }))) (expression_statement "uVar3 = bfd_printable_name(DAT_0002d478);" (assignment_expression "uVar3 = bfd_printable_name(DAT_0002d478)" identifier = (call_expression "bfd_printable_name(DAT_0002d478)" identifier (argument_list "(DAT_0002d478)" ( identifier )))) ;) (expression_statement "uVar1 = DAT_0002d494;" (assignment_expression "uVar1 = DAT_0002d494" identifier = identifier) ;) (expression_statement "__format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);" (assignment_expression "__format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: -c not supported on architecture %s\n",5)" identifier (argument_list "("gprof","%s: -c not supported on architecture %s\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: -c not supported on architecture %s\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3)" identifier (argument_list "(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3)" ( (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" * (cast_expression "(FILE **)PTR_stderr_0002bfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier ))) ;) (expression_statement "DAT_0002d14c = 0;" (assignment_expression "DAT_0002d14c = 0" identifier = number_literal) ;) }))) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (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 ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) (return_statement return ;) })))
(function_definition "void FUN_00018a20(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  char *__format;\n  \n  if (DAT_0002d47c != 0) {\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00018a20(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_00018a20") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  char *__format;\n  \n  if (DAT_0002d47c != 0) {\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (if_statement "if (DAT_0002d47c != 0) {\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }" (if "if") (parenthesized_expression "(DAT_0002d47c != 0)" (( "(") (binary_expression "DAT_0002d47c != 0" (identifier "DAT_0002d47c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0001b950(&param_2,&param_3);\n    uVar2 = bfd_get_arch(DAT_0002d478);\n    if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }\n  }" ({ "{") (expression_statement "FUN_0001b950(&param_2,&param_3);" (call_expression "FUN_0001b950(&param_2,&param_3)" (identifier "FUN_0001b950") (argument_list "(&param_2,&param_3)" (( "(") (pointer_expression "&param_2" (& "&") (identifier "param_2")) (, ",") (pointer_expression "&param_3" (& "&") (identifier "param_3")) () ")"))) (; ";")) (expression_statement "uVar2 = bfd_get_arch(DAT_0002d478);" (assignment_expression "uVar2 = bfd_get_arch(DAT_0002d478)" (identifier "uVar2") (= "=") (call_expression "bfd_get_arch(DAT_0002d478)" (identifier "bfd_get_arch") (argument_list "(DAT_0002d478)" (( "(") (identifier "DAT_0002d478") () ")")))) (; ";")) (if_statement "if (uVar2 == 7) {\n      FUN_0001e580(param_1,param_2,param_3);\n    }\n    else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }" (if "if") (parenthesized_expression "(uVar2 == 7)" (( "(") (binary_expression "uVar2 == 7" (identifier "uVar2") (== "==") (number_literal "7")) () ")")) (compound_statement "{\n      FUN_0001e580(param_1,param_2,param_3);\n    }" ({ "{") (expression_statement "FUN_0001e580(param_1,param_2,param_3);" (call_expression "FUN_0001e580(param_1,param_2,param_3)" (identifier "FUN_0001e580") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }" (else "else") (compound_statement "{\n      if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      uVar3 = bfd_printable_name(DAT_0002d478);\n      uVar1 = DAT_0002d494;\n      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);\n      DAT_0002d14c = 0;\n    }" ({ "{") (if_statement "if (uVar2 < 8) {\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }\n      else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }" (if "if") (parenthesized_expression "(uVar2 < 8)" (( "(") (binary_expression "uVar2 < 8" (identifier "uVar2") (< "<") (number_literal "8")) () ")")) (compound_statement "{\n        if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }\n      }" ({ "{") (if_statement "if (uVar2 == 3) {\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }" (if "if") (parenthesized_expression "(uVar2 == 3)" (( "(") (binary_expression "uVar2 == 3" (identifier "uVar2") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n          FUN_0001e000(param_1,param_2,param_3);\n          return;\n        }" ({ "{") (expression_statement "FUN_0001e000(param_1,param_2,param_3);" (call_expression "FUN_0001e000(param_1,param_2,param_3)" (identifier "FUN_0001e000") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (uVar2 == 5) {\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }" (if "if") (parenthesized_expression "(uVar2 == 5)" (( "(") (binary_expression "uVar2 == 5" (identifier "uVar2") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n          FUN_0001e3c0(param_1,param_2,param_3);\n          return;\n        }" ({ "{") (expression_statement "FUN_0001e3c0(param_1,param_2,param_3);" (call_expression "FUN_0001e3c0(param_1,param_2,param_3)" (identifier "FUN_0001e3c0") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }" (else "else") (compound_statement "{\n        if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }\n        if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }\n      }" ({ "{") (if_statement "if (uVar2 == 0x20) {\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }" (if "if") (parenthesized_expression "(uVar2 == 0x20)" (( "(") (binary_expression "uVar2 == 0x20" (identifier "uVar2") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n          FUN_0001d9d0(param_1,param_2,param_3);\n          return;\n        }" ({ "{") (expression_statement "FUN_0001d9d0(param_1,param_2,param_3);" (call_expression "FUN_0001d9d0(param_1,param_2,param_3)" (identifier "FUN_0001d9d0") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (uVar2 == 0x53) {\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }" (if "if") (parenthesized_expression "(uVar2 == 0x53)" (( "(") (binary_expression "uVar2 == 0x53" (identifier "uVar2") (== "==") (number_literal "0x53")) () ")")) (compound_statement "{\n          FUN_0001e860(param_1,param_2,param_3);\n          return;\n        }" ({ "{") (expression_statement "FUN_0001e860(param_1,param_2,param_3);" (call_expression "FUN_0001e860(param_1,param_2,param_3)" (identifier "FUN_0001e860") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (uVar2 == 8) {\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }" (if "if") (parenthesized_expression "(uVar2 == 8)" (( "(") (binary_expression "uVar2 == 8" (identifier "uVar2") (== "==") (number_literal "8")) () ")")) (compound_statement "{\n          FUN_0001d7e0(param_1,param_2,param_3);\n          return;\n        }" ({ "{") (expression_statement "FUN_0001d7e0(param_1,param_2,param_3);" (call_expression "FUN_0001d7e0(param_1,param_2,param_3)" (identifier "FUN_0001d7e0") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar3 = bfd_printable_name(DAT_0002d478);" (assignment_expression "uVar3 = bfd_printable_name(DAT_0002d478)" (identifier "uVar3") (= "=") (call_expression "bfd_printable_name(DAT_0002d478)" (identifier "bfd_printable_name") (argument_list "(DAT_0002d478)" (( "(") (identifier "DAT_0002d478") () ")")))) (; ";")) (expression_statement "uVar1 = DAT_0002d494;" (assignment_expression "uVar1 = DAT_0002d494" (identifier "uVar1") (= "=") (identifier "DAT_0002d494")) (; ";")) (expression_statement "__format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);" (assignment_expression "__format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5)" (identifier "__format") (= "=") (cast_expression "(char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","%s: -c not supported on architecture %s\n",5)" (identifier "dcgettext") (argument_list "("gprof","%s: -c not supported on architecture %s\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""%s: -c not supported on architecture %s\n"" (" """) (string_content "%s: -c not supported on architecture %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" (* "*") (cast_expression "(FILE **)PTR_stderr_0002bfcc" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_0002bfcc"))) (, ",") (identifier "__format") (, ",") (identifier "uVar1") (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "DAT_0002d14c = 0;" (assignment_expression "DAT_0002d14c = 0" (identifier "DAT_0002d14c") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *parent,type_2 p_lowpc,type_2 p_highpc)

{
  char *pcVar1;
  type_3 var_4;
  type_4 uVar3;
  char *__format;
  
  if (var_1 != (void *)0x0) {
    var_2(&p_lowpc,&p_highpc);
    var_4 = var_3(core_bfd);
    if (var_4 == 7) {
      var_5(parent,p_lowpc,p_highpc);
    }
    else {
      if (var_4 < 8) {
        if (var_4 == 3) {
          var_6(parent,p_lowpc,p_highpc);
          return;
        }
        if (var_4 == 5) {
          var_7(parent,p_lowpc,p_highpc);
          return;
        }
      }
      else {
        if (var_4 == 0x20) {
          var_8(parent,p_lowpc,p_highpc);
          return;
        }
        if (var_4 == 0x53) {
          var_9(parent,p_lowpc,p_highpc);
          return;
        }
        if (var_4 == 8) {
          var_10(parent,p_lowpc,p_highpc);
          return;
        }
      }
      uVar3 = var_11(core_bfd);
      pcVar1 = whoami;
      __format = (char *)var_12("gprof","%s: -c not supported on architecture %s\n",5);
      var_13(*(type_5 **)PTR_stderr_0002bfcc,__format,pcVar1,uVar3);
      ignore_direct_calls = 0;
    }
  }
  return;
}


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

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

void MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  uint uVar2;
  undefined4 uVar3;
  char *__format;
  
  if (DAT_0002d47c != 0) {
    FUN_0001b950(&param_2,&param_3);
    uVar2 = bfd_get_arch(DAT_0002d478);
    if (uVar2 == 7) {
      FUN_0001e580(param_1,param_2,param_3);
    }
    else {
      if (uVar2 < 8) {
        if (uVar2 == 3) {
          FUN_0001e000(param_1,param_2,param_3);
          return;
        }
        if (uVar2 == 5) {
          FUN_0001e3c0(param_1,param_2,param_3);
          return;
        }
      }
      else {
        if (uVar2 == 0x20) {
          FUN_0001d9d0(param_1,param_2,param_3);
          return;
        }
        if (uVar2 == 0x53) {
          FUN_0001e860(param_1,param_2,param_3);
          return;
        }
        if (uVar2 == 8) {
          FUN_0001d7e0(param_1,param_2,param_3);
          return;
        }
      }
      uVar3 = bfd_printable_name(DAT_0002d478);
      uVar1 = DAT_0002d494;
      __format = (char *)dcgettext("gprof","%s: -c not supported on architecture %s\n",5);
      fprintf(*(FILE **)PTR_stderr_0002bfcc,__format,uVar1,uVar3);
      DAT_0002d14c = 0;
    }
  }
  return;
}

