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

{
  int iVar1;
  bfd_vma bVar2;
  Sym *child;
  char *pcVar3;
  char *__format;
  uint uVar4;
  ulong address;
  
  if (mips_find_call::inited == 0) {
    mips_find_call::inited = 1;
    sym_init(&indirect_child);
    indirect_child.name = (char *)dcgettext("gprof","<indirect child>",5);
    indirect_child.cg.prop.fract = DAT_001104c0;
    indirect_child.cg.cyc.head = &indirect_child;
  }
  if ((debug_level & 0x100U) != 0) {
    pcVar3 = parent->name;
    __format = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);
    printf(__format,pcVar3,p_lowpc,p_highpc);
  }
  if (p_lowpc < p_highpc) {
    do {
      while( true ) {
        bVar2 = (*core_bfd->xvec->bfd_getx32)
                          ((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space));
        uVar4 = (uint)bVar2;
        if ((uVar4 & 0xfc000000) == 0xc000000) break;
        if ((uVar4 & 0xfc00f83f) == 0xf809) {
          if ((debug_level & 0x100U) != 0) {
            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);
            printf(pcVar3,p_lowpc);
          }
          arc_add(parent,&indirect_child,0);
        }
LAB_0010ddca:
        p_lowpc = p_lowpc + 4;
        if (p_highpc <= p_lowpc) {
          return;
        }
      }
      if ((debug_level & 0x100U) != 0) {
        pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);
        printf(pcVar3,p_lowpc);
      }
      uVar4 = (uVar4 & 0x3ffffff) << 2;
      address = (ulong)uVar4 | p_lowpc & 0xfffffffff0000000;
      iVar1 = hist_check_address(uVar4 | (uint)p_lowpc & 0xf0000000);
      if ((iVar1 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {
        if ((debug_level & 0x100U) == 0) {
          if (address != child->addr) goto LAB_0010ddca;
        }
        else {
          printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);
          if (child->addr != address) goto LAB_0010de36;
          if ((debug_level & 0x100U) != 0) {
            putchar(10);
          }
        }
        arc_add(parent,child,0);
        goto LAB_0010ddca;
      }
LAB_0010de36:
      if ((debug_level & 0x100U) == 0) goto LAB_0010ddca;
      p_lowpc = p_lowpc + 4;
      puts("\tbut it\'s a botch");
    } while (p_lowpc < p_highpc);
  }
  return;
}



/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void FUN_0010dd70(long param_1,ulong param_2,ulong param_3)

{
  undefined8 uVar1;
  uint uVar2;
  int iVar3;
  ulong *puVar4;
  char *pcVar5;
  ulong uVar6;
  ulong uVar7;
  
  if (DAT_00119940 == 0) {
    DAT_00119940 = 1;
    FUN_0010bfe0(&DAT_00119960);
    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);
    _DAT_00119a78 = DAT_001104c0;
    _DAT_00119a98 = &DAT_00119960;
  }
  if ((DAT_001195e4 & 0x100) != 0) {
    uVar1 = *(undefined8 *)(param_1 + 0x10);
    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);
    printf(pcVar5,uVar1,param_2,param_3);
  }
  if (param_3 <= param_2) {
    return;
  }
  do {
    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))
                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),
          (uVar2 & 0xfc000000) != 0xc000000) {
      if ((uVar2 & 0xfc00f83f) == 0xf809) {
        if ((DAT_001195e4 & 0x100) != 0) {
          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);
          printf(pcVar5,param_2);
        }
        FUN_00104520(param_1,&DAT_00119960,0);
      }
LAB_0010ddca:
      param_2 = param_2 + 4;
      if (param_3 <= param_2) {
        return;
      }
    }
    if ((DAT_001195e4 & 0x100) != 0) {
      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);
      printf(pcVar5,param_2);
    }
    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);
    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;
    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);
    if ((iVar3 != 0) &&
       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {
      if ((DAT_001195e4 & 0x100) == 0) {
        if (uVar7 != *puVar4) goto LAB_0010ddca;
      }
      else {
        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);
        if (*puVar4 != uVar7) goto LAB_0010de36;
        if ((DAT_001195e4 & 0x100) != 0) {
          putchar(10);
        }
      }
      FUN_00104520(param_1,puVar4,0);
      goto LAB_0010ddca;
    }
LAB_0010de36:
    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;
    param_2 = param_2 + 4;
    puts("\tbut it\'s a botch");
    if (param_3 <= param_2) {
      return;
    }
  } while( true );
}


