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

void hist_read_rec(FILE *ifp,char *filename)

{
  histogram *phVar1;
  int iVar2;
  size_t sVar3;
  bfd_vma bVar4;
  int *piVar5;
  char *pcVar6;
  char *pcVar7;
  uint uVar8;
  char *pcVar9;
  char *pcVar10;
  bfd_vma *p_highpc;
  histogram *phVar11;
  uchar *buf;
  char cVar12;
  uint *puVar13;
  double dVar14;
  double dVar15;
  undefined8 uVar16;
  UNIT count;
  bfd_vma lowpc;
  bfd_vma highpc;
  char local_38 [4];
  char local_34 [4];
  char local_30 [2];
  char local_2e;
  histogram n_record;
  
  uVar8 = num_histograms;
  puVar13 = &num_histograms;
  iVar2 = gmon_io_read_vma(ifp,&n_record.lowpc);
  if (((iVar2 != 0) || (iVar2 = gmon_io_read_vma(ifp,&n_record.highpc), iVar2 != 0)) ||
     (iVar2 = gmon_io_read_32(ifp,&n_record.num_bins), iVar2 != 0)) {
LAB_0001bdea:
    pcVar6 = whoami;
    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);
    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6,filename);
                    /* WARNING: Subroutine does not return */
    done(1);
  }
  iVar2 = gmon_io_read_32(ifp,&lowpc);
  if (iVar2 != 0) goto LAB_0001bdea;
  p_highpc = &highpc;
  iVar2 = gmon_io_read(ifp,(char *)p_highpc,0xf);
  if (iVar2 != 0) goto LAB_0001bdea;
  buf = count;
  iVar2 = gmon_io_read(ifp,(char *)buf,1);
  phVar11 = (histogram *)n_record.highpc;
  bVar4 = n_record.lowpc;
  if (iVar2 != 0) goto LAB_0001bdea;
  dVar14 = (double)(ulonglong)n_record.num_bins;
  dVar15 = (double)(n_record.highpc - n_record.lowpc >> 1) / (double)(longlong)dVar14;
  if (uVar8 == 0) {
    hz = lowpc;
    hist_dimension[0] = (undefined1)highpc;
    hist_dimension[1] = highpc._1_1_;
    hist_dimension[2] = highpc._2_1_;
    hist_dimension[3] = highpc._3_1_;
    hist_dimension[4] = local_38[0];
    hist_dimension[5] = local_38[1];
    hist_dimension[6] = local_38[2];
    hist_dimension[7] = local_38[3];
    hist_dimension[8] = local_34[0];
    hist_dimension[9] = local_34[1];
    hist_dimension[10] = local_34[2];
    hist_dimension[0xb] = local_34[3];
    hist_dimension[0xc] = local_30[0];
    hist_dimension[0xd] = local_30[1];
    hist_dimension[0xe] = local_2e;
    hist_dimension_abbrev = count[0];
    pcVar6 = (char *)0x0;
    hist_scale = dVar15;
  }
  else {
    pcVar6 = hist_dimension;
    iVar2 = strncmp((char *)p_highpc,hist_dimension,0xf);
    pcVar10 = whoami;
    pcVar7 = pcVar10;
    if (iVar2 != 0) {
      pcVar6 = (char *)dcgettext("gprof",
                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"
                                 ,5,&whoami);
      pcVar9 = hist_dimension;
      filename = pcVar10;
LAB_0001bdd2:
      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,pcVar9,pcVar7,p_highpc);
                    /* WARNING: Subroutine does not return */
      done(1);
    }
    if (count[0] != hist_dimension_abbrev) {
      cVar12 = hist_dimension_abbrev;
      pcVar6 = (char *)dcgettext("gprof",
                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"
                                 ,5,&whoami,count[0],hist_dimension_abbrev);
      p_highpc = (bfd_vma *)(int)(char)count[0];
      pcVar9 = (char *)(int)cVar12;
      filename = pcVar10;
      goto LAB_0001bdd2;
    }
    dVar14 = DAT_00022e30;
    if (DAT_00022e30 < ABS(hist_scale - dVar15)) {
      pcVar7 = "%s: different scales in histogram records";
      goto LAB_0001be3b;
    }
  }
  if (*puVar13 != 0) {
    uVar8 = 0;
    phVar1 = histograms;
    do {
      pcVar6 = (char *)phVar1;
      if ((((histogram *)pcVar6)->lowpc == bVar4) &&
         ((histogram *)((histogram *)pcVar6)->highpc == phVar11)) goto LAB_0001bbb9;
      uVar8 = uVar8 + 1;
      phVar1 = (histogram *)((int)pcVar6 + 0x10);
    } while (uVar8 != *puVar13);
  }
  lowpc = bVar4;
  highpc = (bfd_vma)phVar11;
  hist_clip_symbol_address(&lowpc,p_highpc);
  if (lowpc == highpc) {
    histograms = (histogram *)xrealloc(histograms,(*puVar13 + 1) * 0x10);
    phVar11 = histograms + *puVar13;
    phVar11->lowpc = n_record.lowpc;
    phVar11->highpc = n_record.highpc;
    phVar11->num_bins = n_record.num_bins;
    phVar11->sample = n_record.sample;
    pcVar6 = (char *)(histograms + *puVar13);
    *puVar13 = *puVar13 + 1;
    piVar5 = (int *)xmalloc(((histogram *)pcVar6)->num_bins << 2);
    ((histogram *)pcVar6)->sample = piVar5;
    memset(piVar5,0,((histogram *)pcVar6)->num_bins * 4);
LAB_0001bbb9:
    piVar5 = &debug_level;
    uVar8 = ((histogram *)pcVar6)->num_bins;
    if (((byte)debug_level & 0x40) != 0) {
      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",((histogram *)pcVar6)->lowpc,
             ((histogram *)pcVar6)->highpc,uVar8);
      uVar8 = ((histogram *)pcVar6)->num_bins;
    }
    pcVar9 = (char *)0x0;
    uVar16 = 0x22d79;
    if (uVar8 != 0) {
      do {
        while( true ) {
          sVar3 = fread(buf,2,1,(FILE *)ifp);
          pcVar10 = whoami;
          if (sVar3 != 1) {
            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;
            p_highpc = (bfd_vma *)0x5;
            pcVar6 = (char *)dcgettext("gprof",
                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);
            goto LAB_0001bdd2;
          }
          bVar4 = (*core_bfd->xvec->bfd_getx16)(buf);
          iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9];
          ((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2;
          if ((*(byte *)piVar5 & 0x40) == 0) break;
          uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9;
          pcVar9 = pcVar9 + 1;
          printf((char *)uVar16,
                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2);
          if ((char *)((histogram *)pcVar6)->num_bins <= pcVar9) {
            return;
          }
        }
        pcVar9 = pcVar9 + 1;
      } while (pcVar9 < (char *)((histogram *)pcVar6)->num_bins);
    }
    return;
  }
  pcVar7 = "%s: overlapping histogram records\n";
  phVar11 = (histogram *)pcVar6;
LAB_0001be3b:
  pcVar6 = whoami;
  pcVar7 = (char *)dcgettext("gprof",pcVar7,5,phVar11,buf,puVar13,dVar14);
  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6);
                    /* WARNING: Subroutine does not return */
  done(1);
}



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

void FUN_0001ba20(FILE *param_1,int param_2)

{
  uint uVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  size_t sVar5;
  int *piVar6;
  void *__s;
  char *pcVar7;
  int iVar8;
  char *pcVar9;
  char *pcVar10;
  int **__s1;
  int *piVar11;
  char cVar12;
  int *piVar13;
  byte *pbVar14;
  double dVar15;
  double dVar16;
  undefined8 uVar17;
  char local_42 [2];
  int *local_40;
  int *local_3c;
  char local_38 [4];
  undefined4 local_34;
  undefined2 local_30;
  undefined1 local_2e;
  int *local_2c;
  int *local_28;
  uint local_24;
  int local_20;
  undefined4 uStack_14;
  
  iVar8 = DAT_0002d49c;
  uStack_14 = 0x1ba29;
  piVar13 = &DAT_0002d49c;
  iVar3 = FUN_000199f0(param_1,&local_2c);
  if (((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||
     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)) {
LAB_0001bdea:
    iVar8 = DAT_0002d494;
    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);
    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);
                    /* WARNING: Subroutine does not return */
    FUN_0001a990(1);
  }
  iVar3 = FUN_00019990(param_1,&local_40);
  if (iVar3 != 0) goto LAB_0001bdea;
  __s1 = &local_3c;
  iVar3 = FUN_00019a70(param_1,__s1,0xf);
  if (iVar3 != 0) goto LAB_0001bdea;
  pcVar7 = local_42;
  iVar3 = FUN_00019a70(param_1,pcVar7,1);
  piVar11 = local_28;
  piVar6 = local_2c;
  if (iVar3 != 0) goto LAB_0001bdea;
  dVar15 = (double)(ulonglong)local_24;
  dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15;
  if (iVar8 == 0) {
    DAT_0002d15c = local_40;
    s_seconds_0002c4a8._0_4_ = local_3c;
    s_seconds_0002c4a8[4] = local_38[0];
    s_seconds_0002c4a8[5] = local_38[1];
    s_seconds_0002c4a8[6] = local_38[2];
    s_seconds_0002c4a8[7] = local_38[3];
    DAT_0002c4b0 = local_34;
    DAT_0002c4b4 = local_30;
    DAT_0002c4b6 = local_2e;
    DAT_0002c4a4 = local_42[0];
    pcVar10 = (char *)0x0;
    DAT_0002d4a0 = dVar16;
  }
  else {
    pcVar10 = s_seconds_0002c4a8;
    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);
    iVar3 = DAT_0002d494;
    iVar8 = iVar3;
    if (iVar4 != 0) {
      pcVar7 = (char *)dcgettext("gprof",
                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"
                                 ,5,&DAT_0002d494);
      pcVar9 = s_seconds_0002c4a8;
      param_2 = iVar3;
LAB_0001bdd2:
      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);
                    /* WARNING: Subroutine does not return */
      FUN_0001a990(1);
    }
    if (local_42[0] != DAT_0002c4a4) {
      cVar12 = DAT_0002c4a4;
      pcVar7 = (char *)dcgettext("gprof",
                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"
                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);
      __s1 = (int **)(int)local_42[0];
      pcVar9 = (char *)(int)cVar12;
      param_2 = iVar3;
      goto LAB_0001bdd2;
    }
    dVar15 = DAT_00022e30;
    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {
      pcVar9 = "%s: different scales in histogram records";
      goto LAB_0001be3b;
    }
  }
  if (*piVar13 != 0) {
    iVar8 = 0;
    piVar2 = DAT_0002d498;
    do {
      pcVar10 = (char *)piVar2;
      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))
      goto LAB_0001bbb9;
      iVar8 = iVar8 + 1;
      piVar2 = (int *)((int)pcVar10 + 0x10);
    } while (iVar8 != *piVar13);
  }
  local_40 = piVar6;
  local_3c = piVar11;
  FUN_0001b950(&local_40,__s1);
  if (local_40 == local_3c) {
    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);
    piVar6 = DAT_0002d498 + *piVar13 * 4;
    *piVar6 = (int)local_2c;
    piVar6[1] = (int)local_28;
    piVar6[2] = local_24;
    piVar6[3] = local_20;
    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);
    *piVar13 = *piVar13 + 1;
    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);
    *(void **)((int)pcVar10 + 0xc) = __s;
    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);
LAB_0001bbb9:
    pbVar14 = &DAT_0002d158;
    iVar8 = *(int *)((int)pcVar10 + 8);
    if ((DAT_0002d158 & 0x40) != 0) {
      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,
             *(int *)((int)pcVar10 + 4),iVar8);
      iVar8 = *(int *)((int)pcVar10 + 8);
    }
    pcVar9 = (char *)0x0;
    uVar17 = 0x22d79;
    if (iVar8 != 0) {
      do {
        while( true ) {
          sVar5 = fread(pcVar7,2,1,param_1);
          iVar3 = DAT_0002d494;
          if (sVar5 != 1) {
            iVar8 = *(int *)((int)pcVar10 + 8);
            __s1 = (int **)0x5;
            pcVar7 = (char *)dcgettext("gprof",
                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);
            goto LAB_0001bdd2;
          }
          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);
          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);
          iVar8 = iVar8 + *piVar13;
          *piVar13 = iVar8;
          if ((*pbVar14 & 0x40) == 0) break;
          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;
          pcVar9 = pcVar9 + 1;
          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);
          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {
            return;
          }
        }
        pcVar9 = pcVar9 + 1;
      } while (pcVar9 < *(char **)((int)pcVar10 + 8));
    }
    return;
  }
  pcVar9 = "%s: overlapping histogram records\n";
  piVar11 = (int *)pcVar10;
LAB_0001be3b:
  iVar8 = DAT_0002d494;
  pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15);
  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8);
                    /* WARNING: Subroutine does not return */
  FUN_0001a990(1);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013030
