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

void cg_tally(bfd_vma from_pc,bfd_vma self_pc,ulong count)

{
  char *pcVar1;
  char *pcVar2;
  Sym *from;
  Sym *to;
  bfd_boolean bVar3;
  char *__format;
  
  from = sym_lookup(&symtab,from_pc);
  to = sym_lookup(&symtab,self_pc);
  if ((to != (Sym *)0x0) && (from != (Sym *)0x0)) {
    for (; symtab.base <= to; to = to + -1) {
      if ((to->field_0x1c & 1) != 0) {
        bVar3 = sym_id_arc_is_present(syms + 2,from,to);
        if (bVar3 == 0) {
          if (syms[2].len != 0) {
            return;
          }
          bVar3 = sym_id_arc_is_present(syms + 3,from,to);
          if (bVar3 != 0) {
            return;
          }
        }
        to->ncalls = to->ncalls + count;
        if (((byte)debug_level & 0x10) != 0) {
          pcVar1 = to->name;
          pcVar2 = from->name;
          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",
                                       5);
          printf(__format,pcVar2,pcVar1,count);
        }
        arc_add(from,to,count);
        return;
      }
    }
  }
  return;
}



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

void FUN_00014320(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 int param_5)

{
  undefined4 uVar1;
  undefined4 uVar2;
  int iVar3;
  uint uVar4;
  int iVar5;
  char *__format;
  
  iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2);
  uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4);
  if ((uVar4 != 0) && (iVar3 != 0)) {
    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {
      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {
        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);
        if (iVar5 == 0) {
          if (DAT_0002e558 != 0) {
            return;
          }
          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);
          if (iVar5 != 0) {
            return;
          }
        }
        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;
        if (((byte)DAT_0002e158 & 0x10) != 0) {
          uVar1 = *(undefined4 *)(uVar4 + 0x10);
          uVar2 = *(undefined4 *)(iVar3 + 0x10);
          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",
                                       5);
          printf(__format,uVar2,uVar1,param_5);
        }
        FUN_00014870(iVar3,uVar4,param_5);
        return;
      }
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013030
ADD EBX,0x18cd7
SUB ESP,0x20
MOV EDI,dword ptr [ESP + 0x3c]
MOV EBP,dword ptr [ESP + 0x40]
PUSH dword ptr [ESP + 0x38]
PUSH dword ptr [ESP + 0x38]
LEA ESI,[EBX + 0x1520]
PUSH ESI
CALL 0x0001d480
MOV dword ptr [ESP + 0x1c],EAX
ADD ESP,0xc
PUSH EBP
PUSH EDI
PUSH ESI
CALL 0x0001d480
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000143d4
MOV EDX,dword ptr [ESP + 0xc]
TEST EDX,EDX
JZ 0x000143d4
MOV EDI,EAX
MOV EAX,dword ptr [ESI + 0x4]
CMP EAX,EDI
JBE 0x0001438a
JMP 0x000143d4
SUB EDI,0xfc
CMP EAX,EDI
JA 0x000143d4
TEST byte ptr [EDI + 0x1c],0x1
JZ 0x00014380
LEA ESI,[EBX + 0x1540]
SUB ESP,0x4
PUSH EDI
LEA EAX,[ESI + 0x18]
PUSH dword ptr [ESP + 0x14]
PUSH EAX
CALL 0x0001de80
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000143e0
MOV EAX,dword ptr [ESP + 0x40]
ADD dword ptr [EDI + 0x20],EAX
LEA EAX,[EBX + 0x1158]
TEST byte ptr [EAX],0x10
JNZ 0x00014408
SUB ESP,0x4
PUSH dword ptr [ESP + 0x44]
PUSH EDI
PUSH dword ptr [ESP + 0x18]
CALL 0x00014870
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESI + 0x18]
TEST EAX,EAX
JNZ 0x000143d4
SUB ESP,0x4
LEA EAX,[ESI + 0x24]
PUSH EDI
PUSH dword ptr [ESP + 0x14]
PUSH EAX
CALL 0x0001de80
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000143d4
JMP 0x000143ae
MOV EAX,dword ptr [ESP + 0xc]
SUB ESP,0x4
MOV EBP,dword ptr [EDI + 0x10]
MOV ESI,dword ptr [EAX + 0x10]
LEA EAX,[EBX + 0xffff51dc]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
PUSH dword ptr [ESP + 0x50]
PUSH EBP
PUSH ESI
PUSH EAX
CALL 0x00012070
ADD ESP,0x20
JMP 0x000143c0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00014320(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  char *__format;\n  \n  iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2);\n  uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4);\n  if ((uVar4 != 0) && (iVar3 != 0)) {\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00014320(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  char *__format;\n  \n  iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2);\n  uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4);\n  if ((uVar4 != 0) && (iVar3 != 0)) {\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00014320(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  char *__format;\n  \n  iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2);\n  uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4);\n  if ((uVar4 != 0) && (iVar3 != 0)) {\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2);" (assignment_expression "iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2)" identifier = (call_expression "FUN_0001d480(&DAT_0002e520,param_1,param_2)" identifier (argument_list "(&DAT_0002e520,param_1,param_2)" ( (pointer_expression "&DAT_0002e520" & identifier) , identifier , identifier )))) ;) (expression_statement "uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4);" (assignment_expression "uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4)" identifier = (call_expression "FUN_0001d480(&DAT_0002e520,param_3,param_4)" identifier (argument_list "(&DAT_0002e520,param_3,param_4)" ( (pointer_expression "&DAT_0002e520" & identifier) , identifier , identifier )))) ;) (if_statement "if ((uVar4 != 0) && (iVar3 != 0)) {\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }" if (parenthesized_expression "((uVar4 != 0) && (iVar3 != 0))" ( (binary_expression "(uVar4 != 0) && (iVar3 != 0)" (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }" { (for_statement "for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }" for ( ; (binary_expression "DAT_0002e524 <= uVar4" identifier <= identifier) ; (assignment_expression "uVar4 = uVar4 - 0xfc" identifier = (binary_expression "uVar4 - 0xfc" identifier - number_literal)) ) (compound_statement "{\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }" { (if_statement "if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }" if (parenthesized_expression "((*(byte *)(uVar4 + 0x1c) & 1) != 0)" ( (binary_expression "(*(byte *)(uVar4 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)(uVar4 + 0x1c) & 1)" ( (binary_expression "*(byte *)(uVar4 + 0x1c) & 1" (pointer_expression "*(byte *)(uVar4 + 0x1c)" * (cast_expression "(byte *)(uVar4 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + 0x1c)" ( (binary_expression "uVar4 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }" { (expression_statement "iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);" (assignment_expression "iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4)" identifier = (call_expression "FUN_0001de80(&DAT_0002e558,iVar3,uVar4)" identifier (argument_list "(&DAT_0002e558,iVar3,uVar4)" ( (pointer_expression "&DAT_0002e558" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }" { (if_statement "if (DAT_0002e558 != 0) {\n            return;\n          }" if (parenthesized_expression "(DAT_0002e558 != 0)" ( (binary_expression "DAT_0002e558 != 0" identifier != number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);" (assignment_expression "iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4)" identifier = (call_expression "FUN_0001de80(&DAT_0002e564,iVar3,uVar4)" identifier (argument_list "(&DAT_0002e564,iVar3,uVar4)" ( (pointer_expression "&DAT_0002e564" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar5 != 0) {\n            return;\n          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) })) (expression_statement "*(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;" (assignment_expression "*(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5" (pointer_expression "*(int *)(uVar4 + 0x20)" * (cast_expression "(int *)(uVar4 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + 0x20)" ( (binary_expression "uVar4 + 0x20" identifier + number_literal) )))) = (binary_expression "*(int *)(uVar4 + 0x20) + param_5" (pointer_expression "*(int *)(uVar4 + 0x20)" * (cast_expression "(int *)(uVar4 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + 0x20)" ( (binary_expression "uVar4 + 0x20" identifier + number_literal) )))) + identifier)) ;) (if_statement "if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }" if (parenthesized_expression "(((byte)DAT_0002e158 & 0x10) != 0)" ( (binary_expression "((byte)DAT_0002e158 & 0x10) != 0" (parenthesized_expression "((byte)DAT_0002e158 & 0x10)" ( (binary_expression "(byte)DAT_0002e158 & 0x10" (cast_expression "(byte)DAT_0002e158" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }" { (expression_statement "uVar1 = *(undefined4 *)(uVar4 + 0x10);" (assignment_expression "uVar1 = *(undefined4 *)(uVar4 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(uVar4 + 0x10)" * (cast_expression "(undefined4 *)(uVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + 0x10)" ( (binary_expression "uVar4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(iVar3 + 0x10);" (assignment_expression "uVar2 = *(undefined4 *)(iVar3 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" * (cast_expression "(undefined4 *)(iVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "__format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);" (assignment_expression "__format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" identifier = (cast_expression "(char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" identifier (argument_list "("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""[cg_tally] arc from %s to %s traversed %lu times\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(__format,uVar2,uVar1,param_5);" (call_expression "printf(__format,uVar2,uVar1,param_5)" identifier (argument_list "(__format,uVar2,uVar1,param_5)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "FUN_00014870(iVar3,uVar4,param_5);" (call_expression "FUN_00014870(iVar3,uVar4,param_5)" identifier (argument_list "(iVar3,uVar4,param_5)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid cg_tally(bfd_vma from_pc,bfd_vma self_pc,ulong count)\n\n{\n  char *pcVar1;\n  char *pcVar2;\n  Sym *from;\n  Sym *to;\n  bfd_boolean bVar3;\n  char *__format;\n  \n  from = sym_lookup(&symtab,from_pc);\n  to = sym_lookup(&symtab,self_pc);\n  if ((to != (Sym *)0x0) && (from != (Sym *)0x0)) {\n    for (; symtab.base <= to; to = to + -1) {\n      if ((to->field_0x1c & 1) != 0) {\n        bVar3 = sym_id_arc_is_present(syms + 2,from,to);\n        if (bVar3 == 0) {\n          if (syms[2].len != 0) {\n            return;\n          }\n          bVar3 = sym_id_arc_is_present(syms + 3,from,to);\n          if (bVar3 != 0) {\n            return;\n          }\n        }\n        to->ncalls = to->ncalls + count;\n        if (((byte)debug_level & 0x10) != 0) {\n          pcVar1 = to->name;\n          pcVar2 = from->name;\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,pcVar2,pcVar1,count);\n        }\n        arc_add(from,to,count);\n        return;\n      }\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void cg_tally(bfd_vma from_pc,bfd_vma self_pc,ulong count)\n\n{\n  char *pcVar1;\n  char *pcVar2;\n  Sym *from;\n  Sym *to;\n  bfd_boolean bVar3;\n  char *__format;\n  \n  from = sym_lookup(&symtab,from_pc);\n  to = sym_lookup(&symtab,self_pc);\n  if ((to != (Sym *)0x0) && (from != (Sym *)0x0)) {\n    for (; symtab.base <= to; to = to + -1) {\n      if ((to->field_0x1c & 1) != 0) {\n        bVar3 = sym_id_arc_is_present(syms + 2,from,to);\n        if (bVar3 == 0) {\n          if (syms[2].len != 0) {\n            return;\n          }\n          bVar3 = sym_id_arc_is_present(syms + 3,from,to);\n          if (bVar3 != 0) {\n            return;\n          }\n        }\n        to->ncalls = to->ncalls + count;\n        if (((byte)debug_level & 0x10) != 0) {\n          pcVar1 = to->name;\n          pcVar2 = from->name;\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,pcVar2,pcVar1,count);\n        }\n        arc_add(from,to,count);\n        return;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "cg_tally(bfd_vma from_pc,bfd_vma self_pc,ulong count)" identifier (parameter_list "(bfd_vma from_pc,bfd_vma self_pc,ulong count)" ( (parameter_declaration "bfd_vma from_pc" type_identifier identifier) , (parameter_declaration "bfd_vma self_pc" type_identifier identifier) , (parameter_declaration "ulong count" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  char *pcVar2;\n  Sym *from;\n  Sym *to;\n  bfd_boolean bVar3;\n  char *__format;\n  \n  from = sym_lookup(&symtab,from_pc);\n  to = sym_lookup(&symtab,self_pc);\n  if ((to != (Sym *)0x0) && (from != (Sym *)0x0)) {\n    for (; symtab.base <= to; to = to + -1) {\n      if ((to->field_0x1c & 1) != 0) {\n        bVar3 = sym_id_arc_is_present(syms + 2,from,to);\n        if (bVar3 == 0) {\n          if (syms[2].len != 0) {\n            return;\n          }\n          bVar3 = sym_id_arc_is_present(syms + 3,from,to);\n          if (bVar3 != 0) {\n            return;\n          }\n        }\n        to->ncalls = to->ncalls + count;\n        if (((byte)debug_level & 0x10) != 0) {\n          pcVar1 = to->name;\n          pcVar2 = from->name;\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,pcVar2,pcVar1,count);\n        }\n        arc_add(from,to,count);\n        return;\n      }\n    }\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "Sym *from;" type_identifier (pointer_declarator "*from" * identifier) ;) (declaration "Sym *to;" type_identifier (pointer_declarator "*to" * identifier) ;) (declaration "bfd_boolean bVar3;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "from = sym_lookup(&symtab,from_pc);" (assignment_expression "from = sym_lookup(&symtab,from_pc)" identifier = (call_expression "sym_lookup(&symtab,from_pc)" identifier (argument_list "(&symtab,from_pc)" ( (pointer_expression "&symtab" & identifier) , identifier )))) ;) (expression_statement "to = sym_lookup(&symtab,self_pc);" (assignment_expression "to = sym_lookup(&symtab,self_pc)" identifier = (call_expression "sym_lookup(&symtab,self_pc)" identifier (argument_list "(&symtab,self_pc)" ( (pointer_expression "&symtab" & identifier) , identifier )))) ;) (if_statement "if ((to != (Sym *)0x0) && (from != (Sym *)0x0)) {\n    for (; symtab.base <= to; to = to + -1) {\n      if ((to->field_0x1c & 1) != 0) {\n        bVar3 = sym_id_arc_is_present(syms + 2,from,to);\n        if (bVar3 == 0) {\n          if (syms[2].len != 0) {\n            return;\n          }\n          bVar3 = sym_id_arc_is_present(syms + 3,from,to);\n          if (bVar3 != 0) {\n            return;\n          }\n        }\n        to->ncalls = to->ncalls + count;\n        if (((byte)debug_level & 0x10) != 0) {\n          pcVar1 = to->name;\n          pcVar2 = from->name;\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,pcVar2,pcVar1,count);\n        }\n        arc_add(from,to,count);\n        return;\n      }\n    }\n  }" if (parenthesized_expression "((to != (Sym *)0x0) && (from != (Sym *)0x0))" ( (binary_expression "(to != (Sym *)0x0) && (from != (Sym *)0x0)" (parenthesized_expression "(to != (Sym *)0x0)" ( (binary_expression "to != (Sym *)0x0" identifier != (cast_expression "(Sym *)0x0" ( (type_descriptor "Sym *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(from != (Sym *)0x0)" ( (binary_expression "from != (Sym *)0x0" identifier != (cast_expression "(Sym *)0x0" ( (type_descriptor "Sym *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    for (; symtab.base <= to; to = to + -1) {\n      if ((to->field_0x1c & 1) != 0) {\n        bVar3 = sym_id_arc_is_present(syms + 2,from,to);\n        if (bVar3 == 0) {\n          if (syms[2].len != 0) {\n            return;\n          }\n          bVar3 = sym_id_arc_is_present(syms + 3,from,to);\n          if (bVar3 != 0) {\n            return;\n          }\n        }\n        to->ncalls = to->ncalls + count;\n        if (((byte)debug_level & 0x10) != 0) {\n          pcVar1 = to->name;\n          pcVar2 = from->name;\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,pcVar2,pcVar1,count);\n        }\n        arc_add(from,to,count);\n        return;\n      }\n    }\n  }" { (for_statement "for (; symtab.base <= to; to = to + -1) {\n      if ((to->field_0x1c & 1) != 0) {\n        bVar3 = sym_id_arc_is_present(syms + 2,from,to);\n        if (bVar3 == 0) {\n          if (syms[2].len != 0) {\n            return;\n          }\n          bVar3 = sym_id_arc_is_present(syms + 3,from,to);\n          if (bVar3 != 0) {\n            return;\n          }\n        }\n        to->ncalls = to->ncalls + count;\n        if (((byte)debug_level & 0x10) != 0) {\n          pcVar1 = to->name;\n          pcVar2 = from->name;\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,pcVar2,pcVar1,count);\n        }\n        arc_add(from,to,count);\n        return;\n      }\n    }" for ( ; (binary_expression "symtab.base <= to" (field_expression "symtab.base" identifier . field_identifier) <= identifier) ; (assignment_expression "to = to + -1" identifier = (binary_expression "to + -1" identifier + number_literal)) ) (compound_statement "{\n      if ((to->field_0x1c & 1) != 0) {\n        bVar3 = sym_id_arc_is_present(syms + 2,from,to);\n        if (bVar3 == 0) {\n          if (syms[2].len != 0) {\n            return;\n          }\n          bVar3 = sym_id_arc_is_present(syms + 3,from,to);\n          if (bVar3 != 0) {\n            return;\n          }\n        }\n        to->ncalls = to->ncalls + count;\n        if (((byte)debug_level & 0x10) != 0) {\n          pcVar1 = to->name;\n          pcVar2 = from->name;\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,pcVar2,pcVar1,count);\n        }\n        arc_add(from,to,count);\n        return;\n      }\n    }" { (if_statement "if ((to->field_0x1c & 1) != 0) {\n        bVar3 = sym_id_arc_is_present(syms + 2,from,to);\n        if (bVar3 == 0) {\n          if (syms[2].len != 0) {\n            return;\n          }\n          bVar3 = sym_id_arc_is_present(syms + 3,from,to);\n          if (bVar3 != 0) {\n            return;\n          }\n        }\n        to->ncalls = to->ncalls + count;\n        if (((byte)debug_level & 0x10) != 0) {\n          pcVar1 = to->name;\n          pcVar2 = from->name;\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,pcVar2,pcVar1,count);\n        }\n        arc_add(from,to,count);\n        return;\n      }" if (parenthesized_expression "((to->field_0x1c & 1) != 0)" ( (binary_expression "(to->field_0x1c & 1) != 0" (parenthesized_expression "(to->field_0x1c & 1)" ( (binary_expression "to->field_0x1c & 1" (field_expression "to->field_0x1c" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        bVar3 = sym_id_arc_is_present(syms + 2,from,to);\n        if (bVar3 == 0) {\n          if (syms[2].len != 0) {\n            return;\n          }\n          bVar3 = sym_id_arc_is_present(syms + 3,from,to);\n          if (bVar3 != 0) {\n            return;\n          }\n        }\n        to->ncalls = to->ncalls + count;\n        if (((byte)debug_level & 0x10) != 0) {\n          pcVar1 = to->name;\n          pcVar2 = from->name;\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,pcVar2,pcVar1,count);\n        }\n        arc_add(from,to,count);\n        return;\n      }" { (expression_statement "bVar3 = sym_id_arc_is_present(syms + 2,from,to);" (assignment_expression "bVar3 = sym_id_arc_is_present(syms + 2,from,to)" identifier = (call_expression "sym_id_arc_is_present(syms + 2,from,to)" identifier (argument_list "(syms + 2,from,to)" ( (binary_expression "syms + 2" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (bVar3 == 0) {\n          if (syms[2].len != 0) {\n            return;\n          }\n          bVar3 = sym_id_arc_is_present(syms + 3,from,to);\n          if (bVar3 != 0) {\n            return;\n          }\n        }" if (parenthesized_expression "(bVar3 == 0)" ( (binary_expression "bVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          if (syms[2].len != 0) {\n            return;\n          }\n          bVar3 = sym_id_arc_is_present(syms + 3,from,to);\n          if (bVar3 != 0) {\n            return;\n          }\n        }" { (if_statement "if (syms[2].len != 0) {\n            return;\n          }" if (parenthesized_expression "(syms[2].len != 0)" ( (binary_expression "syms[2].len != 0" (field_expression "syms[2].len" (subscript_expression "syms[2]" identifier [ number_literal ]) . field_identifier) != number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "bVar3 = sym_id_arc_is_present(syms + 3,from,to);" (assignment_expression "bVar3 = sym_id_arc_is_present(syms + 3,from,to)" identifier = (call_expression "sym_id_arc_is_present(syms + 3,from,to)" identifier (argument_list "(syms + 3,from,to)" ( (binary_expression "syms + 3" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (bVar3 != 0) {\n            return;\n          }" if (parenthesized_expression "(bVar3 != 0)" ( (binary_expression "bVar3 != 0" identifier != number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) })) (expression_statement "to->ncalls = to->ncalls + count;" (assignment_expression "to->ncalls = to->ncalls + count" (field_expression "to->ncalls" identifier -> field_identifier) = (binary_expression "to->ncalls + count" (field_expression "to->ncalls" identifier -> field_identifier) + identifier)) ;) (if_statement "if (((byte)debug_level & 0x10) != 0) {\n          pcVar1 = to->name;\n          pcVar2 = from->name;\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,pcVar2,pcVar1,count);\n        }" if (parenthesized_expression "(((byte)debug_level & 0x10) != 0)" ( (binary_expression "((byte)debug_level & 0x10) != 0" (parenthesized_expression "((byte)debug_level & 0x10)" ( (binary_expression "(byte)debug_level & 0x10" (cast_expression "(byte)debug_level" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n          pcVar1 = to->name;\n          pcVar2 = from->name;\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,pcVar2,pcVar1,count);\n        }" { (expression_statement "pcVar1 = to->name;" (assignment_expression "pcVar1 = to->name" identifier = (field_expression "to->name" identifier -> field_identifier)) ;) (expression_statement "pcVar2 = from->name;" (assignment_expression "pcVar2 = from->name" identifier = (field_expression "from->name" identifier -> field_identifier)) ;) (expression_statement "__format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);" (assignment_expression "__format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" identifier = (cast_expression "(char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" identifier (argument_list "("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""[cg_tally] arc from %s to %s traversed %lu times\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(__format,pcVar2,pcVar1,count);" (call_expression "printf(__format,pcVar2,pcVar1,count)" identifier (argument_list "(__format,pcVar2,pcVar1,count)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "arc_add(from,to,count);" (call_expression "arc_add(from,to,count)" identifier (argument_list "(from,to,count)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00014320(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  char *__format;\n  \n  iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2);\n  uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4);\n  if ((uVar4 != 0) && (iVar3 != 0)) {\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00014320(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  char *__format;\n  \n  iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2);\n  uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4);\n  if ((uVar4 != 0) && (iVar3 != 0)) {\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00014320(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  char *__format;\n  \n  iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2);\n  uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4);\n  if ((uVar4 != 0) && (iVar3 != 0)) {\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2);" (assignment_expression "iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2)" identifier = (call_expression "FUN_0001d480(&DAT_0002e520,param_1,param_2)" identifier (argument_list "(&DAT_0002e520,param_1,param_2)" ( (pointer_expression "&DAT_0002e520" & identifier) , identifier , identifier )))) ;) (expression_statement "uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4);" (assignment_expression "uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4)" identifier = (call_expression "FUN_0001d480(&DAT_0002e520,param_3,param_4)" identifier (argument_list "(&DAT_0002e520,param_3,param_4)" ( (pointer_expression "&DAT_0002e520" & identifier) , identifier , identifier )))) ;) (if_statement "if ((uVar4 != 0) && (iVar3 != 0)) {\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }" if (parenthesized_expression "((uVar4 != 0) && (iVar3 != 0))" ( (binary_expression "(uVar4 != 0) && (iVar3 != 0)" (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }" { (for_statement "for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }" for ( ; (binary_expression "DAT_0002e524 <= uVar4" identifier <= identifier) ; (assignment_expression "uVar4 = uVar4 - 0xfc" identifier = (binary_expression "uVar4 - 0xfc" identifier - number_literal)) ) (compound_statement "{\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }" { (if_statement "if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }" if (parenthesized_expression "((*(byte *)(uVar4 + 0x1c) & 1) != 0)" ( (binary_expression "(*(byte *)(uVar4 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)(uVar4 + 0x1c) & 1)" ( (binary_expression "*(byte *)(uVar4 + 0x1c) & 1" (pointer_expression "*(byte *)(uVar4 + 0x1c)" * (cast_expression "(byte *)(uVar4 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + 0x1c)" ( (binary_expression "uVar4 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }" { (expression_statement "iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);" (assignment_expression "iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4)" identifier = (call_expression "FUN_0001de80(&DAT_0002e558,iVar3,uVar4)" identifier (argument_list "(&DAT_0002e558,iVar3,uVar4)" ( (pointer_expression "&DAT_0002e558" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }" { (if_statement "if (DAT_0002e558 != 0) {\n            return;\n          }" if (parenthesized_expression "(DAT_0002e558 != 0)" ( (binary_expression "DAT_0002e558 != 0" identifier != number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);" (assignment_expression "iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4)" identifier = (call_expression "FUN_0001de80(&DAT_0002e564,iVar3,uVar4)" identifier (argument_list "(&DAT_0002e564,iVar3,uVar4)" ( (pointer_expression "&DAT_0002e564" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar5 != 0) {\n            return;\n          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) })) (expression_statement "*(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;" (assignment_expression "*(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5" (pointer_expression "*(int *)(uVar4 + 0x20)" * (cast_expression "(int *)(uVar4 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + 0x20)" ( (binary_expression "uVar4 + 0x20" identifier + number_literal) )))) = (binary_expression "*(int *)(uVar4 + 0x20) + param_5" (pointer_expression "*(int *)(uVar4 + 0x20)" * (cast_expression "(int *)(uVar4 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + 0x20)" ( (binary_expression "uVar4 + 0x20" identifier + number_literal) )))) + identifier)) ;) (if_statement "if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }" if (parenthesized_expression "(((byte)DAT_0002e158 & 0x10) != 0)" ( (binary_expression "((byte)DAT_0002e158 & 0x10) != 0" (parenthesized_expression "((byte)DAT_0002e158 & 0x10)" ( (binary_expression "(byte)DAT_0002e158 & 0x10" (cast_expression "(byte)DAT_0002e158" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }" { (expression_statement "uVar1 = *(undefined4 *)(uVar4 + 0x10);" (assignment_expression "uVar1 = *(undefined4 *)(uVar4 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(uVar4 + 0x10)" * (cast_expression "(undefined4 *)(uVar4 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + 0x10)" ( (binary_expression "uVar4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(iVar3 + 0x10);" (assignment_expression "uVar2 = *(undefined4 *)(iVar3 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" * (cast_expression "(undefined4 *)(iVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "__format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);" (assignment_expression "__format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" identifier = (cast_expression "(char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" identifier (argument_list "("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""[cg_tally] arc from %s to %s traversed %lu times\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(__format,uVar2,uVar1,param_5);" (call_expression "printf(__format,uVar2,uVar1,param_5)" identifier (argument_list "(__format,uVar2,uVar1,param_5)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "FUN_00014870(iVar3,uVar4,param_5);" (call_expression "FUN_00014870(iVar3,uVar4,param_5)" identifier (argument_list "(iVar3,uVar4,param_5)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) })) })) (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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (for_statement for ( ; (binary_expression IDENT <= IDENT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 = (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 ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) })) })) (return_statement return ;) })))
(function_definition "void FUN_00014320(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  char *__format;\n  \n  iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2);\n  uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4);\n  if ((uVar4 != 0) && (iVar3 != 0)) {\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00014320(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)" (identifier "FUN_00014320") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int param_5)" (( "(") (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")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  char *__format;\n  \n  iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2);\n  uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4);\n  if ((uVar4 != 0) && (iVar3 != 0)) {\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (expression_statement "iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2);" (assignment_expression "iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2)" (identifier "iVar3") (= "=") (call_expression "FUN_0001d480(&DAT_0002e520,param_1,param_2)" (identifier "FUN_0001d480") (argument_list "(&DAT_0002e520,param_1,param_2)" (( "(") (pointer_expression "&DAT_0002e520" (& "&") (identifier "DAT_0002e520")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4);" (assignment_expression "uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4)" (identifier "uVar4") (= "=") (call_expression "FUN_0001d480(&DAT_0002e520,param_3,param_4)" (identifier "FUN_0001d480") (argument_list "(&DAT_0002e520,param_3,param_4)" (( "(") (pointer_expression "&DAT_0002e520" (& "&") (identifier "DAT_0002e520")) (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if ((uVar4 != 0) && (iVar3 != 0)) {\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }" (if "if") (parenthesized_expression "((uVar4 != 0) && (iVar3 != 0))" (( "(") (binary_expression "(uVar4 != 0) && (iVar3 != 0)" (parenthesized_expression "(uVar4 != 0)" (( "(") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }\n  }" ({ "{") (for_statement "for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }" (for "for") (( "(") (; ";") (binary_expression "DAT_0002e524 <= uVar4" (identifier "DAT_0002e524") (<= "<=") (identifier "uVar4")) (; ";") (assignment_expression "uVar4 = uVar4 - 0xfc" (identifier "uVar4") (= "=") (binary_expression "uVar4 - 0xfc" (identifier "uVar4") (- "-") (number_literal "0xfc"))) () ")") (compound_statement "{\n      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }\n    }" ({ "{") (if_statement "if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }" (if "if") (parenthesized_expression "((*(byte *)(uVar4 + 0x1c) & 1) != 0)" (( "(") (binary_expression "(*(byte *)(uVar4 + 0x1c) & 1) != 0" (parenthesized_expression "(*(byte *)(uVar4 + 0x1c) & 1)" (( "(") (binary_expression "*(byte *)(uVar4 + 0x1c) & 1" (pointer_expression "*(byte *)(uVar4 + 0x1c)" (* "*") (cast_expression "(byte *)(uVar4 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar4 + 0x1c)" (( "(") (binary_expression "uVar4 + 0x1c" (identifier "uVar4") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);\n        if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }\n        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;\n        if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }\n        FUN_00014870(iVar3,uVar4,param_5);\n        return;\n      }" ({ "{") (expression_statement "iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);" (assignment_expression "iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4)" (identifier "iVar5") (= "=") (call_expression "FUN_0001de80(&DAT_0002e558,iVar3,uVar4)" (identifier "FUN_0001de80") (argument_list "(&DAT_0002e558,iVar3,uVar4)" (( "(") (pointer_expression "&DAT_0002e558" (& "&") (identifier "DAT_0002e558")) (, ",") (identifier "iVar3") (, ",") (identifier "uVar4") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (DAT_0002e558 != 0) {\n            return;\n          }\n          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);\n          if (iVar5 != 0) {\n            return;\n          }\n        }" ({ "{") (if_statement "if (DAT_0002e558 != 0) {\n            return;\n          }" (if "if") (parenthesized_expression "(DAT_0002e558 != 0)" (( "(") (binary_expression "DAT_0002e558 != 0" (identifier "DAT_0002e558") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            return;\n          }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);" (assignment_expression "iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4)" (identifier "iVar5") (= "=") (call_expression "FUN_0001de80(&DAT_0002e564,iVar3,uVar4)" (identifier "FUN_0001de80") (argument_list "(&DAT_0002e564,iVar3,uVar4)" (( "(") (pointer_expression "&DAT_0002e564" (& "&") (identifier "DAT_0002e564")) (, ",") (identifier "iVar3") (, ",") (identifier "uVar4") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n            return;\n          }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            return;\n          }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "*(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;" (assignment_expression "*(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5" (pointer_expression "*(int *)(uVar4 + 0x20)" (* "*") (cast_expression "(int *)(uVar4 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar4 + 0x20)" (( "(") (binary_expression "uVar4 + 0x20" (identifier "uVar4") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "*(int *)(uVar4 + 0x20) + param_5" (pointer_expression "*(int *)(uVar4 + 0x20)" (* "*") (cast_expression "(int *)(uVar4 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar4 + 0x20)" (( "(") (binary_expression "uVar4 + 0x20" (identifier "uVar4") (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (identifier "param_5"))) (; ";")) (if_statement "if (((byte)DAT_0002e158 & 0x10) != 0) {\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }" (if "if") (parenthesized_expression "(((byte)DAT_0002e158 & 0x10) != 0)" (( "(") (binary_expression "((byte)DAT_0002e158 & 0x10) != 0" (parenthesized_expression "((byte)DAT_0002e158 & 0x10)" (( "(") (binary_expression "(byte)DAT_0002e158 & 0x10" (cast_expression "(byte)DAT_0002e158" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_0002e158")) (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar1 = *(undefined4 *)(uVar4 + 0x10);\n          uVar2 = *(undefined4 *)(iVar3 + 0x10);\n          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);\n          printf(__format,uVar2,uVar1,param_5);\n        }" ({ "{") (expression_statement "uVar1 = *(undefined4 *)(uVar4 + 0x10);" (assignment_expression "uVar1 = *(undefined4 *)(uVar4 + 0x10)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(uVar4 + 0x10)" (* "*") (cast_expression "(undefined4 *)(uVar4 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar4 + 0x10)" (( "(") (binary_expression "uVar4 + 0x10" (identifier "uVar4") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(iVar3 + 0x10);" (assignment_expression "uVar2 = *(undefined4 *)(iVar3 + 0x10)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "__format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5);" (assignment_expression "__format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" (identifier "__format") (= "=") (cast_expression "(char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" (identifier "dcgettext") (argument_list "("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",\n                                       5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""[cg_tally] arc from %s to %s traversed %lu times\n"" (" """) (string_content "[cg_tally] arc from %s to %s traversed %lu times") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(__format,uVar2,uVar1,param_5);" (call_expression "printf(__format,uVar2,uVar1,param_5)" (identifier "printf") (argument_list "(__format,uVar2,uVar1,param_5)" (( "(") (identifier "__format") (, ",") (identifier "uVar2") (, ",") (identifier "uVar1") (, ",") (identifier "param_5") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00014870(iVar3,uVar4,param_5);" (call_expression "FUN_00014870(iVar3,uVar4,param_5)" (identifier "FUN_00014870") (argument_list "(iVar3,uVar4,param_5)" (( "(") (identifier "iVar3") (, ",") (identifier "uVar4") (, ",") (identifier "param_5") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 from_pc,type_1 self_pc,type_2 var_7)

{
  char *pcVar1;
  char *pcVar2;
  type_3 *var_3;
  type_3 *var_2;
  type_4 var_6;
  char *__format;
  
  var_3 = var_1(&symtab,from_pc);
  var_2 = var_1(&symtab,self_pc);
  if ((var_2 != (type_3 *)0x0) && (var_3 != (type_3 *)0x0)) {
    for (; symtab.base <= var_2; var_2 = var_2 + -1) {
      if ((var_2->field_0x1c & 1) != 0) {
        var_6 = var_4(var_5 + 2,var_3,var_2);
        if (var_6 == 0) {
          if (var_5[2].len != 0) {
            return;
          }
          var_6 = var_4(var_5 + 3,var_3,var_2);
          if (var_6 != 0) {
            return;
          }
        }
        var_2->ncalls = var_2->ncalls + var_7;
        if (((type_5)debug_level & 0x10) != 0) {
          pcVar1 = var_2->name;
          pcVar2 = var_3->name;
          __format = (char *)var_8("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",
                                       5);
          var_9(__format,pcVar2,pcVar1,var_7);
        }
        var_10(var_3,var_2,var_7);
        return;
      }
    }
  }
  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)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (for_statement condition: (binary_expression left: (identifier) right: (identifier)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier))))) (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 (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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 (identifier) (identifier) (identifier)))) (return_statement))))))) (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 param_4,
                 int param_5)

{
  undefined4 uVar1;
  undefined4 uVar2;
  int iVar3;
  uint uVar4;
  int iVar5;
  char *__format;
  
  iVar3 = FUN_0001d480(&DAT_0002e520,param_1,param_2);
  uVar4 = FUN_0001d480(&DAT_0002e520,param_3,param_4);
  if ((uVar4 != 0) && (iVar3 != 0)) {
    for (; DAT_0002e524 <= uVar4; uVar4 = uVar4 - 0xfc) {
      if ((*(byte *)(uVar4 + 0x1c) & 1) != 0) {
        iVar5 = FUN_0001de80(&DAT_0002e558,iVar3,uVar4);
        if (iVar5 == 0) {
          if (DAT_0002e558 != 0) {
            return;
          }
          iVar5 = FUN_0001de80(&DAT_0002e564,iVar3,uVar4);
          if (iVar5 != 0) {
            return;
          }
        }
        *(int *)(uVar4 + 0x20) = *(int *)(uVar4 + 0x20) + param_5;
        if (((byte)DAT_0002e158 & 0x10) != 0) {
          uVar1 = *(undefined4 *)(uVar4 + 0x10);
          uVar2 = *(undefined4 *)(iVar3 + 0x10);
          __format = (char *)dcgettext("gprof","[cg_tally] arc from %s to %s traversed %lu times\n",
                                       5);
          printf(__format,uVar2,uVar1,param_5);
        }
        FUN_00014870(iVar3,uVar4,param_5);
        return;
      }
    }
  }
  return;
}