PUSH R15
PUSH R14
PUSH R13
MOV R13,RDI
PUSH R12
MOV R12,RDX
PUSH RBP
MOV RBP,RSI
PUSH RBX
SUB RSP,0x8
MOV EAX,dword ptr [0x00119940]
TEST EAX,EAX
JZ 0x0010dfa8
TEST byte ptr [0x001195e5],0x1
JNZ 0x0010df70
LEA R14,[0x119960]
CMP RBP,R12
JC 0x0010ddd7
JMP 0x0010de5e
AND EBX,0xfc00f83f
CMP EBX,0xf809
JZ 0x0010de70
ADD RBP,0x4
CMP R12,RBP
JBE 0x0010de5e
MOV RAX,qword ptr [0x00119af8]
MOV RDI,RBP
SUB RDI,qword ptr [RAX + 0x28]
MOV RAX,qword ptr [0x00119ad8]
ADD RDI,qword ptr [0x00119ae0]
MOV RAX,qword ptr [RAX + 0x8]
CALL qword ptr [RAX + 0x38]
MOV RBX,RAX
AND EAX,0xfc000000
CMP EAX,0xc000000
JNZ 0x0010ddb8
TEST byte ptr [0x001195e5],0x1
JNZ 0x0010ded0
SHL EBX,0x2
MOV RAX,RBP
AND EBX,0xffffffc
AND RAX,-0x10000000
OR RBX,RAX
MOV EDI,EBX
CALL 0x0010b480
TEST EAX,EAX
JNZ 0x0010de90
MOV EAX,dword ptr [0x001195e4]
AND EAX,0x100
TEST EAX,EAX
JZ 0x0010ddca
LEA RDI,[0x11256b]
ADD RBP,0x4
CALL 0x001020c0
CMP R12,RBP
JA 0x0010ddd7
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
TEST byte ptr [0x001195e5],0x1
JNZ 0x0010df00
XOR EDX,EDX
MOV RSI,R14
MOV RDI,R13
CALL 0x00104520
JMP 0x0010ddca
MOV RSI,RBX
LEA RDI,[0x119b30]
CALL 0x0010c540
MOV R15,RAX
TEST RAX,RAX
JZ 0x0010de36
MOV RCX,qword ptr [RAX]
TEST byte ptr [0x001195e5],0x1
JNZ 0x0010df30
CMP RBX,RCX
JNZ 0x0010ddca
XOR EDX,EDX
MOV RSI,R15
MOV RDI,R13
CALL 0x00104520
JMP 0x0010ddca
MOV EDX,0x5
LEA RSI,[0x1126b8]
LEA RDI,[0x110008]
CALL 0x00102170
MOV RSI,RBP
MOV RDI,RAX
XOR EAX,EAX
CALL 0x001021c0
JMP 0x0010de16
MOV EDX,0x5
LEA RSI,[0x1126cf]
LEA RDI,[0x110008]
CALL 0x00102170
MOV RSI,RBP
MOV RDI,RAX
XOR EAX,EAX
CALL 0x001021c0
JMP 0x0010de7d
MOV RDX,qword ptr [RAX + 0x10]
MOV RSI,RBX
XOR EAX,EAX
LEA RDI,[0x11230c]
CALL 0x001021c0
CMP qword ptr [R15],RBX
JNZ 0x0010de36
TEST byte ptr [0x001195e5],0x1
JZ 0x0010debc
MOV EDI,0xa
CALL 0x00102060
JMP 0x0010debc
MOV RBX,qword ptr [R13 + 0x10]
MOV EDX,0x5
LEA RSI,[0x112330]
LEA RDI,[0x110008]
CALL 0x00102170
MOV RCX,R12
MOV RDX,RBP
MOV RDI,RAX
MOV RSI,RBX
XOR EAX,EAX
CALL 0x001021c0
JMP 0x0010dda2
LEA RDI,[0x119960]
MOV dword ptr [0x00119940],0x1
CALL 0x0010bfe0
MOV EDX,0x5
LEA RSI,[0x1122e4]
LEA RDI,[0x110008]
CALL 0x00102170
MOV qword ptr [0x00119970],RAX
MOV RAX,qword ptr [0x001104c0]
MOV qword ptr [0x00119a78],RAX
LEA RAX,[0x119960]
MOV qword ptr [0x00119a98],RAX
JMP 0x0010dd95
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_0010dd70(long param_1,ulong param_2,ulong param_3)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  int iVar3;\n  ulong *puVar4;\n  char *pcVar5;\n  ulong uVar6;\n  ulong uVar7;\n  \n  if (DAT_00119940 == 0) {\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }\n  if ((DAT_001195e4 & 0x100) != 0) {\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}\n\n" comment (function_definition "void FUN_0010dd70(long param_1,ulong param_2,ulong param_3)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  int iVar3;\n  ulong *puVar4;\n  char *pcVar5;\n  ulong uVar6;\n  ulong uVar7;\n  \n  if (DAT_00119940 == 0) {\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }\n  if ((DAT_001195e4 & 0x100) != 0) {\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_0010dd70(long param_1,ulong param_2,ulong param_3)" identifier (parameter_list "(long param_1,ulong param_2,ulong param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  uint uVar2;\n  int iVar3;\n  ulong *puVar4;\n  char *pcVar5;\n  ulong uVar6;\n  ulong uVar7;\n  \n  if (DAT_00119940 == 0) {\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }\n  if ((DAT_001195e4 & 0x100) != 0) {\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ulong *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (if_statement "if (DAT_00119940 == 0) {\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }" if (parenthesized_expression "(DAT_00119940 == 0)" ( (binary_expression "DAT_00119940 == 0" identifier == number_literal) )) (compound_statement "{\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }" { (expression_statement "DAT_00119940 = 1;" (assignment_expression "DAT_00119940 = 1" identifier = number_literal) ;) (expression_statement "FUN_0010bfe0(&DAT_00119960);" (call_expression "FUN_0010bfe0(&DAT_00119960)" identifier (argument_list "(&DAT_00119960)" ( (pointer_expression "&DAT_00119960" & identifier) ))) ;) (expression_statement "_DAT_00119970 = dcgettext("gprof","<indirect child>",5);" (assignment_expression "_DAT_00119970 = dcgettext("gprof","<indirect child>",5)" identifier = (call_expression "dcgettext("gprof","<indirect child>",5)" identifier (argument_list "("gprof","<indirect child>",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""<indirect child>"" " string_content ") , number_literal )))) ;) (expression_statement "_DAT_00119a78 = DAT_001104c0;" (assignment_expression "_DAT_00119a78 = DAT_001104c0" identifier = identifier) ;) (expression_statement "_DAT_00119a98 = &DAT_00119960;" (assignment_expression "_DAT_00119a98 = &DAT_00119960" identifier = (pointer_expression "&DAT_00119960" & identifier)) ;) })) (if_statement "if ((DAT_001195e4 & 0x100) != 0) {\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }" if (parenthesized_expression "((DAT_001195e4 & 0x100) != 0)" ( (binary_expression "(DAT_001195e4 & 0x100) != 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" ( (binary_expression "DAT_001195e4 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }" { (expression_statement "uVar1 = *(undefined8 *)(param_1 + 0x10);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 0x10)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);" (assignment_expression "pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" identifier (argument_list "("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""[find_call] %s: 0x%lx to 0x%lx\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(pcVar5,uVar1,param_2,param_3);" (call_expression "printf(pcVar5,uVar1,param_2,param_3)" identifier (argument_list "(pcVar5,uVar1,param_2,param_3)" ( identifier , identifier , identifier , identifier ))) ;) })) (if_statement "if (param_3 <= param_2) {\n    return;\n  }" if (parenthesized_expression "(param_3 <= param_2)" ( (binary_expression "param_3 <= param_2" identifier <= identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  }" { (while_statement "while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }" while (parenthesized_expression "(uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000)" ( (comma_expression "uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000" (assignment_expression "uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0)" identifier = (call_expression "(**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0)" (parenthesized_expression "(**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))" ( (pointer_expression "**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38)" * (pointer_expression "*(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38)" * (cast_expression "(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(DAT_00119ad8 + 8) + 0x38)" ( (binary_expression "*(long *)(DAT_00119ad8 + 8) + 0x38" (pointer_expression "*(long *)(DAT_00119ad8 + 8)" * (cast_expression "(long *)(DAT_00119ad8 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00119ad8 + 8)" ( (binary_expression "DAT_00119ad8 + 8" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0)" ( (binary_expression "(param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0" (parenthesized_expression "(param_2 - *(long *)(DAT_00119af8 + 0x28))" ( (binary_expression "param_2 - *(long *)(DAT_00119af8 + 0x28)" identifier - (pointer_expression "*(long *)(DAT_00119af8 + 0x28)" * (cast_expression "(long *)(DAT_00119af8 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00119af8 + 0x28)" ( (binary_expression "DAT_00119af8 + 0x28" identifier + number_literal) ))))) )) + identifier) )))) , (binary_expression "(uVar2 & 0xfc000000) != 0xc000000" (parenthesized_expression "(uVar2 & 0xfc000000)" ( (binary_expression "uVar2 & 0xfc000000" identifier & number_literal) )) != number_literal)) )) (compound_statement "{\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }" { (if_statement "if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }" if (parenthesized_expression "((uVar2 & 0xfc00f83f) == 0xf809)" ( (binary_expression "(uVar2 & 0xfc00f83f) == 0xf809" (parenthesized_expression "(uVar2 & 0xfc00f83f)" ( (binary_expression "uVar2 & 0xfc00f83f" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }" { (if_statement "if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }" if (parenthesized_expression "((DAT_001195e4 & 0x100) != 0)" ( (binary_expression "(DAT_001195e4 & 0x100) != 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" ( (binary_expression "DAT_001195e4 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }" { (expression_statement "pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);" (assignment_expression "pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","[find_call] 0x%lx: jalr\n",5)" identifier (argument_list "("gprof","[find_call] 0x%lx: jalr\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""[find_call] 0x%lx: jalr\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(pcVar5,param_2);" (call_expression "printf(pcVar5,param_2)" identifier (argument_list "(pcVar5,param_2)" ( identifier , identifier ))) ;) })) (expression_statement "FUN_00104520(param_1,&DAT_00119960,0);" (call_expression "FUN_00104520(param_1,&DAT_00119960,0)" identifier (argument_list "(param_1,&DAT_00119960,0)" ( identifier , (pointer_expression "&DAT_00119960" & identifier) , number_literal ))) ;) })) (labeled_statement "LAB_0010ddca:\n      param_2 = param_2 + 4;" statement_identifier : (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;)) (if_statement "if (param_3 <= param_2) {\n        return;\n      }" if (parenthesized_expression "(param_3 <= param_2)" ( (binary_expression "param_3 <= param_2" identifier <= identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (if_statement "if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }" if (parenthesized_expression "((DAT_001195e4 & 0x100) != 0)" ( (binary_expression "(DAT_001195e4 & 0x100) != 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" ( (binary_expression "DAT_001195e4 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }" { (expression_statement "pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);" (assignment_expression "pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5)" identifier = (cast_expression "(char *)dcgettext("gprof","[find_call] 0x%lx: jal",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","[find_call] 0x%lx: jal",5)" identifier (argument_list "("gprof","[find_call] 0x%lx: jal",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""[find_call] 0x%lx: jal"" " string_content ") , number_literal ))))) ;) (expression_statement "printf(pcVar5,param_2);" (call_expression "printf(pcVar5,param_2)" identifier (argument_list "(pcVar5,param_2)" ( identifier , identifier ))) ;) })) (expression_statement "uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);" (assignment_expression "uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2)" identifier = (call_expression "(ulong)((uVar2 & 0x3ffffff) << 2)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((uVar2 & 0x3ffffff) << 2)" ( (binary_expression "(uVar2 & 0x3ffffff) << 2" (parenthesized_expression "(uVar2 & 0x3ffffff)" ( (binary_expression "uVar2 & 0x3ffffff" identifier & number_literal) )) << number_literal) )))) ;) (expression_statement "uVar7 = uVar6 | param_2 & 0xfffffffff0000000;" (assignment_expression "uVar7 = uVar6 | param_2 & 0xfffffffff0000000" identifier = (binary_expression "uVar6 | param_2 & 0xfffffffff0000000" identifier | (binary_expression "param_2 & 0xfffffffff0000000" identifier & number_literal))) ;) (expression_statement "iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);" (assignment_expression "iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000)" identifier = (call_expression "FUN_0010b480(uVar6 | param_2 & 0xf0000000)" identifier (argument_list "(uVar6 | param_2 & 0xf0000000)" ( (binary_expression "uVar6 | param_2 & 0xf0000000" identifier | (binary_expression "param_2 & 0xf0000000" identifier & number_literal)) )))) ;) (if_statement "if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }" if (parenthesized_expression "((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0))" ( (binary_expression "(iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)" ( (comma_expression "puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0" (assignment_expression "puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7)" identifier = (cast_expression "(ulong *)FUN_0010c540(&DAT_00119b30,uVar7)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0010c540(&DAT_00119b30,uVar7)" identifier (argument_list "(&DAT_00119b30,uVar7)" ( (pointer_expression "&DAT_00119b30" & identifier) , identifier ))))) , (binary_expression "puVar4 != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }" { (if_statement "if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }" if (parenthesized_expression "((DAT_001195e4 & 0x100) == 0)" ( (binary_expression "(DAT_001195e4 & 0x100) == 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" ( (binary_expression "DAT_001195e4 & 0x100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }" { (if_statement "if (uVar7 != *puVar4) goto LAB_0010ddca;" if (parenthesized_expression "(uVar7 != *puVar4)" ( (binary_expression "uVar7 != *puVar4" identifier != (pointer_expression "*puVar4" * identifier)) )) (goto_statement "goto LAB_0010ddca;" goto statement_identifier ;)) }) (else_clause "else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }" else (compound_statement "{\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }" { (expression_statement "printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);" (call_expression "printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2])" identifier (argument_list "(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2])" ( (string_literal "" 0x%lx\t; name=%s, addr=0x%lx"" " string_content escape_sequence string_content ") , identifier , (subscript_expression "puVar4[2]" identifier [ number_literal ]) ))) ;) (if_statement "if (*puVar4 != uVar7) goto LAB_0010de36;" if (parenthesized_expression "(*puVar4 != uVar7)" ( (binary_expression "*puVar4 != uVar7" (pointer_expression "*puVar4" * identifier) != identifier) )) (goto_statement "goto LAB_0010de36;" goto statement_identifier ;)) (if_statement "if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }" if (parenthesized_expression "((DAT_001195e4 & 0x100) != 0)" ( (binary_expression "(DAT_001195e4 & 0x100) != 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" ( (binary_expression "DAT_001195e4 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          putchar(10);\n        }" { (expression_statement "putchar(10);" (call_expression "putchar(10)" identifier (argument_list "(10)" ( number_literal ))) ;) })) }))) (expression_statement "FUN_00104520(param_1,puVar4,0);" (call_expression "FUN_00104520(param_1,puVar4,0)" identifier (argument_list "(param_1,puVar4,0)" ( identifier , identifier , number_literal ))) ;) (goto_statement "goto LAB_0010ddca;" goto statement_identifier ;) })) (labeled_statement "LAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;" statement_identifier : (if_statement "if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;" if (parenthesized_expression "((DAT_001195e4 & 0x100) == 0)" ( (binary_expression "(DAT_001195e4 & 0x100) == 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" ( (binary_expression "DAT_001195e4 & 0x100" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0010ddca;" goto statement_identifier ;))) (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (expression_statement "puts("\tbut it\'s a botch");" (call_expression "puts("\tbut it\'s a botch")" identifier (argument_list "("\tbut it\'s a botch")" ( (string_literal ""\tbut it\'s a botch"" " escape_sequence string_content escape_sequence string_content ") ))) ;) (if_statement "if (param_3 <= param_2) {\n      return;\n    }" if (parenthesized_expression "(param_3 <= param_2)" ( (binary_expression "param_3 <= param_2" identifier <= identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void mips_find_call(Sym *parent,bfd_vma p_lowpc,bfd_vma p_highpc)\n\n{\n  int iVar1;\n  bfd_vma bVar2;\n  Sym *child;\n  char *pcVar3;\n  char *__format;\n  uint uVar4;\n  ulong address;\n  \n  if (mips_find_call::inited == 0) {\n    mips_find_call::inited = 1;\n    sym_init(&indirect_child);\n    indirect_child.name = (char *)dcgettext("gprof","<indirect child>",5);\n    indirect_child.cg.prop.fract = DAT_001104c0;\n    indirect_child.cg.cyc.head = &indirect_child;\n  }\n  if ((debug_level & 0x100U) != 0) {\n    pcVar3 = parent->name;\n    __format = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(__format,pcVar3,p_lowpc,p_highpc);\n  }\n  if (p_lowpc < p_highpc) {\n    do {\n      while( true ) {\n        bVar2 = (*core_bfd->xvec->bfd_getx32)\n                          ((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space));\n        uVar4 = (uint)bVar2;\n        if ((uVar4 & 0xfc000000) == 0xc000000) break;\n        if ((uVar4 & 0xfc00f83f) == 0xf809) {\n          if ((debug_level & 0x100U) != 0) {\n            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n            printf(pcVar3,p_lowpc);\n          }\n          arc_add(parent,&indirect_child,0);\n        }\nLAB_0010ddca:\n        p_lowpc = p_lowpc + 4;\n        if (p_highpc <= p_lowpc) {\n          return;\n        }\n      }\n      if ((debug_level & 0x100U) != 0) {\n        pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n        printf(pcVar3,p_lowpc);\n      }\n      uVar4 = (uVar4 & 0x3ffffff) << 2;\n      address = (ulong)uVar4 | p_lowpc & 0xfffffffff0000000;\n      iVar1 = hist_check_address(uVar4 | (uint)p_lowpc & 0xf0000000);\n      if ((iVar1 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n        if ((debug_level & 0x100U) == 0) {\n          if (address != child->addr) goto LAB_0010ddca;\n        }\n        else {\n          printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);\n          if (child->addr != address) goto LAB_0010de36;\n          if ((debug_level & 0x100U) != 0) {\n            putchar(10);\n          }\n        }\n        arc_add(parent,child,0);\n        goto LAB_0010ddca;\n      }\nLAB_0010de36:\n      if ((debug_level & 0x100U) == 0) goto LAB_0010ddca;\n      p_lowpc = p_lowpc + 4;\n      puts("\tbut it\'s a botch");\n    } while (p_lowpc < p_highpc);\n  }\n  return;\n}\n\n" (function_definition "void mips_find_call(Sym *parent,bfd_vma p_lowpc,bfd_vma p_highpc)\n\n{\n  int iVar1;\n  bfd_vma bVar2;\n  Sym *child;\n  char *pcVar3;\n  char *__format;\n  uint uVar4;\n  ulong address;\n  \n  if (mips_find_call::inited == 0) {\n    mips_find_call::inited = 1;\n    sym_init(&indirect_child);\n    indirect_child.name = (char *)dcgettext("gprof","<indirect child>",5);\n    indirect_child.cg.prop.fract = DAT_001104c0;\n    indirect_child.cg.cyc.head = &indirect_child;\n  }\n  if ((debug_level & 0x100U) != 0) {\n    pcVar3 = parent->name;\n    __format = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(__format,pcVar3,p_lowpc,p_highpc);\n  }\n  if (p_lowpc < p_highpc) {\n    do {\n      while( true ) {\n        bVar2 = (*core_bfd->xvec->bfd_getx32)\n                          ((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space));\n        uVar4 = (uint)bVar2;\n        if ((uVar4 & 0xfc000000) == 0xc000000) break;\n        if ((uVar4 & 0xfc00f83f) == 0xf809) {\n          if ((debug_level & 0x100U) != 0) {\n            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n            printf(pcVar3,p_lowpc);\n          }\n          arc_add(parent,&indirect_child,0);\n        }\nLAB_0010ddca:\n        p_lowpc = p_lowpc + 4;\n        if (p_highpc <= p_lowpc) {\n          return;\n        }\n      }\n      if ((debug_level & 0x100U) != 0) {\n        pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n        printf(pcVar3,p_lowpc);\n      }\n      uVar4 = (uVar4 & 0x3ffffff) << 2;\n      address = (ulong)uVar4 | p_lowpc & 0xfffffffff0000000;\n      iVar1 = hist_check_address(uVar4 | (uint)p_lowpc & 0xf0000000);\n      if ((iVar1 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n        if ((debug_level & 0x100U) == 0) {\n          if (address != child->addr) goto LAB_0010ddca;\n        }\n        else {\n          printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);\n          if (child->addr != address) goto LAB_0010de36;\n          if ((debug_level & 0x100U) != 0) {\n            putchar(10);\n          }\n        }\n        arc_add(parent,child,0);\n        goto LAB_0010ddca;\n      }\nLAB_0010de36:\n      if ((debug_level & 0x100U) == 0) goto LAB_0010ddca;\n      p_lowpc = p_lowpc + 4;\n      puts("\tbut it\'s a botch");\n    } while (p_lowpc < p_highpc);\n  }\n  return;\n}" primitive_type (function_declarator "mips_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  int iVar1;\n  bfd_vma bVar2;\n  Sym *child;\n  char *pcVar3;\n  char *__format;\n  uint uVar4;\n  ulong address;\n  \n  if (mips_find_call::inited == 0) {\n    mips_find_call::inited = 1;\n    sym_init(&indirect_child);\n    indirect_child.name = (char *)dcgettext("gprof","<indirect child>",5);\n    indirect_child.cg.prop.fract = DAT_001104c0;\n    indirect_child.cg.cyc.head = &indirect_child;\n  }\n  if ((debug_level & 0x100U) != 0) {\n    pcVar3 = parent->name;\n    __format = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(__format,pcVar3,p_lowpc,p_highpc);\n  }\n  if (p_lowpc < p_highpc) {\n    do {\n      while( true ) {\n        bVar2 = (*core_bfd->xvec->bfd_getx32)\n                          ((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space));\n        uVar4 = (uint)bVar2;\n        if ((uVar4 & 0xfc000000) == 0xc000000) break;\n        if ((uVar4 & 0xfc00f83f) == 0xf809) {\n          if ((debug_level & 0x100U) != 0) {\n            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n            printf(pcVar3,p_lowpc);\n          }\n          arc_add(parent,&indirect_child,0);\n        }\nLAB_0010ddca:\n        p_lowpc = p_lowpc + 4;\n        if (p_highpc <= p_lowpc) {\n          return;\n        }\n      }\n      if ((debug_level & 0x100U) != 0) {\n        pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n        printf(pcVar3,p_lowpc);\n      }\n      uVar4 = (uVar4 & 0x3ffffff) << 2;\n      address = (ulong)uVar4 | p_lowpc & 0xfffffffff0000000;\n      iVar1 = hist_check_address(uVar4 | (uint)p_lowpc & 0xf0000000);\n      if ((iVar1 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n        if ((debug_level & 0x100U) == 0) {\n          if (address != child->addr) goto LAB_0010ddca;\n        }\n        else {\n          printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);\n          if (child->addr != address) goto LAB_0010de36;\n          if ((debug_level & 0x100U) != 0) {\n            putchar(10);\n          }\n        }\n        arc_add(parent,child,0);\n        goto LAB_0010ddca;\n      }\nLAB_0010de36:\n      if ((debug_level & 0x100U) == 0) goto LAB_0010ddca;\n      p_lowpc = p_lowpc + 4;\n      puts("\tbut it\'s a botch");\n    } while (p_lowpc < p_highpc);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bfd_vma bVar2;" type_identifier identifier ;) (declaration "Sym *child;" type_identifier (pointer_declarator "*child" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "ulong address;" type_identifier identifier ;) (if_statement "if (mips_find_call::inited == 0) {\n    mips_find_call::inited = 1;\n    sym_init(&indirect_child);\n    indirect_child.name = (char *)dcgettext("gprof","<indirect child>",5);\n    indirect_child.cg.prop.fract = DAT_001104c0;\n    indirect_child.cg.cyc.head = &indirect_child;\n  }" if (parenthesized_expression "(mips_find_call::inited == 0)" ( (binary_expression "mips_find_call::inited == 0" identifier (ERROR "::inited" : : identifier) == number_literal) )) (compound_statement "{\n    mips_find_call::inited = 1;\n    sym_init(&indirect_child);\n    indirect_child.name = (char *)dcgettext("gprof","<indirect child>",5);\n    indirect_child.cg.prop.fract = DAT_001104c0;\n    indirect_child.cg.cyc.head = &indirect_child;\n  }" { (labeled_statement "mips_find_call::inited = 1;" statement_identifier : (ERROR ":" :) (expression_statement "inited = 1;" (assignment_expression "inited = 1" identifier = number_literal) ;)) (expression_statement "sym_init(&indirect_child);" (call_expression "sym_init(&indirect_child)" identifier (argument_list "(&indirect_child)" ( (pointer_expression "&indirect_child" & identifier) ))) ;) (expression_statement "indirect_child.name = (char *)dcgettext("gprof","<indirect child>",5);" (assignment_expression "indirect_child.name = (char *)dcgettext("gprof","<indirect child>",5)" (field_expression "indirect_child.name" identifier . field_identifier) = (cast_expression "(char *)dcgettext("gprof","<indirect child>",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","<indirect child>",5)" identifier (argument_list "("gprof","<indirect child>",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""<indirect child>"" " string_content ") , number_literal ))))) ;) (expression_statement "indirect_child.cg.prop.fract = DAT_001104c0;" (assignment_expression "indirect_child.cg.prop.fract = DAT_001104c0" (field_expression "indirect_child.cg.prop.fract" (field_expression "indirect_child.cg.prop" (field_expression "indirect_child.cg" identifier . field_identifier) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "indirect_child.cg.cyc.head = &indirect_child;" (assignment_expression "indirect_child.cg.cyc.head = &indirect_child" (field_expression "indirect_child.cg.cyc.head" (field_expression "indirect_child.cg.cyc" (field_expression "indirect_child.cg" identifier . field_identifier) . field_identifier) . field_identifier) = (pointer_expression "&indirect_child" & identifier)) ;) })) (if_statement "if ((debug_level & 0x100U) != 0) {\n    pcVar3 = parent->name;\n    __format = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(__format,pcVar3,p_lowpc,p_highpc);\n  }" if (parenthesized_expression "((debug_level & 0x100U) != 0)" ( (binary_expression "(debug_level & 0x100U) != 0" (parenthesized_expression "(debug_level & 0x100U)" ( (binary_expression "debug_level & 0x100U" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    pcVar3 = parent->name;\n    __format = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(__format,pcVar3,p_lowpc,p_highpc);\n  }" { (expression_statement "pcVar3 = parent->name;" (assignment_expression "pcVar3 = parent->name" identifier = (field_expression "parent->name" identifier -> field_identifier)) ;) (expression_statement "__format = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);" (assignment_expression "__format = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" identifier (argument_list "("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""[find_call] %s: 0x%lx to 0x%lx\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(__format,pcVar3,p_lowpc,p_highpc);" (call_expression "printf(__format,pcVar3,p_lowpc,p_highpc)" identifier (argument_list "(__format,pcVar3,p_lowpc,p_highpc)" ( identifier , identifier , identifier , identifier ))) ;) })) (if_statement "if (p_lowpc < p_highpc) {\n    do {\n      while( true ) {\n        bVar2 = (*core_bfd->xvec->bfd_getx32)\n                          ((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space));\n        uVar4 = (uint)bVar2;\n        if ((uVar4 & 0xfc000000) == 0xc000000) break;\n        if ((uVar4 & 0xfc00f83f) == 0xf809) {\n          if ((debug_level & 0x100U) != 0) {\n            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n            printf(pcVar3,p_lowpc);\n          }\n          arc_add(parent,&indirect_child,0);\n        }\nLAB_0010ddca:\n        p_lowpc = p_lowpc + 4;\n        if (p_highpc <= p_lowpc) {\n          return;\n        }\n      }\n      if ((debug_level & 0x100U) != 0) {\n        pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n        printf(pcVar3,p_lowpc);\n      }\n      uVar4 = (uVar4 & 0x3ffffff) << 2;\n      address = (ulong)uVar4 | p_lowpc & 0xfffffffff0000000;\n      iVar1 = hist_check_address(uVar4 | (uint)p_lowpc & 0xf0000000);\n      if ((iVar1 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n        if ((debug_level & 0x100U) == 0) {\n          if (address != child->addr) goto LAB_0010ddca;\n        }\n        else {\n          printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);\n          if (child->addr != address) goto LAB_0010de36;\n          if ((debug_level & 0x100U) != 0) {\n            putchar(10);\n          }\n        }\n        arc_add(parent,child,0);\n        goto LAB_0010ddca;\n      }\nLAB_0010de36:\n      if ((debug_level & 0x100U) == 0) goto LAB_0010ddca;\n      p_lowpc = p_lowpc + 4;\n      puts("\tbut it\'s a botch");\n    } while (p_lowpc < p_highpc);\n  }" if (parenthesized_expression "(p_lowpc < p_highpc)" ( (binary_expression "p_lowpc < p_highpc" identifier < identifier) )) (compound_statement "{\n    do {\n      while( true ) {\n        bVar2 = (*core_bfd->xvec->bfd_getx32)\n                          ((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space));\n        uVar4 = (uint)bVar2;\n        if ((uVar4 & 0xfc000000) == 0xc000000) break;\n        if ((uVar4 & 0xfc00f83f) == 0xf809) {\n          if ((debug_level & 0x100U) != 0) {\n            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n            printf(pcVar3,p_lowpc);\n          }\n          arc_add(parent,&indirect_child,0);\n        }\nLAB_0010ddca:\n        p_lowpc = p_lowpc + 4;\n        if (p_highpc <= p_lowpc) {\n          return;\n        }\n      }\n      if ((debug_level & 0x100U) != 0) {\n        pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n        printf(pcVar3,p_lowpc);\n      }\n      uVar4 = (uVar4 & 0x3ffffff) << 2;\n      address = (ulong)uVar4 | p_lowpc & 0xfffffffff0000000;\n      iVar1 = hist_check_address(uVar4 | (uint)p_lowpc & 0xf0000000);\n      if ((iVar1 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n        if ((debug_level & 0x100U) == 0) {\n          if (address != child->addr) goto LAB_0010ddca;\n        }\n        else {\n          printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);\n          if (child->addr != address) goto LAB_0010de36;\n          if ((debug_level & 0x100U) != 0) {\n            putchar(10);\n          }\n        }\n        arc_add(parent,child,0);\n        goto LAB_0010ddca;\n      }\nLAB_0010de36:\n      if ((debug_level & 0x100U) == 0) goto LAB_0010ddca;\n      p_lowpc = p_lowpc + 4;\n      puts("\tbut it\'s a botch");\n    } while (p_lowpc < p_highpc);\n  }" { (do_statement "do {\n      while( true ) {\n        bVar2 = (*core_bfd->xvec->bfd_getx32)\n                          ((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space));\n        uVar4 = (uint)bVar2;\n        if ((uVar4 & 0xfc000000) == 0xc000000) break;\n        if ((uVar4 & 0xfc00f83f) == 0xf809) {\n          if ((debug_level & 0x100U) != 0) {\n            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n            printf(pcVar3,p_lowpc);\n          }\n          arc_add(parent,&indirect_child,0);\n        }\nLAB_0010ddca:\n        p_lowpc = p_lowpc + 4;\n        if (p_highpc <= p_lowpc) {\n          return;\n        }\n      }\n      if ((debug_level & 0x100U) != 0) {\n        pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n        printf(pcVar3,p_lowpc);\n      }\n      uVar4 = (uVar4 & 0x3ffffff) << 2;\n      address = (ulong)uVar4 | p_lowpc & 0xfffffffff0000000;\n      iVar1 = hist_check_address(uVar4 | (uint)p_lowpc & 0xf0000000);\n      if ((iVar1 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n        if ((debug_level & 0x100U) == 0) {\n          if (address != child->addr) goto LAB_0010ddca;\n        }\n        else {\n          printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);\n          if (child->addr != address) goto LAB_0010de36;\n          if ((debug_level & 0x100U) != 0) {\n            putchar(10);\n          }\n        }\n        arc_add(parent,child,0);\n        goto LAB_0010ddca;\n      }\nLAB_0010de36:\n      if ((debug_level & 0x100U) == 0) goto LAB_0010ddca;\n      p_lowpc = p_lowpc + 4;\n      puts("\tbut it\'s a botch");\n    } while (p_lowpc < p_highpc);" do (compound_statement "{\n      while( true ) {\n        bVar2 = (*core_bfd->xvec->bfd_getx32)\n                          ((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space));\n        uVar4 = (uint)bVar2;\n        if ((uVar4 & 0xfc000000) == 0xc000000) break;\n        if ((uVar4 & 0xfc00f83f) == 0xf809) {\n          if ((debug_level & 0x100U) != 0) {\n            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n            printf(pcVar3,p_lowpc);\n          }\n          arc_add(parent,&indirect_child,0);\n        }\nLAB_0010ddca:\n        p_lowpc = p_lowpc + 4;\n        if (p_highpc <= p_lowpc) {\n          return;\n        }\n      }\n      if ((debug_level & 0x100U) != 0) {\n        pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n        printf(pcVar3,p_lowpc);\n      }\n      uVar4 = (uVar4 & 0x3ffffff) << 2;\n      address = (ulong)uVar4 | p_lowpc & 0xfffffffff0000000;\n      iVar1 = hist_check_address(uVar4 | (uint)p_lowpc & 0xf0000000);\n      if ((iVar1 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n        if ((debug_level & 0x100U) == 0) {\n          if (address != child->addr) goto LAB_0010ddca;\n        }\n        else {\n          printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);\n          if (child->addr != address) goto LAB_0010de36;\n          if ((debug_level & 0x100U) != 0) {\n            putchar(10);\n          }\n        }\n        arc_add(parent,child,0);\n        goto LAB_0010ddca;\n      }\nLAB_0010de36:\n      if ((debug_level & 0x100U) == 0) goto LAB_0010ddca;\n      p_lowpc = p_lowpc + 4;\n      puts("\tbut it\'s a botch");\n    }" { (while_statement "while( true ) {\n        bVar2 = (*core_bfd->xvec->bfd_getx32)\n                          ((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space));\n        uVar4 = (uint)bVar2;\n        if ((uVar4 & 0xfc000000) == 0xc000000) break;\n        if ((uVar4 & 0xfc00f83f) == 0xf809) {\n          if ((debug_level & 0x100U) != 0) {\n            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n            printf(pcVar3,p_lowpc);\n          }\n          arc_add(parent,&indirect_child,0);\n        }\nLAB_0010ddca:\n        p_lowpc = p_lowpc + 4;\n        if (p_highpc <= p_lowpc) {\n          return;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        bVar2 = (*core_bfd->xvec->bfd_getx32)\n                          ((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space));\n        uVar4 = (uint)bVar2;\n        if ((uVar4 & 0xfc000000) == 0xc000000) break;\n        if ((uVar4 & 0xfc00f83f) == 0xf809) {\n          if ((debug_level & 0x100U) != 0) {\n            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n            printf(pcVar3,p_lowpc);\n          }\n          arc_add(parent,&indirect_child,0);\n        }\nLAB_0010ddca:\n        p_lowpc = p_lowpc + 4;\n        if (p_highpc <= p_lowpc) {\n          return;\n        }\n      }" { (expression_statement "bVar2 = (*core_bfd->xvec->bfd_getx32)\n                          ((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space));" (assignment_expression "bVar2 = (*core_bfd->xvec->bfd_getx32)\n                          ((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space))" identifier = (call_expression "(*core_bfd->xvec->bfd_getx32)\n                          ((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space))" (parenthesized_expression "(*core_bfd->xvec->bfd_getx32)" ( (pointer_expression "*core_bfd->xvec->bfd_getx32" * (field_expression "core_bfd->xvec->bfd_getx32" (field_expression "core_bfd->xvec" identifier -> field_identifier) -> field_identifier)) )) (argument_list "((void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space))" ( (cast_expression "(void *)((p_lowpc - core_text_sect->vma) + (long)core_text_space)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((p_lowpc - core_text_sect->vma) + (long)core_text_space)" ( (binary_expression "(p_lowpc - core_text_sect->vma) + (long)core_text_space" (parenthesized_expression "(p_lowpc - core_text_sect->vma)" ( (binary_expression "p_lowpc - core_text_sect->vma" identifier - (field_expression "core_text_sect->vma" identifier -> field_identifier)) )) + (cast_expression "(long)core_text_space" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) )))) ;) (expression_statement "uVar4 = (uint)bVar2;" (assignment_expression "uVar4 = (uint)bVar2" identifier = (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if ((uVar4 & 0xfc000000) == 0xc000000) break;" if (parenthesized_expression "((uVar4 & 0xfc000000) == 0xc000000)" ( (binary_expression "(uVar4 & 0xfc000000) == 0xc000000" (parenthesized_expression "(uVar4 & 0xfc000000)" ( (binary_expression "uVar4 & 0xfc000000" identifier & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((uVar4 & 0xfc00f83f) == 0xf809) {\n          if ((debug_level & 0x100U) != 0) {\n            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n            printf(pcVar3,p_lowpc);\n          }\n          arc_add(parent,&indirect_child,0);\n        }" if (parenthesized_expression "((uVar4 & 0xfc00f83f) == 0xf809)" ( (binary_expression "(uVar4 & 0xfc00f83f) == 0xf809" (parenthesized_expression "(uVar4 & 0xfc00f83f)" ( (binary_expression "uVar4 & 0xfc00f83f" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          if ((debug_level & 0x100U) != 0) {\n            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n            printf(pcVar3,p_lowpc);\n          }\n          arc_add(parent,&indirect_child,0);\n        }" { (if_statement "if ((debug_level & 0x100U) != 0) {\n            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n            printf(pcVar3,p_lowpc);\n          }" if (parenthesized_expression "((debug_level & 0x100U) != 0)" ( (binary_expression "(debug_level & 0x100U) != 0" (parenthesized_expression "(debug_level & 0x100U)" ( (binary_expression "debug_level & 0x100U" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n            printf(pcVar3,p_lowpc);\n          }" { (expression_statement "pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);" (assignment_expression "pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","[find_call] 0x%lx: jalr\n",5)" identifier (argument_list "("gprof","[find_call] 0x%lx: jalr\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""[find_call] 0x%lx: jalr\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(pcVar3,p_lowpc);" (call_expression "printf(pcVar3,p_lowpc)" identifier (argument_list "(pcVar3,p_lowpc)" ( identifier , identifier ))) ;) })) (expression_statement "arc_add(parent,&indirect_child,0);" (call_expression "arc_add(parent,&indirect_child,0)" identifier (argument_list "(parent,&indirect_child,0)" ( identifier , (pointer_expression "&indirect_child" & identifier) , number_literal ))) ;) })) (labeled_statement "LAB_0010ddca:\n        p_lowpc = p_lowpc + 4;" statement_identifier : (expression_statement "p_lowpc = p_lowpc + 4;" (assignment_expression "p_lowpc = p_lowpc + 4" identifier = (binary_expression "p_lowpc + 4" identifier + number_literal)) ;)) (if_statement "if (p_highpc <= p_lowpc) {\n          return;\n        }" if (parenthesized_expression "(p_highpc <= p_lowpc)" ( (binary_expression "p_highpc <= p_lowpc" identifier <= identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (if_statement "if ((debug_level & 0x100U) != 0) {\n        pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n        printf(pcVar3,p_lowpc);\n      }" if (parenthesized_expression "((debug_level & 0x100U) != 0)" ( (binary_expression "(debug_level & 0x100U) != 0" (parenthesized_expression "(debug_level & 0x100U)" ( (binary_expression "debug_level & 0x100U" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n        printf(pcVar3,p_lowpc);\n      }" { (expression_statement "pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);" (assignment_expression "pcVar3 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5)" identifier = (cast_expression "(char *)dcgettext("gprof","[find_call] 0x%lx: jal",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","[find_call] 0x%lx: jal",5)" identifier (argument_list "("gprof","[find_call] 0x%lx: jal",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""[find_call] 0x%lx: jal"" " string_content ") , number_literal ))))) ;) (expression_statement "printf(pcVar3,p_lowpc);" (call_expression "printf(pcVar3,p_lowpc)" identifier (argument_list "(pcVar3,p_lowpc)" ( identifier , identifier ))) ;) })) (expression_statement "uVar4 = (uVar4 & 0x3ffffff) << 2;" (assignment_expression "uVar4 = (uVar4 & 0x3ffffff) << 2" identifier = (binary_expression "(uVar4 & 0x3ffffff) << 2" (parenthesized_expression "(uVar4 & 0x3ffffff)" ( (binary_expression "uVar4 & 0x3ffffff" identifier & number_literal) )) << number_literal)) ;) (expression_statement "address = (ulong)uVar4 | p_lowpc & 0xfffffffff0000000;" (assignment_expression "address = (ulong)uVar4 | p_lowpc & 0xfffffffff0000000" identifier = (binary_expression "(ulong)uVar4 | p_lowpc & 0xfffffffff0000000" (cast_expression "(ulong)uVar4" ( (type_descriptor "ulong" type_identifier) ) identifier) | (binary_expression "p_lowpc & 0xfffffffff0000000" identifier & number_literal))) ;) (expression_statement "iVar1 = hist_check_address(uVar4 | (uint)p_lowpc & 0xf0000000);" (assignment_expression "iVar1 = hist_check_address(uVar4 | (uint)p_lowpc & 0xf0000000)" identifier = (call_expression "hist_check_address(uVar4 | (uint)p_lowpc & 0xf0000000)" identifier (argument_list "(uVar4 | (uint)p_lowpc & 0xf0000000)" ( (binary_expression "uVar4 | (uint)p_lowpc & 0xf0000000" identifier | (binary_expression "(uint)p_lowpc & 0xf0000000" (cast_expression "(uint)p_lowpc" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal)) )))) ;) (if_statement "if ((iVar1 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)) {\n        if ((debug_level & 0x100U) == 0) {\n          if (address != child->addr) goto LAB_0010ddca;\n        }\n        else {\n          printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);\n          if (child->addr != address) goto LAB_0010de36;\n          if ((debug_level & 0x100U) != 0) {\n            putchar(10);\n          }\n        }\n        arc_add(parent,child,0);\n        goto LAB_0010ddca;\n      }" if (parenthesized_expression "((iVar1 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0))" ( (binary_expression "(iVar1 != 0) && (child = sym_lookup(&symtab,address), child != (Sym *)0x0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(child = sym_lookup(&symtab,address), child != (Sym *)0x0)" ( (comma_expression "child = sym_lookup(&symtab,address), child != (Sym *)0x0" (assignment_expression "child = sym_lookup(&symtab,address)" identifier = (call_expression "sym_lookup(&symtab,address)" identifier (argument_list "(&symtab,address)" ( (pointer_expression "&symtab" & identifier) , identifier )))) , (binary_expression "child != (Sym *)0x0" identifier != (cast_expression "(Sym *)0x0" ( (type_descriptor "Sym *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        if ((debug_level & 0x100U) == 0) {\n          if (address != child->addr) goto LAB_0010ddca;\n        }\n        else {\n          printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);\n          if (child->addr != address) goto LAB_0010de36;\n          if ((debug_level & 0x100U) != 0) {\n            putchar(10);\n          }\n        }\n        arc_add(parent,child,0);\n        goto LAB_0010ddca;\n      }" { (if_statement "if ((debug_level & 0x100U) == 0) {\n          if (address != child->addr) goto LAB_0010ddca;\n        }\n        else {\n          printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);\n          if (child->addr != address) goto LAB_0010de36;\n          if ((debug_level & 0x100U) != 0) {\n            putchar(10);\n          }\n        }" if (parenthesized_expression "((debug_level & 0x100U) == 0)" ( (binary_expression "(debug_level & 0x100U) == 0" (parenthesized_expression "(debug_level & 0x100U)" ( (binary_expression "debug_level & 0x100U" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          if (address != child->addr) goto LAB_0010ddca;\n        }" { (if_statement "if (address != child->addr) goto LAB_0010ddca;" if (parenthesized_expression "(address != child->addr)" ( (binary_expression "address != child->addr" identifier != (field_expression "child->addr" identifier -> field_identifier)) )) (goto_statement "goto LAB_0010ddca;" goto statement_identifier ;)) }) (else_clause "else {\n          printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);\n          if (child->addr != address) goto LAB_0010de36;\n          if ((debug_level & 0x100U) != 0) {\n            putchar(10);\n          }\n        }" else (compound_statement "{\n          printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);\n          if (child->addr != address) goto LAB_0010de36;\n          if ((debug_level & 0x100U) != 0) {\n            putchar(10);\n          }\n        }" { (expression_statement "printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name);" (call_expression "printf(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name)" identifier (argument_list "(" 0x%lx\t; name=%s, addr=0x%lx",address,child->name)" ( (string_literal "" 0x%lx\t; name=%s, addr=0x%lx"" " string_content escape_sequence string_content ") , identifier , (field_expression "child->name" identifier -> field_identifier) ))) ;) (if_statement "if (child->addr != address) goto LAB_0010de36;" if (parenthesized_expression "(child->addr != address)" ( (binary_expression "child->addr != address" (field_expression "child->addr" identifier -> field_identifier) != identifier) )) (goto_statement "goto LAB_0010de36;" goto statement_identifier ;)) (if_statement "if ((debug_level & 0x100U) != 0) {\n            putchar(10);\n          }" if (parenthesized_expression "((debug_level & 0x100U) != 0)" ( (binary_expression "(debug_level & 0x100U) != 0" (parenthesized_expression "(debug_level & 0x100U)" ( (binary_expression "debug_level & 0x100U" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            putchar(10);\n          }" { (expression_statement "putchar(10);" (call_expression "putchar(10)" identifier (argument_list "(10)" ( number_literal ))) ;) })) }))) (expression_statement "arc_add(parent,child,0);" (call_expression "arc_add(parent,child,0)" identifier (argument_list "(parent,child,0)" ( identifier , identifier , number_literal ))) ;) (goto_statement "goto LAB_0010ddca;" goto statement_identifier ;) })) (labeled_statement "LAB_0010de36:\n      if ((debug_level & 0x100U) == 0) goto LAB_0010ddca;" statement_identifier : (if_statement "if ((debug_level & 0x100U) == 0) goto LAB_0010ddca;" if (parenthesized_expression "((debug_level & 0x100U) == 0)" ( (binary_expression "(debug_level & 0x100U) == 0" (parenthesized_expression "(debug_level & 0x100U)" ( (binary_expression "debug_level & 0x100U" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0010ddca;" goto statement_identifier ;))) (expression_statement "p_lowpc = p_lowpc + 4;" (assignment_expression "p_lowpc = p_lowpc + 4" identifier = (binary_expression "p_lowpc + 4" identifier + number_literal)) ;) (expression_statement "puts("\tbut it\'s a botch");" (call_expression "puts("\tbut it\'s a botch")" identifier (argument_list "("\tbut it\'s a botch")" ( (string_literal ""\tbut it\'s a botch"" " escape_sequence string_content escape_sequence string_content ") ))) ;) }) while (parenthesized_expression "(p_lowpc < p_highpc)" ( (binary_expression "p_lowpc < p_highpc" identifier < identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0010dd70(long param_1,ulong param_2,ulong param_3)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  int iVar3;\n  ulong *puVar4;\n  char *pcVar5;\n  ulong uVar6;\n  ulong uVar7;\n  \n  if (DAT_00119940 == 0) {\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }\n  if ((DAT_001195e4 & 0x100) != 0) {\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_0010dd70(long param_1,ulong param_2,ulong param_3)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  int iVar3;\n  ulong *puVar4;\n  char *pcVar5;\n  ulong uVar6;\n  ulong uVar7;\n  \n  if (DAT_00119940 == 0) {\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }\n  if ((DAT_001195e4 & 0x100) != 0) {\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_0010dd70(long param_1,ulong param_2,ulong param_3)" identifier (parameter_list "(long param_1,ulong param_2,ulong param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  uint uVar2;\n  int iVar3;\n  ulong *puVar4;\n  char *pcVar5;\n  ulong uVar6;\n  ulong uVar7;\n  \n  if (DAT_00119940 == 0) {\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }\n  if ((DAT_001195e4 & 0x100) != 0) {\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ulong *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (if_statement "if (DAT_00119940 == 0) {\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }" if (parenthesized_expression "(DAT_00119940 == 0)" ( (binary_expression "DAT_00119940 == 0" identifier == number_literal) )) (compound_statement "{\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }" { (expression_statement "DAT_00119940 = 1;" (assignment_expression "DAT_00119940 = 1" identifier = number_literal) ;) (expression_statement "FUN_0010bfe0(&DAT_00119960);" (call_expression "FUN_0010bfe0(&DAT_00119960)" identifier (argument_list "(&DAT_00119960)" ( (pointer_expression "&DAT_00119960" & identifier) ))) ;) (expression_statement "_DAT_00119970 = dcgettext("gprof","<indirect child>",5);" (assignment_expression "_DAT_00119970 = dcgettext("gprof","<indirect child>",5)" identifier = (call_expression "dcgettext("gprof","<indirect child>",5)" identifier (argument_list "("gprof","<indirect child>",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""<indirect child>"" " string_content ") , number_literal )))) ;) (expression_statement "_DAT_00119a78 = DAT_001104c0;" (assignment_expression "_DAT_00119a78 = DAT_001104c0" identifier = identifier) ;) (expression_statement "_DAT_00119a98 = &DAT_00119960;" (assignment_expression "_DAT_00119a98 = &DAT_00119960" identifier = (pointer_expression "&DAT_00119960" & identifier)) ;) })) (if_statement "if ((DAT_001195e4 & 0x100) != 0) {\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }" if (parenthesized_expression "((DAT_001195e4 & 0x100) != 0)" ( (binary_expression "(DAT_001195e4 & 0x100) != 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" ( (binary_expression "DAT_001195e4 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }" { (expression_statement "uVar1 = *(undefined8 *)(param_1 + 0x10);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 0x10)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x10)" * (cast_expression "(undefined8 *)(param_1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);" (assignment_expression "pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" identifier (argument_list "("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""[find_call] %s: 0x%lx to 0x%lx\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(pcVar5,uVar1,param_2,param_3);" (call_expression "printf(pcVar5,uVar1,param_2,param_3)" identifier (argument_list "(pcVar5,uVar1,param_2,param_3)" ( identifier , identifier , identifier , identifier ))) ;) })) (if_statement "if (param_3 <= param_2) {\n    return;\n  }" if (parenthesized_expression "(param_3 <= param_2)" ( (binary_expression "param_3 <= param_2" identifier <= identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  }" { (while_statement "while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }" while (parenthesized_expression "(uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000)" ( (comma_expression "uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000" (assignment_expression "uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0)" identifier = (call_expression "(**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0)" (parenthesized_expression "(**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))" ( (pointer_expression "**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38)" * (pointer_expression "*(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38)" * (cast_expression "(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(DAT_00119ad8 + 8) + 0x38)" ( (binary_expression "*(long *)(DAT_00119ad8 + 8) + 0x38" (pointer_expression "*(long *)(DAT_00119ad8 + 8)" * (cast_expression "(long *)(DAT_00119ad8 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00119ad8 + 8)" ( (binary_expression "DAT_00119ad8 + 8" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0)" ( (binary_expression "(param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0" (parenthesized_expression "(param_2 - *(long *)(DAT_00119af8 + 0x28))" ( (binary_expression "param_2 - *(long *)(DAT_00119af8 + 0x28)" identifier - (pointer_expression "*(long *)(DAT_00119af8 + 0x28)" * (cast_expression "(long *)(DAT_00119af8 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00119af8 + 0x28)" ( (binary_expression "DAT_00119af8 + 0x28" identifier + number_literal) ))))) )) + identifier) )))) , (binary_expression "(uVar2 & 0xfc000000) != 0xc000000" (parenthesized_expression "(uVar2 & 0xfc000000)" ( (binary_expression "uVar2 & 0xfc000000" identifier & number_literal) )) != number_literal)) )) (compound_statement "{\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }" { (if_statement "if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }" if (parenthesized_expression "((uVar2 & 0xfc00f83f) == 0xf809)" ( (binary_expression "(uVar2 & 0xfc00f83f) == 0xf809" (parenthesized_expression "(uVar2 & 0xfc00f83f)" ( (binary_expression "uVar2 & 0xfc00f83f" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }" { (if_statement "if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }" if (parenthesized_expression "((DAT_001195e4 & 0x100) != 0)" ( (binary_expression "(DAT_001195e4 & 0x100) != 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" ( (binary_expression "DAT_001195e4 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }" { (expression_statement "pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);" (assignment_expression "pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","[find_call] 0x%lx: jalr\n",5)" identifier (argument_list "("gprof","[find_call] 0x%lx: jalr\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""[find_call] 0x%lx: jalr\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(pcVar5,param_2);" (call_expression "printf(pcVar5,param_2)" identifier (argument_list "(pcVar5,param_2)" ( identifier , identifier ))) ;) })) (expression_statement "FUN_00104520(param_1,&DAT_00119960,0);" (call_expression "FUN_00104520(param_1,&DAT_00119960,0)" identifier (argument_list "(param_1,&DAT_00119960,0)" ( identifier , (pointer_expression "&DAT_00119960" & identifier) , number_literal ))) ;) })) (labeled_statement "LAB_0010ddca:\n      param_2 = param_2 + 4;" statement_identifier : (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;)) (if_statement "if (param_3 <= param_2) {\n        return;\n      }" if (parenthesized_expression "(param_3 <= param_2)" ( (binary_expression "param_3 <= param_2" identifier <= identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (if_statement "if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }" if (parenthesized_expression "((DAT_001195e4 & 0x100) != 0)" ( (binary_expression "(DAT_001195e4 & 0x100) != 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" ( (binary_expression "DAT_001195e4 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }" { (expression_statement "pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);" (assignment_expression "pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5)" identifier = (cast_expression "(char *)dcgettext("gprof","[find_call] 0x%lx: jal",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","[find_call] 0x%lx: jal",5)" identifier (argument_list "("gprof","[find_call] 0x%lx: jal",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""[find_call] 0x%lx: jal"" " string_content ") , number_literal ))))) ;) (expression_statement "printf(pcVar5,param_2);" (call_expression "printf(pcVar5,param_2)" identifier (argument_list "(pcVar5,param_2)" ( identifier , identifier ))) ;) })) (expression_statement "uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);" (assignment_expression "uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2)" identifier = (call_expression "(ulong)((uVar2 & 0x3ffffff) << 2)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((uVar2 & 0x3ffffff) << 2)" ( (binary_expression "(uVar2 & 0x3ffffff) << 2" (parenthesized_expression "(uVar2 & 0x3ffffff)" ( (binary_expression "uVar2 & 0x3ffffff" identifier & number_literal) )) << number_literal) )))) ;) (expression_statement "uVar7 = uVar6 | param_2 & 0xfffffffff0000000;" (assignment_expression "uVar7 = uVar6 | param_2 & 0xfffffffff0000000" identifier = (binary_expression "uVar6 | param_2 & 0xfffffffff0000000" identifier | (binary_expression "param_2 & 0xfffffffff0000000" identifier & number_literal))) ;) (expression_statement "iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);" (assignment_expression "iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000)" identifier = (call_expression "FUN_0010b480(uVar6 | param_2 & 0xf0000000)" identifier (argument_list "(uVar6 | param_2 & 0xf0000000)" ( (binary_expression "uVar6 | param_2 & 0xf0000000" identifier | (binary_expression "param_2 & 0xf0000000" identifier & number_literal)) )))) ;) (if_statement "if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }" if (parenthesized_expression "((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0))" ( (binary_expression "(iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)" ( (comma_expression "puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0" (assignment_expression "puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7)" identifier = (cast_expression "(ulong *)FUN_0010c540(&DAT_00119b30,uVar7)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0010c540(&DAT_00119b30,uVar7)" identifier (argument_list "(&DAT_00119b30,uVar7)" ( (pointer_expression "&DAT_00119b30" & identifier) , identifier ))))) , (binary_expression "puVar4 != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }" { (if_statement "if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }" if (parenthesized_expression "((DAT_001195e4 & 0x100) == 0)" ( (binary_expression "(DAT_001195e4 & 0x100) == 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" ( (binary_expression "DAT_001195e4 & 0x100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }" { (if_statement "if (uVar7 != *puVar4) goto LAB_0010ddca;" if (parenthesized_expression "(uVar7 != *puVar4)" ( (binary_expression "uVar7 != *puVar4" identifier != (pointer_expression "*puVar4" * identifier)) )) (goto_statement "goto LAB_0010ddca;" goto statement_identifier ;)) }) (else_clause "else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }" else (compound_statement "{\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }" { (expression_statement "printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);" (call_expression "printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2])" identifier (argument_list "(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2])" ( (string_literal "" 0x%lx\t; name=%s, addr=0x%lx"" " string_content escape_sequence string_content ") , identifier , (subscript_expression "puVar4[2]" identifier [ number_literal ]) ))) ;) (if_statement "if (*puVar4 != uVar7) goto LAB_0010de36;" if (parenthesized_expression "(*puVar4 != uVar7)" ( (binary_expression "*puVar4 != uVar7" (pointer_expression "*puVar4" * identifier) != identifier) )) (goto_statement "goto LAB_0010de36;" goto statement_identifier ;)) (if_statement "if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }" if (parenthesized_expression "((DAT_001195e4 & 0x100) != 0)" ( (binary_expression "(DAT_001195e4 & 0x100) != 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" ( (binary_expression "DAT_001195e4 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          putchar(10);\n        }" { (expression_statement "putchar(10);" (call_expression "putchar(10)" identifier (argument_list "(10)" ( number_literal ))) ;) })) }))) (expression_statement "FUN_00104520(param_1,puVar4,0);" (call_expression "FUN_00104520(param_1,puVar4,0)" identifier (argument_list "(param_1,puVar4,0)" ( identifier , identifier , number_literal ))) ;) (goto_statement "goto LAB_0010ddca;" goto statement_identifier ;) })) (labeled_statement "LAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;" statement_identifier : (if_statement "if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;" if (parenthesized_expression "((DAT_001195e4 & 0x100) == 0)" ( (binary_expression "(DAT_001195e4 & 0x100) == 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" ( (binary_expression "DAT_001195e4 & 0x100" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0010ddca;" goto statement_identifier ;))) (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (expression_statement "puts("\tbut it\'s a botch");" (call_expression "puts("\tbut it\'s a botch")" identifier (argument_list "("\tbut it\'s a botch")" ( (string_literal ""\tbut it\'s a botch"" " escape_sequence string_content escape_sequence string_content ") ))) ;) (if_statement "if (param_3 <= param_2) {\n      return;\n    }" if (parenthesized_expression "(param_3 <= param_2)" ( (binary_expression "param_3 <= param_2" identifier <= identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) 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) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression 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 = (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 ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return ;) })) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) + IDENT) )))) , (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content escape_sequence ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression IDENT & LIT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT | (binary_expression IDENT & LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * IDENT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content ") , IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence string_content escape_sequence string_content ") ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_0010dd70(long param_1,ulong param_2,ulong param_3)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  int iVar3;\n  ulong *puVar4;\n  char *pcVar5;\n  ulong uVar6;\n  ulong uVar7;\n  \n  if (DAT_00119940 == 0) {\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }\n  if ((DAT_001195e4 & 0x100) != 0) {\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_0010dd70(long param_1,ulong param_2,ulong param_3)" (identifier "FUN_0010dd70") (parameter_list "(long param_1,ulong param_2,ulong param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) (, ",") (parameter_declaration "ulong param_3" (type_identifier "ulong") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  uint uVar2;\n  int iVar3;\n  ulong *puVar4;\n  char *pcVar5;\n  ulong uVar6;\n  ulong uVar7;\n  \n  if (DAT_00119940 == 0) {\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }\n  if ((DAT_001195e4 & 0x100) != 0) {\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }\n  if (param_3 <= param_2) {\n    return;\n  }\n  do {\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "ulong *puVar4;" (type_identifier "ulong") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "ulong uVar6;" (type_identifier "ulong") (identifier "uVar6") (; ";")) (declaration "ulong uVar7;" (type_identifier "ulong") (identifier "uVar7") (; ";")) (if_statement "if (DAT_00119940 == 0) {\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }" (if "if") (parenthesized_expression "(DAT_00119940 == 0)" (( "(") (binary_expression "DAT_00119940 == 0" (identifier "DAT_00119940") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_00119940 = 1;\n    FUN_0010bfe0(&DAT_00119960);\n    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);\n    _DAT_00119a78 = DAT_001104c0;\n    _DAT_00119a98 = &DAT_00119960;\n  }" ({ "{") (expression_statement "DAT_00119940 = 1;" (assignment_expression "DAT_00119940 = 1" (identifier "DAT_00119940") (= "=") (number_literal "1")) (; ";")) (expression_statement "FUN_0010bfe0(&DAT_00119960);" (call_expression "FUN_0010bfe0(&DAT_00119960)" (identifier "FUN_0010bfe0") (argument_list "(&DAT_00119960)" (( "(") (pointer_expression "&DAT_00119960" (& "&") (identifier "DAT_00119960")) () ")"))) (; ";")) (expression_statement "_DAT_00119970 = dcgettext("gprof","<indirect child>",5);" (assignment_expression "_DAT_00119970 = dcgettext("gprof","<indirect child>",5)" (identifier "_DAT_00119970") (= "=") (call_expression "dcgettext("gprof","<indirect child>",5)" (identifier "dcgettext") (argument_list "("gprof","<indirect child>",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""<indirect child>"" (" """) (string_content "<indirect child>") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "_DAT_00119a78 = DAT_001104c0;" (assignment_expression "_DAT_00119a78 = DAT_001104c0" (identifier "_DAT_00119a78") (= "=") (identifier "DAT_001104c0")) (; ";")) (expression_statement "_DAT_00119a98 = &DAT_00119960;" (assignment_expression "_DAT_00119a98 = &DAT_00119960" (identifier "_DAT_00119a98") (= "=") (pointer_expression "&DAT_00119960" (& "&") (identifier "DAT_00119960"))) (; ";")) (} "}"))) (if_statement "if ((DAT_001195e4 & 0x100) != 0) {\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }" (if "if") (parenthesized_expression "((DAT_001195e4 & 0x100) != 0)" (( "(") (binary_expression "(DAT_001195e4 & 0x100) != 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" (( "(") (binary_expression "DAT_001195e4 & 0x100" (identifier "DAT_001195e4") (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = *(undefined8 *)(param_1 + 0x10);\n    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);\n    printf(pcVar5,uVar1,param_2,param_3);\n  }" ({ "{") (expression_statement "uVar1 = *(undefined8 *)(param_1 + 0x10);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 0x10)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined8 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);" (assignment_expression "pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" (identifier "pcVar5") (= "=") (cast_expression "(char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" (identifier "dcgettext") (argument_list "("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""[find_call] %s: 0x%lx to 0x%lx\n"" (" """) (string_content "[find_call] %s: 0x%lx to 0x%lx") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(pcVar5,uVar1,param_2,param_3);" (call_expression "printf(pcVar5,uVar1,param_2,param_3)" (identifier "printf") (argument_list "(pcVar5,uVar1,param_2,param_3)" (( "(") (identifier "pcVar5") (, ",") (identifier "uVar1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_3 <= param_2) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 <= param_2)" (( "(") (binary_expression "param_3 <= param_2" (identifier "param_3") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }\n    if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }\n    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);\n    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;\n    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);\n    if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }\nLAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;\n    param_2 = param_2 + 4;\n    puts("\tbut it\'s a botch");\n    if (param_3 <= param_2) {\n      return;\n    }\n  }" ({ "{") (while_statement "while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000) {\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }" (while "while") (parenthesized_expression "(uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000)" (( "(") (comma_expression "uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),\n          (uVar2 & 0xfc000000) != 0xc000000" (assignment_expression "uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))\n                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0)" (parenthesized_expression "(**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))" (( "(") (pointer_expression "**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38)" (* "*") (pointer_expression "*(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38)" (* "*") (cast_expression "(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(DAT_00119ad8 + 8) + 0x38)" (( "(") (binary_expression "*(long *)(DAT_00119ad8 + 8) + 0x38" (pointer_expression "*(long *)(DAT_00119ad8 + 8)" (* "*") (cast_expression "(long *)(DAT_00119ad8 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00119ad8 + 8)" (( "(") (binary_expression "DAT_00119ad8 + 8" (identifier "DAT_00119ad8") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (argument_list "((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0)" (( "(") (binary_expression "(param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0" (parenthesized_expression "(param_2 - *(long *)(DAT_00119af8 + 0x28))" (( "(") (binary_expression "param_2 - *(long *)(DAT_00119af8 + 0x28)" (identifier "param_2") (- "-") (pointer_expression "*(long *)(DAT_00119af8 + 0x28)" (* "*") (cast_expression "(long *)(DAT_00119af8 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00119af8 + 0x28)" (( "(") (binary_expression "DAT_00119af8 + 0x28" (identifier "DAT_00119af8") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (+ "+") (identifier "DAT_00119ae0")) () ")")))) (, ",") (binary_expression "(uVar2 & 0xfc000000) != 0xc000000" (parenthesized_expression "(uVar2 & 0xfc000000)" (( "(") (binary_expression "uVar2 & 0xfc000000" (identifier "uVar2") (& "&") (number_literal "0xfc000000")) () ")")) (!= "!=") (number_literal "0xc000000"))) () ")")) (compound_statement "{\n      if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }\nLAB_0010ddca:\n      param_2 = param_2 + 4;\n      if (param_3 <= param_2) {\n        return;\n      }\n    }" ({ "{") (if_statement "if ((uVar2 & 0xfc00f83f) == 0xf809) {\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }" (if "if") (parenthesized_expression "((uVar2 & 0xfc00f83f) == 0xf809)" (( "(") (binary_expression "(uVar2 & 0xfc00f83f) == 0xf809" (parenthesized_expression "(uVar2 & 0xfc00f83f)" (( "(") (binary_expression "uVar2 & 0xfc00f83f" (identifier "uVar2") (& "&") (number_literal "0xfc00f83f")) () ")")) (== "==") (number_literal "0xf809")) () ")")) (compound_statement "{\n        if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }\n        FUN_00104520(param_1,&DAT_00119960,0);\n      }" ({ "{") (if_statement "if ((DAT_001195e4 & 0x100) != 0) {\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }" (if "if") (parenthesized_expression "((DAT_001195e4 & 0x100) != 0)" (( "(") (binary_expression "(DAT_001195e4 & 0x100) != 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" (( "(") (binary_expression "DAT_001195e4 & 0x100" (identifier "DAT_001195e4") (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);\n          printf(pcVar5,param_2);\n        }" ({ "{") (expression_statement "pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);" (assignment_expression "pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5)" (identifier "pcVar5") (= "=") (cast_expression "(char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","[find_call] 0x%lx: jalr\n",5)" (identifier "dcgettext") (argument_list "("gprof","[find_call] 0x%lx: jalr\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""[find_call] 0x%lx: jalr\n"" (" """) (string_content "[find_call] 0x%lx: jalr") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(pcVar5,param_2);" (call_expression "printf(pcVar5,param_2)" (identifier "printf") (argument_list "(pcVar5,param_2)" (( "(") (identifier "pcVar5") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00104520(param_1,&DAT_00119960,0);" (call_expression "FUN_00104520(param_1,&DAT_00119960,0)" (identifier "FUN_00104520") (argument_list "(param_1,&DAT_00119960,0)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_00119960" (& "&") (identifier "DAT_00119960")) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_0010ddca:\n      param_2 = param_2 + 4;" (statement_identifier "LAB_0010ddca") (: ":") (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" (identifier "param_2") (= "=") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4"))) (; ";"))) (if_statement "if (param_3 <= param_2) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_3 <= param_2)" (( "(") (binary_expression "param_3 <= param_2" (identifier "param_3") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (if_statement "if ((DAT_001195e4 & 0x100) != 0) {\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }" (if "if") (parenthesized_expression "((DAT_001195e4 & 0x100) != 0)" (( "(") (binary_expression "(DAT_001195e4 & 0x100) != 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" (( "(") (binary_expression "DAT_001195e4 & 0x100" (identifier "DAT_001195e4") (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);\n      printf(pcVar5,param_2);\n    }" ({ "{") (expression_statement "pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);" (assignment_expression "pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5)" (identifier "pcVar5") (= "=") (cast_expression "(char *)dcgettext("gprof","[find_call] 0x%lx: jal",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","[find_call] 0x%lx: jal",5)" (identifier "dcgettext") (argument_list "("gprof","[find_call] 0x%lx: jal",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""[find_call] 0x%lx: jal"" (" """) (string_content "[find_call] 0x%lx: jal") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(pcVar5,param_2);" (call_expression "printf(pcVar5,param_2)" (identifier "printf") (argument_list "(pcVar5,param_2)" (( "(") (identifier "pcVar5") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);" (assignment_expression "uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2)" (identifier "uVar6") (= "=") (call_expression "(ulong)((uVar2 & 0x3ffffff) << 2)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "((uVar2 & 0x3ffffff) << 2)" (( "(") (binary_expression "(uVar2 & 0x3ffffff) << 2" (parenthesized_expression "(uVar2 & 0x3ffffff)" (( "(") (binary_expression "uVar2 & 0x3ffffff" (identifier "uVar2") (& "&") (number_literal "0x3ffffff")) () ")")) (<< "<<") (number_literal "2")) () ")")))) (; ";")) (expression_statement "uVar7 = uVar6 | param_2 & 0xfffffffff0000000;" (assignment_expression "uVar7 = uVar6 | param_2 & 0xfffffffff0000000" (identifier "uVar7") (= "=") (binary_expression "uVar6 | param_2 & 0xfffffffff0000000" (identifier "uVar6") (| "|") (binary_expression "param_2 & 0xfffffffff0000000" (identifier "param_2") (& "&") (number_literal "0xfffffffff0000000")))) (; ";")) (expression_statement "iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);" (assignment_expression "iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000)" (identifier "iVar3") (= "=") (call_expression "FUN_0010b480(uVar6 | param_2 & 0xf0000000)" (identifier "FUN_0010b480") (argument_list "(uVar6 | param_2 & 0xf0000000)" (( "(") (binary_expression "uVar6 | param_2 & 0xf0000000" (identifier "uVar6") (| "|") (binary_expression "param_2 & 0xf0000000" (identifier "param_2") (& "&") (number_literal "0xf0000000"))) () ")")))) (; ";")) (if_statement "if ((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }" (if "if") (parenthesized_expression "((iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0))" (( "(") (binary_expression "(iVar3 != 0) &&\n       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)" (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)" (( "(") (comma_expression "puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0" (assignment_expression "puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7)" (identifier "puVar4") (= "=") (cast_expression "(ulong *)FUN_0010c540(&DAT_00119b30,uVar7)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0010c540(&DAT_00119b30,uVar7)" (identifier "FUN_0010c540") (argument_list "(&DAT_00119b30,uVar7)" (( "(") (pointer_expression "&DAT_00119b30" (& "&") (identifier "DAT_00119b30")) (, ",") (identifier "uVar7") () ")"))))) (, ",") (binary_expression "puVar4 != (ulong *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n      if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }\n      FUN_00104520(param_1,puVar4,0);\n      goto LAB_0010ddca;\n    }" ({ "{") (if_statement "if ((DAT_001195e4 & 0x100) == 0) {\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }\n      else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }" (if "if") (parenthesized_expression "((DAT_001195e4 & 0x100) == 0)" (( "(") (binary_expression "(DAT_001195e4 & 0x100) == 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" (( "(") (binary_expression "DAT_001195e4 & 0x100" (identifier "DAT_001195e4") (& "&") (number_literal "0x100")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (uVar7 != *puVar4) goto LAB_0010ddca;\n      }" ({ "{") (if_statement "if (uVar7 != *puVar4) goto LAB_0010ddca;" (if "if") (parenthesized_expression "(uVar7 != *puVar4)" (( "(") (binary_expression "uVar7 != *puVar4" (identifier "uVar7") (!= "!=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) () ")")) (goto_statement "goto LAB_0010ddca;" (goto "goto") (statement_identifier "LAB_0010ddca") (; ";"))) (} "}")) (else_clause "else {\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }" (else "else") (compound_statement "{\n        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);\n        if (*puVar4 != uVar7) goto LAB_0010de36;\n        if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }\n      }" ({ "{") (expression_statement "printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);" (call_expression "printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2])" (identifier "printf") (argument_list "(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2])" (( "(") (string_literal "" 0x%lx\t; name=%s, addr=0x%lx"" (" """) (string_content " 0x%lx") (escape_sequence "\t") (string_content "; name=%s, addr=0x%lx") (" """)) (, ",") (identifier "uVar7") (, ",") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (if_statement "if (*puVar4 != uVar7) goto LAB_0010de36;" (if "if") (parenthesized_expression "(*puVar4 != uVar7)" (( "(") (binary_expression "*puVar4 != uVar7" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (!= "!=") (identifier "uVar7")) () ")")) (goto_statement "goto LAB_0010de36;" (goto "goto") (statement_identifier "LAB_0010de36") (; ";"))) (if_statement "if ((DAT_001195e4 & 0x100) != 0) {\n          putchar(10);\n        }" (if "if") (parenthesized_expression "((DAT_001195e4 & 0x100) != 0)" (( "(") (binary_expression "(DAT_001195e4 & 0x100) != 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" (( "(") (binary_expression "DAT_001195e4 & 0x100" (identifier "DAT_001195e4") (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          putchar(10);\n        }" ({ "{") (expression_statement "putchar(10);" (call_expression "putchar(10)" (identifier "putchar") (argument_list "(10)" (( "(") (number_literal "10") () ")"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "FUN_00104520(param_1,puVar4,0);" (call_expression "FUN_00104520(param_1,puVar4,0)" (identifier "FUN_00104520") (argument_list "(param_1,puVar4,0)" (( "(") (identifier "param_1") (, ",") (identifier "puVar4") (, ",") (number_literal "0") () ")"))) (; ";")) (goto_statement "goto LAB_0010ddca;" (goto "goto") (statement_identifier "LAB_0010ddca") (; ";")) (} "}"))) (labeled_statement "LAB_0010de36:\n    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;" (statement_identifier "LAB_0010de36") (: ":") (if_statement "if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;" (if "if") (parenthesized_expression "((DAT_001195e4 & 0x100) == 0)" (( "(") (binary_expression "(DAT_001195e4 & 0x100) == 0" (parenthesized_expression "(DAT_001195e4 & 0x100)" (( "(") (binary_expression "DAT_001195e4 & 0x100" (identifier "DAT_001195e4") (& "&") (number_literal "0x100")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0010ddca;" (goto "goto") (statement_identifier "LAB_0010ddca") (; ";")))) (expression_statement "param_2 = param_2 + 4;" (assignment_expression "param_2 = param_2 + 4" (identifier "param_2") (= "=") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "puts("\tbut it\'s a botch");" (call_expression "puts("\tbut it\'s a botch")" (identifier "puts") (argument_list "("\tbut it\'s a botch")" (( "(") (string_literal ""\tbut it\'s a botch"" (" """) (escape_sequence "\t") (string_content "but it") (escape_sequence "\'") (string_content "s a botch") (" """)) () ")"))) (; ";")) (if_statement "if (param_3 <= param_2) {\n      return;\n    }" (if "if") (parenthesized_expression "(param_3 <= param_2)" (( "(") (binary_expression "param_3 <= param_2" (identifier "param_3") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

void function_1(type_1 *parent,type_2 var_5,type_2 var_6)

{
  int var_10;
  type_2 bVar2;
  type_1 *var_12;
  char *pcVar3;
  char *__format;
  type_3 var_7;
  type_4 var_13;
  
  if (function_1::inited == 0) {
    mips_find_call::inited = 1;
    var_1(&indirect_child);
    indirect_child.name = (char *)var_2("gprof","<indirect child>",5);
    indirect_child.cg.prop.fract = DAT_001104c0;
    indirect_child.cg.cyc.head = &indirect_child;
  }
  if ((var_3 & 0x100U) != 0) {
    pcVar3 = parent->name;
    __format = (char *)var_2("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);
    var_4(__format,pcVar3,var_5,var_6);
  }
  if (var_5 < var_6) {
    do {
      while( true ) {
        bVar2 = (*core_bfd->xvec->bfd_getx32)
                          ((void *)((var_5 - core_text_sect->vma) + (long)core_text_space));
        var_7 = (type_3)bVar2;
        if ((var_7 & 0xfc000000) == 0xc000000) break;
        if ((var_7 & 0xfc00f83f) == 0xf809) {
          if ((var_3 & 0x100U) != 0) {
            pcVar3 = (char *)var_2("gprof","[find_call] 0x%lx: jalr\n",5);
            var_4(pcVar3,var_5);
          }
          var_8(parent,&indirect_child,0);
        }
LAB_0010ddca:
        var_5 = var_5 + 4;
        if (var_6 <= var_5) {
          return;
        }
      }
      if ((var_3 & 0x100U) != 0) {
        pcVar3 = (char *)var_2("gprof","[find_call] 0x%lx: jal",5);
        var_4(pcVar3,var_5);
      }
      var_7 = (var_7 & 0x3ffffff) << 2;
      var_13 = (type_4)var_7 | var_5 & 0xfffffffff0000000;
      var_10 = var_9(var_7 | (type_3)var_5 & 0xf0000000);
      if ((var_10 != 0) && (var_12 = var_11(&symtab,var_13), var_12 != (type_1 *)0x0)) {
        if ((var_3 & 0x100U) == 0) {
          if (var_13 != var_12->addr) goto LAB_0010ddca;
        }
        else {
          var_4(" 0x%lx\t; name=%s, addr=0x%lx",var_13,var_12->name);
          if (var_12->addr != var_13) goto LAB_0010de36;
          if ((var_3 & 0x100U) != 0) {
            var_14(10);
          }
        }
        var_8(parent,var_12,0);
        goto LAB_0010ddca;
      }
LAB_0010de36:
      if ((var_3 & 0x100U) == 0) goto LAB_0010ddca;
      var_5 = var_5 + 4;
      var_15("\tbut it\'s a botch");
    } while (var_5 < var_6);
  }
  return;
}


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

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void MASKED(long param_1,ulong param_2,ulong param_3)

{
  undefined8 uVar1;
  uint uVar2;
  int iVar3;
  ulong *puVar4;
  char *pcVar5;
  ulong uVar6;
  ulong uVar7;
  
  if (DAT_00119940 == 0) {
    DAT_00119940 = 1;
    FUN_0010bfe0(&DAT_00119960);
    _DAT_00119970 = dcgettext("gprof","<indirect child>",5);
    _DAT_00119a78 = DAT_001104c0;
    _DAT_00119a98 = &DAT_00119960;
  }
  if ((DAT_001195e4 & 0x100) != 0) {
    uVar1 = *(undefined8 *)(param_1 + 0x10);
    pcVar5 = (char *)dcgettext("gprof","[find_call] %s: 0x%lx to 0x%lx\n",5);
    printf(pcVar5,uVar1,param_2,param_3);
  }
  if (param_3 <= param_2) {
    return;
  }
  do {
    while (uVar2 = (**(code **)(*(long *)(DAT_00119ad8 + 8) + 0x38))
                             ((param_2 - *(long *)(DAT_00119af8 + 0x28)) + DAT_00119ae0),
          (uVar2 & 0xfc000000) != 0xc000000) {
      if ((uVar2 & 0xfc00f83f) == 0xf809) {
        if ((DAT_001195e4 & 0x100) != 0) {
          pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jalr\n",5);
          printf(pcVar5,param_2);
        }
        FUN_00104520(param_1,&DAT_00119960,0);
      }
LAB_0010ddca:
      param_2 = param_2 + 4;
      if (param_3 <= param_2) {
        return;
      }
    }
    if ((DAT_001195e4 & 0x100) != 0) {
      pcVar5 = (char *)dcgettext("gprof","[find_call] 0x%lx: jal",5);
      printf(pcVar5,param_2);
    }
    uVar6 = (ulong)((uVar2 & 0x3ffffff) << 2);
    uVar7 = uVar6 | param_2 & 0xfffffffff0000000;
    iVar3 = FUN_0010b480(uVar6 | param_2 & 0xf0000000);
    if ((iVar3 != 0) &&
       (puVar4 = (ulong *)FUN_0010c540(&DAT_00119b30,uVar7), puVar4 != (ulong *)0x0)) {
      if ((DAT_001195e4 & 0x100) == 0) {
        if (uVar7 != *puVar4) goto LAB_0010ddca;
      }
      else {
        printf(" 0x%lx\t; name=%s, addr=0x%lx",uVar7,puVar4[2]);
        if (*puVar4 != uVar7) goto LAB_0010de36;
        if ((DAT_001195e4 & 0x100) != 0) {
          putchar(10);
        }
      }
      FUN_00104520(param_1,puVar4,0);
      goto LAB_0010ddca;
    }
LAB_0010de36:
    if ((DAT_001195e4 & 0x100) == 0) goto LAB_0010ddca;
    param_2 = param_2 + 4;
    puts("\tbut it\'s a botch");
    if (param_3 <= param_2) {
      return;
    }
  } while( true );
}