ADD EBX,0x105d7
SUB ESP,0x64
LEA EAX,[EBX + 0x149c]
MOV dword ptr [ESP + 0xc],EAX
MOV EDI,dword ptr [EAX]
LEA EAX,[ESP + 0x48]
PUSH EAX
PUSH dword ptr [ESP + 0x7c]
CALL 0x000199f0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001bdea
SUB ESP,0x8
LEA EAX,[ESP + 0x4c]
PUSH EAX
PUSH dword ptr [ESP + 0x7c]
CALL 0x000199f0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001bdea
SUB ESP,0x8
LEA EAX,[ESP + 0x50]
PUSH EAX
PUSH dword ptr [ESP + 0x7c]
CALL 0x00019990
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001bdea
SUB ESP,0x8
LEA EAX,[ESP + 0x34]
MOV dword ptr [ESP + 0x1c],EAX
PUSH EAX
PUSH dword ptr [ESP + 0x7c]
CALL 0x00019990
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001bdea
SUB ESP,0x4
PUSH 0xf
LEA EAX,[ESP + 0x38]
MOV dword ptr [ESP + 0x18],EAX
PUSH EAX
PUSH dword ptr [ESP + 0x7c]
CALL 0x00019a70
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001bdea
SUB ESP,0x4
PUSH 0x1
LEA EAX,[ESP + 0x32]
MOV dword ptr [ESP + 0x8],EAX
PUSH EAX
PUSH dword ptr [ESP + 0x7c]
CALL 0x00019a70
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001bdea
MOV EBP,dword ptr [ESP + 0x44]
MOV ESI,dword ptr [ESP + 0x40]
XOR EDX,EDX
MOV dword ptr [ESP + 0xc],EDX
MOV EAX,EBP
SUB EAX,ESI
SHR EAX,0x1
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x48]
FILD dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x8],EAX
FILD qword ptr [ESP + 0x8]
FDIVP
TEST EDI,EDI
JZ 0x0001bc70
FSTP qword ptr [ESP + 0x8]
LEA EDI,[EBX + 0x4a8]
SUB ESP,0x4
PUSH 0xf
PUSH EDI
PUSH dword ptr [ESP + 0x1c]
CALL 0x00012450
ADD ESP,0x10
FLD qword ptr [ESP + 0x8]
TEST EAX,EAX
JNZ 0x0001be79
MOVZX ECX,byte ptr [ESP + 0x2a]
MOVZX EDX,byte ptr [EBX + 0x4a4]
CMP CL,DL
JNZ 0x0001bea9
LEA EAX,[EBX + 0x14a0]
FSUBR qword ptr [EAX]
FABS
FLD qword ptr [EBX + 0xffff6e30]
FST qword ptr [ESP + 0x8]
FXCH
FCOMIP ST0,ST1
FSTP ST0
JA 0x0001be66
MOV EAX,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [EAX]
TEST ECX,ECX
JZ 0x0001bcf0
LEA EAX,[EBX + 0x1498]
XOR EDX,EDX
MOV EAX,dword ptr [EAX]
JMP 0x0001bbae
ADD EDX,0x1
ADD EAX,0x10
CMP EDX,ECX
JZ 0x0001bcf0
MOV EDI,EAX
CMP dword ptr [EAX],ESI
JNZ 0x0001bba0
CMP dword ptr [EAX + 0x4],EBP
JNZ 0x0001bba0
LEA ECX,[EBX + 0x1158]
MOV EAX,dword ptr [EDI + 0x8]
MOV dword ptr [ESP + 0x4],ECX
TEST byte ptr [ECX],0x40
JNZ 0x0001bcd0
LEA ECX,[EBX + 0xffff6d79]
XOR ESI,ESI
LEA EBP,[EBX + 0x1478]
MOV dword ptr [ESP + 0x8],ECX
TEST EAX,EAX
JNZ 0x0001bbf8
JMP 0x0001bc65
ADD ESI,0x1
CMP dword ptr [EDI + 0x8],ESI
JBE 0x0001bc65
PUSH dword ptr [ESP + 0x70]
PUSH 0x1
PUSH 0x2
PUSH dword ptr [ESP + 0xc]
CALL 0x00012200
ADD ESP,0x10
CMP EAX,0x1
JNZ 0x0001bda3
MOV EAX,dword ptr [EBP]
SUB ESP,0xc
MOV EAX,dword ptr [EAX + 0x4]
PUSH dword ptr [ESP + 0xc]
CALL dword ptr [EAX + 0x34]
MOV EDX,dword ptr [EDI + 0xc]
MOV ECX,dword ptr [ESP + 0x14]
ADD ESP,0x10
LEA EDX,[EDX + ESI*0x4]
ADD EAX,dword ptr [EDX]
MOV dword ptr [EDX],EAX
TEST byte ptr [ECX],0x40
JZ 0x0001bbf0
SUB ESP,0x4
MOV ECX,dword ptr [EDI]
XOR EDX,EDX
PUSH EAX
MOV EAX,dword ptr [EDI + 0x4]
SUB EAX,ECX
IMUL EAX,ESI
ADD ESI,0x1
DIV dword ptr [EDI + 0x8]
ADD EAX,ECX
PUSH EAX
PUSH dword ptr [ESP + 0x14]
CALL 0x00012070
ADD ESP,0x10
CMP dword ptr [EDI + 0x8],ESI
JA 0x0001bbf8
ADD ESP,0x5c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0x115c]
MOV EDX,dword ptr [ESP + 0x2c]
MOV dword ptr [EAX],EDX
MOV EAX,dword ptr [ESP + 0x30]
MOV dword ptr [EBX + 0x4a8],EAX
MOV EAX,dword ptr [ESP + 0x34]
MOV dword ptr [EBX + 0x4ac],EAX
MOV EAX,dword ptr [ESP + 0x38]
MOV dword ptr [EBX + 0x4b0],EAX
MOVZX EAX,word ptr [ESP + 0x3c]
MOV word ptr [EBX + 0x4b4],AX
MOVZX EAX,byte ptr [ESP + 0x3e]
MOV byte ptr [EBX + 0x4b6],AL
MOVZX EAX,byte ptr [ESP + 0x2a]
MOV byte ptr [EBX + 0x4a4],AL
LEA EAX,[EBX + 0x14a0]
FSTP qword ptr [EAX]
JMP 0x0001bb81
PUSH EAX
LEA EAX,[EBX + 0xffff6c44]
PUSH dword ptr [EDI + 0x4]
PUSH dword ptr [EDI]
PUSH EAX
CALL 0x00012070
MOV EAX,dword ptr [EDI + 0x8]
ADD ESP,0x10
JMP 0x0001bbcf
MOV dword ptr [ESP + 0x2c],ESI
SUB ESP,0x8
MOV dword ptr [ESP + 0x38],EBP
PUSH dword ptr [ESP + 0x18]
PUSH dword ptr [ESP + 0x20]
CALL 0x0001b950
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x30]
CMP dword ptr [ESP + 0x2c],EAX
JNZ 0x0001be2a
SUB ESP,0x8
LEA ESI,[EBX + 0x1498]
MOV EDI,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EDI]
MOV dword ptr [ESP + 0xc],EAX
ADD EAX,0x1
SHL EAX,0x4
PUSH EAX
PUSH dword ptr [ESI]
CALL 0x00012160
MOV ECX,dword ptr [EDI]
MOV dword ptr [ESI],EAX
MOV EDX,ECX
MOV dword ptr [ESP + 0x14],ECX
MOV ECX,EDI
SHL EDX,0x4
ADD EAX,EDX
MOV EDX,dword ptr [ESP + 0x50]
MOV dword ptr [EAX],EDX
MOV EDX,dword ptr [ESP + 0x54]
MOV dword ptr [EAX + 0x4],EDX
MOV EDX,dword ptr [ESP + 0x58]
MOV dword ptr [EAX + 0x8],EDX
MOV EDX,dword ptr [ESP + 0x5c]
MOV dword ptr [EAX + 0xc],EDX
MOV EAX,dword ptr [EDI]
MOV EDI,EAX
ADD EAX,0x1
SHL EDI,0x4
ADD EDI,dword ptr [ESI]
MOV dword ptr [ECX],EAX
MOV EAX,dword ptr [EDI + 0x8]
SHL EAX,0x2
MOV dword ptr [ESP],EAX
CALL 0x000121d0
MOV ESI,dword ptr [EDI + 0x8]
ADD ESP,0xc
MOV dword ptr [EDI + 0xc],EAX
LEA EDX,[ESI*0x4 + 0x0]
PUSH EDX
PUSH 0x0
PUSH EAX
CALL 0x00012330
ADD ESP,0x10
JMP 0x0001bbb9
LEA EAX,[EBX + 0x1494]
SUB ESP,0x4
MOV EBP,dword ptr [EDI + 0x8]
MOV EDI,dword ptr [EAX]
LEA EAX,[EBX + 0xffff6c7c]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
POP EDX
POP ECX
PUSH EBP
PUSH ESI
PUSH dword ptr [ESP + 0x84]
PUSH EDI
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffcc]
PUSH dword ptr [EAX]
CALL 0x00012310
ADD ESP,0x14
PUSH 0x1
CALL 0x0001a990
LEA EAX,[EBX + 0x1494]
SUB ESP,0x4
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xffff5058]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
PUSH dword ptr [ESP + 0x84]
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffcc]
PUSH dword ptr [EAX]
CALL 0x00012310
ADD ESP,0x14
PUSH 0x1
CALL 0x0001a990
LEA EAX,[EBX + 0x1494]
MOV ESI,dword ptr [EAX]
PUSH EDI
LEA EAX,[EBX + 0xffff6c20]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
ADD ESP,0xc
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffcc]
PUSH dword ptr [EAX]
CALL 0x00012310
MOV dword ptr [ESP],0x1
CALL 0x0001a990
LEA EAX,[EBX + 0x1494]
MOV ESI,dword ptr [EAX]
PUSH EBP
LEA EAX,[EBX + 0xffff6bf4]
PUSH 0x5
JMP 0x0001be3b
FSTP ST0
LEA EAX,[EBX + 0x1494]
MOV ESI,dword ptr [EAX]
PUSH EAX
LEA EAX,[EBX + 0xffff6b4c]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
ADD ESP,0xc
PUSH dword ptr [ESP + 0x14]
PUSH ESI
PUSH EDI
PUSH ESI
PUSH ESI
JMP 0x0001bdd2
FSTP ST0
LEA EAX,[EBX + 0x1494]
MOV byte ptr [ESP + 0x4],DL
MOV byte ptr [ESP],CL
MOV ESI,dword ptr [EAX]
PUSH EAX
LEA EAX,[EBX + 0xffff6b9c]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
ADD ESP,0xc
MOVSX ECX,byte ptr [ESP + 0x4]
PUSH ECX
PUSH ESI
MOVSX EDX,byte ptr [ESP + 0x10]
PUSH EDX
PUSH ESI
PUSH ESI
JMP 0x0001bdd2
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001ba20(FILE *param_1,int param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  size_t sVar5;\n  int *piVar6;\n  void *__s;\n  char *pcVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int **__s1;\n  int *piVar11;\n  char cVar12;\n  int *piVar13;\n  byte *pbVar14;\n  double dVar15;\n  double dVar16;\n  undefined8 uVar17;\n  char local_42 [2];\n  int *local_40;\n  int *local_3c;\n  char local_38 [4];\n  undefined4 local_34;\n  undefined2 local_30;\n  undefined1 local_2e;\n  int *local_2c;\n  int *local_28;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar8 = DAT_0002d49c;\n  uStack_14 = 0x1ba29;\n  piVar13 = &DAT_0002d49c;\n  iVar3 = FUN_000199f0(param_1,&local_2c);\n  if (((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)) {\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    /* WARNING: Subroutine does not return */\n    FUN_0001a990(1);\n  }\n  iVar3 = FUN_00019990(param_1,&local_40);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  __s1 = &local_3c;\n  iVar3 = FUN_00019a70(param_1,__s1,0xf);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  pcVar7 = local_42;\n  iVar3 = FUN_00019a70(param_1,pcVar7,1);\n  piVar11 = local_28;\n  piVar6 = local_2c;\n  if (iVar3 != 0) goto LAB_0001bdea;\n  dVar15 = (double)(ulonglong)local_24;\n  dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15;\n  if (iVar8 == 0) {\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }\n  else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }\n  if (*piVar13 != 0) {\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }\n  local_40 = piVar6;\n  local_3c = piVar11;\n  FUN_0001b950(&local_40,__s1);\n  if (local_40 == local_3c) {\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }\n  pcVar9 = "%s: overlapping histogram records\n";\n  piVar11 = (int *)pcVar10;\nLAB_0001be3b:\n  iVar8 = DAT_0002d494;\n  pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15);\n  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8);\n                    /* WARNING: Subroutine does not return */\n  FUN_0001a990(1);\n}\n\n" comment (function_definition "void FUN_0001ba20(FILE *param_1,int param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  size_t sVar5;\n  int *piVar6;\n  void *__s;\n  char *pcVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int **__s1;\n  int *piVar11;\n  char cVar12;\n  int *piVar13;\n  byte *pbVar14;\n  double dVar15;\n  double dVar16;\n  undefined8 uVar17;\n  char local_42 [2];\n  int *local_40;\n  int *local_3c;\n  char local_38 [4];\n  undefined4 local_34;\n  undefined2 local_30;\n  undefined1 local_2e;\n  int *local_2c;\n  int *local_28;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar8 = DAT_0002d49c;\n  uStack_14 = 0x1ba29;\n  piVar13 = &DAT_0002d49c;\n  iVar3 = FUN_000199f0(param_1,&local_2c);\n  if (((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)) {\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    /* WARNING: Subroutine does not return */\n    FUN_0001a990(1);\n  }\n  iVar3 = FUN_00019990(param_1,&local_40);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  __s1 = &local_3c;\n  iVar3 = FUN_00019a70(param_1,__s1,0xf);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  pcVar7 = local_42;\n  iVar3 = FUN_00019a70(param_1,pcVar7,1);\n  piVar11 = local_28;\n  piVar6 = local_2c;\n  if (iVar3 != 0) goto LAB_0001bdea;\n  dVar15 = (double)(ulonglong)local_24;\n  dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15;\n  if (iVar8 == 0) {\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }\n  else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }\n  if (*piVar13 != 0) {\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }\n  local_40 = piVar6;\n  local_3c = piVar11;\n  FUN_0001b950(&local_40,__s1);\n  if (local_40 == local_3c) {\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }\n  pcVar9 = "%s: overlapping histogram records\n";\n  piVar11 = (int *)pcVar10;\nLAB_0001be3b:\n  iVar8 = DAT_0002d494;\n  pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15);\n  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8);\n                    /* WARNING: Subroutine does not return */\n  FUN_0001a990(1);\n}" primitive_type (function_declarator "FUN_0001ba20(FILE *param_1,int param_2)" identifier (parameter_list "(FILE *param_1,int param_2)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  size_t sVar5;\n  int *piVar6;\n  void *__s;\n  char *pcVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int **__s1;\n  int *piVar11;\n  char cVar12;\n  int *piVar13;\n  byte *pbVar14;\n  double dVar15;\n  double dVar16;\n  undefined8 uVar17;\n  char local_42 [2];\n  int *local_40;\n  int *local_3c;\n  char local_38 [4];\n  undefined4 local_34;\n  undefined2 local_30;\n  undefined1 local_2e;\n  int *local_2c;\n  int *local_28;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar8 = DAT_0002d49c;\n  uStack_14 = 0x1ba29;\n  piVar13 = &DAT_0002d49c;\n  iVar3 = FUN_000199f0(param_1,&local_2c);\n  if (((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)) {\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    /* WARNING: Subroutine does not return */\n    FUN_0001a990(1);\n  }\n  iVar3 = FUN_00019990(param_1,&local_40);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  __s1 = &local_3c;\n  iVar3 = FUN_00019a70(param_1,__s1,0xf);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  pcVar7 = local_42;\n  iVar3 = FUN_00019a70(param_1,pcVar7,1);\n  piVar11 = local_28;\n  piVar6 = local_2c;\n  if (iVar3 != 0) goto LAB_0001bdea;\n  dVar15 = (double)(ulonglong)local_24;\n  dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15;\n  if (iVar8 == 0) {\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }\n  else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }\n  if (*piVar13 != 0) {\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }\n  local_40 = piVar6;\n  local_3c = piVar11;\n  FUN_0001b950(&local_40,__s1);\n  if (local_40 == local_3c) {\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }\n  pcVar9 = "%s: overlapping histogram records\n";\n  piVar11 = (int *)pcVar10;\nLAB_0001be3b:\n  iVar8 = DAT_0002d494;\n  pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15);\n  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8);\n                    /* WARNING: Subroutine does not return */\n  FUN_0001a990(1);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "void *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int **__s1;" primitive_type (pointer_declarator "**__s1" * (pointer_declarator "*__s1" * identifier)) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "char cVar12;" primitive_type identifier ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "double dVar15;" primitive_type identifier ;) (declaration "double dVar16;" primitive_type identifier ;) (declaration "undefined8 uVar17;" type_identifier identifier ;) (declaration "char local_42 [2];" primitive_type (array_declarator "local_42 [2]" identifier [ number_literal ]) ;) (declaration "int *local_40;" primitive_type (pointer_declarator "*local_40" * identifier) ;) (declaration "int *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "char local_38 [4];" primitive_type (array_declarator "local_38 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined2 local_30;" type_identifier identifier ;) (declaration "undefined1 local_2e;" type_identifier identifier ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "iVar8 = DAT_0002d49c;" (assignment_expression "iVar8 = DAT_0002d49c" identifier = identifier) ;) (expression_statement "uStack_14 = 0x1ba29;" (assignment_expression "uStack_14 = 0x1ba29" identifier = number_literal) ;) (expression_statement "piVar13 = &DAT_0002d49c;" (assignment_expression "piVar13 = &DAT_0002d49c" identifier = (pointer_expression "&DAT_0002d49c" & identifier)) ;) (expression_statement "iVar3 = FUN_000199f0(param_1,&local_2c);" (assignment_expression "iVar3 = FUN_000199f0(param_1,&local_2c)" identifier = (call_expression "FUN_000199f0(param_1,&local_2c)" identifier (argument_list "(param_1,&local_2c)" ( identifier , (pointer_expression "&local_2c" & identifier) )))) ;) (if_statement "if (((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)) {\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    /* WARNING: Subroutine does not return */\n    FUN_0001a990(1);\n  }" if (parenthesized_expression "(((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0))" ( (binary_expression "((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)" (parenthesized_expression "((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0))" ( (binary_expression "(iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0" (assignment_expression "iVar3 = FUN_000199f0(param_1,&local_28)" identifier = (call_expression "FUN_000199f0(param_1,&local_28)" identifier (argument_list "(param_1,&local_28)" ( identifier , (pointer_expression "&local_28" & identifier) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0" (assignment_expression "iVar3 = FUN_00019990(param_1,&local_24)" identifier = (call_expression "FUN_00019990(param_1,&local_24)" identifier (argument_list "(param_1,&local_24)" ( identifier , (pointer_expression "&local_24" & identifier) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    /* WARNING: Subroutine does not return */\n    FUN_0001a990(1);\n  }" { (labeled_statement "LAB_0001bdea:\n    iVar8 = DAT_0002d494;" statement_identifier : (expression_statement "iVar8 = DAT_0002d494;" (assignment_expression "iVar8 = DAT_0002d494" identifier = identifier) ;)) (expression_statement "pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: %s: unexpected end of file\n",5)" identifier (argument_list "("gprof","%s: %s: unexpected end of file\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: %s: unexpected end of file\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2)" identifier (argument_list "(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2)" ( (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" * (cast_expression "(FILE **)PTR_stderr_0002bfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier ))) ;) comment (expression_statement "FUN_0001a990(1);" (call_expression "FUN_0001a990(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "iVar3 = FUN_00019990(param_1,&local_40);" (assignment_expression "iVar3 = FUN_00019990(param_1,&local_40)" identifier = (call_expression "FUN_00019990(param_1,&local_40)" identifier (argument_list "(param_1,&local_40)" ( identifier , (pointer_expression "&local_40" & identifier) )))) ;) (if_statement "if (iVar3 != 0) goto LAB_0001bdea;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001bdea;" goto statement_identifier ;)) (expression_statement "__s1 = &local_3c;" (assignment_expression "__s1 = &local_3c" identifier = (pointer_expression "&local_3c" & identifier)) ;) (expression_statement "iVar3 = FUN_00019a70(param_1,__s1,0xf);" (assignment_expression "iVar3 = FUN_00019a70(param_1,__s1,0xf)" identifier = (call_expression "FUN_00019a70(param_1,__s1,0xf)" identifier (argument_list "(param_1,__s1,0xf)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) goto LAB_0001bdea;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001bdea;" goto statement_identifier ;)) (expression_statement "pcVar7 = local_42;" (assignment_expression "pcVar7 = local_42" identifier = identifier) ;) (expression_statement "iVar3 = FUN_00019a70(param_1,pcVar7,1);" (assignment_expression "iVar3 = FUN_00019a70(param_1,pcVar7,1)" identifier = (call_expression "FUN_00019a70(param_1,pcVar7,1)" identifier (argument_list "(param_1,pcVar7,1)" ( identifier , identifier , number_literal )))) ;) (expression_statement "piVar11 = local_28;" (assignment_expression "piVar11 = local_28" identifier = identifier) ;) (expression_statement "piVar6 = local_2c;" (assignment_expression "piVar6 = local_2c" identifier = identifier) ;) (if_statement "if (iVar3 != 0) goto LAB_0001bdea;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001bdea;" goto statement_identifier ;)) (expression_statement "dVar15 = (double)(ulonglong)local_24;" (assignment_expression "dVar15 = (double)(ulonglong)local_24" identifier = (cast_expression "(double)(ulonglong)local_24" ( (type_descriptor "double" primitive_type) ) (cast_expression "(ulonglong)local_24" ( (type_descriptor "ulonglong" type_identifier) ) identifier))) ;) (expression_statement "dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15;" (assignment_expression "dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15" identifier = (binary_expression "(double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15" (cast_expression "(double)((uint)((int)local_28 - (int)local_2c) >> 1)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((uint)((int)local_28 - (int)local_2c) >> 1)" ( (binary_expression "(uint)((int)local_28 - (int)local_2c) >> 1" (call_expression "(uint)((int)local_28 - (int)local_2c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)local_28 - (int)local_2c)" ( (binary_expression "(int)local_28 - (int)local_2c" (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ))) >> number_literal) ))) / (cast_expression "(double)(longlong)dVar15" ( (type_descriptor "double" primitive_type) ) (cast_expression "(longlong)dVar15" ( (type_descriptor "longlong" type_identifier) ) identifier)))) ;) (if_statement "if (iVar8 == 0) {\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }\n  else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }" { (expression_statement "DAT_0002d15c = local_40;" (assignment_expression "DAT_0002d15c = local_40" identifier = identifier) ;) (expression_statement "s_seconds_0002c4a8._0_4_ = local_3c;" (assignment_expression "s_seconds_0002c4a8._0_4_ = local_3c" (field_expression "s_seconds_0002c4a8._0_4_" identifier . field_identifier) = identifier) ;) (expression_statement "s_seconds_0002c4a8[4] = local_38[0];" (assignment_expression "s_seconds_0002c4a8[4] = local_38[0]" (subscript_expression "s_seconds_0002c4a8[4]" identifier [ number_literal ]) = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "s_seconds_0002c4a8[5] = local_38[1];" (assignment_expression "s_seconds_0002c4a8[5] = local_38[1]" (subscript_expression "s_seconds_0002c4a8[5]" identifier [ number_literal ]) = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "s_seconds_0002c4a8[6] = local_38[2];" (assignment_expression "s_seconds_0002c4a8[6] = local_38[2]" (subscript_expression "s_seconds_0002c4a8[6]" identifier [ number_literal ]) = (subscript_expression "local_38[2]" identifier [ number_literal ])) ;) (expression_statement "s_seconds_0002c4a8[7] = local_38[3];" (assignment_expression "s_seconds_0002c4a8[7] = local_38[3]" (subscript_expression "s_seconds_0002c4a8[7]" identifier [ number_literal ]) = (subscript_expression "local_38[3]" identifier [ number_literal ])) ;) (expression_statement "DAT_0002c4b0 = local_34;" (assignment_expression "DAT_0002c4b0 = local_34" identifier = identifier) ;) (expression_statement "DAT_0002c4b4 = local_30;" (assignment_expression "DAT_0002c4b4 = local_30" identifier = identifier) ;) (expression_statement "DAT_0002c4b6 = local_2e;" (assignment_expression "DAT_0002c4b6 = local_2e" identifier = identifier) ;) (expression_statement "DAT_0002c4a4 = local_42[0];" (assignment_expression "DAT_0002c4a4 = local_42[0]" identifier = (subscript_expression "local_42[0]" identifier [ number_literal ])) ;) (expression_statement "pcVar10 = (char *)0x0;" (assignment_expression "pcVar10 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "DAT_0002d4a0 = dVar16;" (assignment_expression "DAT_0002d4a0 = dVar16" identifier = identifier) ;) }) (else_clause "else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }" else (compound_statement "{\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }" { (expression_statement "pcVar10 = s_seconds_0002c4a8;" (assignment_expression "pcVar10 = s_seconds_0002c4a8" identifier = identifier) ;) (expression_statement "iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);" (assignment_expression "iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf)" identifier = (call_expression "strncmp((char *)__s1,s_seconds_0002c4a8,0xf)" identifier (argument_list "((char *)__s1,s_seconds_0002c4a8,0xf)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , number_literal )))) ;) (expression_statement "iVar3 = DAT_0002d494;" (assignment_expression "iVar3 = DAT_0002d494" identifier = identifier) ;) (expression_statement "iVar8 = iVar3;" (assignment_expression "iVar8 = iVar3" identifier = identifier) ;) (if_statement "if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001a990(1);\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001a990(1);\n    }" { (expression_statement "pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494)" identifier = (cast_expression "(char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494)" identifier (argument_list "("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal , (pointer_expression "&DAT_0002d494" & identifier) ))))) ;) (expression_statement "pcVar9 = s_seconds_0002c4a8;" (assignment_expression "pcVar9 = s_seconds_0002c4a8" identifier = identifier) ;) (expression_statement "param_2 = iVar3;" (assignment_expression "param_2 = iVar3" identifier = identifier) ;) (labeled_statement "LAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);" statement_identifier : (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1)" identifier (argument_list "(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1)" ( (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" * (cast_expression "(FILE **)PTR_stderr_0002bfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) comment (expression_statement "FUN_0001a990(1);" (call_expression "FUN_0001a990(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (if_statement "if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }" if (parenthesized_expression "(local_42[0] != DAT_0002c4a4)" ( (binary_expression "local_42[0] != DAT_0002c4a4" (subscript_expression "local_42[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }" { (expression_statement "cVar12 = DAT_0002c4a4;" (assignment_expression "cVar12 = DAT_0002c4a4" identifier = identifier) ;) (expression_statement "pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4)" identifier = (cast_expression "(char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4)" identifier (argument_list "("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal , (pointer_expression "&DAT_0002d494" & identifier) , (subscript_expression "local_42[0]" identifier [ number_literal ]) , identifier ))))) ;) (expression_statement "__s1 = (int **)(int)local_42[0];" (assignment_expression "__s1 = (int **)(int)local_42[0]" identifier = (cast_expression "(int **)(int)local_42[0]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(int)local_42[0]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "local_42[0]" identifier [ number_literal ])))) ;) (expression_statement "pcVar9 = (char *)(int)cVar12;" (assignment_expression "pcVar9 = (char *)(int)cVar12" identifier = (cast_expression "(char *)(int)cVar12" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)cVar12" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "param_2 = iVar3;" (assignment_expression "param_2 = iVar3" identifier = identifier) ;) (goto_statement "goto LAB_0001bdd2;" goto statement_identifier ;) })) (expression_statement "dVar15 = DAT_00022e30;" (assignment_expression "dVar15 = DAT_00022e30" identifier = identifier) ;) (if_statement "if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }" if (parenthesized_expression "(DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16))" ( (binary_expression "DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)" identifier < (call_expression "ABS(DAT_0002d4a0 - dVar16)" identifier (argument_list "(DAT_0002d4a0 - dVar16)" ( (binary_expression "DAT_0002d4a0 - dVar16" identifier - identifier) )))) )) (compound_statement "{\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }" { (expression_statement "pcVar9 = "%s: different scales in histogram records";" (assignment_expression "pcVar9 = "%s: different scales in histogram records"" identifier = (string_literal ""%s: different scales in histogram records"" " string_content ")) ;) (goto_statement "goto LAB_0001be3b;" goto statement_identifier ;) })) }))) (if_statement "if (*piVar13 != 0) {\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }" if (parenthesized_expression "(*piVar13 != 0)" ( (binary_expression "*piVar13 != 0" (pointer_expression "*piVar13" * identifier) != number_literal) )) (compound_statement "{\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "piVar2 = DAT_0002d498;" (assignment_expression "piVar2 = DAT_0002d498" identifier = identifier) ;) (do_statement "do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);" do (compound_statement "{\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    }" { (expression_statement "pcVar10 = (char *)piVar2;" (assignment_expression "pcVar10 = (char *)piVar2" identifier = (cast_expression "(char *)piVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;" if (parenthesized_expression "((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))" ( (binary_expression "(*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11)" (parenthesized_expression "(*(int **)pcVar10 == piVar6)" ( (binary_expression "*(int **)pcVar10 == piVar6" (pointer_expression "*(int **)pcVar10" * (cast_expression "(int **)pcVar10" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) == identifier) )) && (parenthesized_expression "(*(int **)((int)pcVar10 + 4) == piVar11)" ( (binary_expression "*(int **)((int)pcVar10 + 4) == piVar11" (pointer_expression "*(int **)((int)pcVar10 + 4)" * (cast_expression "(int **)((int)pcVar10 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pcVar10 + 4)" ( (binary_expression "(int)pcVar10 + 4" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == identifier) ))) )) (goto_statement "goto LAB_0001bbb9;" goto statement_identifier ;)) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "piVar2 = (int *)((int)pcVar10 + 0x10);" (assignment_expression "piVar2 = (int *)((int)pcVar10 + 0x10)" identifier = (cast_expression "(int *)((int)pcVar10 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 0x10)" ( (binary_expression "(int)pcVar10 + 0x10" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(iVar8 != *piVar13)" ( (binary_expression "iVar8 != *piVar13" identifier != (pointer_expression "*piVar13" * identifier)) )) ;) })) (expression_statement "local_40 = piVar6;" (assignment_expression "local_40 = piVar6" identifier = identifier) ;) (expression_statement "local_3c = piVar11;" (assignment_expression "local_3c = piVar11" identifier = identifier) ;) (expression_statement "FUN_0001b950(&local_40,__s1);" (call_expression "FUN_0001b950(&local_40,__s1)" identifier (argument_list "(&local_40,__s1)" ( (pointer_expression "&local_40" & identifier) , identifier ))) ;) (if_statement "if (local_40 == local_3c) {\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }" if (parenthesized_expression "(local_40 == local_3c)" ( (binary_expression "local_40 == local_3c" identifier == identifier) )) (compound_statement "{\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }" { (expression_statement "DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);" (assignment_expression "DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10)" identifier = (cast_expression "(int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10)" identifier (argument_list "(DAT_0002d498,(*piVar13 + 1) * 0x10)" ( identifier , (binary_expression "(*piVar13 + 1) * 0x10" (parenthesized_expression "(*piVar13 + 1)" ( (binary_expression "*piVar13 + 1" (pointer_expression "*piVar13" * identifier) + number_literal) )) * number_literal) ))))) ;) (expression_statement "piVar6 = DAT_0002d498 + *piVar13 * 4;" (assignment_expression "piVar6 = DAT_0002d498 + *piVar13 * 4" identifier = (binary_expression "DAT_0002d498 + *piVar13 * 4" identifier + (binary_expression "*piVar13 * 4" (pointer_expression "*piVar13" * identifier) * number_literal))) ;) (expression_statement "*piVar6 = (int)local_2c;" (assignment_expression "*piVar6 = (int)local_2c" (pointer_expression "*piVar6" * identifier) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar6[1] = (int)local_28;" (assignment_expression "piVar6[1] = (int)local_28" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar6[2] = local_24;" (assignment_expression "piVar6[2] = local_24" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[3] = local_20;" (assignment_expression "piVar6[3] = local_20" (subscript_expression "piVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);" (assignment_expression "pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4)" identifier = (cast_expression "(char *)(DAT_0002d498 + *piVar13 * 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002d498 + *piVar13 * 4)" ( (binary_expression "DAT_0002d498 + *piVar13 * 4" identifier + (binary_expression "*piVar13 * 4" (pointer_expression "*piVar13" * identifier) * number_literal)) )))) ;) (expression_statement "*piVar13 = *piVar13 + 1;" (assignment_expression "*piVar13 = *piVar13 + 1" (pointer_expression "*piVar13" * identifier) = (binary_expression "*piVar13 + 1" (pointer_expression "*piVar13" * identifier) + number_literal)) ;) (expression_statement "__s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);" (assignment_expression "__s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2)" identifier = (cast_expression "(void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(*(int *)((int)pcVar10 + 8) << 2)" identifier (argument_list "(*(int *)((int)pcVar10 + 8) << 2)" ( (binary_expression "*(int *)((int)pcVar10 + 8) << 2" (pointer_expression "*(int *)((int)pcVar10 + 8)" * (cast_expression "(int *)((int)pcVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) << number_literal) ))))) ;) (expression_statement "*(void **)((int)pcVar10 + 0xc) = __s;" (assignment_expression "*(void **)((int)pcVar10 + 0xc) = __s" (pointer_expression "*(void **)((int)pcVar10 + 0xc)" * (cast_expression "(void **)((int)pcVar10 + 0xc)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pcVar10 + 0xc)" ( (binary_expression "(int)pcVar10 + 0xc" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);" (call_expression "memset(__s,0,*(int *)((int)pcVar10 + 8) * 4)" identifier (argument_list "(__s,0,*(int *)((int)pcVar10 + 8) * 4)" ( identifier , number_literal , (binary_expression "*(int *)((int)pcVar10 + 8) * 4" (pointer_expression "*(int *)((int)pcVar10 + 8)" * (cast_expression "(int *)((int)pcVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) * number_literal) ))) ;) (labeled_statement "LAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;" statement_identifier : (expression_statement "pbVar14 = &DAT_0002d158;" (assignment_expression "pbVar14 = &DAT_0002d158" identifier = (pointer_expression "&DAT_0002d158" & identifier)) ;)) (expression_statement "iVar8 = *(int *)((int)pcVar10 + 8);" (assignment_expression "iVar8 = *(int *)((int)pcVar10 + 8)" identifier = (pointer_expression "*(int *)((int)pcVar10 + 8)" * (cast_expression "(int *)((int)pcVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }" if (parenthesized_expression "((DAT_0002d158 & 0x40) != 0)" ( (binary_expression "(DAT_0002d158 & 0x40) != 0" (parenthesized_expression "(DAT_0002d158 & 0x40)" ( (binary_expression "DAT_0002d158 & 0x40" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }" { (expression_statement "printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);" (call_expression "printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8)" identifier (argument_list "("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8)" ( (string_literal ""[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n"" " string_content escape_sequence ") , (pointer_expression "*(int *)pcVar10" * (cast_expression "(int *)pcVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) , (pointer_expression "*(int *)((int)pcVar10 + 4)" * (cast_expression "(int *)((int)pcVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 4)" ( (binary_expression "(int)pcVar10 + 4" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier ))) ;) (expression_statement "iVar8 = *(int *)((int)pcVar10 + 8);" (assignment_expression "iVar8 = *(int *)((int)pcVar10 + 8)" identifier = (pointer_expression "*(int *)((int)pcVar10 + 8)" * (cast_expression "(int *)((int)pcVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) })) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar17 = 0x22d79;" (assignment_expression "uVar17 = 0x22d79" identifier = number_literal) ;) (if_statement "if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }" { (do_statement "do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));" do (compound_statement "{\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      }" { (while_statement "while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }" { (expression_statement "sVar5 = fread(pcVar7,2,1,param_1);" (assignment_expression "sVar5 = fread(pcVar7,2,1,param_1)" identifier = (call_expression "fread(pcVar7,2,1,param_1)" identifier (argument_list "(pcVar7,2,1,param_1)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "iVar3 = DAT_0002d494;" (assignment_expression "iVar3 = DAT_0002d494" identifier = identifier) ;) (if_statement "if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }" if (parenthesized_expression "(sVar5 != 1)" ( (binary_expression "sVar5 != 1" identifier != number_literal) )) (compound_statement "{\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }" { (expression_statement "iVar8 = *(int *)((int)pcVar10 + 8);" (assignment_expression "iVar8 = *(int *)((int)pcVar10 + 8)" identifier = (pointer_expression "*(int *)((int)pcVar10 + 8)" * (cast_expression "(int *)((int)pcVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "__s1 = (int **)0x5;" (assignment_expression "__s1 = (int **)0x5" identifier = (cast_expression "(int **)0x5" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" identifier (argument_list "("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: %s: unexpected EOF after reading %u of %u samples\n"" " string_content escape_sequence ") , number_literal ))))) ;) (goto_statement "goto LAB_0001bdd2;" goto statement_identifier ;) })) (expression_statement "iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);" (assignment_expression "iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7)" identifier = (call_expression "(**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))" ( (pointer_expression "**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34)" * (pointer_expression "*(code **)(*(int *)(DAT_0002d478 + 4) + 0x34)" * (cast_expression "(code **)(*(int *)(DAT_0002d478 + 4) + 0x34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0002d478 + 4) + 0x34)" ( (binary_expression "*(int *)(DAT_0002d478 + 4) + 0x34" (pointer_expression "*(int *)(DAT_0002d478 + 4)" * (cast_expression "(int *)(DAT_0002d478 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002d478 + 4)" ( (binary_expression "DAT_0002d478 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);" (assignment_expression "piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4)" identifier = (cast_expression "(int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4)" ( (binary_expression "*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4" (pointer_expression "*(int *)((int)pcVar10 + 0xc)" * (cast_expression "(int *)((int)pcVar10 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 0xc)" ( (binary_expression "(int)pcVar10 + 0xc" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + (binary_expression "(int)pcVar9 * 4" (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) )))) ;) (expression_statement "iVar8 = iVar8 + *piVar13;" (assignment_expression "iVar8 = iVar8 + *piVar13" identifier = (binary_expression "iVar8 + *piVar13" identifier + (pointer_expression "*piVar13" * identifier))) ;) (expression_statement "*piVar13 = iVar8;" (assignment_expression "*piVar13 = iVar8" (pointer_expression "*piVar13" * identifier) = identifier) ;) (if_statement "if ((*pbVar14 & 0x40) == 0) break;" if (parenthesized_expression "((*pbVar14 & 0x40) == 0)" ( (binary_expression "(*pbVar14 & 0x40) == 0" (parenthesized_expression "(*pbVar14 & 0x40)" ( (binary_expression "*pbVar14 & 0x40" (pointer_expression "*pbVar14" * identifier) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;" (assignment_expression "uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9" identifier = (binary_expression "(*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9" (parenthesized_expression "(*(int *)((int)pcVar10 + 4) - *(int *)pcVar10)" ( (binary_expression "*(int *)((int)pcVar10 + 4) - *(int *)pcVar10" (pointer_expression "*(int *)((int)pcVar10 + 4)" * (cast_expression "(int *)((int)pcVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 4)" ( (binary_expression "(int)pcVar10 + 4" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - (pointer_expression "*(int *)pcVar10" * (cast_expression "(int *)pcVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) * (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);" (call_expression "printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8)" identifier (argument_list "((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8)" ( (cast_expression "(char *)uVar17" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (binary_expression "uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10" (binary_expression "uVar1 / *(uint *)((int)pcVar10 + 8)" identifier / (pointer_expression "*(uint *)((int)pcVar10 + 8)" * (cast_expression "(uint *)((int)pcVar10 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) + (pointer_expression "*(int *)pcVar10" * (cast_expression "(int *)pcVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) , identifier ))) ;) (if_statement "if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }" if (parenthesized_expression "(*(char **)((int)pcVar10 + 8) <= pcVar9)" ( (binary_expression "*(char **)((int)pcVar10 + 8) <= pcVar9" (pointer_expression "*(char **)((int)pcVar10 + 8)" * (cast_expression "(char **)((int)pcVar10 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) <= identifier) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) })) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar9 < *(char **)((int)pcVar10 + 8))" ( (binary_expression "pcVar9 < *(char **)((int)pcVar10 + 8)" identifier < (pointer_expression "*(char **)((int)pcVar10 + 8)" * (cast_expression "(char **)((int)pcVar10 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) ;) })) (return_statement "return;" return ;) })) (expression_statement "pcVar9 = "%s: overlapping histogram records\n";" (assignment_expression "pcVar9 = "%s: overlapping histogram records\n"" identifier = (string_literal ""%s: overlapping histogram records\n"" " string_content escape_sequence ")) ;) (expression_statement "piVar11 = (int *)pcVar10;" (assignment_expression "piVar11 = (int *)pcVar10" identifier = (cast_expression "(int *)pcVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (labeled_statement "LAB_0001be3b:\n  iVar8 = DAT_0002d494;" statement_identifier : (expression_statement "iVar8 = DAT_0002d494;" (assignment_expression "iVar8 = DAT_0002d494" identifier = identifier) ;)) (expression_statement "pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15)" identifier = (cast_expression "(char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15)" identifier (argument_list "("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15)" ( (string_literal ""gprof"" " string_content ") , identifier , number_literal , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8)" identifier (argument_list "(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8)" ( (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" * (cast_expression "(FILE **)PTR_stderr_0002bfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier ))) ;) comment (expression_statement "FUN_0001a990(1);" (call_expression "FUN_0001a990(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid hist_read_rec(FILE *ifp,char *filename)\n\n{\n  histogram *phVar1;\n  int iVar2;\n  size_t sVar3;\n  bfd_vma bVar4;\n  int *piVar5;\n  char *pcVar6;\n  char *pcVar7;\n  uint uVar8;\n  char *pcVar9;\n  char *pcVar10;\n  bfd_vma *p_highpc;\n  histogram *phVar11;\n  uchar *buf;\n  char cVar12;\n  uint *puVar13;\n  double dVar14;\n  double dVar15;\n  undefined8 uVar16;\n  UNIT count;\n  bfd_vma lowpc;\n  bfd_vma highpc;\n  char local_38 [4];\n  char local_34 [4];\n  char local_30 [2];\n  char local_2e;\n  histogram n_record;\n  \n  uVar8 = num_histograms;\n  puVar13 = &num_histograms;\n  iVar2 = gmon_io_read_vma(ifp,&n_record.lowpc);\n  if (((iVar2 != 0) || (iVar2 = gmon_io_read_vma(ifp,&n_record.highpc), iVar2 != 0)) ||\n     (iVar2 = gmon_io_read_32(ifp,&n_record.num_bins), iVar2 != 0)) {\nLAB_0001bdea:\n    pcVar6 = whoami;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6,filename);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }\n  iVar2 = gmon_io_read_32(ifp,&lowpc);\n  if (iVar2 != 0) goto LAB_0001bdea;\n  p_highpc = &highpc;\n  iVar2 = gmon_io_read(ifp,(char *)p_highpc,0xf);\n  if (iVar2 != 0) goto LAB_0001bdea;\n  buf = count;\n  iVar2 = gmon_io_read(ifp,(char *)buf,1);\n  phVar11 = (histogram *)n_record.highpc;\n  bVar4 = n_record.lowpc;\n  if (iVar2 != 0) goto LAB_0001bdea;\n  dVar14 = (double)(ulonglong)n_record.num_bins;\n  dVar15 = (double)(n_record.highpc - n_record.lowpc >> 1) / (double)(longlong)dVar14;\n  if (uVar8 == 0) {\n    hz = lowpc;\n    hist_dimension[0] = (undefined1)highpc;\n    hist_dimension[1] = highpc._1_1_;\n    hist_dimension[2] = highpc._2_1_;\n    hist_dimension[3] = highpc._3_1_;\n    hist_dimension[4] = local_38[0];\n    hist_dimension[5] = local_38[1];\n    hist_dimension[6] = local_38[2];\n    hist_dimension[7] = local_38[3];\n    hist_dimension[8] = local_34[0];\n    hist_dimension[9] = local_34[1];\n    hist_dimension[10] = local_34[2];\n    hist_dimension[0xb] = local_34[3];\n    hist_dimension[0xc] = local_30[0];\n    hist_dimension[0xd] = local_30[1];\n    hist_dimension[0xe] = local_2e;\n    hist_dimension_abbrev = count[0];\n    pcVar6 = (char *)0x0;\n    hist_scale = dVar15;\n  }\n  else {\n    pcVar6 = hist_dimension;\n    iVar2 = strncmp((char *)p_highpc,hist_dimension,0xf);\n    pcVar10 = whoami;\n    pcVar7 = pcVar10;\n    if (iVar2 != 0) {\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&whoami);\n      pcVar9 = hist_dimension;\n      filename = pcVar10;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,pcVar9,pcVar7,p_highpc);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    if (count[0] != hist_dimension_abbrev) {\n      cVar12 = hist_dimension_abbrev;\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&whoami,count[0],hist_dimension_abbrev);\n      p_highpc = (bfd_vma *)(int)(char)count[0];\n      pcVar9 = (char *)(int)cVar12;\n      filename = pcVar10;\n      goto LAB_0001bdd2;\n    }\n    dVar14 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(hist_scale - dVar15)) {\n      pcVar7 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }\n  if (*puVar13 != 0) {\n    uVar8 = 0;\n    phVar1 = histograms;\n    do {\n      pcVar6 = (char *)phVar1;\n      if ((((histogram *)pcVar6)->lowpc == bVar4) &&\n         ((histogram *)((histogram *)pcVar6)->highpc == phVar11)) goto LAB_0001bbb9;\n      uVar8 = uVar8 + 1;\n      phVar1 = (histogram *)((int)pcVar6 + 0x10);\n    } while (uVar8 != *puVar13);\n  }\n  lowpc = bVar4;\n  highpc = (bfd_vma)phVar11;\n  hist_clip_symbol_address(&lowpc,p_highpc);\n  if (lowpc == highpc) {\n    histograms = (histogram *)xrealloc(histograms,(*puVar13 + 1) * 0x10);\n    phVar11 = histograms + *puVar13;\n    phVar11->lowpc = n_record.lowpc;\n    phVar11->highpc = n_record.highpc;\n    phVar11->num_bins = n_record.num_bins;\n    phVar11->sample = n_record.sample;\n    pcVar6 = (char *)(histograms + *puVar13);\n    *puVar13 = *puVar13 + 1;\n    piVar5 = (int *)xmalloc(((histogram *)pcVar6)->num_bins << 2);\n    ((histogram *)pcVar6)->sample = piVar5;\n    memset(piVar5,0,((histogram *)pcVar6)->num_bins * 4);\nLAB_0001bbb9:\n    piVar5 = &debug_level;\n    uVar8 = ((histogram *)pcVar6)->num_bins;\n    if (((byte)debug_level & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",((histogram *)pcVar6)->lowpc,\n             ((histogram *)pcVar6)->highpc,uVar8);\n      uVar8 = ((histogram *)pcVar6)->num_bins;\n    }\n    pcVar9 = (char *)0x0;\n    uVar16 = 0x22d79;\n    if (uVar8 != 0) {\n      do {\n        while( true ) {\n          sVar3 = fread(buf,2,1,(FILE *)ifp);\n          pcVar10 = whoami;\n          if (sVar3 != 1) {\n            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;\n            p_highpc = (bfd_vma *)0x5;\n            pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          bVar4 = (*core_bfd->xvec->bfd_getx16)(buf);\n          iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9];\n          ((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2;\n          if ((*(byte *)piVar5 & 0x40) == 0) break;\n          uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2);\n          if ((char *)((histogram *)pcVar6)->num_bins <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < (char *)((histogram *)pcVar6)->num_bins);\n    }\n    return;\n  }\n  pcVar7 = "%s: overlapping histogram records\n";\n  phVar11 = (histogram *)pcVar6;\nLAB_0001be3b:\n  pcVar6 = whoami;\n  pcVar7 = (char *)dcgettext("gprof",pcVar7,5,phVar11,buf,puVar13,dVar14);\n  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6);\n                    /* WARNING: Subroutine does not return */\n  done(1);\n}\n\n" comment (function_definition "void hist_read_rec(FILE *ifp,char *filename)\n\n{\n  histogram *phVar1;\n  int iVar2;\n  size_t sVar3;\n  bfd_vma bVar4;\n  int *piVar5;\n  char *pcVar6;\n  char *pcVar7;\n  uint uVar8;\n  char *pcVar9;\n  char *pcVar10;\n  bfd_vma *p_highpc;\n  histogram *phVar11;\n  uchar *buf;\n  char cVar12;\n  uint *puVar13;\n  double dVar14;\n  double dVar15;\n  undefined8 uVar16;\n  UNIT count;\n  bfd_vma lowpc;\n  bfd_vma highpc;\n  char local_38 [4];\n  char local_34 [4];\n  char local_30 [2];\n  char local_2e;\n  histogram n_record;\n  \n  uVar8 = num_histograms;\n  puVar13 = &num_histograms;\n  iVar2 = gmon_io_read_vma(ifp,&n_record.lowpc);\n  if (((iVar2 != 0) || (iVar2 = gmon_io_read_vma(ifp,&n_record.highpc), iVar2 != 0)) ||\n     (iVar2 = gmon_io_read_32(ifp,&n_record.num_bins), iVar2 != 0)) {\nLAB_0001bdea:\n    pcVar6 = whoami;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6,filename);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }\n  iVar2 = gmon_io_read_32(ifp,&lowpc);\n  if (iVar2 != 0) goto LAB_0001bdea;\n  p_highpc = &highpc;\n  iVar2 = gmon_io_read(ifp,(char *)p_highpc,0xf);\n  if (iVar2 != 0) goto LAB_0001bdea;\n  buf = count;\n  iVar2 = gmon_io_read(ifp,(char *)buf,1);\n  phVar11 = (histogram *)n_record.highpc;\n  bVar4 = n_record.lowpc;\n  if (iVar2 != 0) goto LAB_0001bdea;\n  dVar14 = (double)(ulonglong)n_record.num_bins;\n  dVar15 = (double)(n_record.highpc - n_record.lowpc >> 1) / (double)(longlong)dVar14;\n  if (uVar8 == 0) {\n    hz = lowpc;\n    hist_dimension[0] = (undefined1)highpc;\n    hist_dimension[1] = highpc._1_1_;\n    hist_dimension[2] = highpc._2_1_;\n    hist_dimension[3] = highpc._3_1_;\n    hist_dimension[4] = local_38[0];\n    hist_dimension[5] = local_38[1];\n    hist_dimension[6] = local_38[2];\n    hist_dimension[7] = local_38[3];\n    hist_dimension[8] = local_34[0];\n    hist_dimension[9] = local_34[1];\n    hist_dimension[10] = local_34[2];\n    hist_dimension[0xb] = local_34[3];\n    hist_dimension[0xc] = local_30[0];\n    hist_dimension[0xd] = local_30[1];\n    hist_dimension[0xe] = local_2e;\n    hist_dimension_abbrev = count[0];\n    pcVar6 = (char *)0x0;\n    hist_scale = dVar15;\n  }\n  else {\n    pcVar6 = hist_dimension;\n    iVar2 = strncmp((char *)p_highpc,hist_dimension,0xf);\n    pcVar10 = whoami;\n    pcVar7 = pcVar10;\n    if (iVar2 != 0) {\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&whoami);\n      pcVar9 = hist_dimension;\n      filename = pcVar10;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,pcVar9,pcVar7,p_highpc);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    if (count[0] != hist_dimension_abbrev) {\n      cVar12 = hist_dimension_abbrev;\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&whoami,count[0],hist_dimension_abbrev);\n      p_highpc = (bfd_vma *)(int)(char)count[0];\n      pcVar9 = (char *)(int)cVar12;\n      filename = pcVar10;\n      goto LAB_0001bdd2;\n    }\n    dVar14 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(hist_scale - dVar15)) {\n      pcVar7 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }\n  if (*puVar13 != 0) {\n    uVar8 = 0;\n    phVar1 = histograms;\n    do {\n      pcVar6 = (char *)phVar1;\n      if ((((histogram *)pcVar6)->lowpc == bVar4) &&\n         ((histogram *)((histogram *)pcVar6)->highpc == phVar11)) goto LAB_0001bbb9;\n      uVar8 = uVar8 + 1;\n      phVar1 = (histogram *)((int)pcVar6 + 0x10);\n    } while (uVar8 != *puVar13);\n  }\n  lowpc = bVar4;\n  highpc = (bfd_vma)phVar11;\n  hist_clip_symbol_address(&lowpc,p_highpc);\n  if (lowpc == highpc) {\n    histograms = (histogram *)xrealloc(histograms,(*puVar13 + 1) * 0x10);\n    phVar11 = histograms + *puVar13;\n    phVar11->lowpc = n_record.lowpc;\n    phVar11->highpc = n_record.highpc;\n    phVar11->num_bins = n_record.num_bins;\n    phVar11->sample = n_record.sample;\n    pcVar6 = (char *)(histograms + *puVar13);\n    *puVar13 = *puVar13 + 1;\n    piVar5 = (int *)xmalloc(((histogram *)pcVar6)->num_bins << 2);\n    ((histogram *)pcVar6)->sample = piVar5;\n    memset(piVar5,0,((histogram *)pcVar6)->num_bins * 4);\nLAB_0001bbb9:\n    piVar5 = &debug_level;\n    uVar8 = ((histogram *)pcVar6)->num_bins;\n    if (((byte)debug_level & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",((histogram *)pcVar6)->lowpc,\n             ((histogram *)pcVar6)->highpc,uVar8);\n      uVar8 = ((histogram *)pcVar6)->num_bins;\n    }\n    pcVar9 = (char *)0x0;\n    uVar16 = 0x22d79;\n    if (uVar8 != 0) {\n      do {\n        while( true ) {\n          sVar3 = fread(buf,2,1,(FILE *)ifp);\n          pcVar10 = whoami;\n          if (sVar3 != 1) {\n            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;\n            p_highpc = (bfd_vma *)0x5;\n            pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          bVar4 = (*core_bfd->xvec->bfd_getx16)(buf);\n          iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9];\n          ((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2;\n          if ((*(byte *)piVar5 & 0x40) == 0) break;\n          uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2);\n          if ((char *)((histogram *)pcVar6)->num_bins <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < (char *)((histogram *)pcVar6)->num_bins);\n    }\n    return;\n  }\n  pcVar7 = "%s: overlapping histogram records\n";\n  phVar11 = (histogram *)pcVar6;\nLAB_0001be3b:\n  pcVar6 = whoami;\n  pcVar7 = (char *)dcgettext("gprof",pcVar7,5,phVar11,buf,puVar13,dVar14);\n  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6);\n                    /* WARNING: Subroutine does not return */\n  done(1);\n}" primitive_type (function_declarator "hist_read_rec(FILE *ifp,char *filename)" identifier (parameter_list "(FILE *ifp,char *filename)" ( (parameter_declaration "FILE *ifp" type_identifier (pointer_declarator "*ifp" * identifier)) , (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) ))) (compound_statement "{\n  histogram *phVar1;\n  int iVar2;\n  size_t sVar3;\n  bfd_vma bVar4;\n  int *piVar5;\n  char *pcVar6;\n  char *pcVar7;\n  uint uVar8;\n  char *pcVar9;\n  char *pcVar10;\n  bfd_vma *p_highpc;\n  histogram *phVar11;\n  uchar *buf;\n  char cVar12;\n  uint *puVar13;\n  double dVar14;\n  double dVar15;\n  undefined8 uVar16;\n  UNIT count;\n  bfd_vma lowpc;\n  bfd_vma highpc;\n  char local_38 [4];\n  char local_34 [4];\n  char local_30 [2];\n  char local_2e;\n  histogram n_record;\n  \n  uVar8 = num_histograms;\n  puVar13 = &num_histograms;\n  iVar2 = gmon_io_read_vma(ifp,&n_record.lowpc);\n  if (((iVar2 != 0) || (iVar2 = gmon_io_read_vma(ifp,&n_record.highpc), iVar2 != 0)) ||\n     (iVar2 = gmon_io_read_32(ifp,&n_record.num_bins), iVar2 != 0)) {\nLAB_0001bdea:\n    pcVar6 = whoami;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6,filename);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }\n  iVar2 = gmon_io_read_32(ifp,&lowpc);\n  if (iVar2 != 0) goto LAB_0001bdea;\n  p_highpc = &highpc;\n  iVar2 = gmon_io_read(ifp,(char *)p_highpc,0xf);\n  if (iVar2 != 0) goto LAB_0001bdea;\n  buf = count;\n  iVar2 = gmon_io_read(ifp,(char *)buf,1);\n  phVar11 = (histogram *)n_record.highpc;\n  bVar4 = n_record.lowpc;\n  if (iVar2 != 0) goto LAB_0001bdea;\n  dVar14 = (double)(ulonglong)n_record.num_bins;\n  dVar15 = (double)(n_record.highpc - n_record.lowpc >> 1) / (double)(longlong)dVar14;\n  if (uVar8 == 0) {\n    hz = lowpc;\n    hist_dimension[0] = (undefined1)highpc;\n    hist_dimension[1] = highpc._1_1_;\n    hist_dimension[2] = highpc._2_1_;\n    hist_dimension[3] = highpc._3_1_;\n    hist_dimension[4] = local_38[0];\n    hist_dimension[5] = local_38[1];\n    hist_dimension[6] = local_38[2];\n    hist_dimension[7] = local_38[3];\n    hist_dimension[8] = local_34[0];\n    hist_dimension[9] = local_34[1];\n    hist_dimension[10] = local_34[2];\n    hist_dimension[0xb] = local_34[3];\n    hist_dimension[0xc] = local_30[0];\n    hist_dimension[0xd] = local_30[1];\n    hist_dimension[0xe] = local_2e;\n    hist_dimension_abbrev = count[0];\n    pcVar6 = (char *)0x0;\n    hist_scale = dVar15;\n  }\n  else {\n    pcVar6 = hist_dimension;\n    iVar2 = strncmp((char *)p_highpc,hist_dimension,0xf);\n    pcVar10 = whoami;\n    pcVar7 = pcVar10;\n    if (iVar2 != 0) {\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&whoami);\n      pcVar9 = hist_dimension;\n      filename = pcVar10;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,pcVar9,pcVar7,p_highpc);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    if (count[0] != hist_dimension_abbrev) {\n      cVar12 = hist_dimension_abbrev;\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&whoami,count[0],hist_dimension_abbrev);\n      p_highpc = (bfd_vma *)(int)(char)count[0];\n      pcVar9 = (char *)(int)cVar12;\n      filename = pcVar10;\n      goto LAB_0001bdd2;\n    }\n    dVar14 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(hist_scale - dVar15)) {\n      pcVar7 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }\n  if (*puVar13 != 0) {\n    uVar8 = 0;\n    phVar1 = histograms;\n    do {\n      pcVar6 = (char *)phVar1;\n      if ((((histogram *)pcVar6)->lowpc == bVar4) &&\n         ((histogram *)((histogram *)pcVar6)->highpc == phVar11)) goto LAB_0001bbb9;\n      uVar8 = uVar8 + 1;\n      phVar1 = (histogram *)((int)pcVar6 + 0x10);\n    } while (uVar8 != *puVar13);\n  }\n  lowpc = bVar4;\n  highpc = (bfd_vma)phVar11;\n  hist_clip_symbol_address(&lowpc,p_highpc);\n  if (lowpc == highpc) {\n    histograms = (histogram *)xrealloc(histograms,(*puVar13 + 1) * 0x10);\n    phVar11 = histograms + *puVar13;\n    phVar11->lowpc = n_record.lowpc;\n    phVar11->highpc = n_record.highpc;\n    phVar11->num_bins = n_record.num_bins;\n    phVar11->sample = n_record.sample;\n    pcVar6 = (char *)(histograms + *puVar13);\n    *puVar13 = *puVar13 + 1;\n    piVar5 = (int *)xmalloc(((histogram *)pcVar6)->num_bins << 2);\n    ((histogram *)pcVar6)->sample = piVar5;\n    memset(piVar5,0,((histogram *)pcVar6)->num_bins * 4);\nLAB_0001bbb9:\n    piVar5 = &debug_level;\n    uVar8 = ((histogram *)pcVar6)->num_bins;\n    if (((byte)debug_level & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",((histogram *)pcVar6)->lowpc,\n             ((histogram *)pcVar6)->highpc,uVar8);\n      uVar8 = ((histogram *)pcVar6)->num_bins;\n    }\n    pcVar9 = (char *)0x0;\n    uVar16 = 0x22d79;\n    if (uVar8 != 0) {\n      do {\n        while( true ) {\n          sVar3 = fread(buf,2,1,(FILE *)ifp);\n          pcVar10 = whoami;\n          if (sVar3 != 1) {\n            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;\n            p_highpc = (bfd_vma *)0x5;\n            pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          bVar4 = (*core_bfd->xvec->bfd_getx16)(buf);\n          iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9];\n          ((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2;\n          if ((*(byte *)piVar5 & 0x40) == 0) break;\n          uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2);\n          if ((char *)((histogram *)pcVar6)->num_bins <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < (char *)((histogram *)pcVar6)->num_bins);\n    }\n    return;\n  }\n  pcVar7 = "%s: overlapping histogram records\n";\n  phVar11 = (histogram *)pcVar6;\nLAB_0001be3b:\n  pcVar6 = whoami;\n  pcVar7 = (char *)dcgettext("gprof",pcVar7,5,phVar11,buf,puVar13,dVar14);\n  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6);\n                    /* WARNING: Subroutine does not return */\n  done(1);\n}" { (declaration "histogram *phVar1;" type_identifier (pointer_declarator "*phVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "bfd_vma bVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "bfd_vma *p_highpc;" type_identifier (pointer_declarator "*p_highpc" * identifier) ;) (declaration "histogram *phVar11;" type_identifier (pointer_declarator "*phVar11" * identifier) ;) (declaration "uchar *buf;" type_identifier (pointer_declarator "*buf" * identifier) ;) (declaration "char cVar12;" primitive_type identifier ;) (declaration "uint *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "double dVar14;" primitive_type identifier ;) (declaration "double dVar15;" primitive_type identifier ;) (declaration "undefined8 uVar16;" type_identifier identifier ;) (declaration "UNIT count;" type_identifier identifier ;) (declaration "bfd_vma lowpc;" type_identifier identifier ;) (declaration "bfd_vma highpc;" type_identifier identifier ;) (declaration "char local_38 [4];" primitive_type (array_declarator "local_38 [4]" identifier [ number_literal ]) ;) (declaration "char local_34 [4];" primitive_type (array_declarator "local_34 [4]" identifier [ number_literal ]) ;) (declaration "char local_30 [2];" primitive_type (array_declarator "local_30 [2]" identifier [ number_literal ]) ;) (declaration "char local_2e;" primitive_type identifier ;) (declaration "histogram n_record;" type_identifier identifier ;) (expression_statement "uVar8 = num_histograms;" (assignment_expression "uVar8 = num_histograms" identifier = identifier) ;) (expression_statement "puVar13 = &num_histograms;" (assignment_expression "puVar13 = &num_histograms" identifier = (pointer_expression "&num_histograms" & identifier)) ;) (expression_statement "iVar2 = gmon_io_read_vma(ifp,&n_record.lowpc);" (assignment_expression "iVar2 = gmon_io_read_vma(ifp,&n_record.lowpc)" identifier = (call_expression "gmon_io_read_vma(ifp,&n_record.lowpc)" identifier (argument_list "(ifp,&n_record.lowpc)" ( identifier , (pointer_expression "&n_record.lowpc" & (field_expression "n_record.lowpc" identifier . field_identifier)) )))) ;) (if_statement "if (((iVar2 != 0) || (iVar2 = gmon_io_read_vma(ifp,&n_record.highpc), iVar2 != 0)) ||\n     (iVar2 = gmon_io_read_32(ifp,&n_record.num_bins), iVar2 != 0)) {\nLAB_0001bdea:\n    pcVar6 = whoami;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6,filename);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }" if (parenthesized_expression "(((iVar2 != 0) || (iVar2 = gmon_io_read_vma(ifp,&n_record.highpc), iVar2 != 0)) ||\n     (iVar2 = gmon_io_read_32(ifp,&n_record.num_bins), iVar2 != 0))" ( (binary_expression "((iVar2 != 0) || (iVar2 = gmon_io_read_vma(ifp,&n_record.highpc), iVar2 != 0)) ||\n     (iVar2 = gmon_io_read_32(ifp,&n_record.num_bins), iVar2 != 0)" (parenthesized_expression "((iVar2 != 0) || (iVar2 = gmon_io_read_vma(ifp,&n_record.highpc), iVar2 != 0))" ( (binary_expression "(iVar2 != 0) || (iVar2 = gmon_io_read_vma(ifp,&n_record.highpc), iVar2 != 0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar2 = gmon_io_read_vma(ifp,&n_record.highpc), iVar2 != 0)" ( (comma_expression "iVar2 = gmon_io_read_vma(ifp,&n_record.highpc), iVar2 != 0" (assignment_expression "iVar2 = gmon_io_read_vma(ifp,&n_record.highpc)" identifier = (call_expression "gmon_io_read_vma(ifp,&n_record.highpc)" identifier (argument_list "(ifp,&n_record.highpc)" ( identifier , (pointer_expression "&n_record.highpc" & (field_expression "n_record.highpc" identifier . field_identifier)) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(iVar2 = gmon_io_read_32(ifp,&n_record.num_bins), iVar2 != 0)" ( (comma_expression "iVar2 = gmon_io_read_32(ifp,&n_record.num_bins), iVar2 != 0" (assignment_expression "iVar2 = gmon_io_read_32(ifp,&n_record.num_bins)" identifier = (call_expression "gmon_io_read_32(ifp,&n_record.num_bins)" identifier (argument_list "(ifp,&n_record.num_bins)" ( identifier , (pointer_expression "&n_record.num_bins" & (field_expression "n_record.num_bins" identifier . field_identifier)) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\nLAB_0001bdea:\n    pcVar6 = whoami;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6,filename);\n                    /* WARNING: Subroutine does not return */\n    done(1);\n  }" { (labeled_statement "LAB_0001bdea:\n    pcVar6 = whoami;" statement_identifier : (expression_statement "pcVar6 = whoami;" (assignment_expression "pcVar6 = whoami" identifier = identifier) ;)) (expression_statement "pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: %s: unexpected end of file\n",5)" identifier (argument_list "("gprof","%s: %s: unexpected end of file\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: %s: unexpected end of file\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6,filename);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6,filename)" identifier (argument_list "(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6,filename)" ( (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" * (cast_expression "(FILE **)PTR_stderr_0002bfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier ))) ;) comment (expression_statement "done(1);" (call_expression "done(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "iVar2 = gmon_io_read_32(ifp,&lowpc);" (assignment_expression "iVar2 = gmon_io_read_32(ifp,&lowpc)" identifier = (call_expression "gmon_io_read_32(ifp,&lowpc)" identifier (argument_list "(ifp,&lowpc)" ( identifier , (pointer_expression "&lowpc" & identifier) )))) ;) (if_statement "if (iVar2 != 0) goto LAB_0001bdea;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001bdea;" goto statement_identifier ;)) (expression_statement "p_highpc = &highpc;" (assignment_expression "p_highpc = &highpc" identifier = (pointer_expression "&highpc" & identifier)) ;) (expression_statement "iVar2 = gmon_io_read(ifp,(char *)p_highpc,0xf);" (assignment_expression "iVar2 = gmon_io_read(ifp,(char *)p_highpc,0xf)" identifier = (call_expression "gmon_io_read(ifp,(char *)p_highpc,0xf)" identifier (argument_list "(ifp,(char *)p_highpc,0xf)" ( identifier , (cast_expression "(char *)p_highpc" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (if_statement "if (iVar2 != 0) goto LAB_0001bdea;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001bdea;" goto statement_identifier ;)) (expression_statement "buf = count;" (assignment_expression "buf = count" identifier = identifier) ;) (expression_statement "iVar2 = gmon_io_read(ifp,(char *)buf,1);" (assignment_expression "iVar2 = gmon_io_read(ifp,(char *)buf,1)" identifier = (call_expression "gmon_io_read(ifp,(char *)buf,1)" identifier (argument_list "(ifp,(char *)buf,1)" ( identifier , (cast_expression "(char *)buf" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (expression_statement "phVar11 = (histogram *)n_record.highpc;" (assignment_expression "phVar11 = (histogram *)n_record.highpc" identifier = (cast_expression "(histogram *)n_record.highpc" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "n_record.highpc" identifier . field_identifier))) ;) (expression_statement "bVar4 = n_record.lowpc;" (assignment_expression "bVar4 = n_record.lowpc" identifier = (field_expression "n_record.lowpc" identifier . field_identifier)) ;) (if_statement "if (iVar2 != 0) goto LAB_0001bdea;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001bdea;" goto statement_identifier ;)) (expression_statement "dVar14 = (double)(ulonglong)n_record.num_bins;" (assignment_expression "dVar14 = (double)(ulonglong)n_record.num_bins" identifier = (cast_expression "(double)(ulonglong)n_record.num_bins" ( (type_descriptor "double" primitive_type) ) (cast_expression "(ulonglong)n_record.num_bins" ( (type_descriptor "ulonglong" type_identifier) ) (field_expression "n_record.num_bins" identifier . field_identifier)))) ;) (expression_statement "dVar15 = (double)(n_record.highpc - n_record.lowpc >> 1) / (double)(longlong)dVar14;" (assignment_expression "dVar15 = (double)(n_record.highpc - n_record.lowpc >> 1) / (double)(longlong)dVar14" identifier = (binary_expression "(double)(n_record.highpc - n_record.lowpc >> 1) / (double)(longlong)dVar14" (cast_expression "(double)(n_record.highpc - n_record.lowpc >> 1)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(n_record.highpc - n_record.lowpc >> 1)" ( (binary_expression "n_record.highpc - n_record.lowpc >> 1" (binary_expression "n_record.highpc - n_record.lowpc" (field_expression "n_record.highpc" identifier . field_identifier) - (field_expression "n_record.lowpc" identifier . field_identifier)) >> number_literal) ))) / (cast_expression "(double)(longlong)dVar14" ( (type_descriptor "double" primitive_type) ) (cast_expression "(longlong)dVar14" ( (type_descriptor "longlong" type_identifier) ) identifier)))) ;) (if_statement "if (uVar8 == 0) {\n    hz = lowpc;\n    hist_dimension[0] = (undefined1)highpc;\n    hist_dimension[1] = highpc._1_1_;\n    hist_dimension[2] = highpc._2_1_;\n    hist_dimension[3] = highpc._3_1_;\n    hist_dimension[4] = local_38[0];\n    hist_dimension[5] = local_38[1];\n    hist_dimension[6] = local_38[2];\n    hist_dimension[7] = local_38[3];\n    hist_dimension[8] = local_34[0];\n    hist_dimension[9] = local_34[1];\n    hist_dimension[10] = local_34[2];\n    hist_dimension[0xb] = local_34[3];\n    hist_dimension[0xc] = local_30[0];\n    hist_dimension[0xd] = local_30[1];\n    hist_dimension[0xe] = local_2e;\n    hist_dimension_abbrev = count[0];\n    pcVar6 = (char *)0x0;\n    hist_scale = dVar15;\n  }\n  else {\n    pcVar6 = hist_dimension;\n    iVar2 = strncmp((char *)p_highpc,hist_dimension,0xf);\n    pcVar10 = whoami;\n    pcVar7 = pcVar10;\n    if (iVar2 != 0) {\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&whoami);\n      pcVar9 = hist_dimension;\n      filename = pcVar10;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,pcVar9,pcVar7,p_highpc);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    if (count[0] != hist_dimension_abbrev) {\n      cVar12 = hist_dimension_abbrev;\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&whoami,count[0],hist_dimension_abbrev);\n      p_highpc = (bfd_vma *)(int)(char)count[0];\n      pcVar9 = (char *)(int)cVar12;\n      filename = pcVar10;\n      goto LAB_0001bdd2;\n    }\n    dVar14 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(hist_scale - dVar15)) {\n      pcVar7 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    hz = lowpc;\n    hist_dimension[0] = (undefined1)highpc;\n    hist_dimension[1] = highpc._1_1_;\n    hist_dimension[2] = highpc._2_1_;\n    hist_dimension[3] = highpc._3_1_;\n    hist_dimension[4] = local_38[0];\n    hist_dimension[5] = local_38[1];\n    hist_dimension[6] = local_38[2];\n    hist_dimension[7] = local_38[3];\n    hist_dimension[8] = local_34[0];\n    hist_dimension[9] = local_34[1];\n    hist_dimension[10] = local_34[2];\n    hist_dimension[0xb] = local_34[3];\n    hist_dimension[0xc] = local_30[0];\n    hist_dimension[0xd] = local_30[1];\n    hist_dimension[0xe] = local_2e;\n    hist_dimension_abbrev = count[0];\n    pcVar6 = (char *)0x0;\n    hist_scale = dVar15;\n  }" { (expression_statement "hz = lowpc;" (assignment_expression "hz = lowpc" identifier = identifier) ;) (expression_statement "hist_dimension[0] = (undefined1)highpc;" (assignment_expression "hist_dimension[0] = (undefined1)highpc" (subscript_expression "hist_dimension[0]" identifier [ number_literal ]) = (cast_expression "(undefined1)highpc" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (expression_statement "hist_dimension[1] = highpc._1_1_;" (assignment_expression "hist_dimension[1] = highpc._1_1_" (subscript_expression "hist_dimension[1]" identifier [ number_literal ]) = (field_expression "highpc._1_1_" identifier . field_identifier)) ;) (expression_statement "hist_dimension[2] = highpc._2_1_;" (assignment_expression "hist_dimension[2] = highpc._2_1_" (subscript_expression "hist_dimension[2]" identifier [ number_literal ]) = (field_expression "highpc._2_1_" identifier . field_identifier)) ;) (expression_statement "hist_dimension[3] = highpc._3_1_;" (assignment_expression "hist_dimension[3] = highpc._3_1_" (subscript_expression "hist_dimension[3]" identifier [ number_literal ]) = (field_expression "highpc._3_1_" identifier . field_identifier)) ;) (expression_statement "hist_dimension[4] = local_38[0];" (assignment_expression "hist_dimension[4] = local_38[0]" (subscript_expression "hist_dimension[4]" identifier [ number_literal ]) = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "hist_dimension[5] = local_38[1];" (assignment_expression "hist_dimension[5] = local_38[1]" (subscript_expression "hist_dimension[5]" identifier [ number_literal ]) = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "hist_dimension[6] = local_38[2];" (assignment_expression "hist_dimension[6] = local_38[2]" (subscript_expression "hist_dimension[6]" identifier [ number_literal ]) = (subscript_expression "local_38[2]" identifier [ number_literal ])) ;) (expression_statement "hist_dimension[7] = local_38[3];" (assignment_expression "hist_dimension[7] = local_38[3]" (subscript_expression "hist_dimension[7]" identifier [ number_literal ]) = (subscript_expression "local_38[3]" identifier [ number_literal ])) ;) (expression_statement "hist_dimension[8] = local_34[0];" (assignment_expression "hist_dimension[8] = local_34[0]" (subscript_expression "hist_dimension[8]" identifier [ number_literal ]) = (subscript_expression "local_34[0]" identifier [ number_literal ])) ;) (expression_statement "hist_dimension[9] = local_34[1];" (assignment_expression "hist_dimension[9] = local_34[1]" (subscript_expression "hist_dimension[9]" identifier [ number_literal ]) = (subscript_expression "local_34[1]" identifier [ number_literal ])) ;) (expression_statement "hist_dimension[10] = local_34[2];" (assignment_expression "hist_dimension[10] = local_34[2]" (subscript_expression "hist_dimension[10]" identifier [ number_literal ]) = (subscript_expression "local_34[2]" identifier [ number_literal ])) ;) (expression_statement "hist_dimension[0xb] = local_34[3];" (assignment_expression "hist_dimension[0xb] = local_34[3]" (subscript_expression "hist_dimension[0xb]" identifier [ number_literal ]) = (subscript_expression "local_34[3]" identifier [ number_literal ])) ;) (expression_statement "hist_dimension[0xc] = local_30[0];" (assignment_expression "hist_dimension[0xc] = local_30[0]" (subscript_expression "hist_dimension[0xc]" identifier [ number_literal ]) = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) (expression_statement "hist_dimension[0xd] = local_30[1];" (assignment_expression "hist_dimension[0xd] = local_30[1]" (subscript_expression "hist_dimension[0xd]" identifier [ number_literal ]) = (subscript_expression "local_30[1]" identifier [ number_literal ])) ;) (expression_statement "hist_dimension[0xe] = local_2e;" (assignment_expression "hist_dimension[0xe] = local_2e" (subscript_expression "hist_dimension[0xe]" identifier [ number_literal ]) = identifier) ;) (expression_statement "hist_dimension_abbrev = count[0];" (assignment_expression "hist_dimension_abbrev = count[0]" identifier = (subscript_expression "count[0]" identifier [ number_literal ])) ;) (expression_statement "pcVar6 = (char *)0x0;" (assignment_expression "pcVar6 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "hist_scale = dVar15;" (assignment_expression "hist_scale = dVar15" identifier = identifier) ;) }) (else_clause "else {\n    pcVar6 = hist_dimension;\n    iVar2 = strncmp((char *)p_highpc,hist_dimension,0xf);\n    pcVar10 = whoami;\n    pcVar7 = pcVar10;\n    if (iVar2 != 0) {\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&whoami);\n      pcVar9 = hist_dimension;\n      filename = pcVar10;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,pcVar9,pcVar7,p_highpc);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    if (count[0] != hist_dimension_abbrev) {\n      cVar12 = hist_dimension_abbrev;\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&whoami,count[0],hist_dimension_abbrev);\n      p_highpc = (bfd_vma *)(int)(char)count[0];\n      pcVar9 = (char *)(int)cVar12;\n      filename = pcVar10;\n      goto LAB_0001bdd2;\n    }\n    dVar14 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(hist_scale - dVar15)) {\n      pcVar7 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }" else (compound_statement "{\n    pcVar6 = hist_dimension;\n    iVar2 = strncmp((char *)p_highpc,hist_dimension,0xf);\n    pcVar10 = whoami;\n    pcVar7 = pcVar10;\n    if (iVar2 != 0) {\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&whoami);\n      pcVar9 = hist_dimension;\n      filename = pcVar10;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,pcVar9,pcVar7,p_highpc);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    if (count[0] != hist_dimension_abbrev) {\n      cVar12 = hist_dimension_abbrev;\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&whoami,count[0],hist_dimension_abbrev);\n      p_highpc = (bfd_vma *)(int)(char)count[0];\n      pcVar9 = (char *)(int)cVar12;\n      filename = pcVar10;\n      goto LAB_0001bdd2;\n    }\n    dVar14 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(hist_scale - dVar15)) {\n      pcVar7 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }" { (expression_statement "pcVar6 = hist_dimension;" (assignment_expression "pcVar6 = hist_dimension" identifier = identifier) ;) (expression_statement "iVar2 = strncmp((char *)p_highpc,hist_dimension,0xf);" (assignment_expression "iVar2 = strncmp((char *)p_highpc,hist_dimension,0xf)" identifier = (call_expression "strncmp((char *)p_highpc,hist_dimension,0xf)" identifier (argument_list "((char *)p_highpc,hist_dimension,0xf)" ( (cast_expression "(char *)p_highpc" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , number_literal )))) ;) (expression_statement "pcVar10 = whoami;" (assignment_expression "pcVar10 = whoami" identifier = identifier) ;) (expression_statement "pcVar7 = pcVar10;" (assignment_expression "pcVar7 = pcVar10" identifier = identifier) ;) (if_statement "if (iVar2 != 0) {\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&whoami);\n      pcVar9 = hist_dimension;\n      filename = pcVar10;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,pcVar9,pcVar7,p_highpc);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&whoami);\n      pcVar9 = hist_dimension;\n      filename = pcVar10;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,pcVar9,pcVar7,p_highpc);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }" { (expression_statement "pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&whoami);" (assignment_expression "pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&whoami)" identifier = (cast_expression "(char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&whoami)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&whoami)" identifier (argument_list "("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&whoami)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal , (pointer_expression "&whoami" & identifier) ))))) ;) (expression_statement "pcVar9 = hist_dimension;" (assignment_expression "pcVar9 = hist_dimension" identifier = identifier) ;) (expression_statement "filename = pcVar10;" (assignment_expression "filename = pcVar10" identifier = identifier) ;) (labeled_statement "LAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,pcVar9,pcVar7,p_highpc);" statement_identifier : (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,pcVar9,pcVar7,p_highpc);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,pcVar9,pcVar7,p_highpc)" identifier (argument_list "(*(FILE **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,pcVar9,pcVar7,p_highpc)" ( (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" * (cast_expression "(FILE **)PTR_stderr_0002bfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) comment (expression_statement "done(1);" (call_expression "done(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (if_statement "if (count[0] != hist_dimension_abbrev) {\n      cVar12 = hist_dimension_abbrev;\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&whoami,count[0],hist_dimension_abbrev);\n      p_highpc = (bfd_vma *)(int)(char)count[0];\n      pcVar9 = (char *)(int)cVar12;\n      filename = pcVar10;\n      goto LAB_0001bdd2;\n    }" if (parenthesized_expression "(count[0] != hist_dimension_abbrev)" ( (binary_expression "count[0] != hist_dimension_abbrev" (subscript_expression "count[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n      cVar12 = hist_dimension_abbrev;\n      pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&whoami,count[0],hist_dimension_abbrev);\n      p_highpc = (bfd_vma *)(int)(char)count[0];\n      pcVar9 = (char *)(int)cVar12;\n      filename = pcVar10;\n      goto LAB_0001bdd2;\n    }" { (expression_statement "cVar12 = hist_dimension_abbrev;" (assignment_expression "cVar12 = hist_dimension_abbrev" identifier = identifier) ;) (expression_statement "pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&whoami,count[0],hist_dimension_abbrev);" (assignment_expression "pcVar6 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&whoami,count[0],hist_dimension_abbrev)" identifier = (cast_expression "(char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&whoami,count[0],hist_dimension_abbrev)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&whoami,count[0],hist_dimension_abbrev)" identifier (argument_list "("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&whoami,count[0],hist_dimension_abbrev)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal , (pointer_expression "&whoami" & identifier) , (subscript_expression "count[0]" identifier [ number_literal ]) , identifier ))))) ;) (expression_statement "p_highpc = (bfd_vma *)(int)(char)count[0];" (assignment_expression "p_highpc = (bfd_vma *)(int)(char)count[0]" identifier = (cast_expression "(bfd_vma *)(int)(char)count[0]" ( (type_descriptor "bfd_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)(char)count[0]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)count[0]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "count[0]" identifier [ number_literal ]))))) ;) (expression_statement "pcVar9 = (char *)(int)cVar12;" (assignment_expression "pcVar9 = (char *)(int)cVar12" identifier = (cast_expression "(char *)(int)cVar12" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)cVar12" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "filename = pcVar10;" (assignment_expression "filename = pcVar10" identifier = identifier) ;) (goto_statement "goto LAB_0001bdd2;" goto statement_identifier ;) })) (expression_statement "dVar14 = DAT_00022e30;" (assignment_expression "dVar14 = DAT_00022e30" identifier = identifier) ;) (if_statement "if (DAT_00022e30 < ABS(hist_scale - dVar15)) {\n      pcVar7 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }" if (parenthesized_expression "(DAT_00022e30 < ABS(hist_scale - dVar15))" ( (binary_expression "DAT_00022e30 < ABS(hist_scale - dVar15)" identifier < (call_expression "ABS(hist_scale - dVar15)" identifier (argument_list "(hist_scale - dVar15)" ( (binary_expression "hist_scale - dVar15" identifier - identifier) )))) )) (compound_statement "{\n      pcVar7 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }" { (expression_statement "pcVar7 = "%s: different scales in histogram records";" (assignment_expression "pcVar7 = "%s: different scales in histogram records"" identifier = (string_literal ""%s: different scales in histogram records"" " string_content ")) ;) (goto_statement "goto LAB_0001be3b;" goto statement_identifier ;) })) }))) (if_statement "if (*puVar13 != 0) {\n    uVar8 = 0;\n    phVar1 = histograms;\n    do {\n      pcVar6 = (char *)phVar1;\n      if ((((histogram *)pcVar6)->lowpc == bVar4) &&\n         ((histogram *)((histogram *)pcVar6)->highpc == phVar11)) goto LAB_0001bbb9;\n      uVar8 = uVar8 + 1;\n      phVar1 = (histogram *)((int)pcVar6 + 0x10);\n    } while (uVar8 != *puVar13);\n  }" if (parenthesized_expression "(*puVar13 != 0)" ( (binary_expression "*puVar13 != 0" (pointer_expression "*puVar13" * identifier) != number_literal) )) (compound_statement "{\n    uVar8 = 0;\n    phVar1 = histograms;\n    do {\n      pcVar6 = (char *)phVar1;\n      if ((((histogram *)pcVar6)->lowpc == bVar4) &&\n         ((histogram *)((histogram *)pcVar6)->highpc == phVar11)) goto LAB_0001bbb9;\n      uVar8 = uVar8 + 1;\n      phVar1 = (histogram *)((int)pcVar6 + 0x10);\n    } while (uVar8 != *puVar13);\n  }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "phVar1 = histograms;" (assignment_expression "phVar1 = histograms" identifier = identifier) ;) (do_statement "do {\n      pcVar6 = (char *)phVar1;\n      if ((((histogram *)pcVar6)->lowpc == bVar4) &&\n         ((histogram *)((histogram *)pcVar6)->highpc == phVar11)) goto LAB_0001bbb9;\n      uVar8 = uVar8 + 1;\n      phVar1 = (histogram *)((int)pcVar6 + 0x10);\n    } while (uVar8 != *puVar13);" do (compound_statement "{\n      pcVar6 = (char *)phVar1;\n      if ((((histogram *)pcVar6)->lowpc == bVar4) &&\n         ((histogram *)((histogram *)pcVar6)->highpc == phVar11)) goto LAB_0001bbb9;\n      uVar8 = uVar8 + 1;\n      phVar1 = (histogram *)((int)pcVar6 + 0x10);\n    }" { (expression_statement "pcVar6 = (char *)phVar1;" (assignment_expression "pcVar6 = (char *)phVar1" identifier = (cast_expression "(char *)phVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((((histogram *)pcVar6)->lowpc == bVar4) &&\n         ((histogram *)((histogram *)pcVar6)->highpc == phVar11)) goto LAB_0001bbb9;" if (parenthesized_expression "((((histogram *)pcVar6)->lowpc == bVar4) &&\n         ((histogram *)((histogram *)pcVar6)->highpc == phVar11))" ( (binary_expression "(((histogram *)pcVar6)->lowpc == bVar4) &&\n         ((histogram *)((histogram *)pcVar6)->highpc == phVar11)" (parenthesized_expression "(((histogram *)pcVar6)->lowpc == bVar4)" ( (binary_expression "((histogram *)pcVar6)->lowpc == bVar4" (field_expression "((histogram *)pcVar6)->lowpc" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier) == identifier) )) && (parenthesized_expression "((histogram *)((histogram *)pcVar6)->highpc == phVar11)" ( (binary_expression "(histogram *)((histogram *)pcVar6)->highpc == phVar11" (cast_expression "(histogram *)((histogram *)pcVar6)->highpc" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "((histogram *)pcVar6)->highpc" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier)) == identifier) ))) )) (goto_statement "goto LAB_0001bbb9;" goto statement_identifier ;)) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "phVar1 = (histogram *)((int)pcVar6 + 0x10);" (assignment_expression "phVar1 = (histogram *)((int)pcVar6 + 0x10)" identifier = (cast_expression "(histogram *)((int)pcVar6 + 0x10)" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar6 + 0x10)" ( (binary_expression "(int)pcVar6 + 0x10" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(uVar8 != *puVar13)" ( (binary_expression "uVar8 != *puVar13" identifier != (pointer_expression "*puVar13" * identifier)) )) ;) })) (expression_statement "lowpc = bVar4;" (assignment_expression "lowpc = bVar4" identifier = identifier) ;) (expression_statement "highpc = (bfd_vma)phVar11;" (assignment_expression "highpc = (bfd_vma)phVar11" identifier = (cast_expression "(bfd_vma)phVar11" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) ;) (expression_statement "hist_clip_symbol_address(&lowpc,p_highpc);" (call_expression "hist_clip_symbol_address(&lowpc,p_highpc)" identifier (argument_list "(&lowpc,p_highpc)" ( (pointer_expression "&lowpc" & identifier) , identifier ))) ;) (if_statement "if (lowpc == highpc) {\n    histograms = (histogram *)xrealloc(histograms,(*puVar13 + 1) * 0x10);\n    phVar11 = histograms + *puVar13;\n    phVar11->lowpc = n_record.lowpc;\n    phVar11->highpc = n_record.highpc;\n    phVar11->num_bins = n_record.num_bins;\n    phVar11->sample = n_record.sample;\n    pcVar6 = (char *)(histograms + *puVar13);\n    *puVar13 = *puVar13 + 1;\n    piVar5 = (int *)xmalloc(((histogram *)pcVar6)->num_bins << 2);\n    ((histogram *)pcVar6)->sample = piVar5;\n    memset(piVar5,0,((histogram *)pcVar6)->num_bins * 4);\nLAB_0001bbb9:\n    piVar5 = &debug_level;\n    uVar8 = ((histogram *)pcVar6)->num_bins;\n    if (((byte)debug_level & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",((histogram *)pcVar6)->lowpc,\n             ((histogram *)pcVar6)->highpc,uVar8);\n      uVar8 = ((histogram *)pcVar6)->num_bins;\n    }\n    pcVar9 = (char *)0x0;\n    uVar16 = 0x22d79;\n    if (uVar8 != 0) {\n      do {\n        while( true ) {\n          sVar3 = fread(buf,2,1,(FILE *)ifp);\n          pcVar10 = whoami;\n          if (sVar3 != 1) {\n            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;\n            p_highpc = (bfd_vma *)0x5;\n            pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          bVar4 = (*core_bfd->xvec->bfd_getx16)(buf);\n          iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9];\n          ((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2;\n          if ((*(byte *)piVar5 & 0x40) == 0) break;\n          uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2);\n          if ((char *)((histogram *)pcVar6)->num_bins <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < (char *)((histogram *)pcVar6)->num_bins);\n    }\n    return;\n  }" if (parenthesized_expression "(lowpc == highpc)" ( (binary_expression "lowpc == highpc" identifier == identifier) )) (compound_statement "{\n    histograms = (histogram *)xrealloc(histograms,(*puVar13 + 1) * 0x10);\n    phVar11 = histograms + *puVar13;\n    phVar11->lowpc = n_record.lowpc;\n    phVar11->highpc = n_record.highpc;\n    phVar11->num_bins = n_record.num_bins;\n    phVar11->sample = n_record.sample;\n    pcVar6 = (char *)(histograms + *puVar13);\n    *puVar13 = *puVar13 + 1;\n    piVar5 = (int *)xmalloc(((histogram *)pcVar6)->num_bins << 2);\n    ((histogram *)pcVar6)->sample = piVar5;\n    memset(piVar5,0,((histogram *)pcVar6)->num_bins * 4);\nLAB_0001bbb9:\n    piVar5 = &debug_level;\n    uVar8 = ((histogram *)pcVar6)->num_bins;\n    if (((byte)debug_level & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",((histogram *)pcVar6)->lowpc,\n             ((histogram *)pcVar6)->highpc,uVar8);\n      uVar8 = ((histogram *)pcVar6)->num_bins;\n    }\n    pcVar9 = (char *)0x0;\n    uVar16 = 0x22d79;\n    if (uVar8 != 0) {\n      do {\n        while( true ) {\n          sVar3 = fread(buf,2,1,(FILE *)ifp);\n          pcVar10 = whoami;\n          if (sVar3 != 1) {\n            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;\n            p_highpc = (bfd_vma *)0x5;\n            pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          bVar4 = (*core_bfd->xvec->bfd_getx16)(buf);\n          iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9];\n          ((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2;\n          if ((*(byte *)piVar5 & 0x40) == 0) break;\n          uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2);\n          if ((char *)((histogram *)pcVar6)->num_bins <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < (char *)((histogram *)pcVar6)->num_bins);\n    }\n    return;\n  }" { (expression_statement "histograms = (histogram *)xrealloc(histograms,(*puVar13 + 1) * 0x10);" (assignment_expression "histograms = (histogram *)xrealloc(histograms,(*puVar13 + 1) * 0x10)" identifier = (cast_expression "(histogram *)xrealloc(histograms,(*puVar13 + 1) * 0x10)" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xrealloc(histograms,(*puVar13 + 1) * 0x10)" identifier (argument_list "(histograms,(*puVar13 + 1) * 0x10)" ( identifier , (binary_expression "(*puVar13 + 1) * 0x10" (parenthesized_expression "(*puVar13 + 1)" ( (binary_expression "*puVar13 + 1" (pointer_expression "*puVar13" * identifier) + number_literal) )) * number_literal) ))))) ;) (expression_statement "phVar11 = histograms + *puVar13;" (assignment_expression "phVar11 = histograms + *puVar13" identifier = (binary_expression "histograms + *puVar13" identifier + (pointer_expression "*puVar13" * identifier))) ;) (expression_statement "phVar11->lowpc = n_record.lowpc;" (assignment_expression "phVar11->lowpc = n_record.lowpc" (field_expression "phVar11->lowpc" identifier -> field_identifier) = (field_expression "n_record.lowpc" identifier . field_identifier)) ;) (expression_statement "phVar11->highpc = n_record.highpc;" (assignment_expression "phVar11->highpc = n_record.highpc" (field_expression "phVar11->highpc" identifier -> field_identifier) = (field_expression "n_record.highpc" identifier . field_identifier)) ;) (expression_statement "phVar11->num_bins = n_record.num_bins;" (assignment_expression "phVar11->num_bins = n_record.num_bins" (field_expression "phVar11->num_bins" identifier -> field_identifier) = (field_expression "n_record.num_bins" identifier . field_identifier)) ;) (expression_statement "phVar11->sample = n_record.sample;" (assignment_expression "phVar11->sample = n_record.sample" (field_expression "phVar11->sample" identifier -> field_identifier) = (field_expression "n_record.sample" identifier . field_identifier)) ;) (expression_statement "pcVar6 = (char *)(histograms + *puVar13);" (assignment_expression "pcVar6 = (char *)(histograms + *puVar13)" identifier = (cast_expression "(char *)(histograms + *puVar13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(histograms + *puVar13)" ( (binary_expression "histograms + *puVar13" identifier + (pointer_expression "*puVar13" * identifier)) )))) ;) (expression_statement "*puVar13 = *puVar13 + 1;" (assignment_expression "*puVar13 = *puVar13 + 1" (pointer_expression "*puVar13" * identifier) = (binary_expression "*puVar13 + 1" (pointer_expression "*puVar13" * identifier) + number_literal)) ;) (expression_statement "piVar5 = (int *)xmalloc(((histogram *)pcVar6)->num_bins << 2);" (assignment_expression "piVar5 = (int *)xmalloc(((histogram *)pcVar6)->num_bins << 2)" identifier = (cast_expression "(int *)xmalloc(((histogram *)pcVar6)->num_bins << 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(((histogram *)pcVar6)->num_bins << 2)" identifier (argument_list "(((histogram *)pcVar6)->num_bins << 2)" ( (binary_expression "((histogram *)pcVar6)->num_bins << 2" (field_expression "((histogram *)pcVar6)->num_bins" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier) << number_literal) ))))) ;) (expression_statement "((histogram *)pcVar6)->sample = piVar5;" (assignment_expression "((histogram *)pcVar6)->sample = piVar5" (field_expression "((histogram *)pcVar6)->sample" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier) = identifier) ;) (expression_statement "memset(piVar5,0,((histogram *)pcVar6)->num_bins * 4);" (call_expression "memset(piVar5,0,((histogram *)pcVar6)->num_bins * 4)" identifier (argument_list "(piVar5,0,((histogram *)pcVar6)->num_bins * 4)" ( identifier , number_literal , (binary_expression "((histogram *)pcVar6)->num_bins * 4" (field_expression "((histogram *)pcVar6)->num_bins" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier) * number_literal) ))) ;) (labeled_statement "LAB_0001bbb9:\n    piVar5 = &debug_level;" statement_identifier : (expression_statement "piVar5 = &debug_level;" (assignment_expression "piVar5 = &debug_level" identifier = (pointer_expression "&debug_level" & identifier)) ;)) (expression_statement "uVar8 = ((histogram *)pcVar6)->num_bins;" (assignment_expression "uVar8 = ((histogram *)pcVar6)->num_bins" identifier = (field_expression "((histogram *)pcVar6)->num_bins" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier)) ;) (if_statement "if (((byte)debug_level & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",((histogram *)pcVar6)->lowpc,\n             ((histogram *)pcVar6)->highpc,uVar8);\n      uVar8 = ((histogram *)pcVar6)->num_bins;\n    }" if (parenthesized_expression "(((byte)debug_level & 0x40) != 0)" ( (binary_expression "((byte)debug_level & 0x40) != 0" (parenthesized_expression "((byte)debug_level & 0x40)" ( (binary_expression "(byte)debug_level & 0x40" (cast_expression "(byte)debug_level" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",((histogram *)pcVar6)->lowpc,\n             ((histogram *)pcVar6)->highpc,uVar8);\n      uVar8 = ((histogram *)pcVar6)->num_bins;\n    }" { (expression_statement "printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",((histogram *)pcVar6)->lowpc,\n             ((histogram *)pcVar6)->highpc,uVar8);" (call_expression "printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",((histogram *)pcVar6)->lowpc,\n             ((histogram *)pcVar6)->highpc,uVar8)" identifier (argument_list "("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",((histogram *)pcVar6)->lowpc,\n             ((histogram *)pcVar6)->highpc,uVar8)" ( (string_literal ""[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n"" " string_content escape_sequence ") , (field_expression "((histogram *)pcVar6)->lowpc" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier) , (field_expression "((histogram *)pcVar6)->highpc" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier) , identifier ))) ;) (expression_statement "uVar8 = ((histogram *)pcVar6)->num_bins;" (assignment_expression "uVar8 = ((histogram *)pcVar6)->num_bins" identifier = (field_expression "((histogram *)pcVar6)->num_bins" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier)) ;) })) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar16 = 0x22d79;" (assignment_expression "uVar16 = 0x22d79" identifier = number_literal) ;) (if_statement "if (uVar8 != 0) {\n      do {\n        while( true ) {\n          sVar3 = fread(buf,2,1,(FILE *)ifp);\n          pcVar10 = whoami;\n          if (sVar3 != 1) {\n            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;\n            p_highpc = (bfd_vma *)0x5;\n            pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          bVar4 = (*core_bfd->xvec->bfd_getx16)(buf);\n          iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9];\n          ((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2;\n          if ((*(byte *)piVar5 & 0x40) == 0) break;\n          uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2);\n          if ((char *)((histogram *)pcVar6)->num_bins <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < (char *)((histogram *)pcVar6)->num_bins);\n    }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        while( true ) {\n          sVar3 = fread(buf,2,1,(FILE *)ifp);\n          pcVar10 = whoami;\n          if (sVar3 != 1) {\n            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;\n            p_highpc = (bfd_vma *)0x5;\n            pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          bVar4 = (*core_bfd->xvec->bfd_getx16)(buf);\n          iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9];\n          ((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2;\n          if ((*(byte *)piVar5 & 0x40) == 0) break;\n          uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2);\n          if ((char *)((histogram *)pcVar6)->num_bins <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < (char *)((histogram *)pcVar6)->num_bins);\n    }" { (do_statement "do {\n        while( true ) {\n          sVar3 = fread(buf,2,1,(FILE *)ifp);\n          pcVar10 = whoami;\n          if (sVar3 != 1) {\n            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;\n            p_highpc = (bfd_vma *)0x5;\n            pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          bVar4 = (*core_bfd->xvec->bfd_getx16)(buf);\n          iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9];\n          ((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2;\n          if ((*(byte *)piVar5 & 0x40) == 0) break;\n          uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2);\n          if ((char *)((histogram *)pcVar6)->num_bins <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < (char *)((histogram *)pcVar6)->num_bins);" do (compound_statement "{\n        while( true ) {\n          sVar3 = fread(buf,2,1,(FILE *)ifp);\n          pcVar10 = whoami;\n          if (sVar3 != 1) {\n            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;\n            p_highpc = (bfd_vma *)0x5;\n            pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          bVar4 = (*core_bfd->xvec->bfd_getx16)(buf);\n          iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9];\n          ((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2;\n          if ((*(byte *)piVar5 & 0x40) == 0) break;\n          uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2);\n          if ((char *)((histogram *)pcVar6)->num_bins <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      }" { (while_statement "while( true ) {\n          sVar3 = fread(buf,2,1,(FILE *)ifp);\n          pcVar10 = whoami;\n          if (sVar3 != 1) {\n            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;\n            p_highpc = (bfd_vma *)0x5;\n            pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          bVar4 = (*core_bfd->xvec->bfd_getx16)(buf);\n          iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9];\n          ((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2;\n          if ((*(byte *)piVar5 & 0x40) == 0) break;\n          uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2);\n          if ((char *)((histogram *)pcVar6)->num_bins <= pcVar9) {\n            return;\n          }\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          sVar3 = fread(buf,2,1,(FILE *)ifp);\n          pcVar10 = whoami;\n          if (sVar3 != 1) {\n            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;\n            p_highpc = (bfd_vma *)0x5;\n            pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          bVar4 = (*core_bfd->xvec->bfd_getx16)(buf);\n          iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9];\n          ((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2;\n          if ((*(byte *)piVar5 & 0x40) == 0) break;\n          uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2);\n          if ((char *)((histogram *)pcVar6)->num_bins <= pcVar9) {\n            return;\n          }\n        }" { (expression_statement "sVar3 = fread(buf,2,1,(FILE *)ifp);" (assignment_expression "sVar3 = fread(buf,2,1,(FILE *)ifp)" identifier = (call_expression "fread(buf,2,1,(FILE *)ifp)" identifier (argument_list "(buf,2,1,(FILE *)ifp)" ( identifier , number_literal , number_literal , (cast_expression "(FILE *)ifp" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "pcVar10 = whoami;" (assignment_expression "pcVar10 = whoami" identifier = identifier) ;) (if_statement "if (sVar3 != 1) {\n            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;\n            p_highpc = (bfd_vma *)0x5;\n            pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }" if (parenthesized_expression "(sVar3 != 1)" ( (binary_expression "sVar3 != 1" identifier != number_literal) )) (compound_statement "{\n            pcVar7 = (char *)((histogram *)pcVar6)->num_bins;\n            p_highpc = (bfd_vma *)0x5;\n            pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }" { (expression_statement "pcVar7 = (char *)((histogram *)pcVar6)->num_bins;" (assignment_expression "pcVar7 = (char *)((histogram *)pcVar6)->num_bins" identifier = (cast_expression "(char *)((histogram *)pcVar6)->num_bins" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "((histogram *)pcVar6)->num_bins" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier))) ;) (expression_statement "p_highpc = (bfd_vma *)0x5;" (assignment_expression "p_highpc = (bfd_vma *)0x5" identifier = (cast_expression "(bfd_vma *)0x5" ( (type_descriptor "bfd_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);" (assignment_expression "pcVar6 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" identifier (argument_list "("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: %s: unexpected EOF after reading %u of %u samples\n"" " string_content escape_sequence ") , number_literal ))))) ;) (goto_statement "goto LAB_0001bdd2;" goto statement_identifier ;) })) (expression_statement "bVar4 = (*core_bfd->xvec->bfd_getx16)(buf);" (assignment_expression "bVar4 = (*core_bfd->xvec->bfd_getx16)(buf)" identifier = (call_expression "(*core_bfd->xvec->bfd_getx16)(buf)" (parenthesized_expression "(*core_bfd->xvec->bfd_getx16)" ( (pointer_expression "*core_bfd->xvec->bfd_getx16" * (field_expression "core_bfd->xvec->bfd_getx16" (field_expression "core_bfd->xvec" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(buf)" ( identifier )))) ;) (expression_statement "iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9];" (assignment_expression "iVar2 = bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9]" identifier = (binary_expression "bVar4 + ((histogram *)pcVar6)->sample[(int)pcVar9]" identifier + (subscript_expression "((histogram *)pcVar6)->sample[(int)pcVar9]" (field_expression "((histogram *)pcVar6)->sample" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier) [ (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) ]))) ;) (expression_statement "((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2;" (assignment_expression "((histogram *)pcVar6)->sample[(int)pcVar9] = iVar2" (subscript_expression "((histogram *)pcVar6)->sample[(int)pcVar9]" (field_expression "((histogram *)pcVar6)->sample" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier) [ (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) ]) = identifier) ;) (if_statement "if ((*(byte *)piVar5 & 0x40) == 0) break;" if (parenthesized_expression "((*(byte *)piVar5 & 0x40) == 0)" ( (binary_expression "(*(byte *)piVar5 & 0x40) == 0" (parenthesized_expression "(*(byte *)piVar5 & 0x40)" ( (binary_expression "*(byte *)piVar5 & 0x40" (pointer_expression "*(byte *)piVar5" * (cast_expression "(byte *)piVar5" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9;" (assignment_expression "uVar8 = (((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9" identifier = (binary_expression "(((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc) * (int)pcVar9" (parenthesized_expression "(((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc)" ( (binary_expression "((histogram *)pcVar6)->highpc - ((histogram *)pcVar6)->lowpc" (field_expression "((histogram *)pcVar6)->highpc" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier) - (field_expression "((histogram *)pcVar6)->lowpc" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier)) )) * (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "printf((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2);" (call_expression "printf((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2)" identifier (argument_list "((char *)uVar16,\n                 uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc,iVar2)" ( (cast_expression "(char *)uVar16" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (binary_expression "uVar8 / ((histogram *)pcVar6)->num_bins + ((histogram *)pcVar6)->lowpc" (binary_expression "uVar8 / ((histogram *)pcVar6)->num_bins" identifier / (field_expression "((histogram *)pcVar6)->num_bins" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier)) + (field_expression "((histogram *)pcVar6)->lowpc" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier)) , identifier ))) ;) (if_statement "if ((char *)((histogram *)pcVar6)->num_bins <= pcVar9) {\n            return;\n          }" if (parenthesized_expression "((char *)((histogram *)pcVar6)->num_bins <= pcVar9)" ( (binary_expression "(char *)((histogram *)pcVar6)->num_bins <= pcVar9" (cast_expression "(char *)((histogram *)pcVar6)->num_bins" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "((histogram *)pcVar6)->num_bins" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier)) <= identifier) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) })) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar9 < (char *)((histogram *)pcVar6)->num_bins)" ( (binary_expression "pcVar9 < (char *)((histogram *)pcVar6)->num_bins" identifier < (cast_expression "(char *)((histogram *)pcVar6)->num_bins" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "((histogram *)pcVar6)->num_bins" (parenthesized_expression "((histogram *)pcVar6)" ( (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier))) )) ;) })) (return_statement "return;" return ;) })) (expression_statement "pcVar7 = "%s: overlapping histogram records\n";" (assignment_expression "pcVar7 = "%s: overlapping histogram records\n"" identifier = (string_literal ""%s: overlapping histogram records\n"" " string_content escape_sequence ")) ;) (expression_statement "phVar11 = (histogram *)pcVar6;" (assignment_expression "phVar11 = (histogram *)pcVar6" identifier = (cast_expression "(histogram *)pcVar6" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (labeled_statement "LAB_0001be3b:\n  pcVar6 = whoami;" statement_identifier : (expression_statement "pcVar6 = whoami;" (assignment_expression "pcVar6 = whoami" identifier = identifier) ;)) (expression_statement "pcVar7 = (char *)dcgettext("gprof",pcVar7,5,phVar11,buf,puVar13,dVar14);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof",pcVar7,5,phVar11,buf,puVar13,dVar14)" identifier = (cast_expression "(char *)dcgettext("gprof",pcVar7,5,phVar11,buf,puVar13,dVar14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",pcVar7,5,phVar11,buf,puVar13,dVar14)" identifier (argument_list "("gprof",pcVar7,5,phVar11,buf,puVar13,dVar14)" ( (string_literal ""gprof"" " string_content ") , identifier , number_literal , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6)" identifier (argument_list "(*(FILE **)PTR_stderr_0002bfcc,pcVar7,pcVar6)" ( (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" * (cast_expression "(FILE **)PTR_stderr_0002bfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier ))) ;) comment (expression_statement "done(1);" (call_expression "done(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "void FUN_0001ba20(FILE *param_1,int param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  size_t sVar5;\n  int *piVar6;\n  void *__s;\n  char *pcVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int **__s1;\n  int *piVar11;\n  char cVar12;\n  int *piVar13;\n  byte *pbVar14;\n  double dVar15;\n  double dVar16;\n  undefined8 uVar17;\n  char local_42 [2];\n  int *local_40;\n  int *local_3c;\n  char local_38 [4];\n  undefined4 local_34;\n  undefined2 local_30;\n  undefined1 local_2e;\n  int *local_2c;\n  int *local_28;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar8 = DAT_0002d49c;\n  uStack_14 = 0x1ba29;\n  piVar13 = &DAT_0002d49c;\n  iVar3 = FUN_000199f0(param_1,&local_2c);\n  if (((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)) {\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    \n    FUN_0001a990(1);\n  }\n  iVar3 = FUN_00019990(param_1,&local_40);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  __s1 = &local_3c;\n  iVar3 = FUN_00019a70(param_1,__s1,0xf);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  pcVar7 = local_42;\n  iVar3 = FUN_00019a70(param_1,pcVar7,1);\n  piVar11 = local_28;\n  piVar6 = local_2c;\n  if (iVar3 != 0) goto LAB_0001bdea;\n  dVar15 = (double)(ulonglong)local_24;\n  dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15;\n  if (iVar8 == 0) {\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }\n  else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }\n  if (*piVar13 != 0) {\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }\n  local_40 = piVar6;\n  local_3c = piVar11;\n  FUN_0001b950(&local_40,__s1);\n  if (local_40 == local_3c) {\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }\n  pcVar9 = "%s: overlapping histogram records\n";\n  piVar11 = (int *)pcVar10;\nLAB_0001be3b:\n  iVar8 = DAT_0002d494;\n  pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15);\n  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8);\n                    \n  FUN_0001a990(1);\n}\n\n" (function_definition "void FUN_0001ba20(FILE *param_1,int param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  size_t sVar5;\n  int *piVar6;\n  void *__s;\n  char *pcVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int **__s1;\n  int *piVar11;\n  char cVar12;\n  int *piVar13;\n  byte *pbVar14;\n  double dVar15;\n  double dVar16;\n  undefined8 uVar17;\n  char local_42 [2];\n  int *local_40;\n  int *local_3c;\n  char local_38 [4];\n  undefined4 local_34;\n  undefined2 local_30;\n  undefined1 local_2e;\n  int *local_2c;\n  int *local_28;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar8 = DAT_0002d49c;\n  uStack_14 = 0x1ba29;\n  piVar13 = &DAT_0002d49c;\n  iVar3 = FUN_000199f0(param_1,&local_2c);\n  if (((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)) {\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    \n    FUN_0001a990(1);\n  }\n  iVar3 = FUN_00019990(param_1,&local_40);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  __s1 = &local_3c;\n  iVar3 = FUN_00019a70(param_1,__s1,0xf);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  pcVar7 = local_42;\n  iVar3 = FUN_00019a70(param_1,pcVar7,1);\n  piVar11 = local_28;\n  piVar6 = local_2c;\n  if (iVar3 != 0) goto LAB_0001bdea;\n  dVar15 = (double)(ulonglong)local_24;\n  dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15;\n  if (iVar8 == 0) {\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }\n  else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }\n  if (*piVar13 != 0) {\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }\n  local_40 = piVar6;\n  local_3c = piVar11;\n  FUN_0001b950(&local_40,__s1);\n  if (local_40 == local_3c) {\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }\n  pcVar9 = "%s: overlapping histogram records\n";\n  piVar11 = (int *)pcVar10;\nLAB_0001be3b:\n  iVar8 = DAT_0002d494;\n  pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15);\n  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8);\n                    \n  FUN_0001a990(1);\n}" primitive_type (function_declarator "FUN_0001ba20(FILE *param_1,int param_2)" identifier (parameter_list "(FILE *param_1,int param_2)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  size_t sVar5;\n  int *piVar6;\n  void *__s;\n  char *pcVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int **__s1;\n  int *piVar11;\n  char cVar12;\n  int *piVar13;\n  byte *pbVar14;\n  double dVar15;\n  double dVar16;\n  undefined8 uVar17;\n  char local_42 [2];\n  int *local_40;\n  int *local_3c;\n  char local_38 [4];\n  undefined4 local_34;\n  undefined2 local_30;\n  undefined1 local_2e;\n  int *local_2c;\n  int *local_28;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar8 = DAT_0002d49c;\n  uStack_14 = 0x1ba29;\n  piVar13 = &DAT_0002d49c;\n  iVar3 = FUN_000199f0(param_1,&local_2c);\n  if (((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)) {\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    \n    FUN_0001a990(1);\n  }\n  iVar3 = FUN_00019990(param_1,&local_40);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  __s1 = &local_3c;\n  iVar3 = FUN_00019a70(param_1,__s1,0xf);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  pcVar7 = local_42;\n  iVar3 = FUN_00019a70(param_1,pcVar7,1);\n  piVar11 = local_28;\n  piVar6 = local_2c;\n  if (iVar3 != 0) goto LAB_0001bdea;\n  dVar15 = (double)(ulonglong)local_24;\n  dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15;\n  if (iVar8 == 0) {\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }\n  else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }\n  if (*piVar13 != 0) {\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }\n  local_40 = piVar6;\n  local_3c = piVar11;\n  FUN_0001b950(&local_40,__s1);\n  if (local_40 == local_3c) {\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }\n  pcVar9 = "%s: overlapping histogram records\n";\n  piVar11 = (int *)pcVar10;\nLAB_0001be3b:\n  iVar8 = DAT_0002d494;\n  pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15);\n  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8);\n                    \n  FUN_0001a990(1);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "void *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int **__s1;" primitive_type (pointer_declarator "**__s1" * (pointer_declarator "*__s1" * identifier)) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "char cVar12;" primitive_type identifier ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "double dVar15;" primitive_type identifier ;) (declaration "double dVar16;" primitive_type identifier ;) (declaration "undefined8 uVar17;" type_identifier identifier ;) (declaration "char local_42 [2];" primitive_type (array_declarator "local_42 [2]" identifier [ number_literal ]) ;) (declaration "int *local_40;" primitive_type (pointer_declarator "*local_40" * identifier) ;) (declaration "int *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "char local_38 [4];" primitive_type (array_declarator "local_38 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined2 local_30;" type_identifier identifier ;) (declaration "undefined1 local_2e;" type_identifier identifier ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "iVar8 = DAT_0002d49c;" (assignment_expression "iVar8 = DAT_0002d49c" identifier = identifier) ;) (expression_statement "uStack_14 = 0x1ba29;" (assignment_expression "uStack_14 = 0x1ba29" identifier = number_literal) ;) (expression_statement "piVar13 = &DAT_0002d49c;" (assignment_expression "piVar13 = &DAT_0002d49c" identifier = (pointer_expression "&DAT_0002d49c" & identifier)) ;) (expression_statement "iVar3 = FUN_000199f0(param_1,&local_2c);" (assignment_expression "iVar3 = FUN_000199f0(param_1,&local_2c)" identifier = (call_expression "FUN_000199f0(param_1,&local_2c)" identifier (argument_list "(param_1,&local_2c)" ( identifier , (pointer_expression "&local_2c" & identifier) )))) ;) (if_statement "if (((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)) {\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    \n    FUN_0001a990(1);\n  }" if (parenthesized_expression "(((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0))" ( (binary_expression "((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)" (parenthesized_expression "((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0))" ( (binary_expression "(iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0" (assignment_expression "iVar3 = FUN_000199f0(param_1,&local_28)" identifier = (call_expression "FUN_000199f0(param_1,&local_28)" identifier (argument_list "(param_1,&local_28)" ( identifier , (pointer_expression "&local_28" & identifier) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0" (assignment_expression "iVar3 = FUN_00019990(param_1,&local_24)" identifier = (call_expression "FUN_00019990(param_1,&local_24)" identifier (argument_list "(param_1,&local_24)" ( identifier , (pointer_expression "&local_24" & identifier) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    \n    FUN_0001a990(1);\n  }" { (labeled_statement "LAB_0001bdea:\n    iVar8 = DAT_0002d494;" statement_identifier : (expression_statement "iVar8 = DAT_0002d494;" (assignment_expression "iVar8 = DAT_0002d494" identifier = identifier) ;)) (expression_statement "pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: %s: unexpected end of file\n",5)" identifier (argument_list "("gprof","%s: %s: unexpected end of file\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: %s: unexpected end of file\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2)" identifier (argument_list "(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2)" ( (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" * (cast_expression "(FILE **)PTR_stderr_0002bfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier ))) ;) (expression_statement "FUN_0001a990(1);" (call_expression "FUN_0001a990(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "iVar3 = FUN_00019990(param_1,&local_40);" (assignment_expression "iVar3 = FUN_00019990(param_1,&local_40)" identifier = (call_expression "FUN_00019990(param_1,&local_40)" identifier (argument_list "(param_1,&local_40)" ( identifier , (pointer_expression "&local_40" & identifier) )))) ;) (if_statement "if (iVar3 != 0) goto LAB_0001bdea;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001bdea;" goto statement_identifier ;)) (expression_statement "__s1 = &local_3c;" (assignment_expression "__s1 = &local_3c" identifier = (pointer_expression "&local_3c" & identifier)) ;) (expression_statement "iVar3 = FUN_00019a70(param_1,__s1,0xf);" (assignment_expression "iVar3 = FUN_00019a70(param_1,__s1,0xf)" identifier = (call_expression "FUN_00019a70(param_1,__s1,0xf)" identifier (argument_list "(param_1,__s1,0xf)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) goto LAB_0001bdea;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001bdea;" goto statement_identifier ;)) (expression_statement "pcVar7 = local_42;" (assignment_expression "pcVar7 = local_42" identifier = identifier) ;) (expression_statement "iVar3 = FUN_00019a70(param_1,pcVar7,1);" (assignment_expression "iVar3 = FUN_00019a70(param_1,pcVar7,1)" identifier = (call_expression "FUN_00019a70(param_1,pcVar7,1)" identifier (argument_list "(param_1,pcVar7,1)" ( identifier , identifier , number_literal )))) ;) (expression_statement "piVar11 = local_28;" (assignment_expression "piVar11 = local_28" identifier = identifier) ;) (expression_statement "piVar6 = local_2c;" (assignment_expression "piVar6 = local_2c" identifier = identifier) ;) (if_statement "if (iVar3 != 0) goto LAB_0001bdea;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001bdea;" goto statement_identifier ;)) (expression_statement "dVar15 = (double)(ulonglong)local_24;" (assignment_expression "dVar15 = (double)(ulonglong)local_24" identifier = (cast_expression "(double)(ulonglong)local_24" ( (type_descriptor "double" primitive_type) ) (cast_expression "(ulonglong)local_24" ( (type_descriptor "ulonglong" type_identifier) ) identifier))) ;) (expression_statement "dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15;" (assignment_expression "dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15" identifier = (binary_expression "(double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15" (cast_expression "(double)((uint)((int)local_28 - (int)local_2c) >> 1)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((uint)((int)local_28 - (int)local_2c) >> 1)" ( (binary_expression "(uint)((int)local_28 - (int)local_2c) >> 1" (call_expression "(uint)((int)local_28 - (int)local_2c)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)local_28 - (int)local_2c)" ( (binary_expression "(int)local_28 - (int)local_2c" (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ))) >> number_literal) ))) / (cast_expression "(double)(longlong)dVar15" ( (type_descriptor "double" primitive_type) ) (cast_expression "(longlong)dVar15" ( (type_descriptor "longlong" type_identifier) ) identifier)))) ;) (if_statement "if (iVar8 == 0) {\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }\n  else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }" { (expression_statement "DAT_0002d15c = local_40;" (assignment_expression "DAT_0002d15c = local_40" identifier = identifier) ;) (expression_statement "s_seconds_0002c4a8._0_4_ = local_3c;" (assignment_expression "s_seconds_0002c4a8._0_4_ = local_3c" (field_expression "s_seconds_0002c4a8._0_4_" identifier . field_identifier) = identifier) ;) (expression_statement "s_seconds_0002c4a8[4] = local_38[0];" (assignment_expression "s_seconds_0002c4a8[4] = local_38[0]" (subscript_expression "s_seconds_0002c4a8[4]" identifier [ number_literal ]) = (subscript_expression "local_38[0]" identifier [ number_literal ])) ;) (expression_statement "s_seconds_0002c4a8[5] = local_38[1];" (assignment_expression "s_seconds_0002c4a8[5] = local_38[1]" (subscript_expression "s_seconds_0002c4a8[5]" identifier [ number_literal ]) = (subscript_expression "local_38[1]" identifier [ number_literal ])) ;) (expression_statement "s_seconds_0002c4a8[6] = local_38[2];" (assignment_expression "s_seconds_0002c4a8[6] = local_38[2]" (subscript_expression "s_seconds_0002c4a8[6]" identifier [ number_literal ]) = (subscript_expression "local_38[2]" identifier [ number_literal ])) ;) (expression_statement "s_seconds_0002c4a8[7] = local_38[3];" (assignment_expression "s_seconds_0002c4a8[7] = local_38[3]" (subscript_expression "s_seconds_0002c4a8[7]" identifier [ number_literal ]) = (subscript_expression "local_38[3]" identifier [ number_literal ])) ;) (expression_statement "DAT_0002c4b0 = local_34;" (assignment_expression "DAT_0002c4b0 = local_34" identifier = identifier) ;) (expression_statement "DAT_0002c4b4 = local_30;" (assignment_expression "DAT_0002c4b4 = local_30" identifier = identifier) ;) (expression_statement "DAT_0002c4b6 = local_2e;" (assignment_expression "DAT_0002c4b6 = local_2e" identifier = identifier) ;) (expression_statement "DAT_0002c4a4 = local_42[0];" (assignment_expression "DAT_0002c4a4 = local_42[0]" identifier = (subscript_expression "local_42[0]" identifier [ number_literal ])) ;) (expression_statement "pcVar10 = (char *)0x0;" (assignment_expression "pcVar10 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "DAT_0002d4a0 = dVar16;" (assignment_expression "DAT_0002d4a0 = dVar16" identifier = identifier) ;) }) (else_clause "else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }" else (compound_statement "{\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }" { (expression_statement "pcVar10 = s_seconds_0002c4a8;" (assignment_expression "pcVar10 = s_seconds_0002c4a8" identifier = identifier) ;) (expression_statement "iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);" (assignment_expression "iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf)" identifier = (call_expression "strncmp((char *)__s1,s_seconds_0002c4a8,0xf)" identifier (argument_list "((char *)__s1,s_seconds_0002c4a8,0xf)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , number_literal )))) ;) (expression_statement "iVar3 = DAT_0002d494;" (assignment_expression "iVar3 = DAT_0002d494" identifier = identifier) ;) (expression_statement "iVar8 = iVar3;" (assignment_expression "iVar8 = iVar3" identifier = identifier) ;) (if_statement "if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }" { (expression_statement "pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494)" identifier = (cast_expression "(char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494)" identifier (argument_list "("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal , (pointer_expression "&DAT_0002d494" & identifier) ))))) ;) (expression_statement "pcVar9 = s_seconds_0002c4a8;" (assignment_expression "pcVar9 = s_seconds_0002c4a8" identifier = identifier) ;) (expression_statement "param_2 = iVar3;" (assignment_expression "param_2 = iVar3" identifier = identifier) ;) (labeled_statement "LAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);" statement_identifier : (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1)" identifier (argument_list "(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1)" ( (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" * (cast_expression "(FILE **)PTR_stderr_0002bfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) (expression_statement "FUN_0001a990(1);" (call_expression "FUN_0001a990(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (if_statement "if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }" if (parenthesized_expression "(local_42[0] != DAT_0002c4a4)" ( (binary_expression "local_42[0] != DAT_0002c4a4" (subscript_expression "local_42[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }" { (expression_statement "cVar12 = DAT_0002c4a4;" (assignment_expression "cVar12 = DAT_0002c4a4" identifier = identifier) ;) (expression_statement "pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4)" identifier = (cast_expression "(char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4)" identifier (argument_list "("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal , (pointer_expression "&DAT_0002d494" & identifier) , (subscript_expression "local_42[0]" identifier [ number_literal ]) , identifier ))))) ;) (expression_statement "__s1 = (int **)(int)local_42[0];" (assignment_expression "__s1 = (int **)(int)local_42[0]" identifier = (cast_expression "(int **)(int)local_42[0]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(int)local_42[0]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "local_42[0]" identifier [ number_literal ])))) ;) (expression_statement "pcVar9 = (char *)(int)cVar12;" (assignment_expression "pcVar9 = (char *)(int)cVar12" identifier = (cast_expression "(char *)(int)cVar12" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (cast_expression "(int)cVar12" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "param_2 = iVar3;" (assignment_expression "param_2 = iVar3" identifier = identifier) ;) (goto_statement "goto LAB_0001bdd2;" goto statement_identifier ;) })) (expression_statement "dVar15 = DAT_00022e30;" (assignment_expression "dVar15 = DAT_00022e30" identifier = identifier) ;) (if_statement "if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }" if (parenthesized_expression "(DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16))" ( (binary_expression "DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)" identifier < (call_expression "ABS(DAT_0002d4a0 - dVar16)" identifier (argument_list "(DAT_0002d4a0 - dVar16)" ( (binary_expression "DAT_0002d4a0 - dVar16" identifier - identifier) )))) )) (compound_statement "{\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }" { (expression_statement "pcVar9 = "%s: different scales in histogram records";" (assignment_expression "pcVar9 = "%s: different scales in histogram records"" identifier = (string_literal ""%s: different scales in histogram records"" " string_content ")) ;) (goto_statement "goto LAB_0001be3b;" goto statement_identifier ;) })) }))) (if_statement "if (*piVar13 != 0) {\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }" if (parenthesized_expression "(*piVar13 != 0)" ( (binary_expression "*piVar13 != 0" (pointer_expression "*piVar13" * identifier) != number_literal) )) (compound_statement "{\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "piVar2 = DAT_0002d498;" (assignment_expression "piVar2 = DAT_0002d498" identifier = identifier) ;) (do_statement "do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);" do (compound_statement "{\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    }" { (expression_statement "pcVar10 = (char *)piVar2;" (assignment_expression "pcVar10 = (char *)piVar2" identifier = (cast_expression "(char *)piVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;" if (parenthesized_expression "((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))" ( (binary_expression "(*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11)" (parenthesized_expression "(*(int **)pcVar10 == piVar6)" ( (binary_expression "*(int **)pcVar10 == piVar6" (pointer_expression "*(int **)pcVar10" * (cast_expression "(int **)pcVar10" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) == identifier) )) && (parenthesized_expression "(*(int **)((int)pcVar10 + 4) == piVar11)" ( (binary_expression "*(int **)((int)pcVar10 + 4) == piVar11" (pointer_expression "*(int **)((int)pcVar10 + 4)" * (cast_expression "(int **)((int)pcVar10 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pcVar10 + 4)" ( (binary_expression "(int)pcVar10 + 4" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == identifier) ))) )) (goto_statement "goto LAB_0001bbb9;" goto statement_identifier ;)) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "piVar2 = (int *)((int)pcVar10 + 0x10);" (assignment_expression "piVar2 = (int *)((int)pcVar10 + 0x10)" identifier = (cast_expression "(int *)((int)pcVar10 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 0x10)" ( (binary_expression "(int)pcVar10 + 0x10" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(iVar8 != *piVar13)" ( (binary_expression "iVar8 != *piVar13" identifier != (pointer_expression "*piVar13" * identifier)) )) ;) })) (expression_statement "local_40 = piVar6;" (assignment_expression "local_40 = piVar6" identifier = identifier) ;) (expression_statement "local_3c = piVar11;" (assignment_expression "local_3c = piVar11" identifier = identifier) ;) (expression_statement "FUN_0001b950(&local_40,__s1);" (call_expression "FUN_0001b950(&local_40,__s1)" identifier (argument_list "(&local_40,__s1)" ( (pointer_expression "&local_40" & identifier) , identifier ))) ;) (if_statement "if (local_40 == local_3c) {\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }" if (parenthesized_expression "(local_40 == local_3c)" ( (binary_expression "local_40 == local_3c" identifier == identifier) )) (compound_statement "{\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }" { (expression_statement "DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);" (assignment_expression "DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10)" identifier = (cast_expression "(int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10)" identifier (argument_list "(DAT_0002d498,(*piVar13 + 1) * 0x10)" ( identifier , (binary_expression "(*piVar13 + 1) * 0x10" (parenthesized_expression "(*piVar13 + 1)" ( (binary_expression "*piVar13 + 1" (pointer_expression "*piVar13" * identifier) + number_literal) )) * number_literal) ))))) ;) (expression_statement "piVar6 = DAT_0002d498 + *piVar13 * 4;" (assignment_expression "piVar6 = DAT_0002d498 + *piVar13 * 4" identifier = (binary_expression "DAT_0002d498 + *piVar13 * 4" identifier + (binary_expression "*piVar13 * 4" (pointer_expression "*piVar13" * identifier) * number_literal))) ;) (expression_statement "*piVar6 = (int)local_2c;" (assignment_expression "*piVar6 = (int)local_2c" (pointer_expression "*piVar6" * identifier) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar6[1] = (int)local_28;" (assignment_expression "piVar6[1] = (int)local_28" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar6[2] = local_24;" (assignment_expression "piVar6[2] = local_24" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[3] = local_20;" (assignment_expression "piVar6[3] = local_20" (subscript_expression "piVar6[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);" (assignment_expression "pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4)" identifier = (cast_expression "(char *)(DAT_0002d498 + *piVar13 * 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002d498 + *piVar13 * 4)" ( (binary_expression "DAT_0002d498 + *piVar13 * 4" identifier + (binary_expression "*piVar13 * 4" (pointer_expression "*piVar13" * identifier) * number_literal)) )))) ;) (expression_statement "*piVar13 = *piVar13 + 1;" (assignment_expression "*piVar13 = *piVar13 + 1" (pointer_expression "*piVar13" * identifier) = (binary_expression "*piVar13 + 1" (pointer_expression "*piVar13" * identifier) + number_literal)) ;) (expression_statement "__s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);" (assignment_expression "__s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2)" identifier = (cast_expression "(void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(*(int *)((int)pcVar10 + 8) << 2)" identifier (argument_list "(*(int *)((int)pcVar10 + 8) << 2)" ( (binary_expression "*(int *)((int)pcVar10 + 8) << 2" (pointer_expression "*(int *)((int)pcVar10 + 8)" * (cast_expression "(int *)((int)pcVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) << number_literal) ))))) ;) (expression_statement "*(void **)((int)pcVar10 + 0xc) = __s;" (assignment_expression "*(void **)((int)pcVar10 + 0xc) = __s" (pointer_expression "*(void **)((int)pcVar10 + 0xc)" * (cast_expression "(void **)((int)pcVar10 + 0xc)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pcVar10 + 0xc)" ( (binary_expression "(int)pcVar10 + 0xc" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);" (call_expression "memset(__s,0,*(int *)((int)pcVar10 + 8) * 4)" identifier (argument_list "(__s,0,*(int *)((int)pcVar10 + 8) * 4)" ( identifier , number_literal , (binary_expression "*(int *)((int)pcVar10 + 8) * 4" (pointer_expression "*(int *)((int)pcVar10 + 8)" * (cast_expression "(int *)((int)pcVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) * number_literal) ))) ;) (labeled_statement "LAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;" statement_identifier : (expression_statement "pbVar14 = &DAT_0002d158;" (assignment_expression "pbVar14 = &DAT_0002d158" identifier = (pointer_expression "&DAT_0002d158" & identifier)) ;)) (expression_statement "iVar8 = *(int *)((int)pcVar10 + 8);" (assignment_expression "iVar8 = *(int *)((int)pcVar10 + 8)" identifier = (pointer_expression "*(int *)((int)pcVar10 + 8)" * (cast_expression "(int *)((int)pcVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }" if (parenthesized_expression "((DAT_0002d158 & 0x40) != 0)" ( (binary_expression "(DAT_0002d158 & 0x40) != 0" (parenthesized_expression "(DAT_0002d158 & 0x40)" ( (binary_expression "DAT_0002d158 & 0x40" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }" { (expression_statement "printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);" (call_expression "printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8)" identifier (argument_list "("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8)" ( (string_literal ""[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n"" " string_content escape_sequence ") , (pointer_expression "*(int *)pcVar10" * (cast_expression "(int *)pcVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) , (pointer_expression "*(int *)((int)pcVar10 + 4)" * (cast_expression "(int *)((int)pcVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 4)" ( (binary_expression "(int)pcVar10 + 4" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier ))) ;) (expression_statement "iVar8 = *(int *)((int)pcVar10 + 8);" (assignment_expression "iVar8 = *(int *)((int)pcVar10 + 8)" identifier = (pointer_expression "*(int *)((int)pcVar10 + 8)" * (cast_expression "(int *)((int)pcVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) })) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar17 = 0x22d79;" (assignment_expression "uVar17 = 0x22d79" identifier = number_literal) ;) (if_statement "if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }" { (do_statement "do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));" do (compound_statement "{\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      }" { (while_statement "while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }" { (expression_statement "sVar5 = fread(pcVar7,2,1,param_1);" (assignment_expression "sVar5 = fread(pcVar7,2,1,param_1)" identifier = (call_expression "fread(pcVar7,2,1,param_1)" identifier (argument_list "(pcVar7,2,1,param_1)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "iVar3 = DAT_0002d494;" (assignment_expression "iVar3 = DAT_0002d494" identifier = identifier) ;) (if_statement "if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }" if (parenthesized_expression "(sVar5 != 1)" ( (binary_expression "sVar5 != 1" identifier != number_literal) )) (compound_statement "{\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }" { (expression_statement "iVar8 = *(int *)((int)pcVar10 + 8);" (assignment_expression "iVar8 = *(int *)((int)pcVar10 + 8)" identifier = (pointer_expression "*(int *)((int)pcVar10 + 8)" * (cast_expression "(int *)((int)pcVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "__s1 = (int **)0x5;" (assignment_expression "__s1 = (int **)0x5" identifier = (cast_expression "(int **)0x5" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" identifier (argument_list "("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: %s: unexpected EOF after reading %u of %u samples\n"" " string_content escape_sequence ") , number_literal ))))) ;) (goto_statement "goto LAB_0001bdd2;" goto statement_identifier ;) })) (expression_statement "iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);" (assignment_expression "iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7)" identifier = (call_expression "(**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))" ( (pointer_expression "**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34)" * (pointer_expression "*(code **)(*(int *)(DAT_0002d478 + 4) + 0x34)" * (cast_expression "(code **)(*(int *)(DAT_0002d478 + 4) + 0x34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0002d478 + 4) + 0x34)" ( (binary_expression "*(int *)(DAT_0002d478 + 4) + 0x34" (pointer_expression "*(int *)(DAT_0002d478 + 4)" * (cast_expression "(int *)(DAT_0002d478 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002d478 + 4)" ( (binary_expression "DAT_0002d478 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);" (assignment_expression "piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4)" identifier = (cast_expression "(int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4)" ( (binary_expression "*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4" (pointer_expression "*(int *)((int)pcVar10 + 0xc)" * (cast_expression "(int *)((int)pcVar10 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 0xc)" ( (binary_expression "(int)pcVar10 + 0xc" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + (binary_expression "(int)pcVar9 * 4" (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) )))) ;) (expression_statement "iVar8 = iVar8 + *piVar13;" (assignment_expression "iVar8 = iVar8 + *piVar13" identifier = (binary_expression "iVar8 + *piVar13" identifier + (pointer_expression "*piVar13" * identifier))) ;) (expression_statement "*piVar13 = iVar8;" (assignment_expression "*piVar13 = iVar8" (pointer_expression "*piVar13" * identifier) = identifier) ;) (if_statement "if ((*pbVar14 & 0x40) == 0) break;" if (parenthesized_expression "((*pbVar14 & 0x40) == 0)" ( (binary_expression "(*pbVar14 & 0x40) == 0" (parenthesized_expression "(*pbVar14 & 0x40)" ( (binary_expression "*pbVar14 & 0x40" (pointer_expression "*pbVar14" * identifier) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;" (assignment_expression "uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9" identifier = (binary_expression "(*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9" (parenthesized_expression "(*(int *)((int)pcVar10 + 4) - *(int *)pcVar10)" ( (binary_expression "*(int *)((int)pcVar10 + 4) - *(int *)pcVar10" (pointer_expression "*(int *)((int)pcVar10 + 4)" * (cast_expression "(int *)((int)pcVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 4)" ( (binary_expression "(int)pcVar10 + 4" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - (pointer_expression "*(int *)pcVar10" * (cast_expression "(int *)pcVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) * (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);" (call_expression "printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8)" identifier (argument_list "((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8)" ( (cast_expression "(char *)uVar17" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (binary_expression "uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10" (binary_expression "uVar1 / *(uint *)((int)pcVar10 + 8)" identifier / (pointer_expression "*(uint *)((int)pcVar10 + 8)" * (cast_expression "(uint *)((int)pcVar10 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) + (pointer_expression "*(int *)pcVar10" * (cast_expression "(int *)pcVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) , identifier ))) ;) (if_statement "if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }" if (parenthesized_expression "(*(char **)((int)pcVar10 + 8) <= pcVar9)" ( (binary_expression "*(char **)((int)pcVar10 + 8) <= pcVar9" (pointer_expression "*(char **)((int)pcVar10 + 8)" * (cast_expression "(char **)((int)pcVar10 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) <= identifier) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) })) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar9 < *(char **)((int)pcVar10 + 8))" ( (binary_expression "pcVar9 < *(char **)((int)pcVar10 + 8)" identifier < (pointer_expression "*(char **)((int)pcVar10 + 8)" * (cast_expression "(char **)((int)pcVar10 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pcVar10 + 8)" ( (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) ;) })) (return_statement "return;" return ;) })) (expression_statement "pcVar9 = "%s: overlapping histogram records\n";" (assignment_expression "pcVar9 = "%s: overlapping histogram records\n"" identifier = (string_literal ""%s: overlapping histogram records\n"" " string_content escape_sequence ")) ;) (expression_statement "piVar11 = (int *)pcVar10;" (assignment_expression "piVar11 = (int *)pcVar10" identifier = (cast_expression "(int *)pcVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (labeled_statement "LAB_0001be3b:\n  iVar8 = DAT_0002d494;" statement_identifier : (expression_statement "iVar8 = DAT_0002d494;" (assignment_expression "iVar8 = DAT_0002d494" identifier = identifier) ;)) (expression_statement "pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15)" identifier = (cast_expression "(char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15)" identifier (argument_list "("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15)" ( (string_literal ""gprof"" " string_content ") , identifier , number_literal , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8)" identifier (argument_list "(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8)" ( (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" * (cast_expression "(FILE **)PTR_stderr_0002bfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier ))) ;) (expression_statement "FUN_0001a990(1);" (call_expression "FUN_0001a990(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (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 ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) , (binary_expression IDENT != LIT)) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content escape_sequence ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) >> LIT) ))) / (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence ") , LIT , (pointer_expression & IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;)) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence string_content escape_sequence string_content escape_sequence escape_sequence ") , LIT , (pointer_expression & IDENT) , (subscript_expression IDENT [ LIT ]) , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (call_expression IDENT (argument_list ( (binary_expression IDENT - IDENT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (goto_statement goto statement_identifier ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) == IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == IDENT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * IDENT)) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )) * LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) << LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) * LIT) ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) 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 ))))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) * (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (binary_expression (binary_expression IDENT / (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) <= IDENT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) )) ;) })) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT , LIT , IDENT , IDENT , IDENT , IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })))
(function_definition "void FUN_0001ba20(FILE *param_1,int param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  size_t sVar5;\n  int *piVar6;\n  void *__s;\n  char *pcVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int **__s1;\n  int *piVar11;\n  char cVar12;\n  int *piVar13;\n  byte *pbVar14;\n  double dVar15;\n  double dVar16;\n  undefined8 uVar17;\n  char local_42 [2];\n  int *local_40;\n  int *local_3c;\n  char local_38 [4];\n  undefined4 local_34;\n  undefined2 local_30;\n  undefined1 local_2e;\n  int *local_2c;\n  int *local_28;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar8 = DAT_0002d49c;\n  uStack_14 = 0x1ba29;\n  piVar13 = &DAT_0002d49c;\n  iVar3 = FUN_000199f0(param_1,&local_2c);\n  if (((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)) {\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    \n    FUN_0001a990(1);\n  }\n  iVar3 = FUN_00019990(param_1,&local_40);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  __s1 = &local_3c;\n  iVar3 = FUN_00019a70(param_1,__s1,0xf);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  pcVar7 = local_42;\n  iVar3 = FUN_00019a70(param_1,pcVar7,1);\n  piVar11 = local_28;\n  piVar6 = local_2c;\n  if (iVar3 != 0) goto LAB_0001bdea;\n  dVar15 = (double)(ulonglong)local_24;\n  dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15;\n  if (iVar8 == 0) {\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }\n  else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }\n  if (*piVar13 != 0) {\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }\n  local_40 = piVar6;\n  local_3c = piVar11;\n  FUN_0001b950(&local_40,__s1);\n  if (local_40 == local_3c) {\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }\n  pcVar9 = "%s: overlapping histogram records\n";\n  piVar11 = (int *)pcVar10;\nLAB_0001be3b:\n  iVar8 = DAT_0002d494;\n  pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15);\n  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8);\n                    \n  FUN_0001a990(1);\n}" (primitive_type "void") (function_declarator "FUN_0001ba20(FILE *param_1,int param_2)" (identifier "FUN_0001ba20") (parameter_list "(FILE *param_1,int param_2)" (( "(") (parameter_declaration "FILE *param_1" (type_identifier "FILE") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  size_t sVar5;\n  int *piVar6;\n  void *__s;\n  char *pcVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int **__s1;\n  int *piVar11;\n  char cVar12;\n  int *piVar13;\n  byte *pbVar14;\n  double dVar15;\n  double dVar16;\n  undefined8 uVar17;\n  char local_42 [2];\n  int *local_40;\n  int *local_3c;\n  char local_38 [4];\n  undefined4 local_34;\n  undefined2 local_30;\n  undefined1 local_2e;\n  int *local_2c;\n  int *local_28;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  iVar8 = DAT_0002d49c;\n  uStack_14 = 0x1ba29;\n  piVar13 = &DAT_0002d49c;\n  iVar3 = FUN_000199f0(param_1,&local_2c);\n  if (((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)) {\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    \n    FUN_0001a990(1);\n  }\n  iVar3 = FUN_00019990(param_1,&local_40);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  __s1 = &local_3c;\n  iVar3 = FUN_00019a70(param_1,__s1,0xf);\n  if (iVar3 != 0) goto LAB_0001bdea;\n  pcVar7 = local_42;\n  iVar3 = FUN_00019a70(param_1,pcVar7,1);\n  piVar11 = local_28;\n  piVar6 = local_2c;\n  if (iVar3 != 0) goto LAB_0001bdea;\n  dVar15 = (double)(ulonglong)local_24;\n  dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15;\n  if (iVar8 == 0) {\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }\n  else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }\n  if (*piVar13 != 0) {\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }\n  local_40 = piVar6;\n  local_3c = piVar11;\n  FUN_0001b950(&local_40,__s1);\n  if (local_40 == local_3c) {\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }\n  pcVar9 = "%s: overlapping histogram records\n";\n  piVar11 = (int *)pcVar10;\nLAB_0001be3b:\n  iVar8 = DAT_0002d494;\n  pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15);\n  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8);\n                    \n  FUN_0001a990(1);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "void *__s;" (primitive_type "void") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "int **__s1;" (primitive_type "int") (pointer_declarator "**__s1" (* "*") (pointer_declarator "*__s1" (* "*") (identifier "__s1"))) (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "char cVar12;" (primitive_type "char") (identifier "cVar12") (; ";")) (declaration "int *piVar13;" (primitive_type "int") (pointer_declarator "*piVar13" (* "*") (identifier "piVar13")) (; ";")) (declaration "byte *pbVar14;" (type_identifier "byte") (pointer_declarator "*pbVar14" (* "*") (identifier "pbVar14")) (; ";")) (declaration "double dVar15;" (primitive_type "double") (identifier "dVar15") (; ";")) (declaration "double dVar16;" (primitive_type "double") (identifier "dVar16") (; ";")) (declaration "undefined8 uVar17;" (type_identifier "undefined8") (identifier "uVar17") (; ";")) (declaration "char local_42 [2];" (primitive_type "char") (array_declarator "local_42 [2]" (identifier "local_42") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "int *local_40;" (primitive_type "int") (pointer_declarator "*local_40" (* "*") (identifier "local_40")) (; ";")) (declaration "int *local_3c;" (primitive_type "int") (pointer_declarator "*local_3c" (* "*") (identifier "local_3c")) (; ";")) (declaration "char local_38 [4];" (primitive_type "char") (array_declarator "local_38 [4]" (identifier "local_38") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "undefined2 local_30;" (type_identifier "undefined2") (identifier "local_30") (; ";")) (declaration "undefined1 local_2e;" (type_identifier "undefined1") (identifier "local_2e") (; ";")) (declaration "int *local_2c;" (primitive_type "int") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (declaration "int *local_28;" (primitive_type "int") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "iVar8 = DAT_0002d49c;" (assignment_expression "iVar8 = DAT_0002d49c" (identifier "iVar8") (= "=") (identifier "DAT_0002d49c")) (; ";")) (expression_statement "uStack_14 = 0x1ba29;" (assignment_expression "uStack_14 = 0x1ba29" (identifier "uStack_14") (= "=") (number_literal "0x1ba29")) (; ";")) (expression_statement "piVar13 = &DAT_0002d49c;" (assignment_expression "piVar13 = &DAT_0002d49c" (identifier "piVar13") (= "=") (pointer_expression "&DAT_0002d49c" (& "&") (identifier "DAT_0002d49c"))) (; ";")) (expression_statement "iVar3 = FUN_000199f0(param_1,&local_2c);" (assignment_expression "iVar3 = FUN_000199f0(param_1,&local_2c)" (identifier "iVar3") (= "=") (call_expression "FUN_000199f0(param_1,&local_2c)" (identifier "FUN_000199f0") (argument_list "(param_1,&local_2c)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) () ")")))) (; ";")) (if_statement "if (((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)) {\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    \n    FUN_0001a990(1);\n  }" (if "if") (parenthesized_expression "(((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0))" (( "(") (binary_expression "((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||\n     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)" (parenthesized_expression "((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0))" (( "(") (binary_expression "(iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)" (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)" (( "(") (comma_expression "iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0" (assignment_expression "iVar3 = FUN_000199f0(param_1,&local_28)" (identifier "iVar3") (= "=") (call_expression "FUN_000199f0(param_1,&local_28)" (identifier "FUN_000199f0") (argument_list "(param_1,&local_28)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)" (( "(") (comma_expression "iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0" (assignment_expression "iVar3 = FUN_00019990(param_1,&local_24)" (identifier "iVar3") (= "=") (call_expression "FUN_00019990(param_1,&local_24)" (identifier "FUN_00019990") (argument_list "(param_1,&local_24)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\nLAB_0001bdea:\n    iVar8 = DAT_0002d494;\n    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);\n    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);\n                    \n    FUN_0001a990(1);\n  }" ({ "{") (labeled_statement "LAB_0001bdea:\n    iVar8 = DAT_0002d494;" (statement_identifier "LAB_0001bdea") (: ":") (expression_statement "iVar8 = DAT_0002d494;" (assignment_expression "iVar8 = DAT_0002d494" (identifier "iVar8") (= "=") (identifier "DAT_0002d494")) (; ";"))) (expression_statement "pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5)" (identifier "pcVar7") (= "=") (cast_expression "(char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","%s: %s: unexpected end of file\n",5)" (identifier "dcgettext") (argument_list "("gprof","%s: %s: unexpected end of file\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""%s: %s: unexpected end of file\n"" (" """) (string_content "%s: %s: unexpected end of file") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" (* "*") (cast_expression "(FILE **)PTR_stderr_0002bfcc" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_0002bfcc"))) (, ",") (identifier "pcVar7") (, ",") (identifier "iVar8") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "FUN_0001a990(1);" (call_expression "FUN_0001a990(1)" (identifier "FUN_0001a990") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar3 = FUN_00019990(param_1,&local_40);" (assignment_expression "iVar3 = FUN_00019990(param_1,&local_40)" (identifier "iVar3") (= "=") (call_expression "FUN_00019990(param_1,&local_40)" (identifier "FUN_00019990") (argument_list "(param_1,&local_40)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_40" (& "&") (identifier "local_40")) () ")")))) (; ";")) (if_statement "if (iVar3 != 0) goto LAB_0001bdea;" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001bdea;" (goto "goto") (statement_identifier "LAB_0001bdea") (; ";"))) (expression_statement "__s1 = &local_3c;" (assignment_expression "__s1 = &local_3c" (identifier "__s1") (= "=") (pointer_expression "&local_3c" (& "&") (identifier "local_3c"))) (; ";")) (expression_statement "iVar3 = FUN_00019a70(param_1,__s1,0xf);" (assignment_expression "iVar3 = FUN_00019a70(param_1,__s1,0xf)" (identifier "iVar3") (= "=") (call_expression "FUN_00019a70(param_1,__s1,0xf)" (identifier "FUN_00019a70") (argument_list "(param_1,__s1,0xf)" (( "(") (identifier "param_1") (, ",") (identifier "__s1") (, ",") (number_literal "0xf") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) goto LAB_0001bdea;" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001bdea;" (goto "goto") (statement_identifier "LAB_0001bdea") (; ";"))) (expression_statement "pcVar7 = local_42;" (assignment_expression "pcVar7 = local_42" (identifier "pcVar7") (= "=") (identifier "local_42")) (; ";")) (expression_statement "iVar3 = FUN_00019a70(param_1,pcVar7,1);" (assignment_expression "iVar3 = FUN_00019a70(param_1,pcVar7,1)" (identifier "iVar3") (= "=") (call_expression "FUN_00019a70(param_1,pcVar7,1)" (identifier "FUN_00019a70") (argument_list "(param_1,pcVar7,1)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar7") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "piVar11 = local_28;" (assignment_expression "piVar11 = local_28" (identifier "piVar11") (= "=") (identifier "local_28")) (; ";")) (expression_statement "piVar6 = local_2c;" (assignment_expression "piVar6 = local_2c" (identifier "piVar6") (= "=") (identifier "local_2c")) (; ";")) (if_statement "if (iVar3 != 0) goto LAB_0001bdea;" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001bdea;" (goto "goto") (statement_identifier "LAB_0001bdea") (; ";"))) (expression_statement "dVar15 = (double)(ulonglong)local_24;" (assignment_expression "dVar15 = (double)(ulonglong)local_24" (identifier "dVar15") (= "=") (cast_expression "(double)(ulonglong)local_24" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(ulonglong)local_24" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "local_24")))) (; ";")) (expression_statement "dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15;" (assignment_expression "dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15" (identifier "dVar16") (= "=") (binary_expression "(double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15" (cast_expression "(double)((uint)((int)local_28 - (int)local_2c) >> 1)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "((uint)((int)local_28 - (int)local_2c) >> 1)" (( "(") (binary_expression "(uint)((int)local_28 - (int)local_2c) >> 1" (call_expression "(uint)((int)local_28 - (int)local_2c)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)local_28 - (int)local_2c)" (( "(") (binary_expression "(int)local_28 - (int)local_2c" (cast_expression "(int)local_28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_28")) (- "-") (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c"))) () ")"))) (>> ">>") (number_literal "1")) () ")"))) (/ "/") (cast_expression "(double)(longlong)dVar15" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(longlong)dVar15" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (identifier "dVar15"))))) (; ";")) (if_statement "if (iVar8 == 0) {\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }\n  else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_0002d15c = local_40;\n    s_seconds_0002c4a8._0_4_ = local_3c;\n    s_seconds_0002c4a8[4] = local_38[0];\n    s_seconds_0002c4a8[5] = local_38[1];\n    s_seconds_0002c4a8[6] = local_38[2];\n    s_seconds_0002c4a8[7] = local_38[3];\n    DAT_0002c4b0 = local_34;\n    DAT_0002c4b4 = local_30;\n    DAT_0002c4b6 = local_2e;\n    DAT_0002c4a4 = local_42[0];\n    pcVar10 = (char *)0x0;\n    DAT_0002d4a0 = dVar16;\n  }" ({ "{") (expression_statement "DAT_0002d15c = local_40;" (assignment_expression "DAT_0002d15c = local_40" (identifier "DAT_0002d15c") (= "=") (identifier "local_40")) (; ";")) (expression_statement "s_seconds_0002c4a8._0_4_ = local_3c;" (assignment_expression "s_seconds_0002c4a8._0_4_ = local_3c" (field_expression "s_seconds_0002c4a8._0_4_" (identifier "s_seconds_0002c4a8") (. ".") (field_identifier "_0_4_")) (= "=") (identifier "local_3c")) (; ";")) (expression_statement "s_seconds_0002c4a8[4] = local_38[0];" (assignment_expression "s_seconds_0002c4a8[4] = local_38[0]" (subscript_expression "s_seconds_0002c4a8[4]" (identifier "s_seconds_0002c4a8") ([ "[") (number_literal "4") (] "]")) (= "=") (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "s_seconds_0002c4a8[5] = local_38[1];" (assignment_expression "s_seconds_0002c4a8[5] = local_38[1]" (subscript_expression "s_seconds_0002c4a8[5]" (identifier "s_seconds_0002c4a8") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "local_38[1]" (identifier "local_38") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "s_seconds_0002c4a8[6] = local_38[2];" (assignment_expression "s_seconds_0002c4a8[6] = local_38[2]" (subscript_expression "s_seconds_0002c4a8[6]" (identifier "s_seconds_0002c4a8") ([ "[") (number_literal "6") (] "]")) (= "=") (subscript_expression "local_38[2]" (identifier "local_38") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "s_seconds_0002c4a8[7] = local_38[3];" (assignment_expression "s_seconds_0002c4a8[7] = local_38[3]" (subscript_expression "s_seconds_0002c4a8[7]" (identifier "s_seconds_0002c4a8") ([ "[") (number_literal "7") (] "]")) (= "=") (subscript_expression "local_38[3]" (identifier "local_38") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "DAT_0002c4b0 = local_34;" (assignment_expression "DAT_0002c4b0 = local_34" (identifier "DAT_0002c4b0") (= "=") (identifier "local_34")) (; ";")) (expression_statement "DAT_0002c4b4 = local_30;" (assignment_expression "DAT_0002c4b4 = local_30" (identifier "DAT_0002c4b4") (= "=") (identifier "local_30")) (; ";")) (expression_statement "DAT_0002c4b6 = local_2e;" (assignment_expression "DAT_0002c4b6 = local_2e" (identifier "DAT_0002c4b6") (= "=") (identifier "local_2e")) (; ";")) (expression_statement "DAT_0002c4a4 = local_42[0];" (assignment_expression "DAT_0002c4a4 = local_42[0]" (identifier "DAT_0002c4a4") (= "=") (subscript_expression "local_42[0]" (identifier "local_42") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "pcVar10 = (char *)0x0;" (assignment_expression "pcVar10 = (char *)0x0" (identifier "pcVar10") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "DAT_0002d4a0 = dVar16;" (assignment_expression "DAT_0002d4a0 = dVar16" (identifier "DAT_0002d4a0") (= "=") (identifier "dVar16")) (; ";")) (} "}")) (else_clause "else {\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }" (else "else") (compound_statement "{\n    pcVar10 = s_seconds_0002c4a8;\n    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);\n    iVar3 = DAT_0002d494;\n    iVar8 = iVar3;\n    if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }\n    if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }\n    dVar15 = DAT_00022e30;\n    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }\n  }" ({ "{") (expression_statement "pcVar10 = s_seconds_0002c4a8;" (assignment_expression "pcVar10 = s_seconds_0002c4a8" (identifier "pcVar10") (= "=") (identifier "s_seconds_0002c4a8")) (; ";")) (expression_statement "iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);" (assignment_expression "iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf)" (identifier "iVar4") (= "=") (call_expression "strncmp((char *)__s1,s_seconds_0002c4a8,0xf)" (identifier "strncmp") (argument_list "((char *)__s1,s_seconds_0002c4a8,0xf)" (( "(") (cast_expression "(char *)__s1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s1")) (, ",") (identifier "s_seconds_0002c4a8") (, ",") (number_literal "0xf") () ")")))) (; ";")) (expression_statement "iVar3 = DAT_0002d494;" (assignment_expression "iVar3 = DAT_0002d494" (identifier "iVar3") (= "=") (identifier "DAT_0002d494")) (; ";")) (expression_statement "iVar8 = iVar3;" (assignment_expression "iVar8 = iVar3" (identifier "iVar8") (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar4 != 0) {\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);\n      pcVar9 = s_seconds_0002c4a8;\n      param_2 = iVar3;\nLAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);\n                    \n      FUN_0001a990(1);\n    }" ({ "{") (expression_statement "pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494)" (identifier "pcVar7") (= "=") (cast_expression "(char *)dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494)" (identifier "dcgettext") (argument_list "("gprof",\n                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"\n                                 ,5,&DAT_0002d494)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"" (" """) (string_content "%s: dimension unit changed between histogram records") (escape_sequence "\n") (string_content "%s: from ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (escape_sequence "\n") (string_content "%s: to ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") (, ",") (pointer_expression "&DAT_0002d494" (& "&") (identifier "DAT_0002d494")) () ")"))))) (; ";")) (expression_statement "pcVar9 = s_seconds_0002c4a8;" (assignment_expression "pcVar9 = s_seconds_0002c4a8" (identifier "pcVar9") (= "=") (identifier "s_seconds_0002c4a8")) (; ";")) (expression_statement "param_2 = iVar3;" (assignment_expression "param_2 = iVar3" (identifier "param_2") (= "=") (identifier "iVar3")) (; ";")) (labeled_statement "LAB_0001bdd2:\n      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);" (statement_identifier "LAB_0001bdd2") (: ":") (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" (* "*") (cast_expression "(FILE **)PTR_stderr_0002bfcc" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_0002bfcc"))) (, ",") (identifier "pcVar7") (, ",") (identifier "iVar3") (, ",") (identifier "param_2") (, ",") (identifier "pcVar9") (, ",") (identifier "iVar8") (, ",") (identifier "__s1") () ")"))) (; ";"))) (expression_statement "FUN_0001a990(1);" (call_expression "FUN_0001a990(1)" (identifier "FUN_0001a990") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_42[0] != DAT_0002c4a4) {\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }" (if "if") (parenthesized_expression "(local_42[0] != DAT_0002c4a4)" (( "(") (binary_expression "local_42[0] != DAT_0002c4a4" (subscript_expression "local_42[0]" (identifier "local_42") ([ "[") (number_literal "0") (] "]")) (!= "!=") (identifier "DAT_0002c4a4")) () ")")) (compound_statement "{\n      cVar12 = DAT_0002c4a4;\n      pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);\n      __s1 = (int **)(int)local_42[0];\n      pcVar9 = (char *)(int)cVar12;\n      param_2 = iVar3;\n      goto LAB_0001bdd2;\n    }" ({ "{") (expression_statement "cVar12 = DAT_0002c4a4;" (assignment_expression "cVar12 = DAT_0002c4a4" (identifier "cVar12") (= "=") (identifier "DAT_0002c4a4")) (; ";")) (expression_statement "pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4)" (identifier "pcVar7") (= "=") (cast_expression "(char *)dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4)" (identifier "dcgettext") (argument_list "("gprof",\n                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"\n                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"" (" """) (string_content "%s: dimension abbreviation changed between histogram records") (escape_sequence "\n") (string_content "%s: from ") (escape_sequence "\'") (string_content "%c") (escape_sequence "\'") (escape_sequence "\n") (string_content "%s: to ") (escape_sequence "\'") (string_content "%c") (escape_sequence "\'") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") (, ",") (pointer_expression "&DAT_0002d494" (& "&") (identifier "DAT_0002d494")) (, ",") (subscript_expression "local_42[0]" (identifier "local_42") ([ "[") (number_literal "0") (] "]")) (, ",") (identifier "DAT_0002c4a4") () ")"))))) (; ";")) (expression_statement "__s1 = (int **)(int)local_42[0];" (assignment_expression "__s1 = (int **)(int)local_42[0]" (identifier "__s1") (= "=") (cast_expression "(int **)(int)local_42[0]" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (cast_expression "(int)local_42[0]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "local_42[0]" (identifier "local_42") ([ "[") (number_literal "0") (] "]"))))) (; ";")) (expression_statement "pcVar9 = (char *)(int)cVar12;" (assignment_expression "pcVar9 = (char *)(int)cVar12" (identifier "pcVar9") (= "=") (cast_expression "(char *)(int)cVar12" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (cast_expression "(int)cVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar12")))) (; ";")) (expression_statement "param_2 = iVar3;" (assignment_expression "param_2 = iVar3" (identifier "param_2") (= "=") (identifier "iVar3")) (; ";")) (goto_statement "goto LAB_0001bdd2;" (goto "goto") (statement_identifier "LAB_0001bdd2") (; ";")) (} "}"))) (expression_statement "dVar15 = DAT_00022e30;" (assignment_expression "dVar15 = DAT_00022e30" (identifier "dVar15") (= "=") (identifier "DAT_00022e30")) (; ";")) (if_statement "if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }" (if "if") (parenthesized_expression "(DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16))" (( "(") (binary_expression "DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)" (identifier "DAT_00022e30") (< "<") (call_expression "ABS(DAT_0002d4a0 - dVar16)" (identifier "ABS") (argument_list "(DAT_0002d4a0 - dVar16)" (( "(") (binary_expression "DAT_0002d4a0 - dVar16" (identifier "DAT_0002d4a0") (- "-") (identifier "dVar16")) () ")")))) () ")")) (compound_statement "{\n      pcVar9 = "%s: different scales in histogram records";\n      goto LAB_0001be3b;\n    }" ({ "{") (expression_statement "pcVar9 = "%s: different scales in histogram records";" (assignment_expression "pcVar9 = "%s: different scales in histogram records"" (identifier "pcVar9") (= "=") (string_literal ""%s: different scales in histogram records"" (" """) (string_content "%s: different scales in histogram records") (" """))) (; ";")) (goto_statement "goto LAB_0001be3b;" (goto "goto") (statement_identifier "LAB_0001be3b") (; ";")) (} "}"))) (} "}")))) (if_statement "if (*piVar13 != 0) {\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }" (if "if") (parenthesized_expression "(*piVar13 != 0)" (( "(") (binary_expression "*piVar13 != 0" (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar8 = 0;\n    piVar2 = DAT_0002d498;\n    do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);\n  }" ({ "{") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2 = DAT_0002d498;" (assignment_expression "piVar2 = DAT_0002d498" (identifier "piVar2") (= "=") (identifier "DAT_0002d498")) (; ";")) (do_statement "do {\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    } while (iVar8 != *piVar13);" (do "do") (compound_statement "{\n      pcVar10 = (char *)piVar2;\n      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;\n      iVar8 = iVar8 + 1;\n      piVar2 = (int *)((int)pcVar10 + 0x10);\n    }" ({ "{") (expression_statement "pcVar10 = (char *)piVar2;" (assignment_expression "pcVar10 = (char *)piVar2" (identifier "pcVar10") (= "=") (cast_expression "(char *)piVar2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "piVar2"))) (; ";")) (if_statement "if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))\n      goto LAB_0001bbb9;" (if "if") (parenthesized_expression "((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))" (( "(") (binary_expression "(*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11)" (parenthesized_expression "(*(int **)pcVar10 == piVar6)" (( "(") (binary_expression "*(int **)pcVar10 == piVar6" (pointer_expression "*(int **)pcVar10" (* "*") (cast_expression "(int **)pcVar10" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "pcVar10"))) (== "==") (identifier "piVar6")) () ")")) (&& "&&") (parenthesized_expression "(*(int **)((int)pcVar10 + 4) == piVar11)" (( "(") (binary_expression "*(int **)((int)pcVar10 + 4) == piVar11" (pointer_expression "*(int **)((int)pcVar10 + 4)" (* "*") (cast_expression "(int **)((int)pcVar10 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)pcVar10 + 4)" (( "(") (binary_expression "(int)pcVar10 + 4" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "4")) () ")")))) (== "==") (identifier "piVar11")) () ")"))) () ")")) (goto_statement "goto LAB_0001bbb9;" (goto "goto") (statement_identifier "LAB_0001bbb9") (; ";"))) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar2 = (int *)((int)pcVar10 + 0x10);" (assignment_expression "piVar2 = (int *)((int)pcVar10 + 0x10)" (identifier "piVar2") (= "=") (cast_expression "(int *)((int)pcVar10 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pcVar10 + 0x10)" (( "(") (binary_expression "(int)pcVar10 + 0x10" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar8 != *piVar13)" (( "(") (binary_expression "iVar8 != *piVar13" (identifier "iVar8") (!= "!=") (pointer_expression "*piVar13" (* "*") (identifier "piVar13"))) () ")")) (; ";")) (} "}"))) (expression_statement "local_40 = piVar6;" (assignment_expression "local_40 = piVar6" (identifier "local_40") (= "=") (identifier "piVar6")) (; ";")) (expression_statement "local_3c = piVar11;" (assignment_expression "local_3c = piVar11" (identifier "local_3c") (= "=") (identifier "piVar11")) (; ";")) (expression_statement "FUN_0001b950(&local_40,__s1);" (call_expression "FUN_0001b950(&local_40,__s1)" (identifier "FUN_0001b950") (argument_list "(&local_40,__s1)" (( "(") (pointer_expression "&local_40" (& "&") (identifier "local_40")) (, ",") (identifier "__s1") () ")"))) (; ";")) (if_statement "if (local_40 == local_3c) {\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(local_40 == local_3c)" (( "(") (binary_expression "local_40 == local_3c" (identifier "local_40") (== "==") (identifier "local_3c")) () ")")) (compound_statement "{\n    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);\n    piVar6 = DAT_0002d498 + *piVar13 * 4;\n    *piVar6 = (int)local_2c;\n    piVar6[1] = (int)local_28;\n    piVar6[2] = local_24;\n    piVar6[3] = local_20;\n    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);\n    *piVar13 = *piVar13 + 1;\n    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);\n    *(void **)((int)pcVar10 + 0xc) = __s;\n    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);\nLAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;\n    iVar8 = *(int *)((int)pcVar10 + 8);\n    if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }\n    pcVar9 = (char *)0x0;\n    uVar17 = 0x22d79;\n    if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }\n    return;\n  }" ({ "{") (expression_statement "DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);" (assignment_expression "DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10)" (identifier "DAT_0002d498") (= "=") (cast_expression "(int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10)" (identifier "xrealloc") (argument_list "(DAT_0002d498,(*piVar13 + 1) * 0x10)" (( "(") (identifier "DAT_0002d498") (, ",") (binary_expression "(*piVar13 + 1) * 0x10" (parenthesized_expression "(*piVar13 + 1)" (( "(") (binary_expression "*piVar13 + 1" (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "piVar6 = DAT_0002d498 + *piVar13 * 4;" (assignment_expression "piVar6 = DAT_0002d498 + *piVar13 * 4" (identifier "piVar6") (= "=") (binary_expression "DAT_0002d498 + *piVar13 * 4" (identifier "DAT_0002d498") (+ "+") (binary_expression "*piVar13 * 4" (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (* "*") (number_literal "4")))) (; ";")) (expression_statement "*piVar6 = (int)local_2c;" (assignment_expression "*piVar6 = (int)local_2c" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (= "=") (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c"))) (; ";")) (expression_statement "piVar6[1] = (int)local_28;" (assignment_expression "piVar6[1] = (int)local_28" (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)local_28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_28"))) (; ";")) (expression_statement "piVar6[2] = local_24;" (assignment_expression "piVar6[2] = local_24" (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_24")) (; ";")) (expression_statement "piVar6[3] = local_20;" (assignment_expression "piVar6[3] = local_20" (subscript_expression "piVar6[3]" (identifier "piVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "local_20")) (; ";")) (expression_statement "pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);" (assignment_expression "pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4)" (identifier "pcVar10") (= "=") (cast_expression "(char *)(DAT_0002d498 + *piVar13 * 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002d498 + *piVar13 * 4)" (( "(") (binary_expression "DAT_0002d498 + *piVar13 * 4" (identifier "DAT_0002d498") (+ "+") (binary_expression "*piVar13 * 4" (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "*piVar13 = *piVar13 + 1;" (assignment_expression "*piVar13 = *piVar13 + 1" (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (= "=") (binary_expression "*piVar13 + 1" (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "__s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);" (assignment_expression "__s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2)" (identifier "__s") (= "=") (cast_expression "(void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(*(int *)((int)pcVar10 + 8) << 2)" (identifier "xmalloc") (argument_list "(*(int *)((int)pcVar10 + 8) << 2)" (( "(") (binary_expression "*(int *)((int)pcVar10 + 8) << 2" (pointer_expression "*(int *)((int)pcVar10 + 8)" (* "*") (cast_expression "(int *)((int)pcVar10 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pcVar10 + 8)" (( "(") (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "8")) () ")")))) (<< "<<") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "*(void **)((int)pcVar10 + 0xc) = __s;" (assignment_expression "*(void **)((int)pcVar10 + 0xc) = __s" (pointer_expression "*(void **)((int)pcVar10 + 0xc)" (* "*") (cast_expression "(void **)((int)pcVar10 + 0xc)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)pcVar10 + 0xc)" (( "(") (binary_expression "(int)pcVar10 + 0xc" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "__s")) (; ";")) (expression_statement "memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);" (call_expression "memset(__s,0,*(int *)((int)pcVar10 + 8) * 4)" (identifier "memset") (argument_list "(__s,0,*(int *)((int)pcVar10 + 8) * 4)" (( "(") (identifier "__s") (, ",") (number_literal "0") (, ",") (binary_expression "*(int *)((int)pcVar10 + 8) * 4" (pointer_expression "*(int *)((int)pcVar10 + 8)" (* "*") (cast_expression "(int *)((int)pcVar10 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pcVar10 + 8)" (( "(") (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4")) () ")"))) (; ";")) (labeled_statement "LAB_0001bbb9:\n    pbVar14 = &DAT_0002d158;" (statement_identifier "LAB_0001bbb9") (: ":") (expression_statement "pbVar14 = &DAT_0002d158;" (assignment_expression "pbVar14 = &DAT_0002d158" (identifier "pbVar14") (= "=") (pointer_expression "&DAT_0002d158" (& "&") (identifier "DAT_0002d158"))) (; ";"))) (expression_statement "iVar8 = *(int *)((int)pcVar10 + 8);" (assignment_expression "iVar8 = *(int *)((int)pcVar10 + 8)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)((int)pcVar10 + 8)" (* "*") (cast_expression "(int *)((int)pcVar10 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pcVar10 + 8)" (( "(") (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if ((DAT_0002d158 & 0x40) != 0) {\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }" (if "if") (parenthesized_expression "((DAT_0002d158 & 0x40) != 0)" (( "(") (binary_expression "(DAT_0002d158 & 0x40) != 0" (parenthesized_expression "(DAT_0002d158 & 0x40)" (( "(") (binary_expression "DAT_0002d158 & 0x40" (identifier "DAT_0002d158") (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);\n      iVar8 = *(int *)((int)pcVar10 + 8);\n    }" ({ "{") (expression_statement "printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8);" (call_expression "printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8)" (identifier "printf") (argument_list "("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,\n             *(int *)((int)pcVar10 + 4),iVar8)" (( "(") (string_literal ""[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n"" (" """) (string_content "[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u") (escape_sequence "\n") (" """)) (, ",") (pointer_expression "*(int *)pcVar10" (* "*") (cast_expression "(int *)pcVar10" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pcVar10"))) (, ",") (pointer_expression "*(int *)((int)pcVar10 + 4)" (* "*") (cast_expression "(int *)((int)pcVar10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pcVar10 + 4)" (( "(") (binary_expression "(int)pcVar10 + 4" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "iVar8") () ")"))) (; ";")) (expression_statement "iVar8 = *(int *)((int)pcVar10 + 8);" (assignment_expression "iVar8 = *(int *)((int)pcVar10 + 8)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)((int)pcVar10 + 8)" (* "*") (cast_expression "(int *)((int)pcVar10 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pcVar10 + 8)" (( "(") (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" (identifier "pcVar9") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar17 = 0x22d79;" (assignment_expression "uVar17 = 0x22d79" (identifier "uVar17") (= "=") (number_literal "0x22d79")) (; ";")) (if_statement "if (iVar8 != 0) {\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));\n    }" ({ "{") (do_statement "do {\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar9 < *(char **)((int)pcVar10 + 8));" (do "do") (compound_statement "{\n        while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }\n        pcVar9 = pcVar9 + 1;\n      }" ({ "{") (while_statement "while( true ) {\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          sVar5 = fread(pcVar7,2,1,param_1);\n          iVar3 = DAT_0002d494;\n          if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }\n          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);\n          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);\n          iVar8 = iVar8 + *piVar13;\n          *piVar13 = iVar8;\n          if ((*pbVar14 & 0x40) == 0) break;\n          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;\n          pcVar9 = pcVar9 + 1;\n          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);\n          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }\n        }" ({ "{") (expression_statement "sVar5 = fread(pcVar7,2,1,param_1);" (assignment_expression "sVar5 = fread(pcVar7,2,1,param_1)" (identifier "sVar5") (= "=") (call_expression "fread(pcVar7,2,1,param_1)" (identifier "fread") (argument_list "(pcVar7,2,1,param_1)" (( "(") (identifier "pcVar7") (, ",") (number_literal "2") (, ",") (number_literal "1") (, ",") (identifier "param_1") () ")")))) (; ";")) (expression_statement "iVar3 = DAT_0002d494;" (assignment_expression "iVar3 = DAT_0002d494" (identifier "iVar3") (= "=") (identifier "DAT_0002d494")) (; ";")) (if_statement "if (sVar5 != 1) {\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }" (if "if") (parenthesized_expression "(sVar5 != 1)" (( "(") (binary_expression "sVar5 != 1" (identifier "sVar5") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n            iVar8 = *(int *)((int)pcVar10 + 8);\n            __s1 = (int **)0x5;\n            pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);\n            goto LAB_0001bdd2;\n          }" ({ "{") (expression_statement "iVar8 = *(int *)((int)pcVar10 + 8);" (assignment_expression "iVar8 = *(int *)((int)pcVar10 + 8)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)((int)pcVar10 + 8)" (* "*") (cast_expression "(int *)((int)pcVar10 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pcVar10 + 8)" (( "(") (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "__s1 = (int **)0x5;" (assignment_expression "__s1 = (int **)0x5" (identifier "__s1") (= "=") (cast_expression "(int **)0x5" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x5"))) (; ";")) (expression_statement "pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" (identifier "pcVar7") (= "=") (cast_expression "(char *)dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" (identifier "dcgettext") (argument_list "("gprof",\n                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""%s: %s: unexpected EOF after reading %u of %u samples\n"" (" """) (string_content "%s: %s: unexpected EOF after reading %u of %u samples") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (goto_statement "goto LAB_0001bdd2;" (goto "goto") (statement_identifier "LAB_0001bdd2") (; ";")) (} "}"))) (expression_statement "iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);" (assignment_expression "iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7)" (identifier "iVar8") (= "=") (call_expression "(**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))" (( "(") (pointer_expression "**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34)" (* "*") (pointer_expression "*(code **)(*(int *)(DAT_0002d478 + 4) + 0x34)" (* "*") (cast_expression "(code **)(*(int *)(DAT_0002d478 + 4) + 0x34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_0002d478 + 4) + 0x34)" (( "(") (binary_expression "*(int *)(DAT_0002d478 + 4) + 0x34" (pointer_expression "*(int *)(DAT_0002d478 + 4)" (* "*") (cast_expression "(int *)(DAT_0002d478 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002d478 + 4)" (( "(") (binary_expression "DAT_0002d478 + 4" (identifier "DAT_0002d478") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x34")) () ")"))))) () ")")) (argument_list "(pcVar7)" (( "(") (identifier "pcVar7") () ")")))) (; ";")) (expression_statement "piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);" (assignment_expression "piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4)" (identifier "piVar13") (= "=") (cast_expression "(int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4)" (( "(") (binary_expression "*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4" (pointer_expression "*(int *)((int)pcVar10 + 0xc)" (* "*") (cast_expression "(int *)((int)pcVar10 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pcVar10 + 0xc)" (( "(") (binary_expression "(int)pcVar10 + 0xc" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (binary_expression "(int)pcVar9 * 4" (cast_expression "(int)pcVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar9")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar8 = iVar8 + *piVar13;" (assignment_expression "iVar8 = iVar8 + *piVar13" (identifier "iVar8") (= "=") (binary_expression "iVar8 + *piVar13" (identifier "iVar8") (+ "+") (pointer_expression "*piVar13" (* "*") (identifier "piVar13")))) (; ";")) (expression_statement "*piVar13 = iVar8;" (assignment_expression "*piVar13 = iVar8" (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (= "=") (identifier "iVar8")) (; ";")) (if_statement "if ((*pbVar14 & 0x40) == 0) break;" (if "if") (parenthesized_expression "((*pbVar14 & 0x40) == 0)" (( "(") (binary_expression "(*pbVar14 & 0x40) == 0" (parenthesized_expression "(*pbVar14 & 0x40)" (( "(") (binary_expression "*pbVar14 & 0x40" (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")) (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;" (assignment_expression "uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9" (identifier "uVar1") (= "=") (binary_expression "(*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9" (parenthesized_expression "(*(int *)((int)pcVar10 + 4) - *(int *)pcVar10)" (( "(") (binary_expression "*(int *)((int)pcVar10 + 4) - *(int *)pcVar10" (pointer_expression "*(int *)((int)pcVar10 + 4)" (* "*") (cast_expression "(int *)((int)pcVar10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pcVar10 + 4)" (( "(") (binary_expression "(int)pcVar10 + 4" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "4")) () ")")))) (- "-") (pointer_expression "*(int *)pcVar10" (* "*") (cast_expression "(int *)pcVar10" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pcVar10")))) () ")")) (* "*") (cast_expression "(int)pcVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar9")))) (; ";")) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" (identifier "pcVar9") (= "=") (binary_expression "pcVar9 + 1" (identifier "pcVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);" (call_expression "printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8)" (identifier "printf") (argument_list "((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8)" (( "(") (cast_expression "(char *)uVar17" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar17")) (, ",") (binary_expression "uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10" (binary_expression "uVar1 / *(uint *)((int)pcVar10 + 8)" (identifier "uVar1") (/ "/") (pointer_expression "*(uint *)((int)pcVar10 + 8)" (* "*") (cast_expression "(uint *)((int)pcVar10 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pcVar10 + 8)" (( "(") (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "8")) () ")"))))) (+ "+") (pointer_expression "*(int *)pcVar10" (* "*") (cast_expression "(int *)pcVar10" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pcVar10")))) (, ",") (identifier "iVar8") () ")"))) (; ";")) (if_statement "if (*(char **)((int)pcVar10 + 8) <= pcVar9) {\n            return;\n          }" (if "if") (parenthesized_expression "(*(char **)((int)pcVar10 + 8) <= pcVar9)" (( "(") (binary_expression "*(char **)((int)pcVar10 + 8) <= pcVar9" (pointer_expression "*(char **)((int)pcVar10 + 8)" (* "*") (cast_expression "(char **)((int)pcVar10 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)pcVar10 + 8)" (( "(") (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "8")) () ")")))) (<= "<=") (identifier "pcVar9")) () ")")) (compound_statement "{\n            return;\n          }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" (identifier "pcVar9") (= "=") (binary_expression "pcVar9 + 1" (identifier "pcVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pcVar9 < *(char **)((int)pcVar10 + 8))" (( "(") (binary_expression "pcVar9 < *(char **)((int)pcVar10 + 8)" (identifier "pcVar9") (< "<") (pointer_expression "*(char **)((int)pcVar10 + 8)" (* "*") (cast_expression "(char **)((int)pcVar10 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)pcVar10 + 8)" (( "(") (binary_expression "(int)pcVar10 + 8" (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "pcVar9 = "%s: overlapping histogram records\n";" (assignment_expression "pcVar9 = "%s: overlapping histogram records\n"" (identifier "pcVar9") (= "=") (string_literal ""%s: overlapping histogram records\n"" (" """) (string_content "%s: overlapping histogram records") (escape_sequence "\n") (" """))) (; ";")) (expression_statement "piVar11 = (int *)pcVar10;" (assignment_expression "piVar11 = (int *)pcVar10" (identifier "piVar11") (= "=") (cast_expression "(int *)pcVar10" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pcVar10"))) (; ";")) (labeled_statement "LAB_0001be3b:\n  iVar8 = DAT_0002d494;" (statement_identifier "LAB_0001be3b") (: ":") (expression_statement "iVar8 = DAT_0002d494;" (assignment_expression "iVar8 = DAT_0002d494" (identifier "iVar8") (= "=") (identifier "DAT_0002d494")) (; ";"))) (expression_statement "pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15);" (assignment_expression "pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15)" (identifier "pcVar7") (= "=") (cast_expression "(char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15)" (identifier "dcgettext") (argument_list "("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (identifier "pcVar9") (, ",") (number_literal "5") (, ",") (identifier "piVar11") (, ",") (identifier "pcVar7") (, ",") (identifier "piVar13") (, ",") (identifier "dVar15") () ")"))))) (; ";")) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_0002bfcc" (* "*") (cast_expression "(FILE **)PTR_stderr_0002bfcc" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_0002bfcc"))) (, ",") (identifier "pcVar7") (, ",") (identifier "iVar8") () ")"))) (; ";")) (expression_statement "FUN_0001a990(1);" (call_expression "FUN_0001a990(1)" (identifier "FUN_0001a990") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}")))

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

void function_1(type_1 *ifp,char *filename)

{
  type_2 *phVar1;
  int var_2;
  size_t var_26;
  type_3 var_15;
  int *piVar5;
  char *pcVar6;
  char *pcVar7;
  type_4 var_8;
  char *var_27;
  char *pcVar10;
  type_3 *p_highpc;
  type_2 *var_16;
  type_5 *buf;
  char cVar12;
  type_4 *puVar13;
  double dVar14;
  double var_14;
  type_6 uVar16;
  type_7 count;
  type_3 var_18;
  type_3 var_19;
  char local_38 [4];
  char local_34 [4];
  char local_30 [2];
  char local_2e;
  type_2 n_record;
  
  var_8 = num_histograms;
  puVar13 = &num_histograms;
  var_2 = var_1(ifp,&n_record.var_18);
  if (((var_2 != 0) || (var_2 = var_1(ifp,&n_record.var_19), var_2 != 0)) ||
     (var_2 = var_3(ifp,&n_record.num_bins), var_2 != 0)) {
LAB_0001bdea:
    pcVar6 = whoami;
    pcVar7 = (char *)var_4("gprof","%s: %s: unexpected end of file\n",5);
    var_5(*(type_1 **)PTR_stderr_0002bfcc,pcVar7,pcVar6,filename);
                    /* WARNING: Subroutine does not return */
    var_6(1);
  }
  var_2 = var_3(ifp,&var_18);
  if (var_2 != 0) goto LAB_0001bdea;
  p_highpc = &var_19;
  var_2 = var_7(ifp,(char *)p_highpc,0xf);
  if (var_2 != 0) goto LAB_0001bdea;
  buf = count;
  var_2 = var_7(ifp,(char *)buf,1);
  var_16 = (type_2 *)n_record.var_19;
  var_15 = n_record.var_18;
  if (var_2 != 0) goto LAB_0001bdea;
  dVar14 = (double)(type_8)n_record.num_bins;
  var_14 = (double)(n_record.var_19 - n_record.var_18 >> 1) / (double)(type_9)dVar14;
  if (var_8 == 0) {
    hz = var_18;
    hist_dimension[0] = (type_10)var_19;
    hist_dimension[1] = var_19._1_1_;
    hist_dimension[2] = var_19._2_1_;
    hist_dimension[3] = var_19._3_1_;
    hist_dimension[4] = local_38[0];
    hist_dimension[5] = local_38[1];
    hist_dimension[6] = local_38[2];
    hist_dimension[7] = local_38[3];
    hist_dimension[8] = local_34[0];
    hist_dimension[9] = local_34[1];
    hist_dimension[10] = local_34[2];
    hist_dimension[0xb] = local_34[3];
    hist_dimension[0xc] = local_30[0];
    hist_dimension[0xd] = local_30[1];
    hist_dimension[0xe] = local_2e;
    var_10 = count[0];
    pcVar6 = (char *)0x0;
    var_13 = var_14;
  }
  else {
    pcVar6 = hist_dimension;
    var_2 = var_9((char *)p_highpc,hist_dimension,0xf);
    pcVar10 = whoami;
    pcVar7 = pcVar10;
    if (var_2 != 0) {
      pcVar6 = (char *)var_4("gprof",
                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"
                                 ,5,&whoami);
      var_27 = hist_dimension;
      filename = pcVar10;
LAB_0001bdd2:
      var_5(*(type_1 **)PTR_stderr_0002bfcc,pcVar6,pcVar10,filename,var_27,pcVar7,p_highpc);
                    /* WARNING: Subroutine does not return */
      var_6(1);
    }
    if (count[0] != var_10) {
      cVar12 = var_10;
      pcVar6 = (char *)var_4("gprof",
                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"
                                 ,5,&whoami,count[0],var_10);
      p_highpc = (type_3 *)(int)(char)count[0];
      var_27 = (char *)(int)cVar12;
      filename = pcVar10;
      goto LAB_0001bdd2;
    }
    dVar14 = var_11;
    if (var_11 < var_12(var_13 - var_14)) {
      pcVar7 = "%s: different scales in histogram records";
      goto LAB_0001be3b;
    }
  }
  if (*puVar13 != 0) {
    var_8 = 0;
    phVar1 = var_21;
    do {
      pcVar6 = (char *)phVar1;
      if ((((type_2 *)pcVar6)->var_18 == var_15) &&
         ((type_2 *)((type_2 *)pcVar6)->var_19 == var_16)) goto LAB_0001bbb9;
      var_8 = var_8 + 1;
      phVar1 = (type_2 *)((int)pcVar6 + 0x10);
    } while (var_8 != *puVar13);
  }
  var_18 = var_15;
  var_19 = (type_3)var_16;
  var_17(&var_18,p_highpc);
  if (var_18 == var_19) {
    var_21 = (type_2 *)var_20(var_21,(*puVar13 + 1) * 0x10);
    var_16 = var_21 + *puVar13;
    var_16->var_18 = n_record.var_18;
    var_16->var_19 = n_record.var_19;
    var_16->num_bins = n_record.num_bins;
    var_16->sample = n_record.sample;
    pcVar6 = (char *)(var_21 + *puVar13);
    *puVar13 = *puVar13 + 1;
    piVar5 = (int *)var_22(((type_2 *)pcVar6)->num_bins << 2);
    ((type_2 *)pcVar6)->sample = piVar5;
    var_23(piVar5,0,((type_2 *)pcVar6)->num_bins * 4);
LAB_0001bbb9:
    piVar5 = &debug_level;
    var_8 = ((type_2 *)pcVar6)->num_bins;
    if (((type_11)debug_level & 0x40) != 0) {
      var_24("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",((type_2 *)pcVar6)->var_18,
             ((type_2 *)pcVar6)->var_19,var_8);
      var_8 = ((type_2 *)pcVar6)->num_bins;
    }
    var_27 = (char *)0x0;
    uVar16 = 0x22d79;
    if (var_8 != 0) {
      do {
        while( true ) {
          var_26 = var_25(buf,2,1,(type_1 *)ifp);
          pcVar10 = whoami;
          if (var_26 != 1) {
            pcVar7 = (char *)((type_2 *)pcVar6)->num_bins;
            p_highpc = (type_3 *)0x5;
            pcVar6 = (char *)var_4("gprof",
                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);
            goto LAB_0001bdd2;
          }
          var_15 = (*core_bfd->xvec->bfd_getx16)(buf);
          var_2 = var_15 + ((type_2 *)pcVar6)->sample[(int)var_27];
          ((type_2 *)pcVar6)->sample[(int)var_27] = var_2;
          if ((*(type_11 *)piVar5 & 0x40) == 0) break;
          var_8 = (((type_2 *)pcVar6)->var_19 - ((type_2 *)pcVar6)->var_18) * (int)var_27;
          var_27 = var_27 + 1;
          var_24((char *)uVar16,
                 var_8 / ((type_2 *)pcVar6)->num_bins + ((type_2 *)pcVar6)->var_18,var_2);
          if ((char *)((type_2 *)pcVar6)->num_bins <= var_27) {
            return;
          }
        }
        var_27 = var_27 + 1;
      } while (var_27 < (char *)((type_2 *)pcVar6)->num_bins);
    }
    return;
  }
  pcVar7 = "%s: overlapping histogram records\n";
  var_16 = (type_2 *)pcVar6;
LAB_0001be3b:
  pcVar6 = whoami;
  pcVar7 = (char *)var_4("gprof",pcVar7,5,var_16,buf,puVar13,dVar14);
  var_5(*(type_1 **)PTR_stderr_0002bfcc,pcVar7,pcVar6);
                    /* WARNING: Subroutine does not return */
  var_6(1);
}


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

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

void MASKED(FILE *param_1,int param_2)

{
  uint uVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  size_t sVar5;
  int *piVar6;
  void *__s;
  char *pcVar7;
  int iVar8;
  char *pcVar9;
  char *pcVar10;
  int **__s1;
  int *piVar11;
  char cVar12;
  int *piVar13;
  byte *pbVar14;
  double dVar15;
  double dVar16;
  undefined8 uVar17;
  char local_42 [2];
  int *local_40;
  int *local_3c;
  char local_38 [4];
  undefined4 local_34;
  undefined2 local_30;
  undefined1 local_2e;
  int *local_2c;
  int *local_28;
  uint local_24;
  int local_20;
  undefined4 uStack_14;
  
  iVar8 = DAT_0002d49c;
  uStack_14 = 0x1ba29;
  piVar13 = &DAT_0002d49c;
  iVar3 = FUN_000199f0(param_1,&local_2c);
  if (((iVar3 != 0) || (iVar3 = FUN_000199f0(param_1,&local_28), iVar3 != 0)) ||
     (iVar3 = FUN_00019990(param_1,&local_24), iVar3 != 0)) {
LAB_0001bdea:
    iVar8 = DAT_0002d494;
    pcVar7 = (char *)dcgettext("gprof","%s: %s: unexpected end of file\n",5);
    fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8,param_2);
                    /* WARNING: Subroutine does not return */
    FUN_0001a990(1);
  }
  iVar3 = FUN_00019990(param_1,&local_40);
  if (iVar3 != 0) goto LAB_0001bdea;
  __s1 = &local_3c;
  iVar3 = FUN_00019a70(param_1,__s1,0xf);
  if (iVar3 != 0) goto LAB_0001bdea;
  pcVar7 = local_42;
  iVar3 = FUN_00019a70(param_1,pcVar7,1);
  piVar11 = local_28;
  piVar6 = local_2c;
  if (iVar3 != 0) goto LAB_0001bdea;
  dVar15 = (double)(ulonglong)local_24;
  dVar16 = (double)((uint)((int)local_28 - (int)local_2c) >> 1) / (double)(longlong)dVar15;
  if (iVar8 == 0) {
    DAT_0002d15c = local_40;
    s_seconds_0002c4a8._0_4_ = local_3c;
    s_seconds_0002c4a8[4] = local_38[0];
    s_seconds_0002c4a8[5] = local_38[1];
    s_seconds_0002c4a8[6] = local_38[2];
    s_seconds_0002c4a8[7] = local_38[3];
    DAT_0002c4b0 = local_34;
    DAT_0002c4b4 = local_30;
    DAT_0002c4b6 = local_2e;
    DAT_0002c4a4 = local_42[0];
    pcVar10 = (char *)0x0;
    DAT_0002d4a0 = dVar16;
  }
  else {
    pcVar10 = s_seconds_0002c4a8;
    iVar4 = strncmp((char *)__s1,s_seconds_0002c4a8,0xf);
    iVar3 = DAT_0002d494;
    iVar8 = iVar3;
    if (iVar4 != 0) {
      pcVar7 = (char *)dcgettext("gprof",
                                 "%s: dimension unit changed between histogram records\n%s: from \'%s\'\n%s: to \'%s\'\n"
                                 ,5,&DAT_0002d494);
      pcVar9 = s_seconds_0002c4a8;
      param_2 = iVar3;
LAB_0001bdd2:
      fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar3,param_2,pcVar9,iVar8,__s1);
                    /* WARNING: Subroutine does not return */
      FUN_0001a990(1);
    }
    if (local_42[0] != DAT_0002c4a4) {
      cVar12 = DAT_0002c4a4;
      pcVar7 = (char *)dcgettext("gprof",
                                 "%s: dimension abbreviation changed between histogram records\n%s: from \'%c\'\n%s: to \'%c\'\n"
                                 ,5,&DAT_0002d494,local_42[0],DAT_0002c4a4);
      __s1 = (int **)(int)local_42[0];
      pcVar9 = (char *)(int)cVar12;
      param_2 = iVar3;
      goto LAB_0001bdd2;
    }
    dVar15 = DAT_00022e30;
    if (DAT_00022e30 < ABS(DAT_0002d4a0 - dVar16)) {
      pcVar9 = "%s: different scales in histogram records";
      goto LAB_0001be3b;
    }
  }
  if (*piVar13 != 0) {
    iVar8 = 0;
    piVar2 = DAT_0002d498;
    do {
      pcVar10 = (char *)piVar2;
      if ((*(int **)pcVar10 == piVar6) && (*(int **)((int)pcVar10 + 4) == piVar11))
      goto LAB_0001bbb9;
      iVar8 = iVar8 + 1;
      piVar2 = (int *)((int)pcVar10 + 0x10);
    } while (iVar8 != *piVar13);
  }
  local_40 = piVar6;
  local_3c = piVar11;
  FUN_0001b950(&local_40,__s1);
  if (local_40 == local_3c) {
    DAT_0002d498 = (int *)xrealloc(DAT_0002d498,(*piVar13 + 1) * 0x10);
    piVar6 = DAT_0002d498 + *piVar13 * 4;
    *piVar6 = (int)local_2c;
    piVar6[1] = (int)local_28;
    piVar6[2] = local_24;
    piVar6[3] = local_20;
    pcVar10 = (char *)(DAT_0002d498 + *piVar13 * 4);
    *piVar13 = *piVar13 + 1;
    __s = (void *)xmalloc(*(int *)((int)pcVar10 + 8) << 2);
    *(void **)((int)pcVar10 + 0xc) = __s;
    memset(__s,0,*(int *)((int)pcVar10 + 8) * 4);
LAB_0001bbb9:
    pbVar14 = &DAT_0002d158;
    iVar8 = *(int *)((int)pcVar10 + 8);
    if ((DAT_0002d158 & 0x40) != 0) {
      printf("[hist_read_rec] n_lowpc 0x%lx n_highpc 0x%lx ncnt %u\n",*(int *)pcVar10,
             *(int *)((int)pcVar10 + 4),iVar8);
      iVar8 = *(int *)((int)pcVar10 + 8);
    }
    pcVar9 = (char *)0x0;
    uVar17 = 0x22d79;
    if (iVar8 != 0) {
      do {
        while( true ) {
          sVar5 = fread(pcVar7,2,1,param_1);
          iVar3 = DAT_0002d494;
          if (sVar5 != 1) {
            iVar8 = *(int *)((int)pcVar10 + 8);
            __s1 = (int **)0x5;
            pcVar7 = (char *)dcgettext("gprof",
                                       "%s: %s: unexpected EOF after reading %u of %u samples\n",5);
            goto LAB_0001bdd2;
          }
          iVar8 = (**(code **)(*(int *)(DAT_0002d478 + 4) + 0x34))(pcVar7);
          piVar13 = (int *)(*(int *)((int)pcVar10 + 0xc) + (int)pcVar9 * 4);
          iVar8 = iVar8 + *piVar13;
          *piVar13 = iVar8;
          if ((*pbVar14 & 0x40) == 0) break;
          uVar1 = (*(int *)((int)pcVar10 + 4) - *(int *)pcVar10) * (int)pcVar9;
          pcVar9 = pcVar9 + 1;
          printf((char *)uVar17,uVar1 / *(uint *)((int)pcVar10 + 8) + *(int *)pcVar10,iVar8);
          if (*(char **)((int)pcVar10 + 8) <= pcVar9) {
            return;
          }
        }
        pcVar9 = pcVar9 + 1;
      } while (pcVar9 < *(char **)((int)pcVar10 + 8));
    }
    return;
  }
  pcVar9 = "%s: overlapping histogram records\n";
  piVar11 = (int *)pcVar10;
LAB_0001be3b:
  iVar8 = DAT_0002d494;
  pcVar7 = (char *)dcgettext("gprof",pcVar9,5,piVar11,pcVar7,piVar13,dVar15);
  fprintf(*(FILE **)PTR_stderr_0002bfcc,pcVar7,iVar8);
                    /* WARNING: Subroutine does not return */
  FUN_0001a990(1);
}

