
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x0001a6b9) */

void gmon_out_read(char *filename)

{
  uint uVar1;
  ulong count;
  size_t sVar2;
  gmon_ptr_size gVar3;
  int iVar4;
  uint uVar5;
  FILE *__stream;
  char *pcVar6;
  char *__format;
  histogram *phVar7;
  int *piVar8;
  char *pcVar9;
  int iVar10;
  bfd_vma bVar19;
  uint uVar11;
  byte *pbVar12;
  gmon_hdr *pgVar13;
  byte *pbVar14;
  bfd_vma bVar20;
  bfd_vma bVar21;
  bool bVar15;
  bool bVar16;
  byte bVar17;
  long *plVar18;
  int local_98;
  int local_88;
  uint local_84;
  UNIT raw_bin_count;
  uint version;
  bfd_vma from_pc;
  bfd_vma self_pc;
  uint profrate;
  uchar tag;
  int local_40;
  uint local_3c;
  int local_38;
  uint local_34;
  gmon_hdr ghdr;
  
  bVar17 = 0;
  iVar10 = 2;
  bVar15 = &stack0xfffffff0 < (undefined1 *)0x8c;
  bVar16 = &stack0x00000000 == (undefined1 *)0x9c;
  pbVar12 = (byte *)filename;
  pbVar14 = &DAT_00023063;
  do {
    if (iVar10 == 0) break;
    iVar10 = iVar10 + -1;
    bVar15 = *pbVar12 < *pbVar14;
    bVar16 = *pbVar12 == *pbVar14;
    pbVar12 = pbVar12 + 1;
    pbVar14 = pbVar14 + 1;
  } while (bVar16);
  if ((!bVar15 && !bVar16) == bVar15) {
    __stream = *(FILE **)PTR_stdin_0002cfe8;
  }
  else {
    __stream = fopen64(filename,"r");
    if (__stream == (FILE *)0x0) goto LAB_0001a403;
  }
  plVar18 = &__stream->_flags;
  sVar2 = fread(&ghdr,0x14,1,__stream);
  pcVar9 = whoami;
  pcVar6 = (char *)file_format;
  if (sVar2 != 1) goto LAB_0001a7d3;
  bVar15 = file_format == FF_AUTO;
  bVar16 = file_format == FF_MAGIC;
  if (bVar16) {
    iVar10 = 4;
    pgVar13 = &ghdr;
    pbVar12 = &DAT_00023065;
    do {
      if (iVar10 == 0) break;
      iVar10 = iVar10 + -1;
      bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;
      bVar16 = pgVar13->cookie[0] == *pbVar12;
      pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);
      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;
    } while (bVar16);
    if ((!bVar15 && !bVar16) == bVar15) {
LAB_0001a20a:
      bVar20._0_4_ = (*core_bfd->xvec->bfd_getx32)(ghdr.version);
      pcVar6 = whoami;
      gmon_file_version = (int)(bfd_vma)bVar20;
      if (1 < (uint)(bfd_vma)bVar20) {
        pcVar9 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami);
LAB_0001a790:
        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20);
                    /* WARNING: Subroutine does not return */
        done(1);
      }
      local_88 = 0;
      local_98 = 0;
      local_84 = 0;
      while (sVar2 = fread(&tag,1,1,__stream), pcVar6 = whoami, sVar2 == 1) {
        if (tag == '\x01') {
          local_98 = local_98 + 1;
          gmon_input = gmon_input | 2;
          cg_read_rec((FILE *)__stream,filename);
        }
        else if (tag == '\0') {
          local_84 = local_84 + 1;
          gmon_input = gmon_input | 1;
          hist_read_rec((FILE *)__stream,filename);
        }
        else {
          if (tag != '\x02') {
            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);
            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);
            goto LAB_0001a790;
          }
          local_88 = local_88 + 1;
          gmon_input = gmon_input | 4;
          bb_read_rec((FILE *)__stream,filename);
        }
      }
      goto LAB_0001a1b8;
    }
LAB_0001a51a:
    pcVar6 = "%s: file `%s\' has bad magic cookie\n";
  }
  else {
    bVar15 = false;
    bVar16 = file_format == FF_AUTO;
    if (bVar16) {
      iVar10 = 4;
      pgVar13 = &ghdr;
      pbVar12 = &DAT_00023065;
      do {
        if (iVar10 == 0) break;
        iVar10 = iVar10 + -1;
        bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;
        bVar16 = pgVar13->cookie[0] == *pbVar12;
        pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);
        pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;
      } while (bVar16);
      if ((!bVar15 && !bVar16) == bVar15) goto LAB_0001a20a;
    }
    else if (1 < file_format - FF_BSD) {
      __format = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,
                                   &whoami);
      goto LAB_0001a53f;
    }
    gmon_input = 3;
    iVar10 = fseek(__stream,0,0);
    if (iVar10 < 0) goto LAB_0001a403;
    iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&tag);
    if ((((iVar10 != 0) ||
         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)) ||
        (iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0)) ||
       (iVar10 = gmon_io_read_32((FILE *)__stream,&version), iVar10 != 0)) {
LAB_0001a7d3:
      pcVar6 = "%s: file too short to be a gmon file\n";
LAB_0001a7de:
      pcVar6 = (char *)dcgettext("gprof",pcVar6,5,plVar18);
      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6,filename);
                    /* WARNING: Subroutine does not return */
      done(1);
    }
    if (version == 0x51879) {
      iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);
      if (iVar10 != 0) goto LAB_0001a7d3;
      plVar18 = &hz;
      if (histograms == (histogram *)0x0) {
        hz = profrate;
      }
      else if (hz != profrate) {
        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";
        goto LAB_0001a7de;
      }
      gVar3 = gmon_get_ptr_size();
      if (gVar3 == ptr_32bit) {
        iVar10 = 0x20;
      }
      else {
        iVar10 = 0;
        if (gVar3 == ptr_64bit) {
          iVar10 = 0x28;
        }
      }
    }
    else {
      if (file_format == FF_BSD44) goto LAB_0001a51a;
      gVar3 = gmon_get_ptr_size();
      iVar10 = 0xc;
      if ((gVar3 != ptr_32bit) && (iVar10 = 0x14, gVar3 != ptr_64bit)) {
        iVar10 = 0;
      }
    }
    iVar4 = fseek(__stream,iVar10,0);
    if (iVar4 < 0) {
LAB_0001a403:
      perror(filename);
                    /* WARNING: Subroutine does not return */
      done(1);
    }
    uVar5 = local_34 - iVar10;
    bVar20._0_4_ = (bfd_vma)(uVar5 >> 1);
    if (histograms == (histogram *)0x0) {
      num_histograms = 1;
      phVar7 = (histogram *)xmalloc(0x18);
      *(int *)((int)&phVar7->lowpc + 4) = local_40;
      histograms = phVar7;
      *(int *)((int)&phVar7->highpc + 4) = local_38;
      *(uint *)&phVar7->lowpc = _tag;
                    /* WARNING: Store size is inaccurate */
      *(bfd_vma *)&phVar7->num_bins = (bfd_vma)bVar20;
      *(uint *)&phVar7->highpc = local_3c;
      uVar11 = (local_38 - local_40) - (uint)(local_3c < _tag);
      hist_scale = (double)CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000) /
                   (double)(int)(bfd_vma)bVar20;
      piVar8 = (int *)xmalloc((int)(bfd_vma)bVar20 * 4);
      phVar7->sample = piVar8;
      memset(histograms->sample,0,(int)(bfd_vma)bVar20 * 4);
    }
    else {
                    /* WARNING: Load size is inaccurate */
      if (((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||
          (local_38 != *(int *)((int)&histograms->highpc + 4) ||
           local_3c != (uint)histograms->highpc)) ||
         (*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20)) {
        pcVar6 = "%s: incompatible with first gmon file\n";
        plVar18 = &__stream->_flags;
        goto LAB_0001a7de;
      }
    }
    if (((byte)debug_level & 0x40) != 0) {
      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",_tag,local_3c,local_34);
      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar5,(undefined4)(bfd_vma)bVar20);
    }
    if ((-1 < (int)uVar5) &&
       (uVar11 = *(uint *)((int)&histograms->lowpc + 4),
       uVar1 = *(uint *)((int)&histograms->highpc + 4),
       uVar11 <= uVar1 &&
       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11)) {
      local_84 = (uint)(1 < uVar5);
      bVar21._0_4_ = 0;
      if ((bfd_vma)bVar20 != 0) {
        do {
          sVar2 = fread(raw_bin_count,2,1,__stream);
          pcVar6 = whoami;
          if (sVar2 != 1) {
            filename = (char *)((int)(bfd_vma)bVar21 - 1);
            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);
            goto LAB_0001a790;
          }
          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);
          histograms->sample[(int)(bfd_vma)bVar21] =
               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;
          bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);
        } while ((bfd_vma)bVar20 != (bfd_vma)bVar21);
      }
      local_98 = 0;
      while( true ) {
        iVar10 = gmon_io_read_vma((FILE *)__stream,&from_pc);
        local_88 = 0;
        if ((iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0))
        break;
        gVar3 = gmon_get_ptr_size();
        if (gVar3 == ptr_32bit) {
          iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);
          count = profrate;
        }
        else {
          if (gVar3 != ptr_64bit) break;
          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);
          count = profrate;
        }
        if (iVar10 != 0) break;
        local_98 = local_98 + 1;
        profrate = count;
        if (((byte)debug_level & 0x40) != 0) {
          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,
                 (undefined4)self_pc,count);
        }
        cg_tally(CONCAT44(from_pc._4_4_,(undefined4)from_pc),
                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count);
      }
      if ((hz == 0) && (hz = hertz(), hz == 0)) {
        hz = 1;
        pcVar6 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);
        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6);
      }
LAB_0001a1b8:
      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {
        fclose(__stream);
      }
      iVar10 = gmon_file_version;
      if (((byte)output_style & 0x20) != 0) {
        pcVar6 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);
        printf(pcVar6,filename,iVar10);
        if (local_84 == 1) {
          pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);
        }
        else {
          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);
        }
        printf(pcVar6,local_84);
        if (local_98 == 1) {
          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);
        }
        else {
          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);
        }
        printf(pcVar6,local_98);
        if (local_88 == 1) {
          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);
        }
        else {
          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);
        }
        printf(pcVar6,local_88);
        first_output = 0;
        return;
      }
      return;
    }
    pcVar6 = "%s: file \'%s\' does not appear to be in gmon.out format\n";
  }
  pcVar9 = whoami;
  __format = (char *)dcgettext("gprof",pcVar6,5,&whoami);
  pcVar6 = filename;
LAB_0001a53f:
  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar9,pcVar6);
                    /* WARNING: Subroutine does not return */
  done(1);
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x0001a6b9) */

void FUN_00019f20(byte *param_1)

{
  int *piVar1;
  size_t sVar2;
  uint uVar3;
  FILE *__stream;
  char *pcVar4;
  uint *puVar5;
  int iVar6;
  uint uVar7;
  int iVar8;
  byte *pbVar9;
  undefined4 uVar10;
  uint uVar11;
  byte *pbVar12;
  bool bVar13;
  bool bVar14;
  byte bVar15;
  FILE *pFVar16;
  int local_98;
  int local_88;
  uint local_84;
  undefined1 local_62 [2];
  int local_60;
  undefined4 local_5c;
  undefined4 local_58;
  undefined4 local_54;
  undefined4 local_50;
  int local_4c [2];
  uint local_44;
  uint local_40;
  uint local_3c;
  uint local_38;
  int local_34;
  byte local_30 [4];
  undefined1 local_2c [24];
  undefined4 uStack_14;
  
  bVar15 = 0;
  iVar6 = 2;
  uStack_14 = 0x19f2e;
  bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c;
  bVar14 = &stack0x00000000 == (undefined1 *)0x9c;
  pbVar9 = param_1;
  pbVar12 = &DAT_00023063;
  do {
    if (iVar6 == 0) break;
    iVar6 = iVar6 + -1;
    bVar13 = *pbVar9 < *pbVar12;
    bVar14 = *pbVar9 == *pbVar12;
    pbVar9 = pbVar9 + 1;
    pbVar12 = pbVar12 + 1;
  } while (bVar14);
  if ((!bVar13 && !bVar14) == bVar13) {
    __stream = *(FILE **)PTR_stdin_0002cfe8;
  }
  else {
    __stream = fopen64((char *)param_1,"r");
    if (__stream == (FILE *)0x0) goto LAB_0001a403;
  }
  pFVar16 = __stream;
  sVar2 = fread(local_30,0x14,1,__stream);
  uVar10 = DAT_0002e508;
  pbVar9 = DAT_0002e134;
  if (sVar2 != 1) goto LAB_0001a7d3;
  bVar13 = DAT_0002e134 == (byte *)0x0;
  bVar14 = DAT_0002e134 == (byte *)0x1;
  if (bVar14) {
    iVar6 = 4;
    pbVar9 = local_30;
    pbVar12 = &DAT_00023065;
    do {
      if (iVar6 == 0) break;
      iVar6 = iVar6 + -1;
      bVar13 = *pbVar9 < *pbVar12;
      bVar14 = *pbVar9 == *pbVar12;
      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;
      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;
    } while (bVar14);
    if ((!bVar13 && !bVar14) == bVar13) {
LAB_0001a20a:
      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);
      uVar10 = DAT_0002e508;
      DAT_0002e12c = uVar11;
      if (1 < uVar11) {
        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,
                                   &DAT_0002e508);
LAB_0001a790:
        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);
                    /* WARNING: Subroutine does not return */
        FUN_0001adb0(1);
      }
      local_88 = 0;
      local_98 = 0;
      local_84 = 0;
      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {
        if ((char)local_44 == '\x01') {
          local_98 = local_98 + 1;
          DAT_0002e130 = DAT_0002e130 | 2;
          FUN_00014440(__stream,param_1);
        }
        else if ((char)local_44 == '\0') {
          local_84 = local_84 + 1;
          DAT_0002e130 = DAT_0002e130 | 1;
          FUN_0001c230(__stream,param_1);
        }
        else {
          if ((char)local_44 != '\x02') {
            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);
            uVar11 = local_44 & 0xff;
            goto LAB_0001a790;
          }
          local_88 = local_88 + 1;
          DAT_0002e130 = DAT_0002e130 | 4;
          FUN_000136c0(__stream,param_1);
        }
      }
      goto LAB_0001a1b8;
    }
LAB_0001a51a:
    pcVar4 = "%s: file `%s\' has bad magic cookie\n";
  }
  else {
    bVar13 = false;
    bVar14 = DAT_0002e134 == (byte *)0x0;
    if (bVar14) {
      iVar6 = 4;
      pbVar9 = local_30;
      pbVar12 = &DAT_00023065;
      do {
        if (iVar6 == 0) break;
        iVar6 = iVar6 + -1;
        bVar13 = *pbVar9 < *pbVar12;
        bVar14 = *pbVar9 == *pbVar12;
        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;
        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;
      } while (bVar14);
      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;
    }
    else if ((byte *)0x1 < DAT_0002e134 + -2) {
      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,
                                 &DAT_0002e508);
      goto LAB_0001a53f;
    }
    DAT_0002e130 = 3;
    iVar6 = fseek(__stream,0,0);
    if (iVar6 < 0) goto LAB_0001a403;
    iVar6 = FUN_00019cc0(__stream,&local_44);
    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||
        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||
       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {
LAB_0001a7d3:
      pcVar4 = "%s: file too short to be a gmon file\n";
LAB_0001a7de:
      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);
      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);
                    /* WARNING: Subroutine does not return */
      FUN_0001adb0(1);
    }
    if (local_60 == 0x51879) {
      iVar6 = FUN_00019c60(__stream,local_4c);
      if (iVar6 != 0) goto LAB_0001a7d3;
      pFVar16 = (FILE *)&DAT_0002e15c;
      if (DAT_0002e510 == (uint *)0x0) {
        DAT_0002e15c = local_4c[0];
      }
      else if (DAT_0002e15c != local_4c[0]) {
        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";
        goto LAB_0001a7de;
      }
      iVar6 = FUN_00019b70();
      if (iVar6 == 0) {
        iVar8 = 0x20;
      }
      else {
        iVar8 = 0;
        if (iVar6 == 1) {
          iVar8 = 0x28;
        }
      }
    }
    else {
      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;
      iVar6 = FUN_00019b70();
      iVar8 = 0xc;
      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {
        iVar8 = 0;
      }
    }
    iVar6 = fseek(__stream,iVar8,0);
    if (iVar6 < 0) {
LAB_0001a403:
      perror((char *)param_1);
                    /* WARNING: Subroutine does not return */
      FUN_0001adb0(1);
    }
    uVar3 = local_34 - iVar8;
    uVar11 = uVar3 >> 1;
    if (DAT_0002e510 == (uint *)0x0) {
      DAT_0002e514 = 1;
      puVar5 = (uint *)xmalloc(0x18);
      puVar5[1] = local_40;
      DAT_0002e510 = puVar5;
      puVar5[3] = local_38;
      *puVar5 = local_44;
      puVar5[4] = uVar11;
      puVar5[2] = local_3c;
      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);
      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /
                     (double)uVar11;
      uVar7 = xmalloc(uVar11 * 4);
      puVar5[5] = uVar7;
      memset((void *)DAT_0002e510[5],0,uVar11 * 4);
    }
    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||
             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||
            (DAT_0002e510[4] != uVar11)) {
      pcVar4 = "%s: incompatible with first gmon file\n";
      pFVar16 = __stream;
      goto LAB_0001a7de;
    }
    if (((byte)DAT_0002e158 & 0x40) != 0) {
      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);
      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);
    }
    if ((-1 < (int)uVar3) &&
       (DAT_0002e510[1] <= DAT_0002e510[3] &&
        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {
      local_84 = (uint)(1 < uVar3);
      uVar3 = 0;
      if (uVar11 != 0) {
        do {
          sVar2 = fread(local_62,2,1,__stream);
          uVar10 = DAT_0002e508;
          if (sVar2 != 1) {
            param_1 = (byte *)(uVar3 - 1);
            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);
            goto LAB_0001a790;
          }
          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);
          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);
          *piVar1 = *piVar1 + iVar6;
          uVar3 = uVar3 + 1;
        } while (uVar11 != uVar3);
      }
      local_98 = 0;
      while( true ) {
        iVar6 = FUN_00019cc0(__stream,&local_5c);
        local_88 = 0;
        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;
        iVar6 = FUN_00019b70();
        if (iVar6 == 0) {
          iVar8 = FUN_00019c60(__stream,local_4c);
          iVar6 = local_4c[0];
        }
        else {
          if (iVar6 != 1) break;
          iVar8 = FUN_00019b10();
          iVar6 = local_4c[0];
        }
        if (iVar8 != 0) break;
        local_98 = local_98 + 1;
        local_4c[0] = iVar6;
        if (((byte)DAT_0002e158 & 0x40) != 0) {
          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);
        }
        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);
      }
      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {
        DAT_0002e15c = 1;
        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);
        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);
      }
LAB_0001a1b8:
      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {
        fclose(__stream);
      }
      uVar3 = DAT_0002e12c;
      if ((DAT_0002e154 & 0x20) != 0) {
        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);
        printf(pcVar4,param_1,uVar3);
        if (local_84 == 1) {
          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);
        }
        else {
          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);
        }
        printf(pcVar4,local_84);
        if (local_98 == 1) {
          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);
        }
        else {
          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);
        }
        printf(pcVar4,local_98);
        if (local_88 == 1) {
          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);
        }
        else {
          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);
        }
        printf(pcVar4,local_88);
        DAT_0002d1b8 = 0;
        return;
      }
      return;
    }
    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";
  }
  uVar10 = DAT_0002e508;
  pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508);
  pbVar9 = param_1;
LAB_0001a53f:
  fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);
                    /* WARNING: Subroutine does not return */
  FUN_0001adb0(1);
}


PUSH EBP
MOV ECX,0x2
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013030
ADD EBX,0x130d2
SUB ESP,0x8c
MOV ESI,dword ptr [ESP + 0xa0]
LEA EDI,[EBX + 0xffff6063]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JNZ 0x0001a3e0
MOV EAX,dword ptr [EBX + 0xffffffe8]
MOV EBP,dword ptr [EAX]
PUSH EBP
PUSH 0x1
PUSH 0x14
LEA ESI,[ESP + 0x78]
PUSH ESI
CALL 0x00012200
ADD ESP,0x10
CMP EAX,0x1
JNZ 0x0001a7d3
LEA EAX,[EBX + 0x1134]
MOV EDI,dword ptr [EAX]
MOV dword ptr [ESP + 0x4],EAX
CMP EDI,0x1
JZ 0x0001a500
TEST EDI,EDI
JZ 0x0001a1f0
LEA EAX,[EDI + -0x2]
CMP EAX,0x1
JA 0x0001a85e
MOV dword ptr [EBX + 0x1130],0x3
SUB ESP,0x4
PUSH 0x0
PUSH 0x0
PUSH EBP
CALL 0x00012180
ADD ESP,0x10
TEST EAX,EAX
JS 0x0001a403
SUB ESP,0x8
LEA EAX,[ESP + 0x60]
PUSH EAX
PUSH EBP
CALL 0x00019cc0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001a7d3
SUB ESP,0x8
LEA EAX,[ESP + 0x68]
PUSH EAX
PUSH EBP
CALL 0x00019cc0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001a7d3
SUB ESP,0x8
LEA EAX,[ESP + 0x70]
PUSH EAX
PUSH EBP
CALL 0x00019c60
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001a7d3
SUB ESP,0x8
LEA EAX,[ESP + 0x44]
PUSH EAX
PUSH EBP
CALL 0x00019c60
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001a7d3
CMP dword ptr [ESP + 0x3c],0x51879
JZ 0x0001a5f8
MOV EAX,dword ptr [ESP + 0x4]
CMP dword ptr [EAX],0x3
JZ 0x0001a51a
CALL 0x00019b70
MOV ESI,0xc
TEST EAX,EAX
JZ 0x0001a062
CMP EAX,0x1
MOV ESI,0x14
CMOVNZ ESI,dword ptr [ESP + 0x14]
SUB ESP,0x4
PUSH 0x0
PUSH ESI
PUSH EBP
CALL 0x00012180
ADD ESP,0x10
TEST EAX,EAX
JS 0x0001a403
MOV EAX,dword ptr [ESP + 0x68]
SUB EAX,ESI
MOV EDI,EAX
MOV ESI,EAX
LEA EAX,[EBX + 0x1510]
SHR EDI,0x1
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x4],EDI
TEST EAX,EAX
JZ 0x0001a658
MOV EDX,dword ptr [ESP + 0x58]
MOV ECX,dword ptr [ESP + 0x5c]
XOR EDX,dword ptr [EAX]
XOR ECX,dword ptr [EAX + 0x4]
OR ECX,EDX
JNZ 0x0001a80f
MOV EDX,dword ptr [ESP + 0x60]
MOV ECX,dword ptr [ESP + 0x64]
XOR EDX,dword ptr [EAX + 0x8]
XOR ECX,dword ptr [EAX + 0xc]
OR ECX,EDX
JNZ 0x0001a80f
CMP dword ptr [EAX + 0x10],EDI
JNZ 0x0001a80f
LEA EAX,[EBX + 0x1158]
MOV dword ptr [ESP + 0x1c],EAX
TEST byte ptr [EAX],0x40
JNZ 0x0001a560
TEST ESI,ESI
JS 0x0001a81a
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + 0x4]
MOV ECX,dword ptr [EAX + 0xc]
MOV EDI,dword ptr [EAX]
CMP dword ptr [EAX + 0x8],EDI
SBB ECX,EDX
JC 0x0001a81a
XOR EAX,EAX
CMP ESI,0x1
LEA ESI,[ESP + 0x3a]
SETA AL
XOR EDI,EDI
MOV dword ptr [ESP + 0x18],EAX
LEA EAX,[EBX + 0x14ec]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x4]
TEST EAX,EAX
JZ 0x0001a16f
LEA ESI,[ESI]
PUSH EBP
PUSH 0x1
PUSH 0x2
PUSH ESI
CALL 0x00012200
ADD ESP,0x10
CMP EAX,0x1
JNZ 0x0001a7a8
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x4]
PUSH ESI
CALL dword ptr [EAX + 0x34]
MOV ECX,dword ptr [ESP + 0x20]
ADD ESP,0x10
MOV EDX,dword ptr [ECX]
MOV EDX,dword ptr [EDX + 0x14]
ADD dword ptr [EDX + EDI*0x4],EAX
ADD EDI,0x1
CMP dword ptr [ESP + 0x4],EDI
JNZ 0x0001a130
LEA EAX,[ESP + 0x40]
MOV dword ptr [ESP + 0x4],0x0
MOV dword ptr [ESP + 0x8],EAX
LEA EAX,[ESP + 0x48]
MOV dword ptr [ESP + 0x20],EAX
LEA EAX,[ESP + 0x50]
MOV dword ptr [ESP + 0x24],EAX
NOP
SUB ESP,0x8
PUSH dword ptr [ESP + 0x10]
PUSH EBP
CALL 0x00019cc0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001a2f8
LEA ESI,[EBX + 0x115c]
MOV EDI,dword ptr [ESI]
TEST EDI,EDI
JZ 0x0001a3c4
MOV EAX,dword ptr [EBX + 0xffffffe8]
CMP dword ptr [EAX],EBP
JZ 0x0001a1ce
SUB ESP,0xc
PUSH EBP
CALL 0x000120f0
ADD ESP,0x10
LEA EAX,[EBX + 0x1154]
TEST byte ptr [EAX],0x20
JNZ 0x0001a420
ADD ESP,0x8c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,0x4
LEA EDI,[EBX + 0xffff6065]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JNZ 0x00019fa2
LEA EAX,[EBX + 0x14ec]
SUB ESP,0xc
LEA EDX,[ESP + 0x7c]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x4]
PUSH EDX
CALL dword ptr [EAX + 0x28]
MOV ESI,EAX
MOV dword ptr [EBX + 0x112c],EAX
ADD ESP,0x10
CMP EAX,0x1
JA 0x0001a830
MOV dword ptr [ESP + 0x14],0x0
LEA ESI,[ESP + 0x58]
MOV dword ptr [ESP + 0x4],0x0
MOV dword ptr [ESP + 0x18],0x0
PUSH EBP
PUSH 0x1
PUSH 0x1
PUSH ESI
CALL 0x00012200
ADD ESP,0x10
CMP EAX,0x1
JNZ 0x0001a1b8
MOVZX EDX,byte ptr [ESP + 0x58]
CMP DL,0x1
JZ 0x0001a2d0
TEST DL,DL
JNZ 0x0001a2a0
ADD dword ptr [ESP + 0x18],0x1
SUB ESP,0x8
PUSH dword ptr [ESP + 0xa8]
PUSH EBP
OR dword ptr [EBX + 0x1130],0x1
CALL 0x0001c230
ADD ESP,0x10
JMP 0x0001a250
CMP DL,0x2
JNZ 0x0001a75c
ADD dword ptr [ESP + 0x14],0x1
SUB ESP,0x8
PUSH dword ptr [ESP + 0xa8]
PUSH EBP
OR dword ptr [EBX + 0x1130],0x4
CALL 0x000136c0
ADD ESP,0x10
JMP 0x0001a250
ADD dword ptr [ESP + 0x4],0x1
SUB ESP,0x8
PUSH dword ptr [ESP + 0xa8]
PUSH EBP
OR dword ptr [EBX + 0x1130],0x2
CALL 0x00014440
ADD ESP,0x10
JMP 0x0001a250
SUB ESP,0x8
PUSH dword ptr [ESP + 0x28]
PUSH EBP
CALL 0x00019cc0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001a1a8
CALL 0x00019b70
TEST EAX,EAX
JZ 0x0001a3a0
CMP EAX,0x1
JNZ 0x0001a1a8
MOV EDX,dword ptr [ESP + 0x24]
MOV EAX,EBP
CALL 0x00019b10
TEST EAX,EAX
JNZ 0x0001a1a8
MOV EAX,dword ptr [ESP + 0x50]
MOV ECX,dword ptr [ESP + 0x1c]
ADD dword ptr [ESP + 0x4],0x1
MOV ESI,dword ptr [ESP + 0x48]
MOV EDI,dword ptr [ESP + 0x4c]
MOV EDX,dword ptr [ESP + 0x44]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x40]
TEST byte ptr [ECX],0x40
JZ 0x0001a384
PUSH dword ptr [ESP + 0x10]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xffff5f68]
PUSH EAX
CALL 0x00012070
MOV ESI,dword ptr [ESP + 0x58]
MOV EDI,dword ptr [ESP + 0x5c]
MOV EAX,dword ptr [ESP + 0x50]
MOV EDX,dword ptr [ESP + 0x54]
ADD ESP,0x10
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
PUSH EDI
PUSH ESI
PUSH EDX
PUSH EAX
CALL 0x00014320
ADD ESP,0x20
JMP 0x0001a190
SUB ESP,0x8
PUSH dword ptr [ESP + 0x2c]
PUSH EBP
CALL 0x00019c60
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001a339
LEA ESI,[EBX + 0x115c]
MOV EDI,dword ptr [ESI]
TEST EDI,EDI
JNZ 0x0001a1b8
CALL 0x0001add0
TEST EAX,EAX
JZ 0x0001a715
MOV dword ptr [ESI],EAX
JMP 0x0001a1b8
SUB ESP,0x8
LEA EAX,[EBX + 0xffff7281]
PUSH EAX
PUSH dword ptr [ESP + 0xac]
CALL 0x000121a0
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JNZ 0x00019f5e
SUB ESP,0xc
PUSH dword ptr [ESP + 0xac]
CALL 0x000121b0
MOV dword ptr [ESP],0x1
CALL 0x0001adb0
SUB ESP,0x4
LEA EAX,[EBX + 0xffff5ff0]
LEA ESI,[EBX + 0xffff500c]
MOV EBP,dword ptr [EBX + 0x112c]
PUSH 0x5
PUSH EAX
PUSH ESI
CALL 0x00012120
ADD ESP,0xc
PUSH EBP
PUSH dword ptr [ESP + 0xa8]
PUSH EAX
CALL 0x00012070
ADD ESP,0x10
CMP dword ptr [ESP + 0x18],0x1
JZ 0x0001a5b8
SUB ESP,0x4
LEA EAX,[EBX + 0xffff6080]
PUSH 0x5
PUSH EAX
PUSH ESI
CALL 0x00012120
ADD ESP,0x10
SUB ESP,0x8
PUSH dword ptr [ESP + 0x20]
PUSH EAX
CALL 0x00012070
ADD ESP,0x10
CMP dword ptr [ESP + 0x4],0x1
JZ 0x0001a5d8
SUB ESP,0x4
LEA EAX,[EBX + 0xffff60ae]
PUSH 0x5
PUSH EAX
PUSH ESI
CALL 0x00012120
ADD ESP,0x10
SUB ESP,0x8
PUSH dword ptr [ESP + 0xc]
PUSH EAX
CALL 0x00012070
ADD ESP,0x10
CMP dword ptr [ESP + 0x14],0x1
JZ 0x0001a598
SUB ESP,0x4
LEA EAX,[EBX + 0xffff6014]
PUSH 0x5
PUSH EAX
PUSH ESI
CALL 0x00012120
ADD ESP,0x10
SUB ESP,0x8
PUSH dword ptr [ESP + 0x1c]
PUSH EAX
CALL 0x00012070
LEA EAX,[EBX + 0x1b8]
ADD ESP,0x10
MOV dword ptr [EAX],0x0
ADD ESP,0x8c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,0x4
LEA EDI,[EBX + 0xffff6065]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x0001a20a
LEA EAX,[EBX + 0x1508]
MOV ESI,dword ptr [EAX]
PUSH EAX
LEA EAX,[EBX + 0xffff5dc0]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
PUSH dword ptr [ESP + 0xb0]
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffcc]
PUSH dword ptr [EAX]
CALL 0x00012310
ADD ESP,0x14
PUSH 0x1
CALL 0x0001adb0
LEA EAX,[EBX + 0xffff5e9c]
PUSH dword ptr [ESP + 0x68]
PUSH dword ptr [ESP + 0x64]
PUSH dword ptr [ESP + 0x60]
PUSH EAX
CALL 0x00012070
ADD ESP,0xc
LEA EAX,[EBX + 0xffff5ed0]
PUSH dword ptr [ESP + 0x8]
PUSH ESI
PUSH EAX
CALL 0x00012070
ADD ESP,0x10
JMP 0x0001a0e4
SUB ESP,0x4
LEA EAX,[EBX + 0xffff60c6]
PUSH 0x5
PUSH EAX
PUSH ESI
CALL 0x00012120
ADD ESP,0x10
JMP 0x0001a4d2
SUB ESP,0x4
LEA EAX,[EBX + 0xffff606a]
PUSH 0x5
PUSH EAX
PUSH ESI
CALL 0x00012120
ADD ESP,0x10
JMP 0x0001a472
SUB ESP,0x4
LEA EAX,[EBX + 0xffff6097]
PUSH 0x5
PUSH EAX
PUSH ESI
CALL 0x00012120
ADD ESP,0x10
JMP 0x0001a4a2
SUB ESP,0x8
LEA EAX,[ESP + 0x58]
PUSH EAX
PUSH EBP
CALL 0x00019c60
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JNZ 0x0001a7d3
LEA EAX,[EBX + 0x1510]
MOV EDX,dword ptr [ESP + 0x50]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
LEA EAX,[EBX + 0x115c]
JZ 0x0001a755
CMP dword ptr [EAX],EDX
JNZ 0x0001a882
CALL 0x00019b70
TEST EAX,EAX
JZ 0x0001a74b
CMP EAX,0x1
MOV EAX,0x28
CMOVZ ESI,EAX
JMP 0x0001a062
LEA EAX,[EBX + 0x1514]
SUB ESP,0xc
MOV dword ptr [EAX],0x1
PUSH 0x18
CALL 0x000121d0
MOV EDX,dword ptr [ESP + 0x6c]
MOV EDI,dword ptr [ESP + 0x14]
MOV ECX,EAX
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [ECX + 0x4],EDX
MOV EDX,dword ptr [ESP + 0x74]
MOV dword ptr [EAX],ECX
MOV EAX,dword ptr [ESP + 0x68]
MOV dword ptr [ECX + 0xc],EDX
MOV dword ptr [ECX],EAX
MOV EAX,dword ptr [ESP + 0x70]
MOV dword ptr [ECX + 0x10],EDI
MOV dword ptr [ECX + 0x8],EAX
SUB EAX,dword ptr [ESP + 0x68]
SBB EDX,dword ptr [ESP + 0x6c]
SHRD EAX,EDX,0x1
SHR EDX,0x1
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [ESP + 0x1c],EDX
FILD qword ptr [ESP + 0x18]
ADD ESP,0x10
TEST EDX,EDX
JNS 0x0001a6bf
FADD dword ptr [EBX + 0xffff5a28]
MOV dword ptr [ESP + 0x8],ECX
MOV ECX,dword ptr [ESP + 0x4]
SUB ESP,0xc
FSTP qword ptr [ESP + 0x34]
FLD qword ptr [ESP + 0x34]
LEA EAX,[EBX + 0x1518]
MOV dword ptr [ESP + 0x24],ECX
FILD dword ptr [ESP + 0x24]
LEA EDI,[ECX*0x4 + 0x0]
FDIVP
FSTP qword ptr [EAX]
PUSH EDI
CALL 0x000121d0
MOV ECX,dword ptr [ESP + 0x18]
MOV dword ptr [ECX + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x20]
ADD ESP,0xc
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x14]
PUSH EDI
PUSH 0x0
PUSH EAX
CALL 0x00012330
ADD ESP,0x10
JMP 0x0001a0d1
SUB ESP,0x4
LEA EAX,[EBX + 0xffff5fa0]
MOV dword ptr [ESI],0x1
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
POP EDX
POP ECX
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffcc]
PUSH dword ptr [EAX]
CALL 0x00012310
ADD ESP,0x10
JMP 0x0001a1b8
MOV ESI,0x20
JMP 0x0001a062
MOV dword ptr [EAX],EDX
JMP 0x0001a635
LEA EAX,[EBX + 0x1508]
MOV byte ptr [ESP + 0x4],DL
SUB ESP,0x4
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xffff5e10]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
MOVZX EDX,byte ptr [ESP + 0x14]
MOV dword ptr [ESP],EDX
PUSH dword ptr [ESP + 0xb0]
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffcc]
PUSH dword ptr [EAX]
CALL 0x00012310
ADD ESP,0x14
PUSH 0x1
CALL 0x0001adb0
LEA EAX,[EBX + 0x1508]
SUB ESP,0x4
SUB EDI,0x1
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xffff5f38]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
POP EBP
PUSH dword ptr [ESP + 0x10]
PUSH EDI
JMP 0x0001a78f
SUB ESP,0x4
LEA EAX,[EBX + 0xffff5d98]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
ADD ESP,0xc
PUSH dword ptr [ESP + 0xa4]
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffcc]
PUSH dword ptr [EAX]
CALL 0x00012310
MOV dword ptr [ESP],0x1
CALL 0x0001adb0
LEA EAX,[EBX + 0xffff5e74]
PUSH EBP
PUSH 0x5
JMP 0x0001a7de
LEA EAX,[EBX + 0x1508]
MOV ESI,dword ptr [EAX]
PUSH EAX
LEA EAX,[EBX + 0xffff5f00]
PUSH 0x5
JMP 0x0001a52b
LEA EAX,[EBX + 0x1508]
MOV EDI,dword ptr [EAX]
PUSH EAX
LEA EAX,[EBX + 0xffff5de4]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
MOV dword ptr [ESP],ESI
PUSH dword ptr [ESP + 0xb0]
PUSH EDI
JMP 0x0001a790
LEA EAX,[EBX + 0x1508]
MOV ESI,dword ptr [EAX]
PUSH EAX
LEA EAX,[EBX + 0xffff5fc0]
PUSH 0x5
PUSH EAX
LEA EAX,[EBX + 0xffff500c]
PUSH EAX
CALL 0x00012120
PUSH EDI
JMP 0x0001a53f
PUSH EAX
LEA EAX,[EBX + 0xffff5e3c]
PUSH 0x5
JMP 0x0001a7de
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Removing unreachable block (ram,0x0001a6b9) */\n\nvoid FUN_00019f20(byte *param_1)\n\n{\n  int *piVar1;\n  size_t sVar2;\n  uint uVar3;\n  FILE *__stream;\n  char *pcVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  FILE *pFVar16;\n  int local_98;\n  int local_88;\n  uint local_84;\n  undefined1 local_62 [2];\n  int local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  int local_4c [2];\n  uint local_44;\n  uint local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  byte local_30 [4];\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  iVar6 = 2;\n  uStack_14 = 0x19f2e;\n  bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c;\n  bVar14 = &stack0x00000000 == (undefined1 *)0x9c;\n  pbVar9 = param_1;\n  pbVar12 = &DAT_00023063;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  } while (bVar14);\n  if ((!bVar13 && !bVar14) == bVar13) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }\n  pFVar16 = __stream;\n  sVar2 = fread(local_30,0x14,1,__stream);\n  uVar10 = DAT_0002e508;\n  pbVar9 = DAT_0002e134;\n  if (sVar2 != 1) goto LAB_0001a7d3;\n  bVar13 = DAT_0002e134 == (byte *)0x0;\n  bVar14 = DAT_0002e134 == (byte *)0x1;\n  if (bVar14) {\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    /* WARNING: Subroutine does not return */\n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }\n  uVar10 = DAT_0002e508;\n  pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508);\n  pbVar9 = param_1;\nLAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);\n                    /* WARNING: Subroutine does not return */\n  FUN_0001adb0(1);\n}\n\n" comment comment (function_definition "void FUN_00019f20(byte *param_1)\n\n{\n  int *piVar1;\n  size_t sVar2;\n  uint uVar3;\n  FILE *__stream;\n  char *pcVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  FILE *pFVar16;\n  int local_98;\n  int local_88;\n  uint local_84;\n  undefined1 local_62 [2];\n  int local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  int local_4c [2];\n  uint local_44;\n  uint local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  byte local_30 [4];\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  iVar6 = 2;\n  uStack_14 = 0x19f2e;\n  bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c;\n  bVar14 = &stack0x00000000 == (undefined1 *)0x9c;\n  pbVar9 = param_1;\n  pbVar12 = &DAT_00023063;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  } while (bVar14);\n  if ((!bVar13 && !bVar14) == bVar13) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }\n  pFVar16 = __stream;\n  sVar2 = fread(local_30,0x14,1,__stream);\n  uVar10 = DAT_0002e508;\n  pbVar9 = DAT_0002e134;\n  if (sVar2 != 1) goto LAB_0001a7d3;\n  bVar13 = DAT_0002e134 == (byte *)0x0;\n  bVar14 = DAT_0002e134 == (byte *)0x1;\n  if (bVar14) {\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    /* WARNING: Subroutine does not return */\n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }\n  uVar10 = DAT_0002e508;\n  pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508);\n  pbVar9 = param_1;\nLAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);\n                    /* WARNING: Subroutine does not return */\n  FUN_0001adb0(1);\n}" primitive_type (function_declarator "FUN_00019f20(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  size_t sVar2;\n  uint uVar3;\n  FILE *__stream;\n  char *pcVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  FILE *pFVar16;\n  int local_98;\n  int local_88;\n  uint local_84;\n  undefined1 local_62 [2];\n  int local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  int local_4c [2];\n  uint local_44;\n  uint local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  byte local_30 [4];\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  iVar6 = 2;\n  uStack_14 = 0x19f2e;\n  bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c;\n  bVar14 = &stack0x00000000 == (undefined1 *)0x9c;\n  pbVar9 = param_1;\n  pbVar12 = &DAT_00023063;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  } while (bVar14);\n  if ((!bVar13 && !bVar14) == bVar13) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }\n  pFVar16 = __stream;\n  sVar2 = fread(local_30,0x14,1,__stream);\n  uVar10 = DAT_0002e508;\n  pbVar9 = DAT_0002e134;\n  if (sVar2 != 1) goto LAB_0001a7d3;\n  bVar13 = DAT_0002e134 == (byte *)0x0;\n  bVar14 = DAT_0002e134 == (byte *)0x1;\n  if (bVar14) {\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    /* WARNING: Subroutine does not return */\n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }\n  uVar10 = DAT_0002e508;\n  pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508);\n  pbVar9 = param_1;\nLAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);\n                    /* WARNING: Subroutine does not return */\n  FUN_0001adb0(1);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "bool bVar14;" primitive_type identifier ;) (declaration "byte bVar15;" type_identifier identifier ;) (declaration "FILE *pFVar16;" type_identifier (pointer_declarator "*pFVar16" * identifier) ;) (declaration "int local_98;" primitive_type identifier ;) (declaration "int local_88;" primitive_type identifier ;) (declaration "uint local_84;" type_identifier identifier ;) (declaration "undefined1 local_62 [2];" type_identifier (array_declarator "local_62 [2]" identifier [ number_literal ]) ;) (declaration "int local_60;" primitive_type identifier ;) (declaration "undefined4 local_5c;" type_identifier identifier ;) (declaration "undefined4 local_58;" type_identifier identifier ;) (declaration "undefined4 local_54;" type_identifier identifier ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "int local_4c [2];" primitive_type (array_declarator "local_4c [2]" identifier [ number_literal ]) ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "byte local_30 [4];" type_identifier (array_declarator "local_30 [4]" identifier [ number_literal ]) ;) (declaration "undefined1 local_2c [24];" type_identifier (array_declarator "local_2c [24]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = 2;" (assignment_expression "iVar6 = 2" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x19f2e;" (assignment_expression "uStack_14 = 0x19f2e" identifier = number_literal) ;) (expression_statement "bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c;" (assignment_expression "bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0x8c" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0x8c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar14 = &stack0x00000000 == (undefined1 *)0x9c;" (assignment_expression "bVar14 = &stack0x00000000 == (undefined1 *)0x9c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x9c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x9c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" identifier = identifier) ;) (expression_statement "pbVar12 = &DAT_00023063;" (assignment_expression "pbVar12 = &DAT_00023063" identifier = (pointer_expression "&DAT_00023063" & identifier)) ;) (do_statement "do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  } while (bVar14);" do (compound_statement "{\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar9 < *pbVar12;" (assignment_expression "bVar13 = *pbVar9 < *pbVar12" identifier = (binary_expression "*pbVar9 < *pbVar12" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar9 == *pbVar12;" (assignment_expression "bVar14 = *pbVar9 == *pbVar12" identifier = (binary_expression "*pbVar9 == *pbVar12" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if ((!bVar13 && !bVar14) == bVar13) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }" if (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) (compound_statement "{\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }" { (expression_statement "__stream = *(FILE **)PTR_stdin_0002cfe8;" (assignment_expression "__stream = *(FILE **)PTR_stdin_0002cfe8" identifier = (pointer_expression "*(FILE **)PTR_stdin_0002cfe8" * (cast_expression "(FILE **)PTR_stdin_0002cfe8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }) (else_clause "else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }" else (compound_statement "{\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }" { (expression_statement "__stream = fopen64((char *)param_1,"r");" (assignment_expression "__stream = fopen64((char *)param_1,"r")" identifier = (call_expression "fopen64((char *)param_1,"r")" identifier (argument_list "((char *)param_1,"r")" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""r"" " string_content ") )))) ;) (if_statement "if (__stream == (FILE *)0x0) goto LAB_0001a403;" if (parenthesized_expression "(__stream == (FILE *)0x0)" ( (binary_expression "__stream == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001a403;" goto statement_identifier ;)) }))) (expression_statement "pFVar16 = __stream;" (assignment_expression "pFVar16 = __stream" identifier = identifier) ;) (expression_statement "sVar2 = fread(local_30,0x14,1,__stream);" (assignment_expression "sVar2 = fread(local_30,0x14,1,__stream)" identifier = (call_expression "fread(local_30,0x14,1,__stream)" identifier (argument_list "(local_30,0x14,1,__stream)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "uVar10 = DAT_0002e508;" (assignment_expression "uVar10 = DAT_0002e508" identifier = identifier) ;) (expression_statement "pbVar9 = DAT_0002e134;" (assignment_expression "pbVar9 = DAT_0002e134" identifier = identifier) ;) (if_statement "if (sVar2 != 1) goto LAB_0001a7d3;" if (parenthesized_expression "(sVar2 != 1)" ( (binary_expression "sVar2 != 1" identifier != number_literal) )) (goto_statement "goto LAB_0001a7d3;" goto statement_identifier ;)) (expression_statement "bVar13 = DAT_0002e134 == (byte *)0x0;" (assignment_expression "bVar13 = DAT_0002e134 == (byte *)0x0" identifier = (binary_expression "DAT_0002e134 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar14 = DAT_0002e134 == (byte *)0x1;" (assignment_expression "bVar14 = DAT_0002e134 == (byte *)0x1" identifier = (binary_expression "DAT_0002e134 == (byte *)0x1" identifier == (cast_expression "(byte *)0x1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (bVar14) {\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    /* WARNING: Subroutine does not return */\n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    /* WARNING: Subroutine does not return */\n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }" { (expression_statement "iVar6 = 4;" (assignment_expression "iVar6 = 4" identifier = number_literal) ;) (expression_statement "pbVar9 = local_30;" (assignment_expression "pbVar9 = local_30" identifier = identifier) ;) (expression_statement "pbVar12 = &DAT_00023065;" (assignment_expression "pbVar12 = &DAT_00023065" identifier = (pointer_expression "&DAT_00023065" & identifier)) ;) (do_statement "do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);" do (compound_statement "{\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar9 < *pbVar12;" (assignment_expression "bVar13 = *pbVar9 < *pbVar12" identifier = (binary_expression "*pbVar9 < *pbVar12" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar9 == *pbVar12;" (assignment_expression "bVar14 = *pbVar9 == *pbVar12" identifier = (binary_expression "*pbVar9 == *pbVar12" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    /* WARNING: Subroutine does not return */\n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }" if (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) (compound_statement "{\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    /* WARNING: Subroutine does not return */\n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }" { (labeled_statement "LAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);" statement_identifier : (expression_statement "uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);" (assignment_expression "uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c)" identifier = (call_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))" ( (pointer_expression "**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" * (pointer_expression "*(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" * (cast_expression "(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0002e4ec + 4) + 0x28)" ( (binary_expression "*(int *)(DAT_0002e4ec + 4) + 0x28" (pointer_expression "*(int *)(DAT_0002e4ec + 4)" * (cast_expression "(int *)(DAT_0002e4ec + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002e4ec + 4)" ( (binary_expression "DAT_0002e4ec + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(local_2c)" ( identifier )))) ;)) (expression_statement "uVar10 = DAT_0002e508;" (assignment_expression "uVar10 = DAT_0002e508" identifier = identifier) ;) (expression_statement "DAT_0002e12c = uVar11;" (assignment_expression "DAT_0002e12c = uVar11" identifier = identifier) ;) (if_statement "if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    /* WARNING: Subroutine does not return */\n        FUN_0001adb0(1);\n      }" if (parenthesized_expression "(1 < uVar11)" ( (binary_expression "1 < uVar11" number_literal < identifier) )) (compound_statement "{\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    /* WARNING: Subroutine does not return */\n        FUN_0001adb0(1);\n      }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508)" identifier (argument_list "("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: file `%s\' has unsupported version %d\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal , (pointer_expression "&DAT_0002e508" & identifier) ))))) ;) (labeled_statement "LAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);" statement_identifier : (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier , identifier ))) ;)) comment (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "local_88 = 0;" (assignment_expression "local_88 = 0" identifier = number_literal) ;) (expression_statement "local_98 = 0;" (assignment_expression "local_98 = 0" identifier = number_literal) ;) (expression_statement "local_84 = 0;" (assignment_expression "local_84 = 0" identifier = number_literal) ;) (while_statement "while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }" while (parenthesized_expression "(sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1)" ( (comma_expression "sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1" (assignment_expression "sVar2 = fread(&local_44,1,1,__stream)" identifier = (call_expression "fread(&local_44,1,1,__stream)" identifier (argument_list "(&local_44,1,1,__stream)" ( (pointer_expression "&local_44" & identifier) , number_literal , number_literal , identifier )))) , (comma_expression "uVar10 = DAT_0002e508, sVar2 == 1" (assignment_expression "uVar10 = DAT_0002e508" identifier = identifier) , (binary_expression "sVar2 == 1" identifier == number_literal))) )) (compound_statement "{\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }" { (if_statement "if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" if (parenthesized_expression "((char)local_44 == '\x01')" ( (binary_expression "(char)local_44 == '\x01'" (cast_expression "(char)local_44" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }" { (expression_statement "local_98 = local_98 + 1;" (assignment_expression "local_98 = local_98 + 1" identifier = (binary_expression "local_98 + 1" identifier + number_literal)) ;) (expression_statement "DAT_0002e130 = DAT_0002e130 | 2;" (assignment_expression "DAT_0002e130 = DAT_0002e130 | 2" identifier = (binary_expression "DAT_0002e130 | 2" identifier | number_literal)) ;) (expression_statement "FUN_00014440(__stream,param_1);" (call_expression "FUN_00014440(__stream,param_1)" identifier (argument_list "(__stream,param_1)" ( identifier , identifier ))) ;) }) (else_clause "else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" else (if_statement "if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" if (parenthesized_expression "((char)local_44 == '\0')" ( (binary_expression "(char)local_44 == '\0'" (cast_expression "(char)local_44" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }" { (expression_statement "local_84 = local_84 + 1;" (assignment_expression "local_84 = local_84 + 1" identifier = (binary_expression "local_84 + 1" identifier + number_literal)) ;) (expression_statement "DAT_0002e130 = DAT_0002e130 | 1;" (assignment_expression "DAT_0002e130 = DAT_0002e130 | 1" identifier = (binary_expression "DAT_0002e130 | 1" identifier | number_literal)) ;) (expression_statement "FUN_0001c230(__stream,param_1);" (call_expression "FUN_0001c230(__stream,param_1)" identifier (argument_list "(__stream,param_1)" ( identifier , identifier ))) ;) }) (else_clause "else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" else (compound_statement "{\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" { (if_statement "if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }" if (parenthesized_expression "((char)local_44 != '\x02')" ( (binary_expression "(char)local_44 != '\x02'" (cast_expression "(char)local_44" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" identifier (argument_list "("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: %s: found bad tag %d (file corrupted?)\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "uVar11 = local_44 & 0xff;" (assignment_expression "uVar11 = local_44 & 0xff" identifier = (binary_expression "local_44 & 0xff" identifier & number_literal)) ;) (goto_statement "goto LAB_0001a790;" goto statement_identifier ;) })) (expression_statement "local_88 = local_88 + 1;" (assignment_expression "local_88 = local_88 + 1" identifier = (binary_expression "local_88 + 1" identifier + number_literal)) ;) (expression_statement "DAT_0002e130 = DAT_0002e130 | 4;" (assignment_expression "DAT_0002e130 = DAT_0002e130 | 4" identifier = (binary_expression "DAT_0002e130 | 4" identifier | number_literal)) ;) (expression_statement "FUN_000136c0(__stream,param_1);" (call_expression "FUN_000136c0(__stream,param_1)" identifier (argument_list "(__stream,param_1)" ( identifier , identifier ))) ;) }))))) })) (goto_statement "goto LAB_0001a1b8;" goto statement_identifier ;) })) (labeled_statement "LAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";" statement_identifier : (expression_statement "pcVar4 = "%s: file `%s\' has bad magic cookie\n";" (assignment_expression "pcVar4 = "%s: file `%s\' has bad magic cookie\n"" identifier = (string_literal ""%s: file `%s\' has bad magic cookie\n"" " string_content escape_sequence string_content escape_sequence ")) ;)) }) (else_clause "else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }" else (compound_statement "{\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }" { (expression_statement "bVar13 = false;" (assignment_expression "bVar13 = false" identifier = false) ;) (expression_statement "bVar14 = DAT_0002e134 == (byte *)0x0;" (assignment_expression "bVar14 = DAT_0002e134 == (byte *)0x0" identifier = (binary_expression "DAT_0002e134 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }" { (expression_statement "iVar6 = 4;" (assignment_expression "iVar6 = 4" identifier = number_literal) ;) (expression_statement "pbVar9 = local_30;" (assignment_expression "pbVar9 = local_30" identifier = identifier) ;) (expression_statement "pbVar12 = &DAT_00023065;" (assignment_expression "pbVar12 = &DAT_00023065" identifier = (pointer_expression "&DAT_00023065" & identifier)) ;) (do_statement "do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);" do (compound_statement "{\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar9 < *pbVar12;" (assignment_expression "bVar13 = *pbVar9 < *pbVar12" identifier = (binary_expression "*pbVar9 < *pbVar12" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar9 == *pbVar12;" (assignment_expression "bVar14 = *pbVar9 == *pbVar12" identifier = (binary_expression "*pbVar9 == *pbVar12" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;" if (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) (goto_statement "goto LAB_0001a20a;" goto statement_identifier ;)) }) (else_clause "else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }" else (if_statement "if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }" if (parenthesized_expression "((byte *)0x1 < DAT_0002e134 + -2)" ( (binary_expression "(byte *)0x1 < DAT_0002e134 + -2" (cast_expression "(byte *)0x1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "DAT_0002e134 + -2" identifier + number_literal)) )) (compound_statement "{\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508)" identifier (argument_list "("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: don\'t know how to deal with file format %d\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal , (pointer_expression "&DAT_0002e508" & identifier) ))))) ;) (goto_statement "goto LAB_0001a53f;" goto statement_identifier ;) })))) (expression_statement "DAT_0002e130 = 3;" (assignment_expression "DAT_0002e130 = 3" identifier = number_literal) ;) (expression_statement "iVar6 = fseek(__stream,0,0);" (assignment_expression "iVar6 = fseek(__stream,0,0)" identifier = (call_expression "fseek(__stream,0,0)" identifier (argument_list "(__stream,0,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar6 < 0) goto LAB_0001a403;" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (goto_statement "goto LAB_0001a403;" goto statement_identifier ;)) (expression_statement "iVar6 = FUN_00019cc0(__stream,&local_44);" (assignment_expression "iVar6 = FUN_00019cc0(__stream,&local_44)" identifier = (call_expression "FUN_00019cc0(__stream,&local_44)" identifier (argument_list "(__stream,&local_44)" ( identifier , (pointer_expression "&local_44" & identifier) )))) ;) (if_statement "if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }" if (parenthesized_expression "((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0))" ( (binary_expression "(((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)" (parenthesized_expression "(((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0))" ( (binary_expression "((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)" (parenthesized_expression "((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0))" ( (binary_expression "(iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)" ( (comma_expression "iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0" (assignment_expression "iVar6 = FUN_00019cc0(__stream,&local_3c)" identifier = (call_expression "FUN_00019cc0(__stream,&local_3c)" identifier (argument_list "(__stream,&local_3c)" ( identifier , (pointer_expression "&local_3c" & identifier) )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)" ( (comma_expression "iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0" (assignment_expression "iVar6 = FUN_00019c60(__stream,&local_34)" identifier = (call_expression "FUN_00019c60(__stream,&local_34)" identifier (argument_list "(__stream,&local_34)" ( identifier , (pointer_expression "&local_34" & identifier) )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)" ( (comma_expression "iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0" (assignment_expression "iVar6 = FUN_00019c60(__stream,&local_60)" identifier = (call_expression "FUN_00019c60(__stream,&local_60)" identifier (argument_list "(__stream,&local_60)" ( identifier , (pointer_expression "&local_60" & identifier) )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }" { (labeled_statement "LAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";" statement_identifier : (expression_statement "pcVar4 = "%s: file too short to be a gmon file\n";" (assignment_expression "pcVar4 = "%s: file too short to be a gmon file\n"" identifier = (string_literal ""%s: file too short to be a gmon file\n"" " string_content escape_sequence ")) ;)) (labeled_statement "LAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);" statement_identifier : (expression_statement "pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16)" identifier = (cast_expression "(char *)dcgettext("gprof",pcVar4,5,pFVar16)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",pcVar4,5,pFVar16)" identifier (argument_list "("gprof",pcVar4,5,pFVar16)" ( (string_literal ""gprof"" " string_content ") , identifier , number_literal , identifier ))))) ;)) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier ))) ;) comment (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (if_statement "if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }" if (parenthesized_expression "(local_60 == 0x51879)" ( (binary_expression "local_60 == 0x51879" identifier == number_literal) )) (compound_statement "{\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }" { (expression_statement "iVar6 = FUN_00019c60(__stream,local_4c);" (assignment_expression "iVar6 = FUN_00019c60(__stream,local_4c)" identifier = (call_expression "FUN_00019c60(__stream,local_4c)" identifier (argument_list "(__stream,local_4c)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_0001a7d3;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001a7d3;" goto statement_identifier ;)) (expression_statement "pFVar16 = (FILE *)&DAT_0002e15c;" (assignment_expression "pFVar16 = (FILE *)&DAT_0002e15c" identifier = (cast_expression "(FILE *)&DAT_0002e15c" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0002e15c" & identifier))) ;) (if_statement "if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" if (parenthesized_expression "(DAT_0002e510 == (uint *)0x0)" ( (binary_expression "DAT_0002e510 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        DAT_0002e15c = local_4c[0];\n      }" { (expression_statement "DAT_0002e15c = local_4c[0];" (assignment_expression "DAT_0002e15c = local_4c[0]" identifier = (subscript_expression "local_4c[0]" identifier [ number_literal ])) ;) }) (else_clause "else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" else (if_statement "if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" if (parenthesized_expression "(DAT_0002e15c != local_4c[0])" ( (binary_expression "DAT_0002e15c != local_4c[0]" identifier != (subscript_expression "local_4c[0]" identifier [ number_literal ])) )) (compound_statement "{\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" { (expression_statement "pcVar4 = "%s: profiling rate incompatible with first gmon file\n";" (assignment_expression "pcVar4 = "%s: profiling rate incompatible with first gmon file\n"" identifier = (string_literal ""%s: profiling rate incompatible with first gmon file\n"" " string_content escape_sequence ")) ;) (goto_statement "goto LAB_0001a7de;" goto statement_identifier ;) })))) (expression_statement "iVar6 = FUN_00019b70();" (assignment_expression "iVar6 = FUN_00019b70()" identifier = (call_expression "FUN_00019b70()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar8 = 0x20;\n      }" { (expression_statement "iVar8 = 0x20;" (assignment_expression "iVar8 = 0x20" identifier = number_literal) ;) }) (else_clause "else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }" else (compound_statement "{\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (if_statement "if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }" if (parenthesized_expression "(iVar6 == 1)" ( (binary_expression "iVar6 == 1" identifier == number_literal) )) (compound_statement "{\n          iVar8 = 0x28;\n        }" { (expression_statement "iVar8 = 0x28;" (assignment_expression "iVar8 = 0x28" identifier = number_literal) ;) })) }))) }) (else_clause "else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }" else (compound_statement "{\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }" { (if_statement "if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;" if (parenthesized_expression "(DAT_0002e134 == (byte *)0x3)" ( (binary_expression "DAT_0002e134 == (byte *)0x3" identifier == (cast_expression "(byte *)0x3" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001a51a;" goto statement_identifier ;)) (expression_statement "iVar6 = FUN_00019b70();" (assignment_expression "iVar6 = FUN_00019b70()" identifier = (call_expression "FUN_00019b70()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar8 = 0xc;" (assignment_expression "iVar8 = 0xc" identifier = number_literal) ;) (if_statement "if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }" if (parenthesized_expression "((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1))" ( (binary_expression "(iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar8 = 0x14, iVar6 != 1)" ( (comma_expression "iVar8 = 0x14, iVar6 != 1" (assignment_expression "iVar8 = 0x14" identifier = number_literal) , (binary_expression "iVar6 != 1" identifier != number_literal)) ))) )) (compound_statement "{\n        iVar8 = 0;\n      }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) })) }))) (expression_statement "iVar6 = fseek(__stream,iVar8,0);" (assignment_expression "iVar6 = fseek(__stream,iVar8,0)" identifier = (call_expression "fseek(__stream,iVar8,0)" identifier (argument_list "(__stream,iVar8,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0001a403:\n      perror((char *)param_1);\n                    /* WARNING: Subroutine does not return */\n      FUN_0001adb0(1);\n    }" { (labeled_statement "LAB_0001a403:\n      perror((char *)param_1);" statement_identifier : (expression_statement "perror((char *)param_1);" (call_expression "perror((char *)param_1)" identifier (argument_list "((char *)param_1)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) comment (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "uVar3 = local_34 - iVar8;" (assignment_expression "uVar3 = local_34 - iVar8" identifier = (binary_expression "local_34 - iVar8" identifier - identifier)) ;) (expression_statement "uVar11 = uVar3 >> 1;" (assignment_expression "uVar11 = uVar3 >> 1" identifier = (binary_expression "uVar3 >> 1" identifier >> number_literal)) ;) (if_statement "if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }" if (parenthesized_expression "(DAT_0002e510 == (uint *)0x0)" ( (binary_expression "DAT_0002e510 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }" { (expression_statement "DAT_0002e514 = 1;" (assignment_expression "DAT_0002e514 = 1" identifier = number_literal) ;) (expression_statement "puVar5 = (uint *)xmalloc(0x18);" (assignment_expression "puVar5 = (uint *)xmalloc(0x18)" identifier = (cast_expression "(uint *)xmalloc(0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "puVar5[1] = local_40;" (assignment_expression "puVar5[1] = local_40" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "DAT_0002e510 = puVar5;" (assignment_expression "DAT_0002e510 = puVar5" identifier = identifier) ;) (expression_statement "puVar5[3] = local_38;" (assignment_expression "puVar5[3] = local_38" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar5 = local_44;" (assignment_expression "*puVar5 = local_44" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "puVar5[4] = uVar11;" (assignment_expression "puVar5[4] = uVar11" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[2] = local_3c;" (assignment_expression "puVar5[2] = local_3c" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);" (assignment_expression "uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44)" identifier = (binary_expression "(local_38 - local_40) - (uint)(local_3c < local_44)" (parenthesized_expression "(local_38 - local_40)" ( (binary_expression "local_38 - local_40" identifier - identifier) )) - (call_expression "(uint)(local_3c < local_44)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_3c < local_44)" ( (binary_expression "local_3c < local_44" identifier < identifier) ))))) ;) (expression_statement "DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;" (assignment_expression "DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11" identifier = (binary_expression "(double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11" (cast_expression "(double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000)" ( (type_descriptor "double" primitive_type) ) (call_expression "CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000)" identifier (argument_list "(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000)" ( (binary_expression "uVar7 >> 1" identifier >> number_literal) , (binary_expression "local_3c - local_44 >> 1 | uVar7 * -0x80000000" (binary_expression "local_3c - local_44 >> 1" (binary_expression "local_3c - local_44" identifier - identifier) >> number_literal) | (binary_expression "uVar7 * -0x80000000" identifier * number_literal)) )))) / (cast_expression "(double)uVar11" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (expression_statement "uVar7 = xmalloc(uVar11 * 4);" (assignment_expression "uVar7 = xmalloc(uVar11 * 4)" identifier = (call_expression "xmalloc(uVar11 * 4)" identifier (argument_list "(uVar11 * 4)" ( (binary_expression "uVar11 * 4" identifier * number_literal) )))) ;) (expression_statement "puVar5[5] = uVar7;" (assignment_expression "puVar5[5] = uVar7" (subscript_expression "puVar5[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "memset((void *)DAT_0002e510[5],0,uVar11 * 4);" (call_expression "memset((void *)DAT_0002e510[5],0,uVar11 * 4)" identifier (argument_list "((void *)DAT_0002e510[5],0,uVar11 * 4)" ( (cast_expression "(void *)DAT_0002e510[5]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "DAT_0002e510[5]" identifier [ number_literal ])) , number_literal , (binary_expression "uVar11 * 4" identifier * number_literal) ))) ;) }) (else_clause "else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }" else (if_statement "if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }" if (parenthesized_expression "(((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11))" ( (binary_expression "((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)" (parenthesized_expression "((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2]))" ( (binary_expression "(local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])" (parenthesized_expression "(local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510)" ( (binary_expression "local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510" (binary_expression "local_40 != DAT_0002e510[1]" identifier != (subscript_expression "DAT_0002e510[1]" identifier [ number_literal ])) || (binary_expression "local_44 != *DAT_0002e510" identifier != (pointer_expression "*DAT_0002e510" * identifier))) )) || (parenthesized_expression "(local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])" ( (binary_expression "local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2]" (binary_expression "local_38 != DAT_0002e510[3]" identifier != (subscript_expression "DAT_0002e510[3]" identifier [ number_literal ])) || (binary_expression "local_3c != DAT_0002e510[2]" identifier != (subscript_expression "DAT_0002e510[2]" identifier [ number_literal ]))) ))) )) || (parenthesized_expression "(DAT_0002e510[4] != uVar11)" ( (binary_expression "DAT_0002e510[4] != uVar11" (subscript_expression "DAT_0002e510[4]" identifier [ number_literal ]) != identifier) ))) )) (compound_statement "{\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }" { (expression_statement "pcVar4 = "%s: incompatible with first gmon file\n";" (assignment_expression "pcVar4 = "%s: incompatible with first gmon file\n"" identifier = (string_literal ""%s: incompatible with first gmon file\n"" " string_content escape_sequence ")) ;) (expression_statement "pFVar16 = __stream;" (assignment_expression "pFVar16 = __stream" identifier = identifier) ;) (goto_statement "goto LAB_0001a7de;" goto statement_identifier ;) })))) (if_statement "if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }" if (parenthesized_expression "(((byte)DAT_0002e158 & 0x40) != 0)" ( (binary_expression "((byte)DAT_0002e158 & 0x40) != 0" (parenthesized_expression "((byte)DAT_0002e158 & 0x40)" ( (binary_expression "(byte)DAT_0002e158 & 0x40" (cast_expression "(byte)DAT_0002e158" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }" { (expression_statement "printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);" (call_expression "printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34)" identifier (argument_list "("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34)" ( (string_literal ""[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (expression_statement "printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);" (call_expression "printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11)" identifier (argument_list "("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11)" ( (string_literal ""[gmon_out_read] samp_bytes %d hist_num_bins %d\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) })) (if_statement "if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }" if (parenthesized_expression "((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1]))" ( (binary_expression "(-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])" (parenthesized_expression "(-1 < (int)uVar3)" ( (binary_expression "-1 < (int)uVar3" number_literal < (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])" ( (binary_expression "DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1]" (binary_expression "DAT_0002e510[1] <= DAT_0002e510[3]" (subscript_expression "DAT_0002e510[1]" identifier [ number_literal ]) <= (subscript_expression "DAT_0002e510[3]" identifier [ number_literal ])) && (binary_expression "(uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1]" (call_expression "(uint)(DAT_0002e510[2] < *DAT_0002e510)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_0002e510[2] < *DAT_0002e510)" ( (binary_expression "DAT_0002e510[2] < *DAT_0002e510" (subscript_expression "DAT_0002e510[2]" identifier [ number_literal ]) < (pointer_expression "*DAT_0002e510" * identifier)) ))) <= (binary_expression "DAT_0002e510[3] - DAT_0002e510[1]" (subscript_expression "DAT_0002e510[3]" identifier [ number_literal ]) - (subscript_expression "DAT_0002e510[1]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }" { (expression_statement "local_84 = (uint)(1 < uVar3);" (assignment_expression "local_84 = (uint)(1 < uVar3)" identifier = (call_expression "(uint)(1 < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(1 < uVar3)" ( (binary_expression "1 < uVar3" number_literal < identifier) )))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }" { (do_statement "do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);" do (compound_statement "{\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        }" { (expression_statement "sVar2 = fread(local_62,2,1,__stream);" (assignment_expression "sVar2 = fread(local_62,2,1,__stream)" identifier = (call_expression "fread(local_62,2,1,__stream)" identifier (argument_list "(local_62,2,1,__stream)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "uVar10 = DAT_0002e508;" (assignment_expression "uVar10 = DAT_0002e508" identifier = identifier) ;) (if_statement "if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }" if (parenthesized_expression "(sVar2 != 1)" ( (binary_expression "sVar2 != 1" identifier != number_literal) )) (compound_statement "{\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }" { (expression_statement "param_1 = (byte *)(uVar3 - 1);" (assignment_expression "param_1 = (byte *)(uVar3 - 1)" identifier = (cast_expression "(byte *)(uVar3 - 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 - 1)" ( (binary_expression "uVar3 - 1" identifier - number_literal) )))) ;) (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" identifier (argument_list "("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: unexpected EOF after reading %d/%d bins\n"" " string_content escape_sequence ") , number_literal ))))) ;) (goto_statement "goto LAB_0001a790;" goto statement_identifier ;) })) (expression_statement "iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);" (assignment_expression "iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62)" identifier = (call_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))" ( (pointer_expression "**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34)" * (pointer_expression "*(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34)" * (cast_expression "(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0002e4ec + 4) + 0x34)" ( (binary_expression "*(int *)(DAT_0002e4ec + 4) + 0x34" (pointer_expression "*(int *)(DAT_0002e4ec + 4)" * (cast_expression "(int *)(DAT_0002e4ec + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002e4ec + 4)" ( (binary_expression "DAT_0002e4ec + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(local_62)" ( identifier )))) ;) (expression_statement "piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);" (assignment_expression "piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4)" identifier = (cast_expression "(int *)(DAT_0002e510[5] + uVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002e510[5] + uVar3 * 4)" ( (binary_expression "DAT_0002e510[5] + uVar3 * 4" (subscript_expression "DAT_0002e510[5]" identifier [ number_literal ]) + (binary_expression "uVar3 * 4" identifier * number_literal)) )))) ;) (expression_statement "*piVar1 = *piVar1 + iVar6;" (assignment_expression "*piVar1 = *piVar1 + iVar6" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + iVar6" (pointer_expression "*piVar1" * identifier) + identifier)) ;) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 != uVar3)" ( (binary_expression "uVar11 != uVar3" identifier != identifier) )) ;) })) (expression_statement "local_98 = 0;" (assignment_expression "local_98 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }" { (expression_statement "iVar6 = FUN_00019cc0(__stream,&local_5c);" (assignment_expression "iVar6 = FUN_00019cc0(__stream,&local_5c)" identifier = (call_expression "FUN_00019cc0(__stream,&local_5c)" identifier (argument_list "(__stream,&local_5c)" ( identifier , (pointer_expression "&local_5c" & identifier) )))) ;) (expression_statement "local_88 = 0;" (assignment_expression "local_88 = 0" identifier = number_literal) ;) (if_statement "if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;" if (parenthesized_expression "((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0))" ( (binary_expression "(iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)" ( (comma_expression "iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0" (assignment_expression "iVar6 = FUN_00019cc0(__stream,&local_54)" identifier = (call_expression "FUN_00019cc0(__stream,&local_54)" identifier (argument_list "(__stream,&local_54)" ( identifier , (pointer_expression "&local_54" & identifier) )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = FUN_00019b70();" (assignment_expression "iVar6 = FUN_00019b70()" identifier = (call_expression "FUN_00019b70()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }" { (expression_statement "iVar8 = FUN_00019c60(__stream,local_4c);" (assignment_expression "iVar8 = FUN_00019c60(__stream,local_4c)" identifier = (call_expression "FUN_00019c60(__stream,local_4c)" identifier (argument_list "(__stream,local_4c)" ( identifier , identifier )))) ;) (expression_statement "iVar6 = local_4c[0];" (assignment_expression "iVar6 = local_4c[0]" identifier = (subscript_expression "local_4c[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }" else (compound_statement "{\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }" { (if_statement "if (iVar6 != 1) break;" if (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar8 = FUN_00019b10();" (assignment_expression "iVar8 = FUN_00019b10()" identifier = (call_expression "FUN_00019b10()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = local_4c[0];" (assignment_expression "iVar6 = local_4c[0]" identifier = (subscript_expression "local_4c[0]" identifier [ number_literal ])) ;) }))) (if_statement "if (iVar8 != 0) break;" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "local_98 = local_98 + 1;" (assignment_expression "local_98 = local_98 + 1" identifier = (binary_expression "local_98 + 1" identifier + number_literal)) ;) (expression_statement "local_4c[0] = iVar6;" (assignment_expression "local_4c[0] = iVar6" (subscript_expression "local_4c[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }" if (parenthesized_expression "(((byte)DAT_0002e158 & 0x40) != 0)" ( (binary_expression "((byte)DAT_0002e158 & 0x40) != 0" (parenthesized_expression "((byte)DAT_0002e158 & 0x40)" ( (binary_expression "(byte)DAT_0002e158 & 0x40" (cast_expression "(byte)DAT_0002e158" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }" { (expression_statement "printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);" (call_expression "printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6)" identifier (argument_list "("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6)" ( (string_literal ""[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) })) (expression_statement "FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);" (call_expression "FUN_00014320(local_5c,local_58,local_54,local_50,iVar6)" identifier (argument_list "(local_5c,local_58,local_54,local_50,iVar6)" ( identifier , identifier , identifier , identifier , identifier ))) ;) })) (if_statement "if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }" if (parenthesized_expression "((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0))" ( (binary_expression "(DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)" (parenthesized_expression "(DAT_0002e15c == 0)" ( (binary_expression "DAT_0002e15c == 0" identifier == number_literal) )) && (parenthesized_expression "(DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)" ( (comma_expression "DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0" (assignment_expression "DAT_0002e15c = FUN_0001add0()" identifier = (call_expression "FUN_0001add0()" identifier (argument_list "()" ( )))) , (binary_expression "DAT_0002e15c == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }" { (expression_statement "DAT_0002e15c = 1;" (assignment_expression "DAT_0002e15c = 1" identifier = number_literal) ;) (expression_statement "pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","time is in ticks, not seconds\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","time is in ticks, not seconds\n",5)" identifier (argument_list "("gprof","time is in ticks, not seconds\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""time is in ticks, not seconds\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar4)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier ))) ;) })) (labeled_statement "LAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }" statement_identifier : (if_statement "if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }" if (parenthesized_expression "(*(FILE **)PTR_stdin_0002cfe8 != __stream)" ( (binary_expression "*(FILE **)PTR_stdin_0002cfe8 != __stream" (pointer_expression "*(FILE **)PTR_stdin_0002cfe8" * (cast_expression "(FILE **)PTR_stdin_0002cfe8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != identifier) )) (compound_statement "{\n        fclose(__stream);\n      }" { (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" identifier (argument_list "(__stream)" ( identifier ))) ;) }))) (expression_statement "uVar3 = DAT_0002e12c;" (assignment_expression "uVar3 = DAT_0002e12c" identifier = identifier) ;) (if_statement "if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }" if (parenthesized_expression "((DAT_0002e154 & 0x20) != 0)" ( (binary_expression "(DAT_0002e154 & 0x20) != 0" (parenthesized_expression "(DAT_0002e154 & 0x20)" ( (binary_expression "DAT_0002e154 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","File `%s\' (version %d) contains:\n",5)" identifier (argument_list "("gprof","File `%s\' (version %d) contains:\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""File `%s\' (version %d) contains:\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(pcVar4,param_1,uVar3);" (call_expression "printf(pcVar4,param_1,uVar3)" identifier (argument_list "(pcVar4,param_1,uVar3)" ( identifier , identifier , identifier ))) ;) (if_statement "if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }" if (parenthesized_expression "(local_84 == 1)" ( (binary_expression "local_84 == 1" identifier == number_literal) )) (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d histogram record\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d histogram record\n",5)" identifier (argument_list "("gprof","\t%d histogram record\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d histogram record\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }) (else_clause "else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }" else (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d histogram records\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d histogram records\n",5)" identifier (argument_list "("gprof","\t%d histogram records\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d histogram records\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }))) (expression_statement "printf(pcVar4,local_84);" (call_expression "printf(pcVar4,local_84)" identifier (argument_list "(pcVar4,local_84)" ( identifier , identifier ))) ;) (if_statement "if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }" if (parenthesized_expression "(local_98 == 1)" ( (binary_expression "local_98 == 1" identifier == number_literal) )) (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d call-graph record\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d call-graph record\n",5)" identifier (argument_list "("gprof","\t%d call-graph record\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d call-graph record\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }) (else_clause "else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }" else (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d call-graph records\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d call-graph records\n",5)" identifier (argument_list "("gprof","\t%d call-graph records\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d call-graph records\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }))) (expression_statement "printf(pcVar4,local_98);" (call_expression "printf(pcVar4,local_98)" identifier (argument_list "(pcVar4,local_98)" ( identifier , identifier ))) ;) (if_statement "if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }" if (parenthesized_expression "(local_88 == 1)" ( (binary_expression "local_88 == 1" identifier == number_literal) )) (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d basic-block count record\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d basic-block count record\n",5)" identifier (argument_list "("gprof","\t%d basic-block count record\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d basic-block count record\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }) (else_clause "else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }" else (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d basic-block count records\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d basic-block count records\n",5)" identifier (argument_list "("gprof","\t%d basic-block count records\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d basic-block count records\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }))) (expression_statement "printf(pcVar4,local_88);" (call_expression "printf(pcVar4,local_88)" identifier (argument_list "(pcVar4,local_88)" ( identifier , identifier ))) ;) (expression_statement "DAT_0002d1b8 = 0;" (assignment_expression "DAT_0002d1b8 = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) (expression_statement "pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";" (assignment_expression "pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n"" identifier = (string_literal ""%s: file \'%s\' does not appear to be in gmon.out format\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ")) ;) }))) (expression_statement "uVar10 = DAT_0002e508;" (assignment_expression "uVar10 = DAT_0002e508" identifier = identifier) ;) (expression_statement "pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508)" identifier = (cast_expression "(char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",pcVar4,5,&DAT_0002e508)" identifier (argument_list "("gprof",pcVar4,5,&DAT_0002e508)" ( (string_literal ""gprof"" " string_content ") , identifier , number_literal , (pointer_expression "&DAT_0002e508" & identifier) ))))) ;) (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" identifier = identifier) ;) (labeled_statement "LAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);" statement_identifier : (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier ))) ;)) comment (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Removing unreachable block (ram,0x0001a6b9) */\n\nvoid gmon_out_read(char *filename)\n\n{\n  uint uVar1;\n  ulong count;\n  size_t sVar2;\n  gmon_ptr_size gVar3;\n  int iVar4;\n  uint uVar5;\n  FILE *__stream;\n  char *pcVar6;\n  char *__format;\n  histogram *phVar7;\n  int *piVar8;\n  char *pcVar9;\n  int iVar10;\n  bfd_vma bVar19;\n  uint uVar11;\n  byte *pbVar12;\n  gmon_hdr *pgVar13;\n  byte *pbVar14;\n  bfd_vma bVar20;\n  bfd_vma bVar21;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  long *plVar18;\n  int local_98;\n  int local_88;\n  uint local_84;\n  UNIT raw_bin_count;\n  uint version;\n  bfd_vma from_pc;\n  bfd_vma self_pc;\n  uint profrate;\n  uchar tag;\n  int local_40;\n  uint local_3c;\n  int local_38;\n  uint local_34;\n  gmon_hdr ghdr;\n  \n  bVar17 = 0;\n  iVar10 = 2;\n  bVar15 = &stack0xfffffff0 < (undefined1 *)0x8c;\n  bVar16 = &stack0x00000000 == (undefined1 *)0x9c;\n  pbVar12 = (byte *)filename;\n  pbVar14 = &DAT_00023063;\n  do {\n    if (iVar10 == 0) break;\n    iVar10 = iVar10 + -1;\n    bVar15 = *pbVar12 < *pbVar14;\n    bVar16 = *pbVar12 == *pbVar14;\n    pbVar12 = pbVar12 + 1;\n    pbVar14 = pbVar14 + 1;\n  } while (bVar16);\n  if ((!bVar15 && !bVar16) == bVar15) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64(filename,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }\n  plVar18 = &__stream->_flags;\n  sVar2 = fread(&ghdr,0x14,1,__stream);\n  pcVar9 = whoami;\n  pcVar6 = (char *)file_format;\n  if (sVar2 != 1) goto LAB_0001a7d3;\n  bVar15 = file_format == FF_AUTO;\n  bVar16 = file_format == FF_MAGIC;\n  if (bVar16) {\n    iVar10 = 4;\n    pgVar13 = &ghdr;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n      bVar16 = pgVar13->cookie[0] == *pbVar12;\n      pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\nLAB_0001a20a:\n      bVar20._0_4_ = (*core_bfd->xvec->bfd_getx32)(ghdr.version);\n      pcVar6 = whoami;\n      gmon_file_version = (int)(bfd_vma)bVar20;\n      if (1 < (uint)(bfd_vma)bVar20) {\n        pcVar9 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20);\n                    /* WARNING: Subroutine does not return */\n        done(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&tag,1,1,__stream), pcVar6 = whoami, sVar2 == 1) {\n        if (tag == '\x01') {\n          local_98 = local_98 + 1;\n          gmon_input = gmon_input | 2;\n          cg_read_rec((FILE *)__stream,filename);\n        }\n        else if (tag == '\0') {\n          local_84 = local_84 + 1;\n          gmon_input = gmon_input | 1;\n          hist_read_rec((FILE *)__stream,filename);\n        }\n        else {\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar6 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar15 = false;\n    bVar16 = file_format == FF_AUTO;\n    if (bVar16) {\n      iVar10 = 4;\n      pgVar13 = &ghdr;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n        bVar16 = pgVar13->cookie[0] == *pbVar12;\n        pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n        pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) goto LAB_0001a20a;\n    }\n    else if (1 < file_format - FF_BSD) {\n      __format = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami);\n      goto LAB_0001a53f;\n    }\n    gmon_input = 3;\n    iVar10 = fseek(__stream,0,0);\n    if (iVar10 < 0) goto LAB_0001a403;\n    iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&tag);\n    if ((((iVar10 != 0) ||\n         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)) ||\n        (iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0)) ||\n       (iVar10 = gmon_io_read_32((FILE *)__stream,&version), iVar10 != 0)) {\nLAB_0001a7d3:\n      pcVar6 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar6 = (char *)dcgettext("gprof",pcVar6,5,plVar18);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6,filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    if (version == 0x51879) {\n      iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n      if (iVar10 != 0) goto LAB_0001a7d3;\n      plVar18 = &hz;\n      if (histograms == (histogram *)0x0) {\n        hz = profrate;\n      }\n      else if (hz != profrate) {\n        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      gVar3 = gmon_get_ptr_size();\n      if (gVar3 == ptr_32bit) {\n        iVar10 = 0x20;\n      }\n      else {\n        iVar10 = 0;\n        if (gVar3 == ptr_64bit) {\n          iVar10 = 0x28;\n        }\n      }\n    }\n    else {\n      if (file_format == FF_BSD44) goto LAB_0001a51a;\n      gVar3 = gmon_get_ptr_size();\n      iVar10 = 0xc;\n      if ((gVar3 != ptr_32bit) && (iVar10 = 0x14, gVar3 != ptr_64bit)) {\n        iVar10 = 0;\n      }\n    }\n    iVar4 = fseek(__stream,iVar10,0);\n    if (iVar4 < 0) {\nLAB_0001a403:\n      perror(filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    uVar5 = local_34 - iVar10;\n    bVar20._0_4_ = (bfd_vma)(uVar5 >> 1);\n    if (histograms == (histogram *)0x0) {\n      num_histograms = 1;\n      phVar7 = (histogram *)xmalloc(0x18);\n      *(int *)((int)&phVar7->lowpc + 4) = local_40;\n      histograms = phVar7;\n      *(int *)((int)&phVar7->highpc + 4) = local_38;\n      *(uint *)&phVar7->lowpc = _tag;\n                    /* WARNING: Store size is inaccurate */\n      *(bfd_vma *)&phVar7->num_bins = (bfd_vma)bVar20;\n      *(uint *)&phVar7->highpc = local_3c;\n      uVar11 = (local_38 - local_40) - (uint)(local_3c < _tag);\n      hist_scale = (double)CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000) /\n                   (double)(int)(bfd_vma)bVar20;\n      piVar8 = (int *)xmalloc((int)(bfd_vma)bVar20 * 4);\n      phVar7->sample = piVar8;\n      memset(histograms->sample,0,(int)(bfd_vma)bVar20 * 4);\n    }\n    else {\n                    /* WARNING: Load size is inaccurate */\n      if (((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)) ||\n         (*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20)) {\n        pcVar6 = "%s: incompatible with first gmon file\n";\n        plVar18 = &__stream->_flags;\n        goto LAB_0001a7de;\n      }\n    }\n    if (((byte)debug_level & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",_tag,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar5,(undefined4)(bfd_vma)bVar20);\n    }\n    if ((-1 < (int)uVar5) &&\n       (uVar11 = *(uint *)((int)&histograms->lowpc + 4),\n       uVar1 = *(uint *)((int)&histograms->highpc + 4),\n       uVar11 <= uVar1 &&\n       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11)) {\n      local_84 = (uint)(1 < uVar5);\n      bVar21._0_4_ = 0;\n      if ((bfd_vma)bVar20 != 0) {\n        do {\n          sVar2 = fread(raw_bin_count,2,1,__stream);\n          pcVar6 = whoami;\n          if (sVar2 != 1) {\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);\n          histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;\n          bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);\n        } while ((bfd_vma)bVar20 != (bfd_vma)bVar21);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar10 = gmon_io_read_vma((FILE *)__stream,&from_pc);\n        local_88 = 0;\n        if ((iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0))\n        break;\n        gVar3 = gmon_get_ptr_size();\n        if (gVar3 == ptr_32bit) {\n          iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n          count = profrate;\n        }\n        else {\n          if (gVar3 != ptr_64bit) break;\n          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);\n          count = profrate;\n        }\n        if (iVar10 != 0) break;\n        local_98 = local_98 + 1;\n        profrate = count;\n        if (((byte)debug_level & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count);\n        }\n        cg_tally(CONCAT44(from_pc._4_4_,(undefined4)from_pc),\n                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count);\n      }\n      if ((hz == 0) && (hz = hertz(), hz == 0)) {\n        hz = 1;\n        pcVar6 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      iVar10 = gmon_file_version;\n      if (((byte)output_style & 0x20) != 0) {\n        pcVar6 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar6,filename,iVar10);\n        if (local_84 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar6,local_84);\n        if (local_98 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar6,local_98);\n        if (local_88 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar6,local_88);\n        first_output = 0;\n        return;\n      }\n      return;\n    }\n    pcVar6 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }\n  pcVar9 = whoami;\n  __format = (char *)dcgettext("gprof",pcVar6,5,&whoami);\n  pcVar6 = filename;\nLAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar9,pcVar6);\n                    /* WARNING: Subroutine does not return */\n  done(1);\n}\n\n" comment comment (function_definition "void gmon_out_read(char *filename)\n\n{\n  uint uVar1;\n  ulong count;\n  size_t sVar2;\n  gmon_ptr_size gVar3;\n  int iVar4;\n  uint uVar5;\n  FILE *__stream;\n  char *pcVar6;\n  char *__format;\n  histogram *phVar7;\n  int *piVar8;\n  char *pcVar9;\n  int iVar10;\n  bfd_vma bVar19;\n  uint uVar11;\n  byte *pbVar12;\n  gmon_hdr *pgVar13;\n  byte *pbVar14;\n  bfd_vma bVar20;\n  bfd_vma bVar21;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  long *plVar18;\n  int local_98;\n  int local_88;\n  uint local_84;\n  UNIT raw_bin_count;\n  uint version;\n  bfd_vma from_pc;\n  bfd_vma self_pc;\n  uint profrate;\n  uchar tag;\n  int local_40;\n  uint local_3c;\n  int local_38;\n  uint local_34;\n  gmon_hdr ghdr;\n  \n  bVar17 = 0;\n  iVar10 = 2;\n  bVar15 = &stack0xfffffff0 < (undefined1 *)0x8c;\n  bVar16 = &stack0x00000000 == (undefined1 *)0x9c;\n  pbVar12 = (byte *)filename;\n  pbVar14 = &DAT_00023063;\n  do {\n    if (iVar10 == 0) break;\n    iVar10 = iVar10 + -1;\n    bVar15 = *pbVar12 < *pbVar14;\n    bVar16 = *pbVar12 == *pbVar14;\n    pbVar12 = pbVar12 + 1;\n    pbVar14 = pbVar14 + 1;\n  } while (bVar16);\n  if ((!bVar15 && !bVar16) == bVar15) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64(filename,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }\n  plVar18 = &__stream->_flags;\n  sVar2 = fread(&ghdr,0x14,1,__stream);\n  pcVar9 = whoami;\n  pcVar6 = (char *)file_format;\n  if (sVar2 != 1) goto LAB_0001a7d3;\n  bVar15 = file_format == FF_AUTO;\n  bVar16 = file_format == FF_MAGIC;\n  if (bVar16) {\n    iVar10 = 4;\n    pgVar13 = &ghdr;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n      bVar16 = pgVar13->cookie[0] == *pbVar12;\n      pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\nLAB_0001a20a:\n      bVar20._0_4_ = (*core_bfd->xvec->bfd_getx32)(ghdr.version);\n      pcVar6 = whoami;\n      gmon_file_version = (int)(bfd_vma)bVar20;\n      if (1 < (uint)(bfd_vma)bVar20) {\n        pcVar9 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20);\n                    /* WARNING: Subroutine does not return */\n        done(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&tag,1,1,__stream), pcVar6 = whoami, sVar2 == 1) {\n        if (tag == '\x01') {\n          local_98 = local_98 + 1;\n          gmon_input = gmon_input | 2;\n          cg_read_rec((FILE *)__stream,filename);\n        }\n        else if (tag == '\0') {\n          local_84 = local_84 + 1;\n          gmon_input = gmon_input | 1;\n          hist_read_rec((FILE *)__stream,filename);\n        }\n        else {\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar6 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar15 = false;\n    bVar16 = file_format == FF_AUTO;\n    if (bVar16) {\n      iVar10 = 4;\n      pgVar13 = &ghdr;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n        bVar16 = pgVar13->cookie[0] == *pbVar12;\n        pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n        pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) goto LAB_0001a20a;\n    }\n    else if (1 < file_format - FF_BSD) {\n      __format = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami);\n      goto LAB_0001a53f;\n    }\n    gmon_input = 3;\n    iVar10 = fseek(__stream,0,0);\n    if (iVar10 < 0) goto LAB_0001a403;\n    iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&tag);\n    if ((((iVar10 != 0) ||\n         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)) ||\n        (iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0)) ||\n       (iVar10 = gmon_io_read_32((FILE *)__stream,&version), iVar10 != 0)) {\nLAB_0001a7d3:\n      pcVar6 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar6 = (char *)dcgettext("gprof",pcVar6,5,plVar18);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6,filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    if (version == 0x51879) {\n      iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n      if (iVar10 != 0) goto LAB_0001a7d3;\n      plVar18 = &hz;\n      if (histograms == (histogram *)0x0) {\n        hz = profrate;\n      }\n      else if (hz != profrate) {\n        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      gVar3 = gmon_get_ptr_size();\n      if (gVar3 == ptr_32bit) {\n        iVar10 = 0x20;\n      }\n      else {\n        iVar10 = 0;\n        if (gVar3 == ptr_64bit) {\n          iVar10 = 0x28;\n        }\n      }\n    }\n    else {\n      if (file_format == FF_BSD44) goto LAB_0001a51a;\n      gVar3 = gmon_get_ptr_size();\n      iVar10 = 0xc;\n      if ((gVar3 != ptr_32bit) && (iVar10 = 0x14, gVar3 != ptr_64bit)) {\n        iVar10 = 0;\n      }\n    }\n    iVar4 = fseek(__stream,iVar10,0);\n    if (iVar4 < 0) {\nLAB_0001a403:\n      perror(filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    uVar5 = local_34 - iVar10;\n    bVar20._0_4_ = (bfd_vma)(uVar5 >> 1);\n    if (histograms == (histogram *)0x0) {\n      num_histograms = 1;\n      phVar7 = (histogram *)xmalloc(0x18);\n      *(int *)((int)&phVar7->lowpc + 4) = local_40;\n      histograms = phVar7;\n      *(int *)((int)&phVar7->highpc + 4) = local_38;\n      *(uint *)&phVar7->lowpc = _tag;\n                    /* WARNING: Store size is inaccurate */\n      *(bfd_vma *)&phVar7->num_bins = (bfd_vma)bVar20;\n      *(uint *)&phVar7->highpc = local_3c;\n      uVar11 = (local_38 - local_40) - (uint)(local_3c < _tag);\n      hist_scale = (double)CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000) /\n                   (double)(int)(bfd_vma)bVar20;\n      piVar8 = (int *)xmalloc((int)(bfd_vma)bVar20 * 4);\n      phVar7->sample = piVar8;\n      memset(histograms->sample,0,(int)(bfd_vma)bVar20 * 4);\n    }\n    else {\n                    /* WARNING: Load size is inaccurate */\n      if (((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)) ||\n         (*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20)) {\n        pcVar6 = "%s: incompatible with first gmon file\n";\n        plVar18 = &__stream->_flags;\n        goto LAB_0001a7de;\n      }\n    }\n    if (((byte)debug_level & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",_tag,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar5,(undefined4)(bfd_vma)bVar20);\n    }\n    if ((-1 < (int)uVar5) &&\n       (uVar11 = *(uint *)((int)&histograms->lowpc + 4),\n       uVar1 = *(uint *)((int)&histograms->highpc + 4),\n       uVar11 <= uVar1 &&\n       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11)) {\n      local_84 = (uint)(1 < uVar5);\n      bVar21._0_4_ = 0;\n      if ((bfd_vma)bVar20 != 0) {\n        do {\n          sVar2 = fread(raw_bin_count,2,1,__stream);\n          pcVar6 = whoami;\n          if (sVar2 != 1) {\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);\n          histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;\n          bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);\n        } while ((bfd_vma)bVar20 != (bfd_vma)bVar21);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar10 = gmon_io_read_vma((FILE *)__stream,&from_pc);\n        local_88 = 0;\n        if ((iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0))\n        break;\n        gVar3 = gmon_get_ptr_size();\n        if (gVar3 == ptr_32bit) {\n          iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n          count = profrate;\n        }\n        else {\n          if (gVar3 != ptr_64bit) break;\n          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);\n          count = profrate;\n        }\n        if (iVar10 != 0) break;\n        local_98 = local_98 + 1;\n        profrate = count;\n        if (((byte)debug_level & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count);\n        }\n        cg_tally(CONCAT44(from_pc._4_4_,(undefined4)from_pc),\n                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count);\n      }\n      if ((hz == 0) && (hz = hertz(), hz == 0)) {\n        hz = 1;\n        pcVar6 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      iVar10 = gmon_file_version;\n      if (((byte)output_style & 0x20) != 0) {\n        pcVar6 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar6,filename,iVar10);\n        if (local_84 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar6,local_84);\n        if (local_98 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar6,local_98);\n        if (local_88 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar6,local_88);\n        first_output = 0;\n        return;\n      }\n      return;\n    }\n    pcVar6 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }\n  pcVar9 = whoami;\n  __format = (char *)dcgettext("gprof",pcVar6,5,&whoami);\n  pcVar6 = filename;\nLAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar9,pcVar6);\n                    /* WARNING: Subroutine does not return */\n  done(1);\n}" primitive_type (function_declarator "gmon_out_read(char *filename)" identifier (parameter_list "(char *filename)" ( (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  ulong count;\n  size_t sVar2;\n  gmon_ptr_size gVar3;\n  int iVar4;\n  uint uVar5;\n  FILE *__stream;\n  char *pcVar6;\n  char *__format;\n  histogram *phVar7;\n  int *piVar8;\n  char *pcVar9;\n  int iVar10;\n  bfd_vma bVar19;\n  uint uVar11;\n  byte *pbVar12;\n  gmon_hdr *pgVar13;\n  byte *pbVar14;\n  bfd_vma bVar20;\n  bfd_vma bVar21;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  long *plVar18;\n  int local_98;\n  int local_88;\n  uint local_84;\n  UNIT raw_bin_count;\n  uint version;\n  bfd_vma from_pc;\n  bfd_vma self_pc;\n  uint profrate;\n  uchar tag;\n  int local_40;\n  uint local_3c;\n  int local_38;\n  uint local_34;\n  gmon_hdr ghdr;\n  \n  bVar17 = 0;\n  iVar10 = 2;\n  bVar15 = &stack0xfffffff0 < (undefined1 *)0x8c;\n  bVar16 = &stack0x00000000 == (undefined1 *)0x9c;\n  pbVar12 = (byte *)filename;\n  pbVar14 = &DAT_00023063;\n  do {\n    if (iVar10 == 0) break;\n    iVar10 = iVar10 + -1;\n    bVar15 = *pbVar12 < *pbVar14;\n    bVar16 = *pbVar12 == *pbVar14;\n    pbVar12 = pbVar12 + 1;\n    pbVar14 = pbVar14 + 1;\n  } while (bVar16);\n  if ((!bVar15 && !bVar16) == bVar15) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64(filename,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }\n  plVar18 = &__stream->_flags;\n  sVar2 = fread(&ghdr,0x14,1,__stream);\n  pcVar9 = whoami;\n  pcVar6 = (char *)file_format;\n  if (sVar2 != 1) goto LAB_0001a7d3;\n  bVar15 = file_format == FF_AUTO;\n  bVar16 = file_format == FF_MAGIC;\n  if (bVar16) {\n    iVar10 = 4;\n    pgVar13 = &ghdr;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n      bVar16 = pgVar13->cookie[0] == *pbVar12;\n      pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\nLAB_0001a20a:\n      bVar20._0_4_ = (*core_bfd->xvec->bfd_getx32)(ghdr.version);\n      pcVar6 = whoami;\n      gmon_file_version = (int)(bfd_vma)bVar20;\n      if (1 < (uint)(bfd_vma)bVar20) {\n        pcVar9 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20);\n                    /* WARNING: Subroutine does not return */\n        done(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&tag,1,1,__stream), pcVar6 = whoami, sVar2 == 1) {\n        if (tag == '\x01') {\n          local_98 = local_98 + 1;\n          gmon_input = gmon_input | 2;\n          cg_read_rec((FILE *)__stream,filename);\n        }\n        else if (tag == '\0') {\n          local_84 = local_84 + 1;\n          gmon_input = gmon_input | 1;\n          hist_read_rec((FILE *)__stream,filename);\n        }\n        else {\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar6 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar15 = false;\n    bVar16 = file_format == FF_AUTO;\n    if (bVar16) {\n      iVar10 = 4;\n      pgVar13 = &ghdr;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n        bVar16 = pgVar13->cookie[0] == *pbVar12;\n        pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n        pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) goto LAB_0001a20a;\n    }\n    else if (1 < file_format - FF_BSD) {\n      __format = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami);\n      goto LAB_0001a53f;\n    }\n    gmon_input = 3;\n    iVar10 = fseek(__stream,0,0);\n    if (iVar10 < 0) goto LAB_0001a403;\n    iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&tag);\n    if ((((iVar10 != 0) ||\n         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)) ||\n        (iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0)) ||\n       (iVar10 = gmon_io_read_32((FILE *)__stream,&version), iVar10 != 0)) {\nLAB_0001a7d3:\n      pcVar6 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar6 = (char *)dcgettext("gprof",pcVar6,5,plVar18);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6,filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    if (version == 0x51879) {\n      iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n      if (iVar10 != 0) goto LAB_0001a7d3;\n      plVar18 = &hz;\n      if (histograms == (histogram *)0x0) {\n        hz = profrate;\n      }\n      else if (hz != profrate) {\n        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      gVar3 = gmon_get_ptr_size();\n      if (gVar3 == ptr_32bit) {\n        iVar10 = 0x20;\n      }\n      else {\n        iVar10 = 0;\n        if (gVar3 == ptr_64bit) {\n          iVar10 = 0x28;\n        }\n      }\n    }\n    else {\n      if (file_format == FF_BSD44) goto LAB_0001a51a;\n      gVar3 = gmon_get_ptr_size();\n      iVar10 = 0xc;\n      if ((gVar3 != ptr_32bit) && (iVar10 = 0x14, gVar3 != ptr_64bit)) {\n        iVar10 = 0;\n      }\n    }\n    iVar4 = fseek(__stream,iVar10,0);\n    if (iVar4 < 0) {\nLAB_0001a403:\n      perror(filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    uVar5 = local_34 - iVar10;\n    bVar20._0_4_ = (bfd_vma)(uVar5 >> 1);\n    if (histograms == (histogram *)0x0) {\n      num_histograms = 1;\n      phVar7 = (histogram *)xmalloc(0x18);\n      *(int *)((int)&phVar7->lowpc + 4) = local_40;\n      histograms = phVar7;\n      *(int *)((int)&phVar7->highpc + 4) = local_38;\n      *(uint *)&phVar7->lowpc = _tag;\n                    /* WARNING: Store size is inaccurate */\n      *(bfd_vma *)&phVar7->num_bins = (bfd_vma)bVar20;\n      *(uint *)&phVar7->highpc = local_3c;\n      uVar11 = (local_38 - local_40) - (uint)(local_3c < _tag);\n      hist_scale = (double)CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000) /\n                   (double)(int)(bfd_vma)bVar20;\n      piVar8 = (int *)xmalloc((int)(bfd_vma)bVar20 * 4);\n      phVar7->sample = piVar8;\n      memset(histograms->sample,0,(int)(bfd_vma)bVar20 * 4);\n    }\n    else {\n                    /* WARNING: Load size is inaccurate */\n      if (((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)) ||\n         (*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20)) {\n        pcVar6 = "%s: incompatible with first gmon file\n";\n        plVar18 = &__stream->_flags;\n        goto LAB_0001a7de;\n      }\n    }\n    if (((byte)debug_level & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",_tag,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar5,(undefined4)(bfd_vma)bVar20);\n    }\n    if ((-1 < (int)uVar5) &&\n       (uVar11 = *(uint *)((int)&histograms->lowpc + 4),\n       uVar1 = *(uint *)((int)&histograms->highpc + 4),\n       uVar11 <= uVar1 &&\n       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11)) {\n      local_84 = (uint)(1 < uVar5);\n      bVar21._0_4_ = 0;\n      if ((bfd_vma)bVar20 != 0) {\n        do {\n          sVar2 = fread(raw_bin_count,2,1,__stream);\n          pcVar6 = whoami;\n          if (sVar2 != 1) {\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);\n          histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;\n          bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);\n        } while ((bfd_vma)bVar20 != (bfd_vma)bVar21);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar10 = gmon_io_read_vma((FILE *)__stream,&from_pc);\n        local_88 = 0;\n        if ((iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0))\n        break;\n        gVar3 = gmon_get_ptr_size();\n        if (gVar3 == ptr_32bit) {\n          iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n          count = profrate;\n        }\n        else {\n          if (gVar3 != ptr_64bit) break;\n          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);\n          count = profrate;\n        }\n        if (iVar10 != 0) break;\n        local_98 = local_98 + 1;\n        profrate = count;\n        if (((byte)debug_level & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count);\n        }\n        cg_tally(CONCAT44(from_pc._4_4_,(undefined4)from_pc),\n                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count);\n      }\n      if ((hz == 0) && (hz = hertz(), hz == 0)) {\n        hz = 1;\n        pcVar6 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      iVar10 = gmon_file_version;\n      if (((byte)output_style & 0x20) != 0) {\n        pcVar6 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar6,filename,iVar10);\n        if (local_84 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar6,local_84);\n        if (local_98 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar6,local_98);\n        if (local_88 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar6,local_88);\n        first_output = 0;\n        return;\n      }\n      return;\n    }\n    pcVar6 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }\n  pcVar9 = whoami;\n  __format = (char *)dcgettext("gprof",pcVar6,5,&whoami);\n  pcVar6 = filename;\nLAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar9,pcVar6);\n                    /* WARNING: Subroutine does not return */\n  done(1);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "ulong count;" type_identifier identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "gmon_ptr_size gVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "histogram *phVar7;" type_identifier (pointer_declarator "*phVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "bfd_vma bVar19;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "gmon_hdr *pgVar13;" type_identifier (pointer_declarator "*pgVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "bfd_vma bVar20;" type_identifier identifier ;) (declaration "bfd_vma bVar21;" type_identifier identifier ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "byte bVar17;" type_identifier identifier ;) (declaration "long *plVar18;" (sized_type_specifier "long" long) (pointer_declarator "*plVar18" * identifier) ;) (declaration "int local_98;" primitive_type identifier ;) (declaration "int local_88;" primitive_type identifier ;) (declaration "uint local_84;" type_identifier identifier ;) (declaration "UNIT raw_bin_count;" type_identifier identifier ;) (declaration "uint version;" type_identifier identifier ;) (declaration "bfd_vma from_pc;" type_identifier identifier ;) (declaration "bfd_vma self_pc;" type_identifier identifier ;) (declaration "uint profrate;" type_identifier identifier ;) (declaration "uchar tag;" type_identifier identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "gmon_hdr ghdr;" type_identifier identifier ;) (expression_statement "bVar17 = 0;" (assignment_expression "bVar17 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 2;" (assignment_expression "iVar10 = 2" identifier = number_literal) ;) (expression_statement "bVar15 = &stack0xfffffff0 < (undefined1 *)0x8c;" (assignment_expression "bVar15 = &stack0xfffffff0 < (undefined1 *)0x8c" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0x8c" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0x8c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar16 = &stack0x00000000 == (undefined1 *)0x9c;" (assignment_expression "bVar16 = &stack0x00000000 == (undefined1 *)0x9c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x9c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x9c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pbVar12 = (byte *)filename;" (assignment_expression "pbVar12 = (byte *)filename" identifier = (cast_expression "(byte *)filename" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar14 = &DAT_00023063;" (assignment_expression "pbVar14 = &DAT_00023063" identifier = (pointer_expression "&DAT_00023063" & identifier)) ;) (do_statement "do {\n    if (iVar10 == 0) break;\n    iVar10 = iVar10 + -1;\n    bVar15 = *pbVar12 < *pbVar14;\n    bVar16 = *pbVar12 == *pbVar14;\n    pbVar12 = pbVar12 + 1;\n    pbVar14 = pbVar14 + 1;\n  } while (bVar16);" do (compound_statement "{\n    if (iVar10 == 0) break;\n    iVar10 = iVar10 + -1;\n    bVar15 = *pbVar12 < *pbVar14;\n    bVar16 = *pbVar12 == *pbVar14;\n    pbVar12 = pbVar12 + 1;\n    pbVar14 = pbVar14 + 1;\n  }" { (if_statement "if (iVar10 == 0) break;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "bVar15 = *pbVar12 < *pbVar14;" (assignment_expression "bVar15 = *pbVar12 < *pbVar14" identifier = (binary_expression "*pbVar12 < *pbVar14" (pointer_expression "*pbVar12" * identifier) < (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "bVar16 = *pbVar12 == *pbVar14;" (assignment_expression "bVar16 = *pbVar12 == *pbVar14" identifier = (binary_expression "*pbVar12 == *pbVar14" (pointer_expression "*pbVar12" * identifier) == (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) (expression_statement "pbVar14 = pbVar14 + 1;" (assignment_expression "pbVar14 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (if_statement "if ((!bVar15 && !bVar16) == bVar15) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64(filename,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }" if (parenthesized_expression "((!bVar15 && !bVar16) == bVar15)" ( (binary_expression "(!bVar15 && !bVar16) == bVar15" (parenthesized_expression "(!bVar15 && !bVar16)" ( (binary_expression "!bVar15 && !bVar16" (unary_expression "!bVar15" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) == identifier) )) (compound_statement "{\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }" { (expression_statement "__stream = *(FILE **)PTR_stdin_0002cfe8;" (assignment_expression "__stream = *(FILE **)PTR_stdin_0002cfe8" identifier = (pointer_expression "*(FILE **)PTR_stdin_0002cfe8" * (cast_expression "(FILE **)PTR_stdin_0002cfe8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }) (else_clause "else {\n    __stream = fopen64(filename,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }" else (compound_statement "{\n    __stream = fopen64(filename,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }" { (expression_statement "__stream = fopen64(filename,"r");" (assignment_expression "__stream = fopen64(filename,"r")" identifier = (call_expression "fopen64(filename,"r")" identifier (argument_list "(filename,"r")" ( identifier , (string_literal ""r"" " string_content ") )))) ;) (if_statement "if (__stream == (FILE *)0x0) goto LAB_0001a403;" if (parenthesized_expression "(__stream == (FILE *)0x0)" ( (binary_expression "__stream == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001a403;" goto statement_identifier ;)) }))) (expression_statement "plVar18 = &__stream->_flags;" (assignment_expression "plVar18 = &__stream->_flags" identifier = (pointer_expression "&__stream->_flags" & (field_expression "__stream->_flags" identifier -> field_identifier))) ;) (expression_statement "sVar2 = fread(&ghdr,0x14,1,__stream);" (assignment_expression "sVar2 = fread(&ghdr,0x14,1,__stream)" identifier = (call_expression "fread(&ghdr,0x14,1,__stream)" identifier (argument_list "(&ghdr,0x14,1,__stream)" ( (pointer_expression "&ghdr" & identifier) , number_literal , number_literal , identifier )))) ;) (expression_statement "pcVar9 = whoami;" (assignment_expression "pcVar9 = whoami" identifier = identifier) ;) (expression_statement "pcVar6 = (char *)file_format;" (assignment_expression "pcVar6 = (char *)file_format" identifier = (cast_expression "(char *)file_format" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (sVar2 != 1) goto LAB_0001a7d3;" if (parenthesized_expression "(sVar2 != 1)" ( (binary_expression "sVar2 != 1" identifier != number_literal) )) (goto_statement "goto LAB_0001a7d3;" goto statement_identifier ;)) (expression_statement "bVar15 = file_format == FF_AUTO;" (assignment_expression "bVar15 = file_format == FF_AUTO" identifier = (binary_expression "file_format == FF_AUTO" identifier == identifier)) ;) (expression_statement "bVar16 = file_format == FF_MAGIC;" (assignment_expression "bVar16 = file_format == FF_MAGIC" identifier = (binary_expression "file_format == FF_MAGIC" identifier == identifier)) ;) (if_statement "if (bVar16) {\n    iVar10 = 4;\n    pgVar13 = &ghdr;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n      bVar16 = pgVar13->cookie[0] == *pbVar12;\n      pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\nLAB_0001a20a:\n      bVar20._0_4_ = (*core_bfd->xvec->bfd_getx32)(ghdr.version);\n      pcVar6 = whoami;\n      gmon_file_version = (int)(bfd_vma)bVar20;\n      if (1 < (uint)(bfd_vma)bVar20) {\n        pcVar9 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20);\n                    /* WARNING: Subroutine does not return */\n        done(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&tag,1,1,__stream), pcVar6 = whoami, sVar2 == 1) {\n        if (tag == '\x01') {\n          local_98 = local_98 + 1;\n          gmon_input = gmon_input | 2;\n          cg_read_rec((FILE *)__stream,filename);\n        }\n        else if (tag == '\0') {\n          local_84 = local_84 + 1;\n          gmon_input = gmon_input | 1;\n          hist_read_rec((FILE *)__stream,filename);\n        }\n        else {\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar6 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar15 = false;\n    bVar16 = file_format == FF_AUTO;\n    if (bVar16) {\n      iVar10 = 4;\n      pgVar13 = &ghdr;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n        bVar16 = pgVar13->cookie[0] == *pbVar12;\n        pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n        pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) goto LAB_0001a20a;\n    }\n    else if (1 < file_format - FF_BSD) {\n      __format = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami);\n      goto LAB_0001a53f;\n    }\n    gmon_input = 3;\n    iVar10 = fseek(__stream,0,0);\n    if (iVar10 < 0) goto LAB_0001a403;\n    iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&tag);\n    if ((((iVar10 != 0) ||\n         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)) ||\n        (iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0)) ||\n       (iVar10 = gmon_io_read_32((FILE *)__stream,&version), iVar10 != 0)) {\nLAB_0001a7d3:\n      pcVar6 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar6 = (char *)dcgettext("gprof",pcVar6,5,plVar18);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6,filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    if (version == 0x51879) {\n      iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n      if (iVar10 != 0) goto LAB_0001a7d3;\n      plVar18 = &hz;\n      if (histograms == (histogram *)0x0) {\n        hz = profrate;\n      }\n      else if (hz != profrate) {\n        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      gVar3 = gmon_get_ptr_size();\n      if (gVar3 == ptr_32bit) {\n        iVar10 = 0x20;\n      }\n      else {\n        iVar10 = 0;\n        if (gVar3 == ptr_64bit) {\n          iVar10 = 0x28;\n        }\n      }\n    }\n    else {\n      if (file_format == FF_BSD44) goto LAB_0001a51a;\n      gVar3 = gmon_get_ptr_size();\n      iVar10 = 0xc;\n      if ((gVar3 != ptr_32bit) && (iVar10 = 0x14, gVar3 != ptr_64bit)) {\n        iVar10 = 0;\n      }\n    }\n    iVar4 = fseek(__stream,iVar10,0);\n    if (iVar4 < 0) {\nLAB_0001a403:\n      perror(filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    uVar5 = local_34 - iVar10;\n    bVar20._0_4_ = (bfd_vma)(uVar5 >> 1);\n    if (histograms == (histogram *)0x0) {\n      num_histograms = 1;\n      phVar7 = (histogram *)xmalloc(0x18);\n      *(int *)((int)&phVar7->lowpc + 4) = local_40;\n      histograms = phVar7;\n      *(int *)((int)&phVar7->highpc + 4) = local_38;\n      *(uint *)&phVar7->lowpc = _tag;\n                    /* WARNING: Store size is inaccurate */\n      *(bfd_vma *)&phVar7->num_bins = (bfd_vma)bVar20;\n      *(uint *)&phVar7->highpc = local_3c;\n      uVar11 = (local_38 - local_40) - (uint)(local_3c < _tag);\n      hist_scale = (double)CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000) /\n                   (double)(int)(bfd_vma)bVar20;\n      piVar8 = (int *)xmalloc((int)(bfd_vma)bVar20 * 4);\n      phVar7->sample = piVar8;\n      memset(histograms->sample,0,(int)(bfd_vma)bVar20 * 4);\n    }\n    else {\n                    /* WARNING: Load size is inaccurate */\n      if (((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)) ||\n         (*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20)) {\n        pcVar6 = "%s: incompatible with first gmon file\n";\n        plVar18 = &__stream->_flags;\n        goto LAB_0001a7de;\n      }\n    }\n    if (((byte)debug_level & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",_tag,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar5,(undefined4)(bfd_vma)bVar20);\n    }\n    if ((-1 < (int)uVar5) &&\n       (uVar11 = *(uint *)((int)&histograms->lowpc + 4),\n       uVar1 = *(uint *)((int)&histograms->highpc + 4),\n       uVar11 <= uVar1 &&\n       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11)) {\n      local_84 = (uint)(1 < uVar5);\n      bVar21._0_4_ = 0;\n      if ((bfd_vma)bVar20 != 0) {\n        do {\n          sVar2 = fread(raw_bin_count,2,1,__stream);\n          pcVar6 = whoami;\n          if (sVar2 != 1) {\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);\n          histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;\n          bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);\n        } while ((bfd_vma)bVar20 != (bfd_vma)bVar21);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar10 = gmon_io_read_vma((FILE *)__stream,&from_pc);\n        local_88 = 0;\n        if ((iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0))\n        break;\n        gVar3 = gmon_get_ptr_size();\n        if (gVar3 == ptr_32bit) {\n          iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n          count = profrate;\n        }\n        else {\n          if (gVar3 != ptr_64bit) break;\n          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);\n          count = profrate;\n        }\n        if (iVar10 != 0) break;\n        local_98 = local_98 + 1;\n        profrate = count;\n        if (((byte)debug_level & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count);\n        }\n        cg_tally(CONCAT44(from_pc._4_4_,(undefined4)from_pc),\n                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count);\n      }\n      if ((hz == 0) && (hz = hertz(), hz == 0)) {\n        hz = 1;\n        pcVar6 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      iVar10 = gmon_file_version;\n      if (((byte)output_style & 0x20) != 0) {\n        pcVar6 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar6,filename,iVar10);\n        if (local_84 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar6,local_84);\n        if (local_98 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar6,local_98);\n        if (local_88 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar6,local_88);\n        first_output = 0;\n        return;\n      }\n      return;\n    }\n    pcVar6 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }" if (parenthesized_expression "(bVar16)" ( identifier )) (compound_statement "{\n    iVar10 = 4;\n    pgVar13 = &ghdr;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n      bVar16 = pgVar13->cookie[0] == *pbVar12;\n      pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);\n    if ((!bVar15 && !bVar16) == bVar15) {\nLAB_0001a20a:\n      bVar20._0_4_ = (*core_bfd->xvec->bfd_getx32)(ghdr.version);\n      pcVar6 = whoami;\n      gmon_file_version = (int)(bfd_vma)bVar20;\n      if (1 < (uint)(bfd_vma)bVar20) {\n        pcVar9 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20);\n                    /* WARNING: Subroutine does not return */\n        done(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&tag,1,1,__stream), pcVar6 = whoami, sVar2 == 1) {\n        if (tag == '\x01') {\n          local_98 = local_98 + 1;\n          gmon_input = gmon_input | 2;\n          cg_read_rec((FILE *)__stream,filename);\n        }\n        else if (tag == '\0') {\n          local_84 = local_84 + 1;\n          gmon_input = gmon_input | 1;\n          hist_read_rec((FILE *)__stream,filename);\n        }\n        else {\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar6 = "%s: file `%s\' has bad magic cookie\n";\n  }" { (expression_statement "iVar10 = 4;" (assignment_expression "iVar10 = 4" identifier = number_literal) ;) (expression_statement "pgVar13 = &ghdr;" (assignment_expression "pgVar13 = &ghdr" identifier = (pointer_expression "&ghdr" & identifier)) ;) (expression_statement "pbVar12 = &DAT_00023065;" (assignment_expression "pbVar12 = &DAT_00023065" identifier = (pointer_expression "&DAT_00023065" & identifier)) ;) (do_statement "do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n      bVar16 = pgVar13->cookie[0] == *pbVar12;\n      pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n    } while (bVar16);" do (compound_statement "{\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n      bVar16 = pgVar13->cookie[0] == *pbVar12;\n      pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n      pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n    }" { (if_statement "if (iVar10 == 0) break;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;" (assignment_expression "bVar15 = (byte)pgVar13->cookie[0] < *pbVar12" identifier = (binary_expression "(byte)pgVar13->cookie[0] < *pbVar12" (cast_expression "(byte)pgVar13->cookie[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pgVar13->cookie[0]" (field_expression "pgVar13->cookie" identifier -> field_identifier) [ number_literal ])) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar16 = pgVar13->cookie[0] == *pbVar12;" (assignment_expression "bVar16 = pgVar13->cookie[0] == *pbVar12" identifier = (binary_expression "pgVar13->cookie[0] == *pbVar12" (subscript_expression "pgVar13->cookie[0]" (field_expression "pgVar13->cookie" identifier -> field_identifier) [ number_literal ]) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);" (assignment_expression "pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1)" identifier = (cast_expression "(gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1)" ( (type_descriptor "gmon_hdr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pgVar13 + (uint)bVar17 * -2 + 1)" ( (binary_expression "(int)pgVar13 + (uint)bVar17 * -2 + 1" (binary_expression "(int)pgVar13 + (uint)bVar17 * -2" (cast_expression "(int)pgVar13" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar17 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (if_statement "if ((!bVar15 && !bVar16) == bVar15) {\nLAB_0001a20a:\n      bVar20._0_4_ = (*core_bfd->xvec->bfd_getx32)(ghdr.version);\n      pcVar6 = whoami;\n      gmon_file_version = (int)(bfd_vma)bVar20;\n      if (1 < (uint)(bfd_vma)bVar20) {\n        pcVar9 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20);\n                    /* WARNING: Subroutine does not return */\n        done(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&tag,1,1,__stream), pcVar6 = whoami, sVar2 == 1) {\n        if (tag == '\x01') {\n          local_98 = local_98 + 1;\n          gmon_input = gmon_input | 2;\n          cg_read_rec((FILE *)__stream,filename);\n        }\n        else if (tag == '\0') {\n          local_84 = local_84 + 1;\n          gmon_input = gmon_input | 1;\n          hist_read_rec((FILE *)__stream,filename);\n        }\n        else {\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }\n      }\n      goto LAB_0001a1b8;\n    }" if (parenthesized_expression "((!bVar15 && !bVar16) == bVar15)" ( (binary_expression "(!bVar15 && !bVar16) == bVar15" (parenthesized_expression "(!bVar15 && !bVar16)" ( (binary_expression "!bVar15 && !bVar16" (unary_expression "!bVar15" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) == identifier) )) (compound_statement "{\nLAB_0001a20a:\n      bVar20._0_4_ = (*core_bfd->xvec->bfd_getx32)(ghdr.version);\n      pcVar6 = whoami;\n      gmon_file_version = (int)(bfd_vma)bVar20;\n      if (1 < (uint)(bfd_vma)bVar20) {\n        pcVar9 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20);\n                    /* WARNING: Subroutine does not return */\n        done(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&tag,1,1,__stream), pcVar6 = whoami, sVar2 == 1) {\n        if (tag == '\x01') {\n          local_98 = local_98 + 1;\n          gmon_input = gmon_input | 2;\n          cg_read_rec((FILE *)__stream,filename);\n        }\n        else if (tag == '\0') {\n          local_84 = local_84 + 1;\n          gmon_input = gmon_input | 1;\n          hist_read_rec((FILE *)__stream,filename);\n        }\n        else {\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }\n      }\n      goto LAB_0001a1b8;\n    }" { (labeled_statement "LAB_0001a20a:\n      bVar20._0_4_ = (*core_bfd->xvec->bfd_getx32)(ghdr.version);" statement_identifier : (expression_statement "bVar20._0_4_ = (*core_bfd->xvec->bfd_getx32)(ghdr.version);" (assignment_expression "bVar20._0_4_ = (*core_bfd->xvec->bfd_getx32)(ghdr.version)" (field_expression "bVar20._0_4_" identifier . field_identifier) = (call_expression "(*core_bfd->xvec->bfd_getx32)(ghdr.version)" (parenthesized_expression "(*core_bfd->xvec->bfd_getx32)" ( (pointer_expression "*core_bfd->xvec->bfd_getx32" * (field_expression "core_bfd->xvec->bfd_getx32" (field_expression "core_bfd->xvec" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(ghdr.version)" ( (field_expression "ghdr.version" identifier . field_identifier) )))) ;)) (expression_statement "pcVar6 = whoami;" (assignment_expression "pcVar6 = whoami" identifier = identifier) ;) (expression_statement "gmon_file_version = (int)(bfd_vma)bVar20;" (assignment_expression "gmon_file_version = (int)(bfd_vma)bVar20" identifier = (cast_expression "(int)(bfd_vma)bVar20" ( (type_descriptor "int" primitive_type) ) (cast_expression "(bfd_vma)bVar20" ( (type_descriptor "bfd_vma" type_identifier) ) identifier))) ;) (if_statement "if (1 < (uint)(bfd_vma)bVar20) {\n        pcVar9 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20);\n                    /* WARNING: Subroutine does not return */\n        done(1);\n      }" if (parenthesized_expression "(1 < (uint)(bfd_vma)bVar20)" ( (binary_expression "1 < (uint)(bfd_vma)bVar20" number_literal < (cast_expression "(uint)(bfd_vma)bVar20" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(bfd_vma)bVar20" ( (type_descriptor "bfd_vma" type_identifier) ) identifier))) )) (compound_statement "{\n        pcVar9 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20);\n                    /* WARNING: Subroutine does not return */\n        done(1);\n      }" { (expression_statement "pcVar9 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami);" (assignment_expression "pcVar9 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami)" identifier (argument_list "("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: file `%s\' has unsupported version %d\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal , (pointer_expression "&whoami" & identifier) ))))) ;) (labeled_statement "LAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20);" statement_identifier : (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(undefined4)(bfd_vma)bVar20)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier , (cast_expression "(undefined4)(bfd_vma)bVar20" ( (type_descriptor "undefined4" type_identifier) ) (cast_expression "(bfd_vma)bVar20" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) ))) ;)) comment (expression_statement "done(1);" (call_expression "done(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "local_88 = 0;" (assignment_expression "local_88 = 0" identifier = number_literal) ;) (expression_statement "local_98 = 0;" (assignment_expression "local_98 = 0" identifier = number_literal) ;) (expression_statement "local_84 = 0;" (assignment_expression "local_84 = 0" identifier = number_literal) ;) (while_statement "while (sVar2 = fread(&tag,1,1,__stream), pcVar6 = whoami, sVar2 == 1) {\n        if (tag == '\x01') {\n          local_98 = local_98 + 1;\n          gmon_input = gmon_input | 2;\n          cg_read_rec((FILE *)__stream,filename);\n        }\n        else if (tag == '\0') {\n          local_84 = local_84 + 1;\n          gmon_input = gmon_input | 1;\n          hist_read_rec((FILE *)__stream,filename);\n        }\n        else {\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }\n      }" while (parenthesized_expression "(sVar2 = fread(&tag,1,1,__stream), pcVar6 = whoami, sVar2 == 1)" ( (comma_expression "sVar2 = fread(&tag,1,1,__stream), pcVar6 = whoami, sVar2 == 1" (assignment_expression "sVar2 = fread(&tag,1,1,__stream)" identifier = (call_expression "fread(&tag,1,1,__stream)" identifier (argument_list "(&tag,1,1,__stream)" ( (pointer_expression "&tag" & identifier) , number_literal , number_literal , identifier )))) , (comma_expression "pcVar6 = whoami, sVar2 == 1" (assignment_expression "pcVar6 = whoami" identifier = identifier) , (binary_expression "sVar2 == 1" identifier == number_literal))) )) (compound_statement "{\n        if (tag == '\x01') {\n          local_98 = local_98 + 1;\n          gmon_input = gmon_input | 2;\n          cg_read_rec((FILE *)__stream,filename);\n        }\n        else if (tag == '\0') {\n          local_84 = local_84 + 1;\n          gmon_input = gmon_input | 1;\n          hist_read_rec((FILE *)__stream,filename);\n        }\n        else {\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }\n      }" { (if_statement "if (tag == '\x01') {\n          local_98 = local_98 + 1;\n          gmon_input = gmon_input | 2;\n          cg_read_rec((FILE *)__stream,filename);\n        }\n        else if (tag == '\0') {\n          local_84 = local_84 + 1;\n          gmon_input = gmon_input | 1;\n          hist_read_rec((FILE *)__stream,filename);\n        }\n        else {\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }" if (parenthesized_expression "(tag == '\x01')" ( (binary_expression "tag == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n          local_98 = local_98 + 1;\n          gmon_input = gmon_input | 2;\n          cg_read_rec((FILE *)__stream,filename);\n        }" { (expression_statement "local_98 = local_98 + 1;" (assignment_expression "local_98 = local_98 + 1" identifier = (binary_expression "local_98 + 1" identifier + number_literal)) ;) (expression_statement "gmon_input = gmon_input | 2;" (assignment_expression "gmon_input = gmon_input | 2" identifier = (binary_expression "gmon_input | 2" identifier | number_literal)) ;) (expression_statement "cg_read_rec((FILE *)__stream,filename);" (call_expression "cg_read_rec((FILE *)__stream,filename)" identifier (argument_list "((FILE *)__stream,filename)" ( (cast_expression "(FILE *)__stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;) }) (else_clause "else if (tag == '\0') {\n          local_84 = local_84 + 1;\n          gmon_input = gmon_input | 1;\n          hist_read_rec((FILE *)__stream,filename);\n        }\n        else {\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }" else (if_statement "if (tag == '\0') {\n          local_84 = local_84 + 1;\n          gmon_input = gmon_input | 1;\n          hist_read_rec((FILE *)__stream,filename);\n        }\n        else {\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }" if (parenthesized_expression "(tag == '\0')" ( (binary_expression "tag == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          local_84 = local_84 + 1;\n          gmon_input = gmon_input | 1;\n          hist_read_rec((FILE *)__stream,filename);\n        }" { (expression_statement "local_84 = local_84 + 1;" (assignment_expression "local_84 = local_84 + 1" identifier = (binary_expression "local_84 + 1" identifier + number_literal)) ;) (expression_statement "gmon_input = gmon_input | 1;" (assignment_expression "gmon_input = gmon_input | 1" identifier = (binary_expression "gmon_input | 1" identifier | number_literal)) ;) (expression_statement "hist_read_rec((FILE *)__stream,filename);" (call_expression "hist_read_rec((FILE *)__stream,filename)" identifier (argument_list "((FILE *)__stream,filename)" ( (cast_expression "(FILE *)__stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;) }) (else_clause "else {\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }" else (compound_statement "{\n          if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          gmon_input = gmon_input | 4;\n          bb_read_rec((FILE *)__stream,filename);\n        }" { (if_statement "if (tag != '\x02') {\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }" if (parenthesized_expression "(tag != '\x02')" ( (binary_expression "tag != '\x02'" identifier != (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n            pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            bVar20._0_4_ = (bfd_vma)(_tag & 0xff);\n            goto LAB_0001a790;\n          }" { (expression_statement "pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);" (assignment_expression "pcVar9 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" identifier (argument_list "("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: %s: found bad tag %d (file corrupted?)\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "bVar20._0_4_ = (bfd_vma)(_tag & 0xff);" (assignment_expression "bVar20._0_4_ = (bfd_vma)(_tag & 0xff)" (field_expression "bVar20._0_4_" identifier . field_identifier) = (call_expression "(bfd_vma)(_tag & 0xff)" (parenthesized_expression "(bfd_vma)" ( identifier )) (argument_list "(_tag & 0xff)" ( (binary_expression "_tag & 0xff" identifier & number_literal) )))) ;) (goto_statement "goto LAB_0001a790;" goto statement_identifier ;) })) (expression_statement "local_88 = local_88 + 1;" (assignment_expression "local_88 = local_88 + 1" identifier = (binary_expression "local_88 + 1" identifier + number_literal)) ;) (expression_statement "gmon_input = gmon_input | 4;" (assignment_expression "gmon_input = gmon_input | 4" identifier = (binary_expression "gmon_input | 4" identifier | number_literal)) ;) (expression_statement "bb_read_rec((FILE *)__stream,filename);" (call_expression "bb_read_rec((FILE *)__stream,filename)" identifier (argument_list "((FILE *)__stream,filename)" ( (cast_expression "(FILE *)__stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;) }))))) })) (goto_statement "goto LAB_0001a1b8;" goto statement_identifier ;) })) (labeled_statement "LAB_0001a51a:\n    pcVar6 = "%s: file `%s\' has bad magic cookie\n";" statement_identifier : (expression_statement "pcVar6 = "%s: file `%s\' has bad magic cookie\n";" (assignment_expression "pcVar6 = "%s: file `%s\' has bad magic cookie\n"" identifier = (string_literal ""%s: file `%s\' has bad magic cookie\n"" " string_content escape_sequence string_content escape_sequence ")) ;)) }) (else_clause "else {\n    bVar15 = false;\n    bVar16 = file_format == FF_AUTO;\n    if (bVar16) {\n      iVar10 = 4;\n      pgVar13 = &ghdr;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n        bVar16 = pgVar13->cookie[0] == *pbVar12;\n        pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n        pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) goto LAB_0001a20a;\n    }\n    else if (1 < file_format - FF_BSD) {\n      __format = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami);\n      goto LAB_0001a53f;\n    }\n    gmon_input = 3;\n    iVar10 = fseek(__stream,0,0);\n    if (iVar10 < 0) goto LAB_0001a403;\n    iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&tag);\n    if ((((iVar10 != 0) ||\n         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)) ||\n        (iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0)) ||\n       (iVar10 = gmon_io_read_32((FILE *)__stream,&version), iVar10 != 0)) {\nLAB_0001a7d3:\n      pcVar6 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar6 = (char *)dcgettext("gprof",pcVar6,5,plVar18);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6,filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    if (version == 0x51879) {\n      iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n      if (iVar10 != 0) goto LAB_0001a7d3;\n      plVar18 = &hz;\n      if (histograms == (histogram *)0x0) {\n        hz = profrate;\n      }\n      else if (hz != profrate) {\n        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      gVar3 = gmon_get_ptr_size();\n      if (gVar3 == ptr_32bit) {\n        iVar10 = 0x20;\n      }\n      else {\n        iVar10 = 0;\n        if (gVar3 == ptr_64bit) {\n          iVar10 = 0x28;\n        }\n      }\n    }\n    else {\n      if (file_format == FF_BSD44) goto LAB_0001a51a;\n      gVar3 = gmon_get_ptr_size();\n      iVar10 = 0xc;\n      if ((gVar3 != ptr_32bit) && (iVar10 = 0x14, gVar3 != ptr_64bit)) {\n        iVar10 = 0;\n      }\n    }\n    iVar4 = fseek(__stream,iVar10,0);\n    if (iVar4 < 0) {\nLAB_0001a403:\n      perror(filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    uVar5 = local_34 - iVar10;\n    bVar20._0_4_ = (bfd_vma)(uVar5 >> 1);\n    if (histograms == (histogram *)0x0) {\n      num_histograms = 1;\n      phVar7 = (histogram *)xmalloc(0x18);\n      *(int *)((int)&phVar7->lowpc + 4) = local_40;\n      histograms = phVar7;\n      *(int *)((int)&phVar7->highpc + 4) = local_38;\n      *(uint *)&phVar7->lowpc = _tag;\n                    /* WARNING: Store size is inaccurate */\n      *(bfd_vma *)&phVar7->num_bins = (bfd_vma)bVar20;\n      *(uint *)&phVar7->highpc = local_3c;\n      uVar11 = (local_38 - local_40) - (uint)(local_3c < _tag);\n      hist_scale = (double)CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000) /\n                   (double)(int)(bfd_vma)bVar20;\n      piVar8 = (int *)xmalloc((int)(bfd_vma)bVar20 * 4);\n      phVar7->sample = piVar8;\n      memset(histograms->sample,0,(int)(bfd_vma)bVar20 * 4);\n    }\n    else {\n                    /* WARNING: Load size is inaccurate */\n      if (((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)) ||\n         (*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20)) {\n        pcVar6 = "%s: incompatible with first gmon file\n";\n        plVar18 = &__stream->_flags;\n        goto LAB_0001a7de;\n      }\n    }\n    if (((byte)debug_level & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",_tag,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar5,(undefined4)(bfd_vma)bVar20);\n    }\n    if ((-1 < (int)uVar5) &&\n       (uVar11 = *(uint *)((int)&histograms->lowpc + 4),\n       uVar1 = *(uint *)((int)&histograms->highpc + 4),\n       uVar11 <= uVar1 &&\n       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11)) {\n      local_84 = (uint)(1 < uVar5);\n      bVar21._0_4_ = 0;\n      if ((bfd_vma)bVar20 != 0) {\n        do {\n          sVar2 = fread(raw_bin_count,2,1,__stream);\n          pcVar6 = whoami;\n          if (sVar2 != 1) {\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);\n          histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;\n          bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);\n        } while ((bfd_vma)bVar20 != (bfd_vma)bVar21);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar10 = gmon_io_read_vma((FILE *)__stream,&from_pc);\n        local_88 = 0;\n        if ((iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0))\n        break;\n        gVar3 = gmon_get_ptr_size();\n        if (gVar3 == ptr_32bit) {\n          iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n          count = profrate;\n        }\n        else {\n          if (gVar3 != ptr_64bit) break;\n          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);\n          count = profrate;\n        }\n        if (iVar10 != 0) break;\n        local_98 = local_98 + 1;\n        profrate = count;\n        if (((byte)debug_level & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count);\n        }\n        cg_tally(CONCAT44(from_pc._4_4_,(undefined4)from_pc),\n                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count);\n      }\n      if ((hz == 0) && (hz = hertz(), hz == 0)) {\n        hz = 1;\n        pcVar6 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      iVar10 = gmon_file_version;\n      if (((byte)output_style & 0x20) != 0) {\n        pcVar6 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar6,filename,iVar10);\n        if (local_84 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar6,local_84);\n        if (local_98 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar6,local_98);\n        if (local_88 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar6,local_88);\n        first_output = 0;\n        return;\n      }\n      return;\n    }\n    pcVar6 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }" else (compound_statement "{\n    bVar15 = false;\n    bVar16 = file_format == FF_AUTO;\n    if (bVar16) {\n      iVar10 = 4;\n      pgVar13 = &ghdr;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n        bVar16 = pgVar13->cookie[0] == *pbVar12;\n        pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n        pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) goto LAB_0001a20a;\n    }\n    else if (1 < file_format - FF_BSD) {\n      __format = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami);\n      goto LAB_0001a53f;\n    }\n    gmon_input = 3;\n    iVar10 = fseek(__stream,0,0);\n    if (iVar10 < 0) goto LAB_0001a403;\n    iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&tag);\n    if ((((iVar10 != 0) ||\n         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)) ||\n        (iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0)) ||\n       (iVar10 = gmon_io_read_32((FILE *)__stream,&version), iVar10 != 0)) {\nLAB_0001a7d3:\n      pcVar6 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar6 = (char *)dcgettext("gprof",pcVar6,5,plVar18);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6,filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    if (version == 0x51879) {\n      iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n      if (iVar10 != 0) goto LAB_0001a7d3;\n      plVar18 = &hz;\n      if (histograms == (histogram *)0x0) {\n        hz = profrate;\n      }\n      else if (hz != profrate) {\n        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      gVar3 = gmon_get_ptr_size();\n      if (gVar3 == ptr_32bit) {\n        iVar10 = 0x20;\n      }\n      else {\n        iVar10 = 0;\n        if (gVar3 == ptr_64bit) {\n          iVar10 = 0x28;\n        }\n      }\n    }\n    else {\n      if (file_format == FF_BSD44) goto LAB_0001a51a;\n      gVar3 = gmon_get_ptr_size();\n      iVar10 = 0xc;\n      if ((gVar3 != ptr_32bit) && (iVar10 = 0x14, gVar3 != ptr_64bit)) {\n        iVar10 = 0;\n      }\n    }\n    iVar4 = fseek(__stream,iVar10,0);\n    if (iVar4 < 0) {\nLAB_0001a403:\n      perror(filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }\n    uVar5 = local_34 - iVar10;\n    bVar20._0_4_ = (bfd_vma)(uVar5 >> 1);\n    if (histograms == (histogram *)0x0) {\n      num_histograms = 1;\n      phVar7 = (histogram *)xmalloc(0x18);\n      *(int *)((int)&phVar7->lowpc + 4) = local_40;\n      histograms = phVar7;\n      *(int *)((int)&phVar7->highpc + 4) = local_38;\n      *(uint *)&phVar7->lowpc = _tag;\n                    /* WARNING: Store size is inaccurate */\n      *(bfd_vma *)&phVar7->num_bins = (bfd_vma)bVar20;\n      *(uint *)&phVar7->highpc = local_3c;\n      uVar11 = (local_38 - local_40) - (uint)(local_3c < _tag);\n      hist_scale = (double)CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000) /\n                   (double)(int)(bfd_vma)bVar20;\n      piVar8 = (int *)xmalloc((int)(bfd_vma)bVar20 * 4);\n      phVar7->sample = piVar8;\n      memset(histograms->sample,0,(int)(bfd_vma)bVar20 * 4);\n    }\n    else {\n                    /* WARNING: Load size is inaccurate */\n      if (((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)) ||\n         (*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20)) {\n        pcVar6 = "%s: incompatible with first gmon file\n";\n        plVar18 = &__stream->_flags;\n        goto LAB_0001a7de;\n      }\n    }\n    if (((byte)debug_level & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",_tag,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar5,(undefined4)(bfd_vma)bVar20);\n    }\n    if ((-1 < (int)uVar5) &&\n       (uVar11 = *(uint *)((int)&histograms->lowpc + 4),\n       uVar1 = *(uint *)((int)&histograms->highpc + 4),\n       uVar11 <= uVar1 &&\n       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11)) {\n      local_84 = (uint)(1 < uVar5);\n      bVar21._0_4_ = 0;\n      if ((bfd_vma)bVar20 != 0) {\n        do {\n          sVar2 = fread(raw_bin_count,2,1,__stream);\n          pcVar6 = whoami;\n          if (sVar2 != 1) {\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);\n          histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;\n          bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);\n        } while ((bfd_vma)bVar20 != (bfd_vma)bVar21);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar10 = gmon_io_read_vma((FILE *)__stream,&from_pc);\n        local_88 = 0;\n        if ((iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0))\n        break;\n        gVar3 = gmon_get_ptr_size();\n        if (gVar3 == ptr_32bit) {\n          iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n          count = profrate;\n        }\n        else {\n          if (gVar3 != ptr_64bit) break;\n          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);\n          count = profrate;\n        }\n        if (iVar10 != 0) break;\n        local_98 = local_98 + 1;\n        profrate = count;\n        if (((byte)debug_level & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count);\n        }\n        cg_tally(CONCAT44(from_pc._4_4_,(undefined4)from_pc),\n                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count);\n      }\n      if ((hz == 0) && (hz = hertz(), hz == 0)) {\n        hz = 1;\n        pcVar6 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      iVar10 = gmon_file_version;\n      if (((byte)output_style & 0x20) != 0) {\n        pcVar6 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar6,filename,iVar10);\n        if (local_84 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar6,local_84);\n        if (local_98 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar6,local_98);\n        if (local_88 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar6,local_88);\n        first_output = 0;\n        return;\n      }\n      return;\n    }\n    pcVar6 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }" { (expression_statement "bVar15 = false;" (assignment_expression "bVar15 = false" identifier = false) ;) (expression_statement "bVar16 = file_format == FF_AUTO;" (assignment_expression "bVar16 = file_format == FF_AUTO" identifier = (binary_expression "file_format == FF_AUTO" identifier == identifier)) ;) (if_statement "if (bVar16) {\n      iVar10 = 4;\n      pgVar13 = &ghdr;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n        bVar16 = pgVar13->cookie[0] == *pbVar12;\n        pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n        pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) goto LAB_0001a20a;\n    }\n    else if (1 < file_format - FF_BSD) {\n      __format = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami);\n      goto LAB_0001a53f;\n    }" if (parenthesized_expression "(bVar16)" ( identifier )) (compound_statement "{\n      iVar10 = 4;\n      pgVar13 = &ghdr;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n        bVar16 = pgVar13->cookie[0] == *pbVar12;\n        pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n        pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) goto LAB_0001a20a;\n    }" { (expression_statement "iVar10 = 4;" (assignment_expression "iVar10 = 4" identifier = number_literal) ;) (expression_statement "pgVar13 = &ghdr;" (assignment_expression "pgVar13 = &ghdr" identifier = (pointer_expression "&ghdr" & identifier)) ;) (expression_statement "pbVar12 = &DAT_00023065;" (assignment_expression "pbVar12 = &DAT_00023065" identifier = (pointer_expression "&DAT_00023065" & identifier)) ;) (do_statement "do {\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n        bVar16 = pgVar13->cookie[0] == *pbVar12;\n        pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n        pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      } while (bVar16);" do (compound_statement "{\n        if (iVar10 == 0) break;\n        iVar10 = iVar10 + -1;\n        bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;\n        bVar16 = pgVar13->cookie[0] == *pbVar12;\n        pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);\n        pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;\n      }" { (if_statement "if (iVar10 == 0) break;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "bVar15 = (byte)pgVar13->cookie[0] < *pbVar12;" (assignment_expression "bVar15 = (byte)pgVar13->cookie[0] < *pbVar12" identifier = (binary_expression "(byte)pgVar13->cookie[0] < *pbVar12" (cast_expression "(byte)pgVar13->cookie[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pgVar13->cookie[0]" (field_expression "pgVar13->cookie" identifier -> field_identifier) [ number_literal ])) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar16 = pgVar13->cookie[0] == *pbVar12;" (assignment_expression "bVar16 = pgVar13->cookie[0] == *pbVar12" identifier = (binary_expression "pgVar13->cookie[0] == *pbVar12" (subscript_expression "pgVar13->cookie[0]" (field_expression "pgVar13->cookie" identifier -> field_identifier) [ number_literal ]) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1);" (assignment_expression "pgVar13 = (gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1)" identifier = (cast_expression "(gmon_hdr *)((int)pgVar13 + (uint)bVar17 * -2 + 1)" ( (type_descriptor "gmon_hdr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pgVar13 + (uint)bVar17 * -2 + 1)" ( (binary_expression "(int)pgVar13 + (uint)bVar17 * -2 + 1" (binary_expression "(int)pgVar13 + (uint)bVar17 * -2" (cast_expression "(int)pgVar13" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar17 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (if_statement "if ((!bVar15 && !bVar16) == bVar15) goto LAB_0001a20a;" if (parenthesized_expression "((!bVar15 && !bVar16) == bVar15)" ( (binary_expression "(!bVar15 && !bVar16) == bVar15" (parenthesized_expression "(!bVar15 && !bVar16)" ( (binary_expression "!bVar15 && !bVar16" (unary_expression "!bVar15" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) == identifier) )) (goto_statement "goto LAB_0001a20a;" goto statement_identifier ;)) }) (else_clause "else if (1 < file_format - FF_BSD) {\n      __format = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami);\n      goto LAB_0001a53f;\n    }" else (if_statement "if (1 < file_format - FF_BSD) {\n      __format = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami);\n      goto LAB_0001a53f;\n    }" if (parenthesized_expression "(1 < file_format - FF_BSD)" ( (binary_expression "1 < file_format - FF_BSD" number_literal < (binary_expression "file_format - FF_BSD" identifier - identifier)) )) (compound_statement "{\n      __format = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami);\n      goto LAB_0001a53f;\n    }" { (expression_statement "__format = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami);" (assignment_expression "__format = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami)" identifier (argument_list "("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                   &whoami)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: don\'t know how to deal with file format %d\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal , (pointer_expression "&whoami" & identifier) ))))) ;) (goto_statement "goto LAB_0001a53f;" goto statement_identifier ;) })))) (expression_statement "gmon_input = 3;" (assignment_expression "gmon_input = 3" identifier = number_literal) ;) (expression_statement "iVar10 = fseek(__stream,0,0);" (assignment_expression "iVar10 = fseek(__stream,0,0)" identifier = (call_expression "fseek(__stream,0,0)" identifier (argument_list "(__stream,0,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar10 < 0) goto LAB_0001a403;" if (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) (goto_statement "goto LAB_0001a403;" goto statement_identifier ;)) (expression_statement "iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&tag);" (assignment_expression "iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&tag)" identifier = (call_expression "gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&tag)" identifier (argument_list "((FILE *)__stream,(bfd_vma *)&tag)" ( (cast_expression "(FILE *)__stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(bfd_vma *)&tag" ( (type_descriptor "bfd_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&tag" & identifier)) )))) ;) (if_statement "if ((((iVar10 != 0) ||\n         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)) ||\n        (iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0)) ||\n       (iVar10 = gmon_io_read_32((FILE *)__stream,&version), iVar10 != 0)) {\nLAB_0001a7d3:\n      pcVar6 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar6 = (char *)dcgettext("gprof",pcVar6,5,plVar18);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6,filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }" if (parenthesized_expression "((((iVar10 != 0) ||\n         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)) ||\n        (iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0)) ||\n       (iVar10 = gmon_io_read_32((FILE *)__stream,&version), iVar10 != 0))" ( (binary_expression "(((iVar10 != 0) ||\n         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)) ||\n        (iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0)) ||\n       (iVar10 = gmon_io_read_32((FILE *)__stream,&version), iVar10 != 0)" (parenthesized_expression "(((iVar10 != 0) ||\n         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)) ||\n        (iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0))" ( (binary_expression "((iVar10 != 0) ||\n         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)) ||\n        (iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0)" (parenthesized_expression "((iVar10 != 0) ||\n         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0))" ( (binary_expression "(iVar10 != 0) ||\n         (iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)" (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0)" ( (comma_expression "iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c), iVar10 != 0" (assignment_expression "iVar10 = gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c)" identifier = (call_expression "gmon_io_read_vma((FILE *)__stream,(bfd_vma *)&local_3c)" identifier (argument_list "((FILE *)__stream,(bfd_vma *)&local_3c)" ( (cast_expression "(FILE *)__stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(bfd_vma *)&local_3c" ( (type_descriptor "bfd_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_3c" & identifier)) )))) , (binary_expression "iVar10 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0)" ( (comma_expression "iVar10 = gmon_io_read_32((FILE *)__stream,&local_34), iVar10 != 0" (assignment_expression "iVar10 = gmon_io_read_32((FILE *)__stream,&local_34)" identifier = (call_expression "gmon_io_read_32((FILE *)__stream,&local_34)" identifier (argument_list "((FILE *)__stream,&local_34)" ( (cast_expression "(FILE *)__stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (pointer_expression "&local_34" & identifier) )))) , (binary_expression "iVar10 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(iVar10 = gmon_io_read_32((FILE *)__stream,&version), iVar10 != 0)" ( (comma_expression "iVar10 = gmon_io_read_32((FILE *)__stream,&version), iVar10 != 0" (assignment_expression "iVar10 = gmon_io_read_32((FILE *)__stream,&version)" identifier = (call_expression "gmon_io_read_32((FILE *)__stream,&version)" identifier (argument_list "((FILE *)__stream,&version)" ( (cast_expression "(FILE *)__stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (pointer_expression "&version" & identifier) )))) , (binary_expression "iVar10 != 0" identifier != number_literal)) ))) )) (compound_statement "{\nLAB_0001a7d3:\n      pcVar6 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar6 = (char *)dcgettext("gprof",pcVar6,5,plVar18);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6,filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }" { (labeled_statement "LAB_0001a7d3:\n      pcVar6 = "%s: file too short to be a gmon file\n";" statement_identifier : (expression_statement "pcVar6 = "%s: file too short to be a gmon file\n";" (assignment_expression "pcVar6 = "%s: file too short to be a gmon file\n"" identifier = (string_literal ""%s: file too short to be a gmon file\n"" " string_content escape_sequence ")) ;)) (labeled_statement "LAB_0001a7de:\n      pcVar6 = (char *)dcgettext("gprof",pcVar6,5,plVar18);" statement_identifier : (expression_statement "pcVar6 = (char *)dcgettext("gprof",pcVar6,5,plVar18);" (assignment_expression "pcVar6 = (char *)dcgettext("gprof",pcVar6,5,plVar18)" identifier = (cast_expression "(char *)dcgettext("gprof",pcVar6,5,plVar18)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",pcVar6,5,plVar18)" identifier (argument_list "("gprof",pcVar6,5,plVar18)" ( (string_literal ""gprof"" " string_content ") , identifier , number_literal , identifier ))))) ;)) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6,filename);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6,filename)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar6,filename)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (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 ))) ;) })) (if_statement "if (version == 0x51879) {\n      iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n      if (iVar10 != 0) goto LAB_0001a7d3;\n      plVar18 = &hz;\n      if (histograms == (histogram *)0x0) {\n        hz = profrate;\n      }\n      else if (hz != profrate) {\n        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      gVar3 = gmon_get_ptr_size();\n      if (gVar3 == ptr_32bit) {\n        iVar10 = 0x20;\n      }\n      else {\n        iVar10 = 0;\n        if (gVar3 == ptr_64bit) {\n          iVar10 = 0x28;\n        }\n      }\n    }\n    else {\n      if (file_format == FF_BSD44) goto LAB_0001a51a;\n      gVar3 = gmon_get_ptr_size();\n      iVar10 = 0xc;\n      if ((gVar3 != ptr_32bit) && (iVar10 = 0x14, gVar3 != ptr_64bit)) {\n        iVar10 = 0;\n      }\n    }" if (parenthesized_expression "(version == 0x51879)" ( (binary_expression "version == 0x51879" identifier == number_literal) )) (compound_statement "{\n      iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n      if (iVar10 != 0) goto LAB_0001a7d3;\n      plVar18 = &hz;\n      if (histograms == (histogram *)0x0) {\n        hz = profrate;\n      }\n      else if (hz != profrate) {\n        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      gVar3 = gmon_get_ptr_size();\n      if (gVar3 == ptr_32bit) {\n        iVar10 = 0x20;\n      }\n      else {\n        iVar10 = 0;\n        if (gVar3 == ptr_64bit) {\n          iVar10 = 0x28;\n        }\n      }\n    }" { (expression_statement "iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);" (assignment_expression "iVar10 = gmon_io_read_32((FILE *)__stream,&profrate)" identifier = (call_expression "gmon_io_read_32((FILE *)__stream,&profrate)" identifier (argument_list "((FILE *)__stream,&profrate)" ( (cast_expression "(FILE *)__stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (pointer_expression "&profrate" & identifier) )))) ;) (if_statement "if (iVar10 != 0) goto LAB_0001a7d3;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001a7d3;" goto statement_identifier ;)) (expression_statement "plVar18 = &hz;" (assignment_expression "plVar18 = &hz" identifier = (pointer_expression "&hz" & identifier)) ;) (if_statement "if (histograms == (histogram *)0x0) {\n        hz = profrate;\n      }\n      else if (hz != profrate) {\n        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" if (parenthesized_expression "(histograms == (histogram *)0x0)" ( (binary_expression "histograms == (histogram *)0x0" identifier == (cast_expression "(histogram *)0x0" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        hz = profrate;\n      }" { (expression_statement "hz = profrate;" (assignment_expression "hz = profrate" identifier = identifier) ;) }) (else_clause "else if (hz != profrate) {\n        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" else (if_statement "if (hz != profrate) {\n        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" if (parenthesized_expression "(hz != profrate)" ( (binary_expression "hz != profrate" identifier != identifier) )) (compound_statement "{\n        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" { (expression_statement "pcVar6 = "%s: profiling rate incompatible with first gmon file\n";" (assignment_expression "pcVar6 = "%s: profiling rate incompatible with first gmon file\n"" identifier = (string_literal ""%s: profiling rate incompatible with first gmon file\n"" " string_content escape_sequence ")) ;) (goto_statement "goto LAB_0001a7de;" goto statement_identifier ;) })))) (expression_statement "gVar3 = gmon_get_ptr_size();" (assignment_expression "gVar3 = gmon_get_ptr_size()" identifier = (call_expression "gmon_get_ptr_size()" identifier (argument_list "()" ( )))) ;) (if_statement "if (gVar3 == ptr_32bit) {\n        iVar10 = 0x20;\n      }\n      else {\n        iVar10 = 0;\n        if (gVar3 == ptr_64bit) {\n          iVar10 = 0x28;\n        }\n      }" if (parenthesized_expression "(gVar3 == ptr_32bit)" ( (binary_expression "gVar3 == ptr_32bit" identifier == identifier) )) (compound_statement "{\n        iVar10 = 0x20;\n      }" { (expression_statement "iVar10 = 0x20;" (assignment_expression "iVar10 = 0x20" identifier = number_literal) ;) }) (else_clause "else {\n        iVar10 = 0;\n        if (gVar3 == ptr_64bit) {\n          iVar10 = 0x28;\n        }\n      }" else (compound_statement "{\n        iVar10 = 0;\n        if (gVar3 == ptr_64bit) {\n          iVar10 = 0x28;\n        }\n      }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (if_statement "if (gVar3 == ptr_64bit) {\n          iVar10 = 0x28;\n        }" if (parenthesized_expression "(gVar3 == ptr_64bit)" ( (binary_expression "gVar3 == ptr_64bit" identifier == identifier) )) (compound_statement "{\n          iVar10 = 0x28;\n        }" { (expression_statement "iVar10 = 0x28;" (assignment_expression "iVar10 = 0x28" identifier = number_literal) ;) })) }))) }) (else_clause "else {\n      if (file_format == FF_BSD44) goto LAB_0001a51a;\n      gVar3 = gmon_get_ptr_size();\n      iVar10 = 0xc;\n      if ((gVar3 != ptr_32bit) && (iVar10 = 0x14, gVar3 != ptr_64bit)) {\n        iVar10 = 0;\n      }\n    }" else (compound_statement "{\n      if (file_format == FF_BSD44) goto LAB_0001a51a;\n      gVar3 = gmon_get_ptr_size();\n      iVar10 = 0xc;\n      if ((gVar3 != ptr_32bit) && (iVar10 = 0x14, gVar3 != ptr_64bit)) {\n        iVar10 = 0;\n      }\n    }" { (if_statement "if (file_format == FF_BSD44) goto LAB_0001a51a;" if (parenthesized_expression "(file_format == FF_BSD44)" ( (binary_expression "file_format == FF_BSD44" identifier == identifier) )) (goto_statement "goto LAB_0001a51a;" goto statement_identifier ;)) (expression_statement "gVar3 = gmon_get_ptr_size();" (assignment_expression "gVar3 = gmon_get_ptr_size()" identifier = (call_expression "gmon_get_ptr_size()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar10 = 0xc;" (assignment_expression "iVar10 = 0xc" identifier = number_literal) ;) (if_statement "if ((gVar3 != ptr_32bit) && (iVar10 = 0x14, gVar3 != ptr_64bit)) {\n        iVar10 = 0;\n      }" if (parenthesized_expression "((gVar3 != ptr_32bit) && (iVar10 = 0x14, gVar3 != ptr_64bit))" ( (binary_expression "(gVar3 != ptr_32bit) && (iVar10 = 0x14, gVar3 != ptr_64bit)" (parenthesized_expression "(gVar3 != ptr_32bit)" ( (binary_expression "gVar3 != ptr_32bit" identifier != identifier) )) && (parenthesized_expression "(iVar10 = 0x14, gVar3 != ptr_64bit)" ( (comma_expression "iVar10 = 0x14, gVar3 != ptr_64bit" (assignment_expression "iVar10 = 0x14" identifier = number_literal) , (binary_expression "gVar3 != ptr_64bit" identifier != identifier)) ))) )) (compound_statement "{\n        iVar10 = 0;\n      }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) })) }))) (expression_statement "iVar4 = fseek(__stream,iVar10,0);" (assignment_expression "iVar4 = fseek(__stream,iVar10,0)" identifier = (call_expression "fseek(__stream,iVar10,0)" identifier (argument_list "(__stream,iVar10,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar4 < 0) {\nLAB_0001a403:\n      perror(filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0001a403:\n      perror(filename);\n                    /* WARNING: Subroutine does not return */\n      done(1);\n    }" { (labeled_statement "LAB_0001a403:\n      perror(filename);" statement_identifier : (expression_statement "perror(filename);" (call_expression "perror(filename)" identifier (argument_list "(filename)" ( identifier ))) ;)) comment (expression_statement "done(1);" (call_expression "done(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "uVar5 = local_34 - iVar10;" (assignment_expression "uVar5 = local_34 - iVar10" identifier = (binary_expression "local_34 - iVar10" identifier - identifier)) ;) (expression_statement "bVar20._0_4_ = (bfd_vma)(uVar5 >> 1);" (assignment_expression "bVar20._0_4_ = (bfd_vma)(uVar5 >> 1)" (field_expression "bVar20._0_4_" identifier . field_identifier) = (call_expression "(bfd_vma)(uVar5 >> 1)" (parenthesized_expression "(bfd_vma)" ( identifier )) (argument_list "(uVar5 >> 1)" ( (binary_expression "uVar5 >> 1" identifier >> number_literal) )))) ;) (if_statement "if (histograms == (histogram *)0x0) {\n      num_histograms = 1;\n      phVar7 = (histogram *)xmalloc(0x18);\n      *(int *)((int)&phVar7->lowpc + 4) = local_40;\n      histograms = phVar7;\n      *(int *)((int)&phVar7->highpc + 4) = local_38;\n      *(uint *)&phVar7->lowpc = _tag;\n                    /* WARNING: Store size is inaccurate */\n      *(bfd_vma *)&phVar7->num_bins = (bfd_vma)bVar20;\n      *(uint *)&phVar7->highpc = local_3c;\n      uVar11 = (local_38 - local_40) - (uint)(local_3c < _tag);\n      hist_scale = (double)CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000) /\n                   (double)(int)(bfd_vma)bVar20;\n      piVar8 = (int *)xmalloc((int)(bfd_vma)bVar20 * 4);\n      phVar7->sample = piVar8;\n      memset(histograms->sample,0,(int)(bfd_vma)bVar20 * 4);\n    }\n    else {\n                    /* WARNING: Load size is inaccurate */\n      if (((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)) ||\n         (*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20)) {\n        pcVar6 = "%s: incompatible with first gmon file\n";\n        plVar18 = &__stream->_flags;\n        goto LAB_0001a7de;\n      }\n    }" if (parenthesized_expression "(histograms == (histogram *)0x0)" ( (binary_expression "histograms == (histogram *)0x0" identifier == (cast_expression "(histogram *)0x0" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      num_histograms = 1;\n      phVar7 = (histogram *)xmalloc(0x18);\n      *(int *)((int)&phVar7->lowpc + 4) = local_40;\n      histograms = phVar7;\n      *(int *)((int)&phVar7->highpc + 4) = local_38;\n      *(uint *)&phVar7->lowpc = _tag;\n                    /* WARNING: Store size is inaccurate */\n      *(bfd_vma *)&phVar7->num_bins = (bfd_vma)bVar20;\n      *(uint *)&phVar7->highpc = local_3c;\n      uVar11 = (local_38 - local_40) - (uint)(local_3c < _tag);\n      hist_scale = (double)CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000) /\n                   (double)(int)(bfd_vma)bVar20;\n      piVar8 = (int *)xmalloc((int)(bfd_vma)bVar20 * 4);\n      phVar7->sample = piVar8;\n      memset(histograms->sample,0,(int)(bfd_vma)bVar20 * 4);\n    }" { (expression_statement "num_histograms = 1;" (assignment_expression "num_histograms = 1" identifier = number_literal) ;) (expression_statement "phVar7 = (histogram *)xmalloc(0x18);" (assignment_expression "phVar7 = (histogram *)xmalloc(0x18)" identifier = (cast_expression "(histogram *)xmalloc(0x18)" ( (type_descriptor "histogram *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*(int *)((int)&phVar7->lowpc + 4) = local_40;" (assignment_expression "*(int *)((int)&phVar7->lowpc + 4) = local_40" (pointer_expression "*(int *)((int)&phVar7->lowpc + 4)" * (cast_expression "(int *)((int)&phVar7->lowpc + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&phVar7->lowpc + 4)" ( (binary_expression "(int)&phVar7->lowpc + 4" (cast_expression "(int)&phVar7->lowpc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&phVar7->lowpc" & (field_expression "phVar7->lowpc" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "histograms = phVar7;" (assignment_expression "histograms = phVar7" identifier = identifier) ;) (expression_statement "*(int *)((int)&phVar7->highpc + 4) = local_38;" (assignment_expression "*(int *)((int)&phVar7->highpc + 4) = local_38" (pointer_expression "*(int *)((int)&phVar7->highpc + 4)" * (cast_expression "(int *)((int)&phVar7->highpc + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&phVar7->highpc + 4)" ( (binary_expression "(int)&phVar7->highpc + 4" (cast_expression "(int)&phVar7->highpc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&phVar7->highpc" & (field_expression "phVar7->highpc" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)&phVar7->lowpc = _tag;" (assignment_expression "*(uint *)&phVar7->lowpc = _tag" (pointer_expression "*(uint *)&phVar7->lowpc" * (cast_expression "(uint *)&phVar7->lowpc" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&phVar7->lowpc" & (field_expression "phVar7->lowpc" identifier -> field_identifier)))) = identifier) ;) comment (expression_statement "*(bfd_vma *)&phVar7->num_bins = (bfd_vma)bVar20;" (assignment_expression "*(bfd_vma *)&phVar7->num_bins = (bfd_vma)bVar20" (pointer_expression "*(bfd_vma *)&phVar7->num_bins" * (cast_expression "(bfd_vma *)&phVar7->num_bins" ( (type_descriptor "bfd_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&phVar7->num_bins" & (field_expression "phVar7->num_bins" identifier -> field_identifier)))) = (cast_expression "(bfd_vma)bVar20" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) ;) (expression_statement "*(uint *)&phVar7->highpc = local_3c;" (assignment_expression "*(uint *)&phVar7->highpc = local_3c" (pointer_expression "*(uint *)&phVar7->highpc" * (cast_expression "(uint *)&phVar7->highpc" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&phVar7->highpc" & (field_expression "phVar7->highpc" identifier -> field_identifier)))) = identifier) ;) (expression_statement "uVar11 = (local_38 - local_40) - (uint)(local_3c < _tag);" (assignment_expression "uVar11 = (local_38 - local_40) - (uint)(local_3c < _tag)" identifier = (binary_expression "(local_38 - local_40) - (uint)(local_3c < _tag)" (parenthesized_expression "(local_38 - local_40)" ( (binary_expression "local_38 - local_40" identifier - identifier) )) - (call_expression "(uint)(local_3c < _tag)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_3c < _tag)" ( (binary_expression "local_3c < _tag" identifier < identifier) ))))) ;) (expression_statement "hist_scale = (double)CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000) /\n                   (double)(int)(bfd_vma)bVar20;" (assignment_expression "hist_scale = (double)CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000) /\n                   (double)(int)(bfd_vma)bVar20" identifier = (binary_expression "(double)CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000) /\n                   (double)(int)(bfd_vma)bVar20" (cast_expression "(double)CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000)" ( (type_descriptor "double" primitive_type) ) (call_expression "CONCAT44(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000)" identifier (argument_list "(uVar11 >> 1,local_3c - _tag >> 1 | uVar11 * -0x80000000)" ( (binary_expression "uVar11 >> 1" identifier >> number_literal) , (binary_expression "local_3c - _tag >> 1 | uVar11 * -0x80000000" (binary_expression "local_3c - _tag >> 1" (binary_expression "local_3c - _tag" identifier - identifier) >> number_literal) | (binary_expression "uVar11 * -0x80000000" identifier * number_literal)) )))) / (cast_expression "(double)(int)(bfd_vma)bVar20" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)(bfd_vma)bVar20" ( (type_descriptor "int" primitive_type) ) (cast_expression "(bfd_vma)bVar20" ( (type_descriptor "bfd_vma" type_identifier) ) identifier))))) ;) (expression_statement "piVar8 = (int *)xmalloc((int)(bfd_vma)bVar20 * 4);" (assignment_expression "piVar8 = (int *)xmalloc((int)(bfd_vma)bVar20 * 4)" identifier = (cast_expression "(int *)xmalloc((int)(bfd_vma)bVar20 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((int)(bfd_vma)bVar20 * 4)" identifier (argument_list "((int)(bfd_vma)bVar20 * 4)" ( (binary_expression "(int)(bfd_vma)bVar20 * 4" (cast_expression "(int)(bfd_vma)bVar20" ( (type_descriptor "int" primitive_type) ) (cast_expression "(bfd_vma)bVar20" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) * number_literal) ))))) ;) (expression_statement "phVar7->sample = piVar8;" (assignment_expression "phVar7->sample = piVar8" (field_expression "phVar7->sample" identifier -> field_identifier) = identifier) ;) (expression_statement "memset(histograms->sample,0,(int)(bfd_vma)bVar20 * 4);" (call_expression "memset(histograms->sample,0,(int)(bfd_vma)bVar20 * 4)" identifier (argument_list "(histograms->sample,0,(int)(bfd_vma)bVar20 * 4)" ( (field_expression "histograms->sample" identifier -> field_identifier) , number_literal , (binary_expression "(int)(bfd_vma)bVar20 * 4" (cast_expression "(int)(bfd_vma)bVar20" ( (type_descriptor "int" primitive_type) ) (cast_expression "(bfd_vma)bVar20" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) * number_literal) ))) ;) }) (else_clause "else {\n                    /* WARNING: Load size is inaccurate */\n      if (((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)) ||\n         (*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20)) {\n        pcVar6 = "%s: incompatible with first gmon file\n";\n        plVar18 = &__stream->_flags;\n        goto LAB_0001a7de;\n      }\n    }" else (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n      if (((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)) ||\n         (*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20)) {\n        pcVar6 = "%s: incompatible with first gmon file\n";\n        plVar18 = &__stream->_flags;\n        goto LAB_0001a7de;\n      }\n    }" { comment (if_statement "if (((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)) ||\n         (*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20)) {\n        pcVar6 = "%s: incompatible with first gmon file\n";\n        plVar18 = &__stream->_flags;\n        goto LAB_0001a7de;\n      }" if (parenthesized_expression "(((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)) ||\n         (*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20))" ( (binary_expression "((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)) ||\n         (*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20)" (parenthesized_expression "((local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc))" ( (binary_expression "(local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc) ||\n          (local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)" (parenthesized_expression "(local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc)" ( (binary_expression "local_40 != *(int *)((int)&histograms->lowpc + 4) || _tag != (uint)histograms->lowpc" (binary_expression "local_40 != *(int *)((int)&histograms->lowpc + 4)" identifier != (pointer_expression "*(int *)((int)&histograms->lowpc + 4)" * (cast_expression "(int *)((int)&histograms->lowpc + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&histograms->lowpc + 4)" ( (binary_expression "(int)&histograms->lowpc + 4" (cast_expression "(int)&histograms->lowpc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&histograms->lowpc" & (field_expression "histograms->lowpc" identifier -> field_identifier))) + number_literal) ))))) || (binary_expression "_tag != (uint)histograms->lowpc" identifier != (cast_expression "(uint)histograms->lowpc" ( (type_descriptor "uint" type_identifier) ) (field_expression "histograms->lowpc" identifier -> field_identifier)))) )) || (parenthesized_expression "(local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc)" ( (binary_expression "local_38 != *(int *)((int)&histograms->highpc + 4) ||\n           local_3c != (uint)histograms->highpc" (binary_expression "local_38 != *(int *)((int)&histograms->highpc + 4)" identifier != (pointer_expression "*(int *)((int)&histograms->highpc + 4)" * (cast_expression "(int *)((int)&histograms->highpc + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&histograms->highpc + 4)" ( (binary_expression "(int)&histograms->highpc + 4" (cast_expression "(int)&histograms->highpc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&histograms->highpc" & (field_expression "histograms->highpc" identifier -> field_identifier))) + number_literal) ))))) || (binary_expression "local_3c != (uint)histograms->highpc" identifier != (cast_expression "(uint)histograms->highpc" ( (type_descriptor "uint" type_identifier) ) (field_expression "histograms->highpc" identifier -> field_identifier)))) ))) )) || (parenthesized_expression "(*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20)" ( (binary_expression "*(bfd_vma *)&histograms->num_bins != (bfd_vma)bVar20" (pointer_expression "*(bfd_vma *)&histograms->num_bins" * (cast_expression "(bfd_vma *)&histograms->num_bins" ( (type_descriptor "bfd_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&histograms->num_bins" & (field_expression "histograms->num_bins" identifier -> field_identifier)))) != (cast_expression "(bfd_vma)bVar20" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) ))) )) (compound_statement "{\n        pcVar6 = "%s: incompatible with first gmon file\n";\n        plVar18 = &__stream->_flags;\n        goto LAB_0001a7de;\n      }" { (expression_statement "pcVar6 = "%s: incompatible with first gmon file\n";" (assignment_expression "pcVar6 = "%s: incompatible with first gmon file\n"" identifier = (string_literal ""%s: incompatible with first gmon file\n"" " string_content escape_sequence ")) ;) (expression_statement "plVar18 = &__stream->_flags;" (assignment_expression "plVar18 = &__stream->_flags" identifier = (pointer_expression "&__stream->_flags" & (field_expression "__stream->_flags" identifier -> field_identifier))) ;) (goto_statement "goto LAB_0001a7de;" goto statement_identifier ;) })) }))) (if_statement "if (((byte)debug_level & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",_tag,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar5,(undefined4)(bfd_vma)bVar20);\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("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",_tag,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar5,(undefined4)(bfd_vma)bVar20);\n    }" { (expression_statement "printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",_tag,local_3c,local_34);" (call_expression "printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",_tag,local_3c,local_34)" identifier (argument_list "("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",_tag,local_3c,local_34)" ( (string_literal ""[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (expression_statement "printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar5,(undefined4)(bfd_vma)bVar20);" (call_expression "printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar5,(undefined4)(bfd_vma)bVar20)" identifier (argument_list "("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar5,(undefined4)(bfd_vma)bVar20)" ( (string_literal ""[gmon_out_read] samp_bytes %d hist_num_bins %d\n"" " string_content escape_sequence ") , identifier , (cast_expression "(undefined4)(bfd_vma)bVar20" ( (type_descriptor "undefined4" type_identifier) ) (cast_expression "(bfd_vma)bVar20" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) ))) ;) })) (if_statement "if ((-1 < (int)uVar5) &&\n       (uVar11 = *(uint *)((int)&histograms->lowpc + 4),\n       uVar1 = *(uint *)((int)&histograms->highpc + 4),\n       uVar11 <= uVar1 &&\n       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11)) {\n      local_84 = (uint)(1 < uVar5);\n      bVar21._0_4_ = 0;\n      if ((bfd_vma)bVar20 != 0) {\n        do {\n          sVar2 = fread(raw_bin_count,2,1,__stream);\n          pcVar6 = whoami;\n          if (sVar2 != 1) {\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);\n          histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;\n          bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);\n        } while ((bfd_vma)bVar20 != (bfd_vma)bVar21);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar10 = gmon_io_read_vma((FILE *)__stream,&from_pc);\n        local_88 = 0;\n        if ((iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0))\n        break;\n        gVar3 = gmon_get_ptr_size();\n        if (gVar3 == ptr_32bit) {\n          iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n          count = profrate;\n        }\n        else {\n          if (gVar3 != ptr_64bit) break;\n          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);\n          count = profrate;\n        }\n        if (iVar10 != 0) break;\n        local_98 = local_98 + 1;\n        profrate = count;\n        if (((byte)debug_level & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count);\n        }\n        cg_tally(CONCAT44(from_pc._4_4_,(undefined4)from_pc),\n                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count);\n      }\n      if ((hz == 0) && (hz = hertz(), hz == 0)) {\n        hz = 1;\n        pcVar6 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      iVar10 = gmon_file_version;\n      if (((byte)output_style & 0x20) != 0) {\n        pcVar6 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar6,filename,iVar10);\n        if (local_84 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar6,local_84);\n        if (local_98 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar6,local_98);\n        if (local_88 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar6,local_88);\n        first_output = 0;\n        return;\n      }\n      return;\n    }" if (parenthesized_expression "((-1 < (int)uVar5) &&\n       (uVar11 = *(uint *)((int)&histograms->lowpc + 4),\n       uVar1 = *(uint *)((int)&histograms->highpc + 4),\n       uVar11 <= uVar1 &&\n       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11))" ( (binary_expression "(-1 < (int)uVar5) &&\n       (uVar11 = *(uint *)((int)&histograms->lowpc + 4),\n       uVar1 = *(uint *)((int)&histograms->highpc + 4),\n       uVar11 <= uVar1 &&\n       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11)" (parenthesized_expression "(-1 < (int)uVar5)" ( (binary_expression "-1 < (int)uVar5" number_literal < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(uVar11 = *(uint *)((int)&histograms->lowpc + 4),\n       uVar1 = *(uint *)((int)&histograms->highpc + 4),\n       uVar11 <= uVar1 &&\n       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11)" ( (comma_expression "uVar11 = *(uint *)((int)&histograms->lowpc + 4),\n       uVar1 = *(uint *)((int)&histograms->highpc + 4),\n       uVar11 <= uVar1 &&\n       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11" (assignment_expression "uVar11 = *(uint *)((int)&histograms->lowpc + 4)" identifier = (pointer_expression "*(uint *)((int)&histograms->lowpc + 4)" * (cast_expression "(uint *)((int)&histograms->lowpc + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&histograms->lowpc + 4)" ( (binary_expression "(int)&histograms->lowpc + 4" (cast_expression "(int)&histograms->lowpc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&histograms->lowpc" & (field_expression "histograms->lowpc" identifier -> field_identifier))) + number_literal) ))))) , (comma_expression "uVar1 = *(uint *)((int)&histograms->highpc + 4),\n       uVar11 <= uVar1 &&\n       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11" (assignment_expression "uVar1 = *(uint *)((int)&histograms->highpc + 4)" identifier = (pointer_expression "*(uint *)((int)&histograms->highpc + 4)" * (cast_expression "(uint *)((int)&histograms->highpc + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&histograms->highpc + 4)" ( (binary_expression "(int)&histograms->highpc + 4" (cast_expression "(int)&histograms->highpc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&histograms->highpc" & (field_expression "histograms->highpc" identifier -> field_identifier))) + number_literal) ))))) , (binary_expression "uVar11 <= uVar1 &&\n       (uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11" (binary_expression "uVar11 <= uVar1" identifier <= identifier) && (binary_expression "(uint)((uint)histograms->highpc < (uint)histograms->lowpc) <= uVar1 - uVar11" (call_expression "(uint)((uint)histograms->highpc < (uint)histograms->lowpc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)histograms->highpc < (uint)histograms->lowpc)" ( (binary_expression "(uint)histograms->highpc < (uint)histograms->lowpc" (cast_expression "(uint)histograms->highpc" ( (type_descriptor "uint" type_identifier) ) (field_expression "histograms->highpc" identifier -> field_identifier)) < (cast_expression "(uint)histograms->lowpc" ( (type_descriptor "uint" type_identifier) ) (field_expression "histograms->lowpc" identifier -> field_identifier))) ))) <= (binary_expression "uVar1 - uVar11" identifier - identifier))))) ))) )) (compound_statement "{\n      local_84 = (uint)(1 < uVar5);\n      bVar21._0_4_ = 0;\n      if ((bfd_vma)bVar20 != 0) {\n        do {\n          sVar2 = fread(raw_bin_count,2,1,__stream);\n          pcVar6 = whoami;\n          if (sVar2 != 1) {\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);\n          histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;\n          bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);\n        } while ((bfd_vma)bVar20 != (bfd_vma)bVar21);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar10 = gmon_io_read_vma((FILE *)__stream,&from_pc);\n        local_88 = 0;\n        if ((iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0))\n        break;\n        gVar3 = gmon_get_ptr_size();\n        if (gVar3 == ptr_32bit) {\n          iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n          count = profrate;\n        }\n        else {\n          if (gVar3 != ptr_64bit) break;\n          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);\n          count = profrate;\n        }\n        if (iVar10 != 0) break;\n        local_98 = local_98 + 1;\n        profrate = count;\n        if (((byte)debug_level & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count);\n        }\n        cg_tally(CONCAT44(from_pc._4_4_,(undefined4)from_pc),\n                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count);\n      }\n      if ((hz == 0) && (hz = hertz(), hz == 0)) {\n        hz = 1;\n        pcVar6 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      iVar10 = gmon_file_version;\n      if (((byte)output_style & 0x20) != 0) {\n        pcVar6 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar6,filename,iVar10);\n        if (local_84 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar6,local_84);\n        if (local_98 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar6,local_98);\n        if (local_88 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar6,local_88);\n        first_output = 0;\n        return;\n      }\n      return;\n    }" { (expression_statement "local_84 = (uint)(1 < uVar5);" (assignment_expression "local_84 = (uint)(1 < uVar5)" identifier = (call_expression "(uint)(1 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(1 < uVar5)" ( (binary_expression "1 < uVar5" number_literal < identifier) )))) ;) (expression_statement "bVar21._0_4_ = 0;" (assignment_expression "bVar21._0_4_ = 0" (field_expression "bVar21._0_4_" identifier . field_identifier) = number_literal) ;) (if_statement "if ((bfd_vma)bVar20 != 0) {\n        do {\n          sVar2 = fread(raw_bin_count,2,1,__stream);\n          pcVar6 = whoami;\n          if (sVar2 != 1) {\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);\n          histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;\n          bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);\n        } while ((bfd_vma)bVar20 != (bfd_vma)bVar21);\n      }" if (parenthesized_expression "((bfd_vma)bVar20 != 0)" ( (binary_expression "(bfd_vma)bVar20 != 0" (cast_expression "(bfd_vma)bVar20" ( (type_descriptor "bfd_vma" type_identifier) ) identifier) != number_literal) )) (compound_statement "{\n        do {\n          sVar2 = fread(raw_bin_count,2,1,__stream);\n          pcVar6 = whoami;\n          if (sVar2 != 1) {\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);\n          histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;\n          bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);\n        } while ((bfd_vma)bVar20 != (bfd_vma)bVar21);\n      }" { (do_statement "do {\n          sVar2 = fread(raw_bin_count,2,1,__stream);\n          pcVar6 = whoami;\n          if (sVar2 != 1) {\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);\n          histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;\n          bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);\n        } while ((bfd_vma)bVar20 != (bfd_vma)bVar21);" do (compound_statement "{\n          sVar2 = fread(raw_bin_count,2,1,__stream);\n          pcVar6 = whoami;\n          if (sVar2 != 1) {\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);\n          histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;\n          bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);\n        }" { (expression_statement "sVar2 = fread(raw_bin_count,2,1,__stream);" (assignment_expression "sVar2 = fread(raw_bin_count,2,1,__stream)" identifier = (call_expression "fread(raw_bin_count,2,1,__stream)" identifier (argument_list "(raw_bin_count,2,1,__stream)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "pcVar6 = whoami;" (assignment_expression "pcVar6 = whoami" identifier = identifier) ;) (if_statement "if (sVar2 != 1) {\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }" if (parenthesized_expression "(sVar2 != 1)" ( (binary_expression "sVar2 != 1" identifier != number_literal) )) (compound_statement "{\n            filename = (char *)((int)(bfd_vma)bVar21 - 1);\n            pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }" { (expression_statement "filename = (char *)((int)(bfd_vma)bVar21 - 1);" (assignment_expression "filename = (char *)((int)(bfd_vma)bVar21 - 1)" identifier = (cast_expression "(char *)((int)(bfd_vma)bVar21 - 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(bfd_vma)bVar21 - 1)" ( (binary_expression "(int)(bfd_vma)bVar21 - 1" (cast_expression "(int)(bfd_vma)bVar21" ( (type_descriptor "int" primitive_type) ) (cast_expression "(bfd_vma)bVar21" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) - number_literal) )))) ;) (expression_statement "pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);" (assignment_expression "pcVar9 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" identifier (argument_list "("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: unexpected EOF after reading %d/%d bins\n"" " string_content escape_sequence ") , number_literal ))))) ;) (goto_statement "goto LAB_0001a790;" goto statement_identifier ;) })) (expression_statement "bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);" (assignment_expression "bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count)" (field_expression "bVar19._0_4_" identifier . field_identifier) = (call_expression "(*core_bfd->xvec->bfd_getx16)(raw_bin_count)" (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 "(raw_bin_count)" ( identifier )))) ;) (expression_statement "histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19;" (assignment_expression "histograms->sample[(int)(bfd_vma)bVar21] =\n               histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19" (subscript_expression "histograms->sample[(int)(bfd_vma)bVar21]" (field_expression "histograms->sample" identifier -> field_identifier) [ (cast_expression "(int)(bfd_vma)bVar21" ( (type_descriptor "int" primitive_type) ) (cast_expression "(bfd_vma)bVar21" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) ]) = (binary_expression "histograms->sample[(int)(bfd_vma)bVar21] + (int)(bfd_vma)bVar19" (subscript_expression "histograms->sample[(int)(bfd_vma)bVar21]" (field_expression "histograms->sample" identifier -> field_identifier) [ (cast_expression "(int)(bfd_vma)bVar21" ( (type_descriptor "int" primitive_type) ) (cast_expression "(bfd_vma)bVar21" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) ]) + (cast_expression "(int)(bfd_vma)bVar19" ( (type_descriptor "int" primitive_type) ) (cast_expression "(bfd_vma)bVar19" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)))) ;) (expression_statement "bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1);" (assignment_expression "bVar21._0_4_ = (bfd_vma)((int)(bfd_vma)bVar21 + 1)" (field_expression "bVar21._0_4_" identifier . field_identifier) = (call_expression "(bfd_vma)((int)(bfd_vma)bVar21 + 1)" (parenthesized_expression "(bfd_vma)" ( identifier )) (argument_list "((int)(bfd_vma)bVar21 + 1)" ( (binary_expression "(int)(bfd_vma)bVar21 + 1" (cast_expression "(int)(bfd_vma)bVar21" ( (type_descriptor "int" primitive_type) ) (cast_expression "(bfd_vma)bVar21" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) + number_literal) )))) ;) }) while (parenthesized_expression "((bfd_vma)bVar20 != (bfd_vma)bVar21)" ( (binary_expression "(bfd_vma)bVar20 != (bfd_vma)bVar21" (cast_expression "(bfd_vma)bVar20" ( (type_descriptor "bfd_vma" type_identifier) ) identifier) != (cast_expression "(bfd_vma)bVar21" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) )) ;) })) (expression_statement "local_98 = 0;" (assignment_expression "local_98 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n        iVar10 = gmon_io_read_vma((FILE *)__stream,&from_pc);\n        local_88 = 0;\n        if ((iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0))\n        break;\n        gVar3 = gmon_get_ptr_size();\n        if (gVar3 == ptr_32bit) {\n          iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n          count = profrate;\n        }\n        else {\n          if (gVar3 != ptr_64bit) break;\n          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);\n          count = profrate;\n        }\n        if (iVar10 != 0) break;\n        local_98 = local_98 + 1;\n        profrate = count;\n        if (((byte)debug_level & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count);\n        }\n        cg_tally(CONCAT44(from_pc._4_4_,(undefined4)from_pc),\n                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count);\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar10 = gmon_io_read_vma((FILE *)__stream,&from_pc);\n        local_88 = 0;\n        if ((iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0))\n        break;\n        gVar3 = gmon_get_ptr_size();\n        if (gVar3 == ptr_32bit) {\n          iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n          count = profrate;\n        }\n        else {\n          if (gVar3 != ptr_64bit) break;\n          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);\n          count = profrate;\n        }\n        if (iVar10 != 0) break;\n        local_98 = local_98 + 1;\n        profrate = count;\n        if (((byte)debug_level & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count);\n        }\n        cg_tally(CONCAT44(from_pc._4_4_,(undefined4)from_pc),\n                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count);\n      }" { (expression_statement "iVar10 = gmon_io_read_vma((FILE *)__stream,&from_pc);" (assignment_expression "iVar10 = gmon_io_read_vma((FILE *)__stream,&from_pc)" identifier = (call_expression "gmon_io_read_vma((FILE *)__stream,&from_pc)" identifier (argument_list "((FILE *)__stream,&from_pc)" ( (cast_expression "(FILE *)__stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (pointer_expression "&from_pc" & identifier) )))) ;) (expression_statement "local_88 = 0;" (assignment_expression "local_88 = 0" identifier = number_literal) ;) (if_statement "if ((iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0))\n        break;" if (parenthesized_expression "((iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0))" ( (binary_expression "(iVar10 != 0) || (iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0)" (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0)" ( (comma_expression "iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc), iVar10 != 0" (assignment_expression "iVar10 = gmon_io_read_vma((FILE *)__stream,&self_pc)" identifier = (call_expression "gmon_io_read_vma((FILE *)__stream,&self_pc)" identifier (argument_list "((FILE *)__stream,&self_pc)" ( (cast_expression "(FILE *)__stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (pointer_expression "&self_pc" & identifier) )))) , (binary_expression "iVar10 != 0" identifier != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "gVar3 = gmon_get_ptr_size();" (assignment_expression "gVar3 = gmon_get_ptr_size()" identifier = (call_expression "gmon_get_ptr_size()" identifier (argument_list "()" ( )))) ;) (if_statement "if (gVar3 == ptr_32bit) {\n          iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n          count = profrate;\n        }\n        else {\n          if (gVar3 != ptr_64bit) break;\n          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);\n          count = profrate;\n        }" if (parenthesized_expression "(gVar3 == ptr_32bit)" ( (binary_expression "gVar3 == ptr_32bit" identifier == identifier) )) (compound_statement "{\n          iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);\n          count = profrate;\n        }" { (expression_statement "iVar10 = gmon_io_read_32((FILE *)__stream,&profrate);" (assignment_expression "iVar10 = gmon_io_read_32((FILE *)__stream,&profrate)" identifier = (call_expression "gmon_io_read_32((FILE *)__stream,&profrate)" identifier (argument_list "((FILE *)__stream,&profrate)" ( (cast_expression "(FILE *)__stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (pointer_expression "&profrate" & identifier) )))) ;) (expression_statement "count = profrate;" (assignment_expression "count = profrate" identifier = identifier) ;) }) (else_clause "else {\n          if (gVar3 != ptr_64bit) break;\n          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);\n          count = profrate;\n        }" else (compound_statement "{\n          if (gVar3 != ptr_64bit) break;\n          iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);\n          count = profrate;\n        }" { (if_statement "if (gVar3 != ptr_64bit) break;" if (parenthesized_expression "(gVar3 != ptr_64bit)" ( (binary_expression "gVar3 != ptr_64bit" identifier != identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate);" (assignment_expression "iVar10 = gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate)" identifier = (call_expression "gmon_io_read_64((FILE *)__stream,(ulonglong *)&profrate)" identifier (argument_list "((FILE *)__stream,(ulonglong *)&profrate)" ( (cast_expression "(FILE *)__stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(ulonglong *)&profrate" ( (type_descriptor "ulonglong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&profrate" & identifier)) )))) ;) (expression_statement "count = profrate;" (assignment_expression "count = profrate" identifier = identifier) ;) }))) (if_statement "if (iVar10 != 0) break;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "local_98 = local_98 + 1;" (assignment_expression "local_98 = local_98 + 1" identifier = (binary_expression "local_98 + 1" identifier + number_literal)) ;) (expression_statement "profrate = count;" (assignment_expression "profrate = count" identifier = identifier) ;) (if_statement "if (((byte)debug_level & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count);\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("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count);\n        }" { (expression_statement "printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count);" (call_expression "printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count)" identifier (argument_list "("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(undefined4)from_pc,\n                 (undefined4)self_pc,count)" ( (string_literal ""[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n"" " string_content escape_sequence ") , (cast_expression "(undefined4)from_pc" ( (type_descriptor "undefined4" type_identifier) ) identifier) , (cast_expression "(undefined4)self_pc" ( (type_descriptor "undefined4" type_identifier) ) identifier) , identifier ))) ;) })) (expression_statement "cg_tally(CONCAT44(from_pc._4_4_,(undefined4)from_pc),\n                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count);" (call_expression "cg_tally(CONCAT44(from_pc._4_4_,(undefined4)from_pc),\n                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count)" identifier (argument_list "(CONCAT44(from_pc._4_4_,(undefined4)from_pc),\n                 CONCAT44(self_pc._4_4_,(undefined4)self_pc),count)" ( (call_expression "CONCAT44(from_pc._4_4_,(undefined4)from_pc)" identifier (argument_list "(from_pc._4_4_,(undefined4)from_pc)" ( (field_expression "from_pc._4_4_" identifier . field_identifier) , (cast_expression "(undefined4)from_pc" ( (type_descriptor "undefined4" type_identifier) ) identifier) ))) , (call_expression "CONCAT44(self_pc._4_4_,(undefined4)self_pc)" identifier (argument_list "(self_pc._4_4_,(undefined4)self_pc)" ( (field_expression "self_pc._4_4_" identifier . field_identifier) , (cast_expression "(undefined4)self_pc" ( (type_descriptor "undefined4" type_identifier) ) identifier) ))) , identifier ))) ;) })) (if_statement "if ((hz == 0) && (hz = hertz(), hz == 0)) {\n        hz = 1;\n        pcVar6 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6);\n      }" if (parenthesized_expression "((hz == 0) && (hz = hertz(), hz == 0))" ( (binary_expression "(hz == 0) && (hz = hertz(), hz == 0)" (parenthesized_expression "(hz == 0)" ( (binary_expression "hz == 0" identifier == number_literal) )) && (parenthesized_expression "(hz = hertz(), hz == 0)" ( (comma_expression "hz = hertz(), hz == 0" (assignment_expression "hz = hertz()" identifier = (call_expression "hertz()" identifier (argument_list "()" ( )))) , (binary_expression "hz == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        hz = 1;\n        pcVar6 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6);\n      }" { (expression_statement "hz = 1;" (assignment_expression "hz = 1" identifier = number_literal) ;) (expression_statement "pcVar6 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);" (assignment_expression "pcVar6 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","time is in ticks, not seconds\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","time is in ticks, not seconds\n",5)" identifier (argument_list "("gprof","time is in ticks, not seconds\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""time is in ticks, not seconds\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar6)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar6)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier ))) ;) })) (labeled_statement "LAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }" statement_identifier : (if_statement "if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }" if (parenthesized_expression "(*(FILE **)PTR_stdin_0002cfe8 != __stream)" ( (binary_expression "*(FILE **)PTR_stdin_0002cfe8 != __stream" (pointer_expression "*(FILE **)PTR_stdin_0002cfe8" * (cast_expression "(FILE **)PTR_stdin_0002cfe8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != identifier) )) (compound_statement "{\n        fclose(__stream);\n      }" { (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" identifier (argument_list "(__stream)" ( identifier ))) ;) }))) (expression_statement "iVar10 = gmon_file_version;" (assignment_expression "iVar10 = gmon_file_version" identifier = identifier) ;) (if_statement "if (((byte)output_style & 0x20) != 0) {\n        pcVar6 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar6,filename,iVar10);\n        if (local_84 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar6,local_84);\n        if (local_98 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar6,local_98);\n        if (local_88 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar6,local_88);\n        first_output = 0;\n        return;\n      }" if (parenthesized_expression "(((byte)output_style & 0x20) != 0)" ( (binary_expression "((byte)output_style & 0x20) != 0" (parenthesized_expression "((byte)output_style & 0x20)" ( (binary_expression "(byte)output_style & 0x20" (cast_expression "(byte)output_style" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        pcVar6 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar6,filename,iVar10);\n        if (local_84 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar6,local_84);\n        if (local_98 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar6,local_98);\n        if (local_88 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar6,local_88);\n        first_output = 0;\n        return;\n      }" { (expression_statement "pcVar6 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);" (assignment_expression "pcVar6 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","File `%s\' (version %d) contains:\n",5)" identifier (argument_list "("gprof","File `%s\' (version %d) contains:\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""File `%s\' (version %d) contains:\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(pcVar6,filename,iVar10);" (call_expression "printf(pcVar6,filename,iVar10)" identifier (argument_list "(pcVar6,filename,iVar10)" ( identifier , identifier , identifier ))) ;) (if_statement "if (local_84 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }" if (parenthesized_expression "(local_84 == 1)" ( (binary_expression "local_84 == 1" identifier == number_literal) )) (compound_statement "{\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }" { (expression_statement "pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5);" (assignment_expression "pcVar6 = (char *)dcgettext("gprof","\t%d histogram record\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d histogram record\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d histogram record\n",5)" identifier (argument_list "("gprof","\t%d histogram record\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d histogram record\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }) (else_clause "else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }" else (compound_statement "{\n          pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }" { (expression_statement "pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5);" (assignment_expression "pcVar6 = (char *)dcgettext("gprof","\t%d histogram records\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d histogram records\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d histogram records\n",5)" identifier (argument_list "("gprof","\t%d histogram records\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d histogram records\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }))) (expression_statement "printf(pcVar6,local_84);" (call_expression "printf(pcVar6,local_84)" identifier (argument_list "(pcVar6,local_84)" ( identifier , identifier ))) ;) (if_statement "if (local_98 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }" if (parenthesized_expression "(local_98 == 1)" ( (binary_expression "local_98 == 1" identifier == number_literal) )) (compound_statement "{\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }" { (expression_statement "pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);" (assignment_expression "pcVar6 = (char *)dcgettext("gprof","\t%d call-graph record\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d call-graph record\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d call-graph record\n",5)" identifier (argument_list "("gprof","\t%d call-graph record\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d call-graph record\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }) (else_clause "else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }" else (compound_statement "{\n          pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }" { (expression_statement "pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);" (assignment_expression "pcVar6 = (char *)dcgettext("gprof","\t%d call-graph records\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d call-graph records\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d call-graph records\n",5)" identifier (argument_list "("gprof","\t%d call-graph records\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d call-graph records\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }))) (expression_statement "printf(pcVar6,local_98);" (call_expression "printf(pcVar6,local_98)" identifier (argument_list "(pcVar6,local_98)" ( identifier , identifier ))) ;) (if_statement "if (local_88 == 1) {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }" if (parenthesized_expression "(local_88 == 1)" ( (binary_expression "local_88 == 1" identifier == number_literal) )) (compound_statement "{\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }" { (expression_statement "pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);" (assignment_expression "pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d basic-block count record\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d basic-block count record\n",5)" identifier (argument_list "("gprof","\t%d basic-block count record\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d basic-block count record\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }) (else_clause "else {\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }" else (compound_statement "{\n          pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }" { (expression_statement "pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);" (assignment_expression "pcVar6 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d basic-block count records\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d basic-block count records\n",5)" identifier (argument_list "("gprof","\t%d basic-block count records\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d basic-block count records\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }))) (expression_statement "printf(pcVar6,local_88);" (call_expression "printf(pcVar6,local_88)" identifier (argument_list "(pcVar6,local_88)" ( identifier , identifier ))) ;) (expression_statement "first_output = 0;" (assignment_expression "first_output = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) (expression_statement "pcVar6 = "%s: file \'%s\' does not appear to be in gmon.out format\n";" (assignment_expression "pcVar6 = "%s: file \'%s\' does not appear to be in gmon.out format\n"" identifier = (string_literal ""%s: file \'%s\' does not appear to be in gmon.out format\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ")) ;) }))) (expression_statement "pcVar9 = whoami;" (assignment_expression "pcVar9 = whoami" identifier = identifier) ;) (expression_statement "__format = (char *)dcgettext("gprof",pcVar6,5,&whoami);" (assignment_expression "__format = (char *)dcgettext("gprof",pcVar6,5,&whoami)" identifier = (cast_expression "(char *)dcgettext("gprof",pcVar6,5,&whoami)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",pcVar6,5,&whoami)" identifier (argument_list "("gprof",pcVar6,5,&whoami)" ( (string_literal ""gprof"" " string_content ") , identifier , number_literal , (pointer_expression "&whoami" & identifier) ))))) ;) (expression_statement "pcVar6 = filename;" (assignment_expression "pcVar6 = filename" identifier = identifier) ;) (labeled_statement "LAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar9,pcVar6);" statement_identifier : (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar9,pcVar6);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar9,pcVar6)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,__format,pcVar9,pcVar6)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (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 ))) ;) })))
(translation_unit "void FUN_00019f20(byte *param_1)\n\n{\n  int *piVar1;\n  size_t sVar2;\n  uint uVar3;\n  FILE *__stream;\n  char *pcVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  FILE *pFVar16;\n  int local_98;\n  int local_88;\n  uint local_84;\n  undefined1 local_62 [2];\n  int local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  int local_4c [2];\n  uint local_44;\n  uint local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  byte local_30 [4];\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  iVar6 = 2;\n  uStack_14 = 0x19f2e;\n  bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c;\n  bVar14 = &stack0x00000000 == (undefined1 *)0x9c;\n  pbVar9 = param_1;\n  pbVar12 = &DAT_00023063;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  } while (bVar14);\n  if ((!bVar13 && !bVar14) == bVar13) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }\n  pFVar16 = __stream;\n  sVar2 = fread(local_30,0x14,1,__stream);\n  uVar10 = DAT_0002e508;\n  pbVar9 = DAT_0002e134;\n  if (sVar2 != 1) goto LAB_0001a7d3;\n  bVar13 = DAT_0002e134 == (byte *)0x0;\n  bVar14 = DAT_0002e134 == (byte *)0x1;\n  if (bVar14) {\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }\n  uVar10 = DAT_0002e508;\n  pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508);\n  pbVar9 = param_1;\nLAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);\n                    \n  FUN_0001adb0(1);\n}\n\n" (function_definition "void FUN_00019f20(byte *param_1)\n\n{\n  int *piVar1;\n  size_t sVar2;\n  uint uVar3;\n  FILE *__stream;\n  char *pcVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  FILE *pFVar16;\n  int local_98;\n  int local_88;\n  uint local_84;\n  undefined1 local_62 [2];\n  int local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  int local_4c [2];\n  uint local_44;\n  uint local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  byte local_30 [4];\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  iVar6 = 2;\n  uStack_14 = 0x19f2e;\n  bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c;\n  bVar14 = &stack0x00000000 == (undefined1 *)0x9c;\n  pbVar9 = param_1;\n  pbVar12 = &DAT_00023063;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  } while (bVar14);\n  if ((!bVar13 && !bVar14) == bVar13) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }\n  pFVar16 = __stream;\n  sVar2 = fread(local_30,0x14,1,__stream);\n  uVar10 = DAT_0002e508;\n  pbVar9 = DAT_0002e134;\n  if (sVar2 != 1) goto LAB_0001a7d3;\n  bVar13 = DAT_0002e134 == (byte *)0x0;\n  bVar14 = DAT_0002e134 == (byte *)0x1;\n  if (bVar14) {\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }\n  uVar10 = DAT_0002e508;\n  pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508);\n  pbVar9 = param_1;\nLAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);\n                    \n  FUN_0001adb0(1);\n}" primitive_type (function_declarator "FUN_00019f20(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  size_t sVar2;\n  uint uVar3;\n  FILE *__stream;\n  char *pcVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  FILE *pFVar16;\n  int local_98;\n  int local_88;\n  uint local_84;\n  undefined1 local_62 [2];\n  int local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  int local_4c [2];\n  uint local_44;\n  uint local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  byte local_30 [4];\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  iVar6 = 2;\n  uStack_14 = 0x19f2e;\n  bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c;\n  bVar14 = &stack0x00000000 == (undefined1 *)0x9c;\n  pbVar9 = param_1;\n  pbVar12 = &DAT_00023063;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  } while (bVar14);\n  if ((!bVar13 && !bVar14) == bVar13) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }\n  pFVar16 = __stream;\n  sVar2 = fread(local_30,0x14,1,__stream);\n  uVar10 = DAT_0002e508;\n  pbVar9 = DAT_0002e134;\n  if (sVar2 != 1) goto LAB_0001a7d3;\n  bVar13 = DAT_0002e134 == (byte *)0x0;\n  bVar14 = DAT_0002e134 == (byte *)0x1;\n  if (bVar14) {\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }\n  uVar10 = DAT_0002e508;\n  pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508);\n  pbVar9 = param_1;\nLAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);\n                    \n  FUN_0001adb0(1);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "bool bVar14;" primitive_type identifier ;) (declaration "byte bVar15;" type_identifier identifier ;) (declaration "FILE *pFVar16;" type_identifier (pointer_declarator "*pFVar16" * identifier) ;) (declaration "int local_98;" primitive_type identifier ;) (declaration "int local_88;" primitive_type identifier ;) (declaration "uint local_84;" type_identifier identifier ;) (declaration "undefined1 local_62 [2];" type_identifier (array_declarator "local_62 [2]" identifier [ number_literal ]) ;) (declaration "int local_60;" primitive_type identifier ;) (declaration "undefined4 local_5c;" type_identifier identifier ;) (declaration "undefined4 local_58;" type_identifier identifier ;) (declaration "undefined4 local_54;" type_identifier identifier ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "int local_4c [2];" primitive_type (array_declarator "local_4c [2]" identifier [ number_literal ]) ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "byte local_30 [4];" type_identifier (array_declarator "local_30 [4]" identifier [ number_literal ]) ;) (declaration "undefined1 local_2c [24];" type_identifier (array_declarator "local_2c [24]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = 2;" (assignment_expression "iVar6 = 2" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x19f2e;" (assignment_expression "uStack_14 = 0x19f2e" identifier = number_literal) ;) (expression_statement "bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c;" (assignment_expression "bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c" identifier = (binary_expression "&stack0xfffffff0 < (undefined1 *)0x8c" (pointer_expression "&stack0xfffffff0" & identifier) < (cast_expression "(undefined1 *)0x8c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar14 = &stack0x00000000 == (undefined1 *)0x9c;" (assignment_expression "bVar14 = &stack0x00000000 == (undefined1 *)0x9c" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x9c" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x9c" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" identifier = identifier) ;) (expression_statement "pbVar12 = &DAT_00023063;" (assignment_expression "pbVar12 = &DAT_00023063" identifier = (pointer_expression "&DAT_00023063" & identifier)) ;) (do_statement "do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  } while (bVar14);" do (compound_statement "{\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar9 < *pbVar12;" (assignment_expression "bVar13 = *pbVar9 < *pbVar12" identifier = (binary_expression "*pbVar9 < *pbVar12" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar9 == *pbVar12;" (assignment_expression "bVar14 = *pbVar9 == *pbVar12" identifier = (binary_expression "*pbVar9 == *pbVar12" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if ((!bVar13 && !bVar14) == bVar13) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }" if (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) (compound_statement "{\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }" { (expression_statement "__stream = *(FILE **)PTR_stdin_0002cfe8;" (assignment_expression "__stream = *(FILE **)PTR_stdin_0002cfe8" identifier = (pointer_expression "*(FILE **)PTR_stdin_0002cfe8" * (cast_expression "(FILE **)PTR_stdin_0002cfe8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }) (else_clause "else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }" else (compound_statement "{\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }" { (expression_statement "__stream = fopen64((char *)param_1,"r");" (assignment_expression "__stream = fopen64((char *)param_1,"r")" identifier = (call_expression "fopen64((char *)param_1,"r")" identifier (argument_list "((char *)param_1,"r")" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""r"" " string_content ") )))) ;) (if_statement "if (__stream == (FILE *)0x0) goto LAB_0001a403;" if (parenthesized_expression "(__stream == (FILE *)0x0)" ( (binary_expression "__stream == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001a403;" goto statement_identifier ;)) }))) (expression_statement "pFVar16 = __stream;" (assignment_expression "pFVar16 = __stream" identifier = identifier) ;) (expression_statement "sVar2 = fread(local_30,0x14,1,__stream);" (assignment_expression "sVar2 = fread(local_30,0x14,1,__stream)" identifier = (call_expression "fread(local_30,0x14,1,__stream)" identifier (argument_list "(local_30,0x14,1,__stream)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "uVar10 = DAT_0002e508;" (assignment_expression "uVar10 = DAT_0002e508" identifier = identifier) ;) (expression_statement "pbVar9 = DAT_0002e134;" (assignment_expression "pbVar9 = DAT_0002e134" identifier = identifier) ;) (if_statement "if (sVar2 != 1) goto LAB_0001a7d3;" if (parenthesized_expression "(sVar2 != 1)" ( (binary_expression "sVar2 != 1" identifier != number_literal) )) (goto_statement "goto LAB_0001a7d3;" goto statement_identifier ;)) (expression_statement "bVar13 = DAT_0002e134 == (byte *)0x0;" (assignment_expression "bVar13 = DAT_0002e134 == (byte *)0x0" identifier = (binary_expression "DAT_0002e134 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "bVar14 = DAT_0002e134 == (byte *)0x1;" (assignment_expression "bVar14 = DAT_0002e134 == (byte *)0x1" identifier = (binary_expression "DAT_0002e134 == (byte *)0x1" identifier == (cast_expression "(byte *)0x1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (bVar14) {\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }" { (expression_statement "iVar6 = 4;" (assignment_expression "iVar6 = 4" identifier = number_literal) ;) (expression_statement "pbVar9 = local_30;" (assignment_expression "pbVar9 = local_30" identifier = identifier) ;) (expression_statement "pbVar12 = &DAT_00023065;" (assignment_expression "pbVar12 = &DAT_00023065" identifier = (pointer_expression "&DAT_00023065" & identifier)) ;) (do_statement "do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);" do (compound_statement "{\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar9 < *pbVar12;" (assignment_expression "bVar13 = *pbVar9 < *pbVar12" identifier = (binary_expression "*pbVar9 < *pbVar12" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar9 == *pbVar12;" (assignment_expression "bVar14 = *pbVar9 == *pbVar12" identifier = (binary_expression "*pbVar9 == *pbVar12" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }" if (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) (compound_statement "{\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }" { (labeled_statement "LAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);" statement_identifier : (expression_statement "uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);" (assignment_expression "uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c)" identifier = (call_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))" ( (pointer_expression "**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" * (pointer_expression "*(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" * (cast_expression "(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0002e4ec + 4) + 0x28)" ( (binary_expression "*(int *)(DAT_0002e4ec + 4) + 0x28" (pointer_expression "*(int *)(DAT_0002e4ec + 4)" * (cast_expression "(int *)(DAT_0002e4ec + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002e4ec + 4)" ( (binary_expression "DAT_0002e4ec + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(local_2c)" ( identifier )))) ;)) (expression_statement "uVar10 = DAT_0002e508;" (assignment_expression "uVar10 = DAT_0002e508" identifier = identifier) ;) (expression_statement "DAT_0002e12c = uVar11;" (assignment_expression "DAT_0002e12c = uVar11" identifier = identifier) ;) (if_statement "if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }" if (parenthesized_expression "(1 < uVar11)" ( (binary_expression "1 < uVar11" number_literal < identifier) )) (compound_statement "{\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508)" identifier (argument_list "("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: file `%s\' has unsupported version %d\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal , (pointer_expression "&DAT_0002e508" & identifier) ))))) ;) (labeled_statement "LAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);" statement_identifier : (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier , identifier ))) ;)) (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "local_88 = 0;" (assignment_expression "local_88 = 0" identifier = number_literal) ;) (expression_statement "local_98 = 0;" (assignment_expression "local_98 = 0" identifier = number_literal) ;) (expression_statement "local_84 = 0;" (assignment_expression "local_84 = 0" identifier = number_literal) ;) (while_statement "while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }" while (parenthesized_expression "(sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1)" ( (comma_expression "sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1" (assignment_expression "sVar2 = fread(&local_44,1,1,__stream)" identifier = (call_expression "fread(&local_44,1,1,__stream)" identifier (argument_list "(&local_44,1,1,__stream)" ( (pointer_expression "&local_44" & identifier) , number_literal , number_literal , identifier )))) , (comma_expression "uVar10 = DAT_0002e508, sVar2 == 1" (assignment_expression "uVar10 = DAT_0002e508" identifier = identifier) , (binary_expression "sVar2 == 1" identifier == number_literal))) )) (compound_statement "{\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }" { (if_statement "if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" if (parenthesized_expression "((char)local_44 == '\x01')" ( (binary_expression "(char)local_44 == '\x01'" (cast_expression "(char)local_44" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }" { (expression_statement "local_98 = local_98 + 1;" (assignment_expression "local_98 = local_98 + 1" identifier = (binary_expression "local_98 + 1" identifier + number_literal)) ;) (expression_statement "DAT_0002e130 = DAT_0002e130 | 2;" (assignment_expression "DAT_0002e130 = DAT_0002e130 | 2" identifier = (binary_expression "DAT_0002e130 | 2" identifier | number_literal)) ;) (expression_statement "FUN_00014440(__stream,param_1);" (call_expression "FUN_00014440(__stream,param_1)" identifier (argument_list "(__stream,param_1)" ( identifier , identifier ))) ;) }) (else_clause "else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" else (if_statement "if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" if (parenthesized_expression "((char)local_44 == '\0')" ( (binary_expression "(char)local_44 == '\0'" (cast_expression "(char)local_44" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }" { (expression_statement "local_84 = local_84 + 1;" (assignment_expression "local_84 = local_84 + 1" identifier = (binary_expression "local_84 + 1" identifier + number_literal)) ;) (expression_statement "DAT_0002e130 = DAT_0002e130 | 1;" (assignment_expression "DAT_0002e130 = DAT_0002e130 | 1" identifier = (binary_expression "DAT_0002e130 | 1" identifier | number_literal)) ;) (expression_statement "FUN_0001c230(__stream,param_1);" (call_expression "FUN_0001c230(__stream,param_1)" identifier (argument_list "(__stream,param_1)" ( identifier , identifier ))) ;) }) (else_clause "else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" else (compound_statement "{\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" { (if_statement "if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }" if (parenthesized_expression "((char)local_44 != '\x02')" ( (binary_expression "(char)local_44 != '\x02'" (cast_expression "(char)local_44" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" identifier (argument_list "("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: %s: found bad tag %d (file corrupted?)\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "uVar11 = local_44 & 0xff;" (assignment_expression "uVar11 = local_44 & 0xff" identifier = (binary_expression "local_44 & 0xff" identifier & number_literal)) ;) (goto_statement "goto LAB_0001a790;" goto statement_identifier ;) })) (expression_statement "local_88 = local_88 + 1;" (assignment_expression "local_88 = local_88 + 1" identifier = (binary_expression "local_88 + 1" identifier + number_literal)) ;) (expression_statement "DAT_0002e130 = DAT_0002e130 | 4;" (assignment_expression "DAT_0002e130 = DAT_0002e130 | 4" identifier = (binary_expression "DAT_0002e130 | 4" identifier | number_literal)) ;) (expression_statement "FUN_000136c0(__stream,param_1);" (call_expression "FUN_000136c0(__stream,param_1)" identifier (argument_list "(__stream,param_1)" ( identifier , identifier ))) ;) }))))) })) (goto_statement "goto LAB_0001a1b8;" goto statement_identifier ;) })) (labeled_statement "LAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";" statement_identifier : (expression_statement "pcVar4 = "%s: file `%s\' has bad magic cookie\n";" (assignment_expression "pcVar4 = "%s: file `%s\' has bad magic cookie\n"" identifier = (string_literal ""%s: file `%s\' has bad magic cookie\n"" " string_content escape_sequence string_content escape_sequence ")) ;)) }) (else_clause "else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }" else (compound_statement "{\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }" { (expression_statement "bVar13 = false;" (assignment_expression "bVar13 = false" identifier = false) ;) (expression_statement "bVar14 = DAT_0002e134 == (byte *)0x0;" (assignment_expression "bVar14 = DAT_0002e134 == (byte *)0x0" identifier = (binary_expression "DAT_0002e134 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }" { (expression_statement "iVar6 = 4;" (assignment_expression "iVar6 = 4" identifier = number_literal) ;) (expression_statement "pbVar9 = local_30;" (assignment_expression "pbVar9 = local_30" identifier = identifier) ;) (expression_statement "pbVar12 = &DAT_00023065;" (assignment_expression "pbVar12 = &DAT_00023065" identifier = (pointer_expression "&DAT_00023065" & identifier)) ;) (do_statement "do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);" do (compound_statement "{\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar9 < *pbVar12;" (assignment_expression "bVar13 = *pbVar9 < *pbVar12" identifier = (binary_expression "*pbVar9 < *pbVar12" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar9 == *pbVar12;" (assignment_expression "bVar14 = *pbVar9 == *pbVar12" identifier = (binary_expression "*pbVar9 == *pbVar12" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;" if (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) (goto_statement "goto LAB_0001a20a;" goto statement_identifier ;)) }) (else_clause "else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }" else (if_statement "if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }" if (parenthesized_expression "((byte *)0x1 < DAT_0002e134 + -2)" ( (binary_expression "(byte *)0x1 < DAT_0002e134 + -2" (cast_expression "(byte *)0x1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "DAT_0002e134 + -2" identifier + number_literal)) )) (compound_statement "{\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508)" identifier (argument_list "("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: don\'t know how to deal with file format %d\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal , (pointer_expression "&DAT_0002e508" & identifier) ))))) ;) (goto_statement "goto LAB_0001a53f;" goto statement_identifier ;) })))) (expression_statement "DAT_0002e130 = 3;" (assignment_expression "DAT_0002e130 = 3" identifier = number_literal) ;) (expression_statement "iVar6 = fseek(__stream,0,0);" (assignment_expression "iVar6 = fseek(__stream,0,0)" identifier = (call_expression "fseek(__stream,0,0)" identifier (argument_list "(__stream,0,0)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar6 < 0) goto LAB_0001a403;" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (goto_statement "goto LAB_0001a403;" goto statement_identifier ;)) (expression_statement "iVar6 = FUN_00019cc0(__stream,&local_44);" (assignment_expression "iVar6 = FUN_00019cc0(__stream,&local_44)" identifier = (call_expression "FUN_00019cc0(__stream,&local_44)" identifier (argument_list "(__stream,&local_44)" ( identifier , (pointer_expression "&local_44" & identifier) )))) ;) (if_statement "if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }" if (parenthesized_expression "((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0))" ( (binary_expression "(((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)" (parenthesized_expression "(((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0))" ( (binary_expression "((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)" (parenthesized_expression "((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0))" ( (binary_expression "(iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)" ( (comma_expression "iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0" (assignment_expression "iVar6 = FUN_00019cc0(__stream,&local_3c)" identifier = (call_expression "FUN_00019cc0(__stream,&local_3c)" identifier (argument_list "(__stream,&local_3c)" ( identifier , (pointer_expression "&local_3c" & identifier) )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)" ( (comma_expression "iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0" (assignment_expression "iVar6 = FUN_00019c60(__stream,&local_34)" identifier = (call_expression "FUN_00019c60(__stream,&local_34)" identifier (argument_list "(__stream,&local_34)" ( identifier , (pointer_expression "&local_34" & identifier) )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) || (parenthesized_expression "(iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)" ( (comma_expression "iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0" (assignment_expression "iVar6 = FUN_00019c60(__stream,&local_60)" identifier = (call_expression "FUN_00019c60(__stream,&local_60)" identifier (argument_list "(__stream,&local_60)" ( identifier , (pointer_expression "&local_60" & identifier) )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }" { (labeled_statement "LAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";" statement_identifier : (expression_statement "pcVar4 = "%s: file too short to be a gmon file\n";" (assignment_expression "pcVar4 = "%s: file too short to be a gmon file\n"" identifier = (string_literal ""%s: file too short to be a gmon file\n"" " string_content escape_sequence ")) ;)) (labeled_statement "LAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);" statement_identifier : (expression_statement "pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16)" identifier = (cast_expression "(char *)dcgettext("gprof",pcVar4,5,pFVar16)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",pcVar4,5,pFVar16)" identifier (argument_list "("gprof",pcVar4,5,pFVar16)" ( (string_literal ""gprof"" " string_content ") , identifier , number_literal , identifier ))))) ;)) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier ))) ;) (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (if_statement "if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }" if (parenthesized_expression "(local_60 == 0x51879)" ( (binary_expression "local_60 == 0x51879" identifier == number_literal) )) (compound_statement "{\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }" { (expression_statement "iVar6 = FUN_00019c60(__stream,local_4c);" (assignment_expression "iVar6 = FUN_00019c60(__stream,local_4c)" identifier = (call_expression "FUN_00019c60(__stream,local_4c)" identifier (argument_list "(__stream,local_4c)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_0001a7d3;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001a7d3;" goto statement_identifier ;)) (expression_statement "pFVar16 = (FILE *)&DAT_0002e15c;" (assignment_expression "pFVar16 = (FILE *)&DAT_0002e15c" identifier = (cast_expression "(FILE *)&DAT_0002e15c" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0002e15c" & identifier))) ;) (if_statement "if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" if (parenthesized_expression "(DAT_0002e510 == (uint *)0x0)" ( (binary_expression "DAT_0002e510 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        DAT_0002e15c = local_4c[0];\n      }" { (expression_statement "DAT_0002e15c = local_4c[0];" (assignment_expression "DAT_0002e15c = local_4c[0]" identifier = (subscript_expression "local_4c[0]" identifier [ number_literal ])) ;) }) (else_clause "else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" else (if_statement "if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" if (parenthesized_expression "(DAT_0002e15c != local_4c[0])" ( (binary_expression "DAT_0002e15c != local_4c[0]" identifier != (subscript_expression "local_4c[0]" identifier [ number_literal ])) )) (compound_statement "{\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" { (expression_statement "pcVar4 = "%s: profiling rate incompatible with first gmon file\n";" (assignment_expression "pcVar4 = "%s: profiling rate incompatible with first gmon file\n"" identifier = (string_literal ""%s: profiling rate incompatible with first gmon file\n"" " string_content escape_sequence ")) ;) (goto_statement "goto LAB_0001a7de;" goto statement_identifier ;) })))) (expression_statement "iVar6 = FUN_00019b70();" (assignment_expression "iVar6 = FUN_00019b70()" identifier = (call_expression "FUN_00019b70()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar8 = 0x20;\n      }" { (expression_statement "iVar8 = 0x20;" (assignment_expression "iVar8 = 0x20" identifier = number_literal) ;) }) (else_clause "else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }" else (compound_statement "{\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (if_statement "if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }" if (parenthesized_expression "(iVar6 == 1)" ( (binary_expression "iVar6 == 1" identifier == number_literal) )) (compound_statement "{\n          iVar8 = 0x28;\n        }" { (expression_statement "iVar8 = 0x28;" (assignment_expression "iVar8 = 0x28" identifier = number_literal) ;) })) }))) }) (else_clause "else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }" else (compound_statement "{\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }" { (if_statement "if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;" if (parenthesized_expression "(DAT_0002e134 == (byte *)0x3)" ( (binary_expression "DAT_0002e134 == (byte *)0x3" identifier == (cast_expression "(byte *)0x3" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001a51a;" goto statement_identifier ;)) (expression_statement "iVar6 = FUN_00019b70();" (assignment_expression "iVar6 = FUN_00019b70()" identifier = (call_expression "FUN_00019b70()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar8 = 0xc;" (assignment_expression "iVar8 = 0xc" identifier = number_literal) ;) (if_statement "if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }" if (parenthesized_expression "((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1))" ( (binary_expression "(iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar8 = 0x14, iVar6 != 1)" ( (comma_expression "iVar8 = 0x14, iVar6 != 1" (assignment_expression "iVar8 = 0x14" identifier = number_literal) , (binary_expression "iVar6 != 1" identifier != number_literal)) ))) )) (compound_statement "{\n        iVar8 = 0;\n      }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) })) }))) (expression_statement "iVar6 = fseek(__stream,iVar8,0);" (assignment_expression "iVar6 = fseek(__stream,iVar8,0)" identifier = (call_expression "fseek(__stream,iVar8,0)" identifier (argument_list "(__stream,iVar8,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }" { (labeled_statement "LAB_0001a403:\n      perror((char *)param_1);" statement_identifier : (expression_statement "perror((char *)param_1);" (call_expression "perror((char *)param_1)" identifier (argument_list "((char *)param_1)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "uVar3 = local_34 - iVar8;" (assignment_expression "uVar3 = local_34 - iVar8" identifier = (binary_expression "local_34 - iVar8" identifier - identifier)) ;) (expression_statement "uVar11 = uVar3 >> 1;" (assignment_expression "uVar11 = uVar3 >> 1" identifier = (binary_expression "uVar3 >> 1" identifier >> number_literal)) ;) (if_statement "if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }" if (parenthesized_expression "(DAT_0002e510 == (uint *)0x0)" ( (binary_expression "DAT_0002e510 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }" { (expression_statement "DAT_0002e514 = 1;" (assignment_expression "DAT_0002e514 = 1" identifier = number_literal) ;) (expression_statement "puVar5 = (uint *)xmalloc(0x18);" (assignment_expression "puVar5 = (uint *)xmalloc(0x18)" identifier = (cast_expression "(uint *)xmalloc(0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "puVar5[1] = local_40;" (assignment_expression "puVar5[1] = local_40" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "DAT_0002e510 = puVar5;" (assignment_expression "DAT_0002e510 = puVar5" identifier = identifier) ;) (expression_statement "puVar5[3] = local_38;" (assignment_expression "puVar5[3] = local_38" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar5 = local_44;" (assignment_expression "*puVar5 = local_44" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "puVar5[4] = uVar11;" (assignment_expression "puVar5[4] = uVar11" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[2] = local_3c;" (assignment_expression "puVar5[2] = local_3c" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);" (assignment_expression "uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44)" identifier = (binary_expression "(local_38 - local_40) - (uint)(local_3c < local_44)" (parenthesized_expression "(local_38 - local_40)" ( (binary_expression "local_38 - local_40" identifier - identifier) )) - (call_expression "(uint)(local_3c < local_44)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_3c < local_44)" ( (binary_expression "local_3c < local_44" identifier < identifier) ))))) ;) (expression_statement "DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;" (assignment_expression "DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11" identifier = (binary_expression "(double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11" (cast_expression "(double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000)" ( (type_descriptor "double" primitive_type) ) (call_expression "CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000)" identifier (argument_list "(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000)" ( (binary_expression "uVar7 >> 1" identifier >> number_literal) , (binary_expression "local_3c - local_44 >> 1 | uVar7 * -0x80000000" (binary_expression "local_3c - local_44 >> 1" (binary_expression "local_3c - local_44" identifier - identifier) >> number_literal) | (binary_expression "uVar7 * -0x80000000" identifier * number_literal)) )))) / (cast_expression "(double)uVar11" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (expression_statement "uVar7 = xmalloc(uVar11 * 4);" (assignment_expression "uVar7 = xmalloc(uVar11 * 4)" identifier = (call_expression "xmalloc(uVar11 * 4)" identifier (argument_list "(uVar11 * 4)" ( (binary_expression "uVar11 * 4" identifier * number_literal) )))) ;) (expression_statement "puVar5[5] = uVar7;" (assignment_expression "puVar5[5] = uVar7" (subscript_expression "puVar5[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "memset((void *)DAT_0002e510[5],0,uVar11 * 4);" (call_expression "memset((void *)DAT_0002e510[5],0,uVar11 * 4)" identifier (argument_list "((void *)DAT_0002e510[5],0,uVar11 * 4)" ( (cast_expression "(void *)DAT_0002e510[5]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "DAT_0002e510[5]" identifier [ number_literal ])) , number_literal , (binary_expression "uVar11 * 4" identifier * number_literal) ))) ;) }) (else_clause "else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }" else (if_statement "if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }" if (parenthesized_expression "(((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11))" ( (binary_expression "((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)" (parenthesized_expression "((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2]))" ( (binary_expression "(local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])" (parenthesized_expression "(local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510)" ( (binary_expression "local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510" (binary_expression "local_40 != DAT_0002e510[1]" identifier != (subscript_expression "DAT_0002e510[1]" identifier [ number_literal ])) || (binary_expression "local_44 != *DAT_0002e510" identifier != (pointer_expression "*DAT_0002e510" * identifier))) )) || (parenthesized_expression "(local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])" ( (binary_expression "local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2]" (binary_expression "local_38 != DAT_0002e510[3]" identifier != (subscript_expression "DAT_0002e510[3]" identifier [ number_literal ])) || (binary_expression "local_3c != DAT_0002e510[2]" identifier != (subscript_expression "DAT_0002e510[2]" identifier [ number_literal ]))) ))) )) || (parenthesized_expression "(DAT_0002e510[4] != uVar11)" ( (binary_expression "DAT_0002e510[4] != uVar11" (subscript_expression "DAT_0002e510[4]" identifier [ number_literal ]) != identifier) ))) )) (compound_statement "{\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }" { (expression_statement "pcVar4 = "%s: incompatible with first gmon file\n";" (assignment_expression "pcVar4 = "%s: incompatible with first gmon file\n"" identifier = (string_literal ""%s: incompatible with first gmon file\n"" " string_content escape_sequence ")) ;) (expression_statement "pFVar16 = __stream;" (assignment_expression "pFVar16 = __stream" identifier = identifier) ;) (goto_statement "goto LAB_0001a7de;" goto statement_identifier ;) })))) (if_statement "if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }" if (parenthesized_expression "(((byte)DAT_0002e158 & 0x40) != 0)" ( (binary_expression "((byte)DAT_0002e158 & 0x40) != 0" (parenthesized_expression "((byte)DAT_0002e158 & 0x40)" ( (binary_expression "(byte)DAT_0002e158 & 0x40" (cast_expression "(byte)DAT_0002e158" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }" { (expression_statement "printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);" (call_expression "printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34)" identifier (argument_list "("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34)" ( (string_literal ""[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (expression_statement "printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);" (call_expression "printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11)" identifier (argument_list "("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11)" ( (string_literal ""[gmon_out_read] samp_bytes %d hist_num_bins %d\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) })) (if_statement "if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }" if (parenthesized_expression "((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1]))" ( (binary_expression "(-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])" (parenthesized_expression "(-1 < (int)uVar3)" ( (binary_expression "-1 < (int)uVar3" number_literal < (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])" ( (binary_expression "DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1]" (binary_expression "DAT_0002e510[1] <= DAT_0002e510[3]" (subscript_expression "DAT_0002e510[1]" identifier [ number_literal ]) <= (subscript_expression "DAT_0002e510[3]" identifier [ number_literal ])) && (binary_expression "(uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1]" (call_expression "(uint)(DAT_0002e510[2] < *DAT_0002e510)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_0002e510[2] < *DAT_0002e510)" ( (binary_expression "DAT_0002e510[2] < *DAT_0002e510" (subscript_expression "DAT_0002e510[2]" identifier [ number_literal ]) < (pointer_expression "*DAT_0002e510" * identifier)) ))) <= (binary_expression "DAT_0002e510[3] - DAT_0002e510[1]" (subscript_expression "DAT_0002e510[3]" identifier [ number_literal ]) - (subscript_expression "DAT_0002e510[1]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }" { (expression_statement "local_84 = (uint)(1 < uVar3);" (assignment_expression "local_84 = (uint)(1 < uVar3)" identifier = (call_expression "(uint)(1 < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(1 < uVar3)" ( (binary_expression "1 < uVar3" number_literal < identifier) )))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }" { (do_statement "do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);" do (compound_statement "{\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        }" { (expression_statement "sVar2 = fread(local_62,2,1,__stream);" (assignment_expression "sVar2 = fread(local_62,2,1,__stream)" identifier = (call_expression "fread(local_62,2,1,__stream)" identifier (argument_list "(local_62,2,1,__stream)" ( identifier , number_literal , number_literal , identifier )))) ;) (expression_statement "uVar10 = DAT_0002e508;" (assignment_expression "uVar10 = DAT_0002e508" identifier = identifier) ;) (if_statement "if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }" if (parenthesized_expression "(sVar2 != 1)" ( (binary_expression "sVar2 != 1" identifier != number_literal) )) (compound_statement "{\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }" { (expression_statement "param_1 = (byte *)(uVar3 - 1);" (assignment_expression "param_1 = (byte *)(uVar3 - 1)" identifier = (cast_expression "(byte *)(uVar3 - 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 - 1)" ( (binary_expression "uVar3 - 1" identifier - number_literal) )))) ;) (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" identifier (argument_list "("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""%s: unexpected EOF after reading %d/%d bins\n"" " string_content escape_sequence ") , number_literal ))))) ;) (goto_statement "goto LAB_0001a790;" goto statement_identifier ;) })) (expression_statement "iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);" (assignment_expression "iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62)" identifier = (call_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))" ( (pointer_expression "**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34)" * (pointer_expression "*(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34)" * (cast_expression "(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0002e4ec + 4) + 0x34)" ( (binary_expression "*(int *)(DAT_0002e4ec + 4) + 0x34" (pointer_expression "*(int *)(DAT_0002e4ec + 4)" * (cast_expression "(int *)(DAT_0002e4ec + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002e4ec + 4)" ( (binary_expression "DAT_0002e4ec + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(local_62)" ( identifier )))) ;) (expression_statement "piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);" (assignment_expression "piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4)" identifier = (cast_expression "(int *)(DAT_0002e510[5] + uVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0002e510[5] + uVar3 * 4)" ( (binary_expression "DAT_0002e510[5] + uVar3 * 4" (subscript_expression "DAT_0002e510[5]" identifier [ number_literal ]) + (binary_expression "uVar3 * 4" identifier * number_literal)) )))) ;) (expression_statement "*piVar1 = *piVar1 + iVar6;" (assignment_expression "*piVar1 = *piVar1 + iVar6" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + iVar6" (pointer_expression "*piVar1" * identifier) + identifier)) ;) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 != uVar3)" ( (binary_expression "uVar11 != uVar3" identifier != identifier) )) ;) })) (expression_statement "local_98 = 0;" (assignment_expression "local_98 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }" { (expression_statement "iVar6 = FUN_00019cc0(__stream,&local_5c);" (assignment_expression "iVar6 = FUN_00019cc0(__stream,&local_5c)" identifier = (call_expression "FUN_00019cc0(__stream,&local_5c)" identifier (argument_list "(__stream,&local_5c)" ( identifier , (pointer_expression "&local_5c" & identifier) )))) ;) (expression_statement "local_88 = 0;" (assignment_expression "local_88 = 0" identifier = number_literal) ;) (if_statement "if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;" if (parenthesized_expression "((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0))" ( (binary_expression "(iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)" ( (comma_expression "iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0" (assignment_expression "iVar6 = FUN_00019cc0(__stream,&local_54)" identifier = (call_expression "FUN_00019cc0(__stream,&local_54)" identifier (argument_list "(__stream,&local_54)" ( identifier , (pointer_expression "&local_54" & identifier) )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = FUN_00019b70();" (assignment_expression "iVar6 = FUN_00019b70()" identifier = (call_expression "FUN_00019b70()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }" { (expression_statement "iVar8 = FUN_00019c60(__stream,local_4c);" (assignment_expression "iVar8 = FUN_00019c60(__stream,local_4c)" identifier = (call_expression "FUN_00019c60(__stream,local_4c)" identifier (argument_list "(__stream,local_4c)" ( identifier , identifier )))) ;) (expression_statement "iVar6 = local_4c[0];" (assignment_expression "iVar6 = local_4c[0]" identifier = (subscript_expression "local_4c[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }" else (compound_statement "{\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }" { (if_statement "if (iVar6 != 1) break;" if (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar8 = FUN_00019b10();" (assignment_expression "iVar8 = FUN_00019b10()" identifier = (call_expression "FUN_00019b10()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = local_4c[0];" (assignment_expression "iVar6 = local_4c[0]" identifier = (subscript_expression "local_4c[0]" identifier [ number_literal ])) ;) }))) (if_statement "if (iVar8 != 0) break;" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "local_98 = local_98 + 1;" (assignment_expression "local_98 = local_98 + 1" identifier = (binary_expression "local_98 + 1" identifier + number_literal)) ;) (expression_statement "local_4c[0] = iVar6;" (assignment_expression "local_4c[0] = iVar6" (subscript_expression "local_4c[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }" if (parenthesized_expression "(((byte)DAT_0002e158 & 0x40) != 0)" ( (binary_expression "((byte)DAT_0002e158 & 0x40) != 0" (parenthesized_expression "((byte)DAT_0002e158 & 0x40)" ( (binary_expression "(byte)DAT_0002e158 & 0x40" (cast_expression "(byte)DAT_0002e158" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }" { (expression_statement "printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);" (call_expression "printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6)" identifier (argument_list "("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6)" ( (string_literal ""[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) })) (expression_statement "FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);" (call_expression "FUN_00014320(local_5c,local_58,local_54,local_50,iVar6)" identifier (argument_list "(local_5c,local_58,local_54,local_50,iVar6)" ( identifier , identifier , identifier , identifier , identifier ))) ;) })) (if_statement "if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }" if (parenthesized_expression "((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0))" ( (binary_expression "(DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)" (parenthesized_expression "(DAT_0002e15c == 0)" ( (binary_expression "DAT_0002e15c == 0" identifier == number_literal) )) && (parenthesized_expression "(DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)" ( (comma_expression "DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0" (assignment_expression "DAT_0002e15c = FUN_0001add0()" identifier = (call_expression "FUN_0001add0()" identifier (argument_list "()" ( )))) , (binary_expression "DAT_0002e15c == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }" { (expression_statement "DAT_0002e15c = 1;" (assignment_expression "DAT_0002e15c = 1" identifier = number_literal) ;) (expression_statement "pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","time is in ticks, not seconds\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","time is in ticks, not seconds\n",5)" identifier (argument_list "("gprof","time is in ticks, not seconds\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""time is in ticks, not seconds\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar4)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier ))) ;) })) (labeled_statement "LAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }" statement_identifier : (if_statement "if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }" if (parenthesized_expression "(*(FILE **)PTR_stdin_0002cfe8 != __stream)" ( (binary_expression "*(FILE **)PTR_stdin_0002cfe8 != __stream" (pointer_expression "*(FILE **)PTR_stdin_0002cfe8" * (cast_expression "(FILE **)PTR_stdin_0002cfe8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != identifier) )) (compound_statement "{\n        fclose(__stream);\n      }" { (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" identifier (argument_list "(__stream)" ( identifier ))) ;) }))) (expression_statement "uVar3 = DAT_0002e12c;" (assignment_expression "uVar3 = DAT_0002e12c" identifier = identifier) ;) (if_statement "if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }" if (parenthesized_expression "((DAT_0002e154 & 0x20) != 0)" ( (binary_expression "(DAT_0002e154 & 0x20) != 0" (parenthesized_expression "(DAT_0002e154 & 0x20)" ( (binary_expression "DAT_0002e154 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","File `%s\' (version %d) contains:\n",5)" identifier (argument_list "("gprof","File `%s\' (version %d) contains:\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""File `%s\' (version %d) contains:\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(pcVar4,param_1,uVar3);" (call_expression "printf(pcVar4,param_1,uVar3)" identifier (argument_list "(pcVar4,param_1,uVar3)" ( identifier , identifier , identifier ))) ;) (if_statement "if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }" if (parenthesized_expression "(local_84 == 1)" ( (binary_expression "local_84 == 1" identifier == number_literal) )) (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d histogram record\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d histogram record\n",5)" identifier (argument_list "("gprof","\t%d histogram record\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d histogram record\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }) (else_clause "else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }" else (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d histogram records\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d histogram records\n",5)" identifier (argument_list "("gprof","\t%d histogram records\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d histogram records\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }))) (expression_statement "printf(pcVar4,local_84);" (call_expression "printf(pcVar4,local_84)" identifier (argument_list "(pcVar4,local_84)" ( identifier , identifier ))) ;) (if_statement "if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }" if (parenthesized_expression "(local_98 == 1)" ( (binary_expression "local_98 == 1" identifier == number_literal) )) (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d call-graph record\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d call-graph record\n",5)" identifier (argument_list "("gprof","\t%d call-graph record\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d call-graph record\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }) (else_clause "else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }" else (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d call-graph records\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d call-graph records\n",5)" identifier (argument_list "("gprof","\t%d call-graph records\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d call-graph records\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }))) (expression_statement "printf(pcVar4,local_98);" (call_expression "printf(pcVar4,local_98)" identifier (argument_list "(pcVar4,local_98)" ( identifier , identifier ))) ;) (if_statement "if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }" if (parenthesized_expression "(local_88 == 1)" ( (binary_expression "local_88 == 1" identifier == number_literal) )) (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d basic-block count record\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d basic-block count record\n",5)" identifier (argument_list "("gprof","\t%d basic-block count record\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d basic-block count record\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }) (else_clause "else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }" else (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }" { (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5)" identifier = (cast_expression "(char *)dcgettext("gprof","\t%d basic-block count records\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof","\t%d basic-block count records\n",5)" identifier (argument_list "("gprof","\t%d basic-block count records\n",5)" ( (string_literal ""gprof"" " string_content ") , (string_literal ""\t%d basic-block count records\n"" " escape_sequence string_content escape_sequence ") , number_literal ))))) ;) }))) (expression_statement "printf(pcVar4,local_88);" (call_expression "printf(pcVar4,local_88)" identifier (argument_list "(pcVar4,local_88)" ( identifier , identifier ))) ;) (expression_statement "DAT_0002d1b8 = 0;" (assignment_expression "DAT_0002d1b8 = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) (expression_statement "pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";" (assignment_expression "pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n"" identifier = (string_literal ""%s: file \'%s\' does not appear to be in gmon.out format\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ")) ;) }))) (expression_statement "uVar10 = DAT_0002e508;" (assignment_expression "uVar10 = DAT_0002e508" identifier = identifier) ;) (expression_statement "pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508)" identifier = (cast_expression "(char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext("gprof",pcVar4,5,&DAT_0002e508)" identifier (argument_list "("gprof",pcVar4,5,&DAT_0002e508)" ( (string_literal ""gprof"" " string_content ") , identifier , number_literal , (pointer_expression "&DAT_0002e508" & identifier) ))))) ;) (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" identifier = identifier) ;) (labeled_statement "LAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);" statement_identifier : (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9)" identifier (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9)" ( (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" * (cast_expression "(FILE **)PTR_stderr_0002cfcc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , identifier , identifier ))) ;)) (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT )))) ;) (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 = (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (labeled_statement 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 = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (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 ") , LIT , (pointer_expression & 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 ))) ;)) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT , IDENT )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content escape_sequence ") , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }))))) })) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence string_content escape_sequence ")) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) < (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 ") , LIT , (pointer_expression & IDENT) ))))) ;) (goto_statement goto statement_identifier ;) })))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (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 (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)) ))) )) || (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 = (string_literal " string_content escape_sequence ")) ;)) (labeled_statement statement_identifier : (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 ))))) ;)) (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 ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) (goto_statement goto statement_identifier ;) })))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) ))) ;)) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (binary_expression IDENT >> LIT) , (binary_expression (binary_expression (binary_expression IDENT - IDENT) >> LIT) | (binary_expression IDENT * LIT)) )))) / (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT * LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , LIT , (binary_expression IDENT * LIT) ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT != (subscript_expression IDENT [ LIT ])) || (binary_expression IDENT != (pointer_expression * IDENT))) )) || (parenthesized_expression ( (binary_expression (binary_expression IDENT != (subscript_expression IDENT [ LIT ])) || (binary_expression IDENT != (subscript_expression IDENT [ LIT ]))) ))) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , IDENT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) && (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) <= (subscript_expression IDENT [ LIT ])) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) < (pointer_expression * IDENT)) ))) <= (binary_expression (subscript_expression IDENT [ LIT ]) - (subscript_expression IDENT [ LIT ])))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content escape_sequence ") , LIT ))))) ;) (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 (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (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)) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content escape_sequence ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , IDENT ))) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content escape_sequence string_content escape_sequence ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , 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 " escape_sequence string_content escape_sequence ") , LIT ))))) ;) }) (else_clause else (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 " escape_sequence string_content escape_sequence ") , LIT ))))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( 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 " escape_sequence string_content escape_sequence ") , LIT ))))) ;) }) (else_clause else (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 " escape_sequence string_content escape_sequence ") , LIT ))))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( 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 " escape_sequence string_content escape_sequence ") , LIT ))))) ;) }) (else_clause else (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 " escape_sequence string_content escape_sequence ") , LIT ))))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence ")) ;) }))) (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 , (pointer_expression & 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 ))) ;)) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })))
(function_definition "void FUN_00019f20(byte *param_1)\n\n{\n  int *piVar1;\n  size_t sVar2;\n  uint uVar3;\n  FILE *__stream;\n  char *pcVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  FILE *pFVar16;\n  int local_98;\n  int local_88;\n  uint local_84;\n  undefined1 local_62 [2];\n  int local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  int local_4c [2];\n  uint local_44;\n  uint local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  byte local_30 [4];\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  iVar6 = 2;\n  uStack_14 = 0x19f2e;\n  bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c;\n  bVar14 = &stack0x00000000 == (undefined1 *)0x9c;\n  pbVar9 = param_1;\n  pbVar12 = &DAT_00023063;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  } while (bVar14);\n  if ((!bVar13 && !bVar14) == bVar13) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }\n  pFVar16 = __stream;\n  sVar2 = fread(local_30,0x14,1,__stream);\n  uVar10 = DAT_0002e508;\n  pbVar9 = DAT_0002e134;\n  if (sVar2 != 1) goto LAB_0001a7d3;\n  bVar13 = DAT_0002e134 == (byte *)0x0;\n  bVar14 = DAT_0002e134 == (byte *)0x1;\n  if (bVar14) {\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }\n  uVar10 = DAT_0002e508;\n  pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508);\n  pbVar9 = param_1;\nLAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);\n                    \n  FUN_0001adb0(1);\n}" (primitive_type "void") (function_declarator "FUN_00019f20(byte *param_1)" (identifier "FUN_00019f20") (parameter_list "(byte *param_1)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  size_t sVar2;\n  uint uVar3;\n  FILE *__stream;\n  char *pcVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  undefined4 uVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  FILE *pFVar16;\n  int local_98;\n  int local_88;\n  uint local_84;\n  undefined1 local_62 [2];\n  int local_60;\n  undefined4 local_5c;\n  undefined4 local_58;\n  undefined4 local_54;\n  undefined4 local_50;\n  int local_4c [2];\n  uint local_44;\n  uint local_40;\n  uint local_3c;\n  uint local_38;\n  int local_34;\n  byte local_30 [4];\n  undefined1 local_2c [24];\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  iVar6 = 2;\n  uStack_14 = 0x19f2e;\n  bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c;\n  bVar14 = &stack0x00000000 == (undefined1 *)0x9c;\n  pbVar9 = param_1;\n  pbVar12 = &DAT_00023063;\n  do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  } while (bVar14);\n  if ((!bVar13 && !bVar14) == bVar13) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }\n  pFVar16 = __stream;\n  sVar2 = fread(local_30,0x14,1,__stream);\n  uVar10 = DAT_0002e508;\n  pbVar9 = DAT_0002e134;\n  if (sVar2 != 1) goto LAB_0001a7d3;\n  bVar13 = DAT_0002e134 == (byte *)0x0;\n  bVar14 = DAT_0002e134 == (byte *)0x1;\n  if (bVar14) {\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }\n  uVar10 = DAT_0002e508;\n  pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508);\n  pbVar9 = param_1;\nLAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);\n                    \n  FUN_0001adb0(1);\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "FILE *__stream;" (type_identifier "FILE") (pointer_declarator "*__stream" (* "*") (identifier "__stream")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "byte *pbVar12;" (type_identifier "byte") (pointer_declarator "*pbVar12" (* "*") (identifier "pbVar12")) (; ";")) (declaration "bool bVar13;" (primitive_type "bool") (identifier "bVar13") (; ";")) (declaration "bool bVar14;" (primitive_type "bool") (identifier "bVar14") (; ";")) (declaration "byte bVar15;" (type_identifier "byte") (identifier "bVar15") (; ";")) (declaration "FILE *pFVar16;" (type_identifier "FILE") (pointer_declarator "*pFVar16" (* "*") (identifier "pFVar16")) (; ";")) (declaration "int local_98;" (primitive_type "int") (identifier "local_98") (; ";")) (declaration "int local_88;" (primitive_type "int") (identifier "local_88") (; ";")) (declaration "uint local_84;" (type_identifier "uint") (identifier "local_84") (; ";")) (declaration "undefined1 local_62 [2];" (type_identifier "undefined1") (array_declarator "local_62 [2]" (identifier "local_62") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "int local_60;" (primitive_type "int") (identifier "local_60") (; ";")) (declaration "undefined4 local_5c;" (type_identifier "undefined4") (identifier "local_5c") (; ";")) (declaration "undefined4 local_58;" (type_identifier "undefined4") (identifier "local_58") (; ";")) (declaration "undefined4 local_54;" (type_identifier "undefined4") (identifier "local_54") (; ";")) (declaration "undefined4 local_50;" (type_identifier "undefined4") (identifier "local_50") (; ";")) (declaration "int local_4c [2];" (primitive_type "int") (array_declarator "local_4c [2]" (identifier "local_4c") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "uint local_44;" (type_identifier "uint") (identifier "local_44") (; ";")) (declaration "uint local_40;" (type_identifier "uint") (identifier "local_40") (; ";")) (declaration "uint local_3c;" (type_identifier "uint") (identifier "local_3c") (; ";")) (declaration "uint local_38;" (type_identifier "uint") (identifier "local_38") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "byte local_30 [4];" (type_identifier "byte") (array_declarator "local_30 [4]" (identifier "local_30") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined1 local_2c [24];" (type_identifier "undefined1") (array_declarator "local_2c [24]" (identifier "local_2c") ([ "[") (number_literal "24") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" (identifier "bVar15") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar6 = 2;" (assignment_expression "iVar6 = 2" (identifier "iVar6") (= "=") (number_literal "2")) (; ";")) (expression_statement "uStack_14 = 0x19f2e;" (assignment_expression "uStack_14 = 0x19f2e" (identifier "uStack_14") (= "=") (number_literal "0x19f2e")) (; ";")) (expression_statement "bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c;" (assignment_expression "bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c" (identifier "bVar13") (= "=") (binary_expression "&stack0xfffffff0 < (undefined1 *)0x8c" (pointer_expression "&stack0xfffffff0" (& "&") (identifier "stack0xfffffff0")) (< "<") (cast_expression "(undefined1 *)0x8c" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x8c")))) (; ";")) (expression_statement "bVar14 = &stack0x00000000 == (undefined1 *)0x9c;" (assignment_expression "bVar14 = &stack0x00000000 == (undefined1 *)0x9c" (identifier "bVar14") (= "=") (binary_expression "&stack0x00000000 == (undefined1 *)0x9c" (pointer_expression "&stack0x00000000" (& "&") (identifier "stack0x00000000")) (== "==") (cast_expression "(undefined1 *)0x9c" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x9c")))) (; ";")) (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" (identifier "pbVar9") (= "=") (identifier "param_1")) (; ";")) (expression_statement "pbVar12 = &DAT_00023063;" (assignment_expression "pbVar12 = &DAT_00023063" (identifier "pbVar12") (= "=") (pointer_expression "&DAT_00023063" (& "&") (identifier "DAT_00023063"))) (; ";")) (do_statement "do {\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  } while (bVar14);" (do "do") (compound_statement "{\n    if (iVar6 == 0) break;\n    iVar6 = iVar6 + -1;\n    bVar13 = *pbVar9 < *pbVar12;\n    bVar14 = *pbVar9 == *pbVar12;\n    pbVar9 = pbVar9 + 1;\n    pbVar12 = pbVar12 + 1;\n  }" ({ "{") (if_statement "if (iVar6 == 0) break;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar13 = *pbVar9 < *pbVar12;" (assignment_expression "bVar13 = *pbVar9 < *pbVar12" (identifier "bVar13") (= "=") (binary_expression "*pbVar9 < *pbVar12" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (< "<") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "bVar14 = *pbVar9 == *pbVar12;" (assignment_expression "bVar14 = *pbVar9 == *pbVar12" (identifier "bVar14") (= "=") (binary_expression "*pbVar9 == *pbVar12" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (== "==") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + 1" (identifier "pbVar12") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (; ";")) (if_statement "if ((!bVar13 && !bVar14) == bVar13) {\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }\n  else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }" (if "if") (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" (( "(") (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" (( "(") (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" (! "!") (identifier "bVar13")) (&& "&&") (unary_expression "!bVar14" (! "!") (identifier "bVar14"))) () ")")) (== "==") (identifier "bVar13")) () ")")) (compound_statement "{\n    __stream = *(FILE **)PTR_stdin_0002cfe8;\n  }" ({ "{") (expression_statement "__stream = *(FILE **)PTR_stdin_0002cfe8;" (assignment_expression "__stream = *(FILE **)PTR_stdin_0002cfe8" (identifier "__stream") (= "=") (pointer_expression "*(FILE **)PTR_stdin_0002cfe8" (* "*") (cast_expression "(FILE **)PTR_stdin_0002cfe8" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stdin_0002cfe8")))) (; ";")) (} "}")) (else_clause "else {\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }" (else "else") (compound_statement "{\n    __stream = fopen64((char *)param_1,"r");\n    if (__stream == (FILE *)0x0) goto LAB_0001a403;\n  }" ({ "{") (expression_statement "__stream = fopen64((char *)param_1,"r");" (assignment_expression "__stream = fopen64((char *)param_1,"r")" (identifier "__stream") (= "=") (call_expression "fopen64((char *)param_1,"r")" (identifier "fopen64") (argument_list "((char *)param_1,"r")" (( "(") (cast_expression "(char *)param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")) (, ",") (string_literal ""r"" (" """) (string_content "r") (" """)) () ")")))) (; ";")) (if_statement "if (__stream == (FILE *)0x0) goto LAB_0001a403;" (if "if") (parenthesized_expression "(__stream == (FILE *)0x0)" (( "(") (binary_expression "__stream == (FILE *)0x0" (identifier "__stream") (== "==") (cast_expression "(FILE *)0x0" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0001a403;" (goto "goto") (statement_identifier "LAB_0001a403") (; ";"))) (} "}")))) (expression_statement "pFVar16 = __stream;" (assignment_expression "pFVar16 = __stream" (identifier "pFVar16") (= "=") (identifier "__stream")) (; ";")) (expression_statement "sVar2 = fread(local_30,0x14,1,__stream);" (assignment_expression "sVar2 = fread(local_30,0x14,1,__stream)" (identifier "sVar2") (= "=") (call_expression "fread(local_30,0x14,1,__stream)" (identifier "fread") (argument_list "(local_30,0x14,1,__stream)" (( "(") (identifier "local_30") (, ",") (number_literal "0x14") (, ",") (number_literal "1") (, ",") (identifier "__stream") () ")")))) (; ";")) (expression_statement "uVar10 = DAT_0002e508;" (assignment_expression "uVar10 = DAT_0002e508" (identifier "uVar10") (= "=") (identifier "DAT_0002e508")) (; ";")) (expression_statement "pbVar9 = DAT_0002e134;" (assignment_expression "pbVar9 = DAT_0002e134" (identifier "pbVar9") (= "=") (identifier "DAT_0002e134")) (; ";")) (if_statement "if (sVar2 != 1) goto LAB_0001a7d3;" (if "if") (parenthesized_expression "(sVar2 != 1)" (( "(") (binary_expression "sVar2 != 1" (identifier "sVar2") (!= "!=") (number_literal "1")) () ")")) (goto_statement "goto LAB_0001a7d3;" (goto "goto") (statement_identifier "LAB_0001a7d3") (; ";"))) (expression_statement "bVar13 = DAT_0002e134 == (byte *)0x0;" (assignment_expression "bVar13 = DAT_0002e134 == (byte *)0x0" (identifier "bVar13") (= "=") (binary_expression "DAT_0002e134 == (byte *)0x0" (identifier "DAT_0002e134") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) (; ";")) (expression_statement "bVar14 = DAT_0002e134 == (byte *)0x1;" (assignment_expression "bVar14 = DAT_0002e134 == (byte *)0x1" (identifier "bVar14") (= "=") (binary_expression "DAT_0002e134 == (byte *)0x1" (identifier "DAT_0002e134") (== "==") (cast_expression "(byte *)0x1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1")))) (; ";")) (if_statement "if (bVar14) {\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }\n  else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }" (if "if") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (compound_statement "{\n    iVar6 = 4;\n    pbVar9 = local_30;\n    pbVar12 = &DAT_00023065;\n    do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }\nLAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";\n  }" ({ "{") (expression_statement "iVar6 = 4;" (assignment_expression "iVar6 = 4" (identifier "iVar6") (= "=") (number_literal "4")) (; ";")) (expression_statement "pbVar9 = local_30;" (assignment_expression "pbVar9 = local_30" (identifier "pbVar9") (= "=") (identifier "local_30")) (; ";")) (expression_statement "pbVar12 = &DAT_00023065;" (assignment_expression "pbVar12 = &DAT_00023065" (identifier "pbVar12") (= "=") (pointer_expression "&DAT_00023065" (& "&") (identifier "DAT_00023065"))) (; ";")) (do_statement "do {\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);" (do "do") (compound_statement "{\n      if (iVar6 == 0) break;\n      iVar6 = iVar6 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    }" ({ "{") (if_statement "if (iVar6 == 0) break;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar13 = *pbVar9 < *pbVar12;" (assignment_expression "bVar13 = *pbVar9 < *pbVar12" (identifier "bVar13") (= "=") (binary_expression "*pbVar9 < *pbVar12" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (< "<") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "bVar14 = *pbVar9 == *pbVar12;" (assignment_expression "bVar14 = *pbVar9 == *pbVar12" (identifier "bVar14") (= "=") (binary_expression "*pbVar9 == *pbVar12" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (== "==") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar15 * -2" (identifier "pbVar9") (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" (identifier "pbVar12") (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (; ";")) (if_statement "if ((!bVar13 && !bVar14) == bVar13) {\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }" (if "if") (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" (( "(") (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" (( "(") (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" (! "!") (identifier "bVar13")) (&& "&&") (unary_expression "!bVar14" (! "!") (identifier "bVar14"))) () ")")) (== "==") (identifier "bVar13")) () ")")) (compound_statement "{\nLAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);\n      uVar10 = DAT_0002e508;\n      DAT_0002e12c = uVar11;\n      if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }\n      local_88 = 0;\n      local_98 = 0;\n      local_84 = 0;\n      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }\n      goto LAB_0001a1b8;\n    }" ({ "{") (labeled_statement "LAB_0001a20a:\n      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);" (statement_identifier "LAB_0001a20a") (: ":") (expression_statement "uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);" (assignment_expression "uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c)" (identifier "uVar11") (= "=") (call_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))" (( "(") (pointer_expression "**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" (* "*") (pointer_expression "*(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" (* "*") (cast_expression "(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_0002e4ec + 4) + 0x28)" (( "(") (binary_expression "*(int *)(DAT_0002e4ec + 4) + 0x28" (pointer_expression "*(int *)(DAT_0002e4ec + 4)" (* "*") (cast_expression "(int *)(DAT_0002e4ec + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002e4ec + 4)" (( "(") (binary_expression "DAT_0002e4ec + 4" (identifier "DAT_0002e4ec") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(local_2c)" (( "(") (identifier "local_2c") () ")")))) (; ";"))) (expression_statement "uVar10 = DAT_0002e508;" (assignment_expression "uVar10 = DAT_0002e508" (identifier "uVar10") (= "=") (identifier "DAT_0002e508")) (; ";")) (expression_statement "DAT_0002e12c = uVar11;" (assignment_expression "DAT_0002e12c = uVar11" (identifier "DAT_0002e12c") (= "=") (identifier "uVar11")) (; ";")) (if_statement "if (1 < uVar11) {\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }" (if "if") (parenthesized_expression "(1 < uVar11)" (( "(") (binary_expression "1 < uVar11" (number_literal "1") (< "<") (identifier "uVar11")) () ")")) (compound_statement "{\n        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);\nLAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);\n                    \n        FUN_0001adb0(1);\n      }" ({ "{") (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508)" (identifier "dcgettext") (argument_list "("gprof","%s: file `%s\' has unsupported version %d\n",5,\n                                   &DAT_0002e508)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""%s: file `%s\' has unsupported version %d\n"" (" """) (string_content "%s: file `%s") (escape_sequence "\'") (string_content " has unsupported version %d") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") (, ",") (pointer_expression "&DAT_0002e508" (& "&") (identifier "DAT_0002e508")) () ")"))))) (; ";")) (labeled_statement "LAB_0001a790:\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);" (statement_identifier "LAB_0001a790") (: ":") (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" (* "*") (cast_expression "(FILE **)PTR_stderr_0002cfcc" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_0002cfcc"))) (, ",") (identifier "pcVar4") (, ",") (identifier "uVar10") (, ",") (identifier "param_1") (, ",") (identifier "uVar11") () ")"))) (; ";"))) (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" (identifier "FUN_0001adb0") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}"))) (expression_statement "local_88 = 0;" (assignment_expression "local_88 = 0" (identifier "local_88") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_98 = 0;" (assignment_expression "local_98 = 0" (identifier "local_98") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_84 = 0;" (assignment_expression "local_84 = 0" (identifier "local_84") (= "=") (number_literal "0")) (; ";")) (while_statement "while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }" (while "while") (parenthesized_expression "(sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1)" (( "(") (comma_expression "sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1" (assignment_expression "sVar2 = fread(&local_44,1,1,__stream)" (identifier "sVar2") (= "=") (call_expression "fread(&local_44,1,1,__stream)" (identifier "fread") (argument_list "(&local_44,1,1,__stream)" (( "(") (pointer_expression "&local_44" (& "&") (identifier "local_44")) (, ",") (number_literal "1") (, ",") (number_literal "1") (, ",") (identifier "__stream") () ")")))) (, ",") (comma_expression "uVar10 = DAT_0002e508, sVar2 == 1" (assignment_expression "uVar10 = DAT_0002e508" (identifier "uVar10") (= "=") (identifier "DAT_0002e508")) (, ",") (binary_expression "sVar2 == 1" (identifier "sVar2") (== "==") (number_literal "1")))) () ")")) (compound_statement "{\n        if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }\n      }" ({ "{") (if_statement "if ((char)local_44 == '\x01') {\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }\n        else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" (if "if") (parenthesized_expression "((char)local_44 == '\x01')" (( "(") (binary_expression "(char)local_44 == '\x01'" (cast_expression "(char)local_44" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_44")) (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (compound_statement "{\n          local_98 = local_98 + 1;\n          DAT_0002e130 = DAT_0002e130 | 2;\n          FUN_00014440(__stream,param_1);\n        }" ({ "{") (expression_statement "local_98 = local_98 + 1;" (assignment_expression "local_98 = local_98 + 1" (identifier "local_98") (= "=") (binary_expression "local_98 + 1" (identifier "local_98") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "DAT_0002e130 = DAT_0002e130 | 2;" (assignment_expression "DAT_0002e130 = DAT_0002e130 | 2" (identifier "DAT_0002e130") (= "=") (binary_expression "DAT_0002e130 | 2" (identifier "DAT_0002e130") (| "|") (number_literal "2"))) (; ";")) (expression_statement "FUN_00014440(__stream,param_1);" (call_expression "FUN_00014440(__stream,param_1)" (identifier "FUN_00014440") (argument_list "(__stream,param_1)" (( "(") (identifier "__stream") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")) (else_clause "else if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" (else "else") (if_statement "if ((char)local_44 == '\0') {\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }\n        else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" (if "if") (parenthesized_expression "((char)local_44 == '\0')" (( "(") (binary_expression "(char)local_44 == '\0'" (cast_expression "(char)local_44" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_44")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          local_84 = local_84 + 1;\n          DAT_0002e130 = DAT_0002e130 | 1;\n          FUN_0001c230(__stream,param_1);\n        }" ({ "{") (expression_statement "local_84 = local_84 + 1;" (assignment_expression "local_84 = local_84 + 1" (identifier "local_84") (= "=") (binary_expression "local_84 + 1" (identifier "local_84") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "DAT_0002e130 = DAT_0002e130 | 1;" (assignment_expression "DAT_0002e130 = DAT_0002e130 | 1" (identifier "DAT_0002e130") (= "=") (binary_expression "DAT_0002e130 | 1" (identifier "DAT_0002e130") (| "|") (number_literal "1"))) (; ";")) (expression_statement "FUN_0001c230(__stream,param_1);" (call_expression "FUN_0001c230(__stream,param_1)" (identifier "FUN_0001c230") (argument_list "(__stream,param_1)" (( "(") (identifier "__stream") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")) (else_clause "else {\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" (else "else") (compound_statement "{\n          if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }\n          local_88 = local_88 + 1;\n          DAT_0002e130 = DAT_0002e130 | 4;\n          FUN_000136c0(__stream,param_1);\n        }" ({ "{") (if_statement "if ((char)local_44 != '\x02') {\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }" (if "if") (parenthesized_expression "((char)local_44 != '\x02')" (( "(") (binary_expression "(char)local_44 != '\x02'" (cast_expression "(char)local_44" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_44")) (!= "!=") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);\n            uVar11 = local_44 & 0xff;\n            goto LAB_0001a790;\n          }" ({ "{") (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" (identifier "dcgettext") (argument_list "("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""%s: %s: found bad tag %d (file corrupted?)\n"" (" """) (string_content "%s: %s: found bad tag %d (file corrupted?)") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "uVar11 = local_44 & 0xff;" (assignment_expression "uVar11 = local_44 & 0xff" (identifier "uVar11") (= "=") (binary_expression "local_44 & 0xff" (identifier "local_44") (& "&") (number_literal "0xff"))) (; ";")) (goto_statement "goto LAB_0001a790;" (goto "goto") (statement_identifier "LAB_0001a790") (; ";")) (} "}"))) (expression_statement "local_88 = local_88 + 1;" (assignment_expression "local_88 = local_88 + 1" (identifier "local_88") (= "=") (binary_expression "local_88 + 1" (identifier "local_88") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "DAT_0002e130 = DAT_0002e130 | 4;" (assignment_expression "DAT_0002e130 = DAT_0002e130 | 4" (identifier "DAT_0002e130") (= "=") (binary_expression "DAT_0002e130 | 4" (identifier "DAT_0002e130") (| "|") (number_literal "4"))) (; ";")) (expression_statement "FUN_000136c0(__stream,param_1);" (call_expression "FUN_000136c0(__stream,param_1)" (identifier "FUN_000136c0") (argument_list "(__stream,param_1)" (( "(") (identifier "__stream") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))))) (} "}"))) (goto_statement "goto LAB_0001a1b8;" (goto "goto") (statement_identifier "LAB_0001a1b8") (; ";")) (} "}"))) (labeled_statement "LAB_0001a51a:\n    pcVar4 = "%s: file `%s\' has bad magic cookie\n";" (statement_identifier "LAB_0001a51a") (: ":") (expression_statement "pcVar4 = "%s: file `%s\' has bad magic cookie\n";" (assignment_expression "pcVar4 = "%s: file `%s\' has bad magic cookie\n"" (identifier "pcVar4") (= "=") (string_literal ""%s: file `%s\' has bad magic cookie\n"" (" """) (string_content "%s: file `%s") (escape_sequence "\'") (string_content " has bad magic cookie") (escape_sequence "\n") (" """))) (; ";"))) (} "}")) (else_clause "else {\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }" (else "else") (compound_statement "{\n    bVar13 = false;\n    bVar14 = DAT_0002e134 == (byte *)0x0;\n    if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }\n    DAT_0002e130 = 3;\n    iVar6 = fseek(__stream,0,0);\n    if (iVar6 < 0) goto LAB_0001a403;\n    iVar6 = FUN_00019cc0(__stream,&local_44);\n    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }\n    iVar6 = fseek(__stream,iVar8,0);\n    if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }\n    uVar3 = local_34 - iVar8;\n    uVar11 = uVar3 >> 1;\n    if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }\n    if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }\n    if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }\n    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";\n  }" ({ "{") (expression_statement "bVar13 = false;" (assignment_expression "bVar13 = false" (identifier "bVar13") (= "=") (false "false")) (; ";")) (expression_statement "bVar14 = DAT_0002e134 == (byte *)0x0;" (assignment_expression "bVar14 = DAT_0002e134 == (byte *)0x0" (identifier "bVar14") (= "=") (binary_expression "DAT_0002e134 == (byte *)0x0" (identifier "DAT_0002e134") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) (; ";")) (if_statement "if (bVar14) {\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }\n    else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }" (if "if") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (compound_statement "{\n      iVar6 = 4;\n      pbVar9 = local_30;\n      pbVar12 = &DAT_00023065;\n      do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;\n    }" ({ "{") (expression_statement "iVar6 = 4;" (assignment_expression "iVar6 = 4" (identifier "iVar6") (= "=") (number_literal "4")) (; ";")) (expression_statement "pbVar9 = local_30;" (assignment_expression "pbVar9 = local_30" (identifier "pbVar9") (= "=") (identifier "local_30")) (; ";")) (expression_statement "pbVar12 = &DAT_00023065;" (assignment_expression "pbVar12 = &DAT_00023065" (identifier "pbVar12") (= "=") (pointer_expression "&DAT_00023065" (& "&") (identifier "DAT_00023065"))) (; ";")) (do_statement "do {\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);" (do "do") (compound_statement "{\n        if (iVar6 == 0) break;\n        iVar6 = iVar6 + -1;\n        bVar13 = *pbVar9 < *pbVar12;\n        bVar14 = *pbVar9 == *pbVar12;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      }" ({ "{") (if_statement "if (iVar6 == 0) break;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar13 = *pbVar9 < *pbVar12;" (assignment_expression "bVar13 = *pbVar9 < *pbVar12" (identifier "bVar13") (= "=") (binary_expression "*pbVar9 < *pbVar12" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (< "<") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "bVar14 = *pbVar9 == *pbVar12;" (assignment_expression "bVar14 = *pbVar9 == *pbVar12" (identifier "bVar14") (= "=") (binary_expression "*pbVar9 == *pbVar12" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (== "==") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar15 * -2" (identifier "pbVar9") (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" (identifier "pbVar12") (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (; ";")) (if_statement "if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;" (if "if") (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" (( "(") (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" (( "(") (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" (! "!") (identifier "bVar13")) (&& "&&") (unary_expression "!bVar14" (! "!") (identifier "bVar14"))) () ")")) (== "==") (identifier "bVar13")) () ")")) (goto_statement "goto LAB_0001a20a;" (goto "goto") (statement_identifier "LAB_0001a20a") (; ";"))) (} "}")) (else_clause "else if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }" (else "else") (if_statement "if ((byte *)0x1 < DAT_0002e134 + -2) {\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }" (if "if") (parenthesized_expression "((byte *)0x1 < DAT_0002e134 + -2)" (( "(") (binary_expression "(byte *)0x1 < DAT_0002e134 + -2" (cast_expression "(byte *)0x1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1")) (< "<") (binary_expression "DAT_0002e134 + -2" (identifier "DAT_0002e134") (+ "+") (number_literal "-2"))) () ")")) (compound_statement "{\n      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);\n      goto LAB_0001a53f;\n    }" ({ "{") (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508)" (identifier "dcgettext") (argument_list "("gprof","%s: don\'t know how to deal with file format %d\n",5,\n                                 &DAT_0002e508)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""%s: don\'t know how to deal with file format %d\n"" (" """) (string_content "%s: don") (escape_sequence "\'") (string_content "t know how to deal with file format %d") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") (, ",") (pointer_expression "&DAT_0002e508" (& "&") (identifier "DAT_0002e508")) () ")"))))) (; ";")) (goto_statement "goto LAB_0001a53f;" (goto "goto") (statement_identifier "LAB_0001a53f") (; ";")) (} "}"))))) (expression_statement "DAT_0002e130 = 3;" (assignment_expression "DAT_0002e130 = 3" (identifier "DAT_0002e130") (= "=") (number_literal "3")) (; ";")) (expression_statement "iVar6 = fseek(__stream,0,0);" (assignment_expression "iVar6 = fseek(__stream,0,0)" (identifier "iVar6") (= "=") (call_expression "fseek(__stream,0,0)" (identifier "fseek") (argument_list "(__stream,0,0)" (( "(") (identifier "__stream") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar6 < 0) goto LAB_0001a403;" (if "if") (parenthesized_expression "(iVar6 < 0)" (( "(") (binary_expression "iVar6 < 0" (identifier "iVar6") (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001a403;" (goto "goto") (statement_identifier "LAB_0001a403") (; ";"))) (expression_statement "iVar6 = FUN_00019cc0(__stream,&local_44);" (assignment_expression "iVar6 = FUN_00019cc0(__stream,&local_44)" (identifier "iVar6") (= "=") (call_expression "FUN_00019cc0(__stream,&local_44)" (identifier "FUN_00019cc0") (argument_list "(__stream,&local_44)" (( "(") (identifier "__stream") (, ",") (pointer_expression "&local_44" (& "&") (identifier "local_44")) () ")")))) (; ";")) (if_statement "if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }" (if "if") (parenthesized_expression "((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0))" (( "(") (binary_expression "(((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||\n       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)" (parenthesized_expression "(((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0))" (( "(") (binary_expression "((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||\n        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)" (parenthesized_expression "((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0))" (( "(") (binary_expression "(iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)" (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)" (( "(") (comma_expression "iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0" (assignment_expression "iVar6 = FUN_00019cc0(__stream,&local_3c)" (identifier "iVar6") (= "=") (call_expression "FUN_00019cc0(__stream,&local_3c)" (identifier "FUN_00019cc0") (argument_list "(__stream,&local_3c)" (( "(") (identifier "__stream") (, ",") (pointer_expression "&local_3c" (& "&") (identifier "local_3c")) () ")")))) (, ",") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)" (( "(") (comma_expression "iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0" (assignment_expression "iVar6 = FUN_00019c60(__stream,&local_34)" (identifier "iVar6") (= "=") (call_expression "FUN_00019c60(__stream,&local_34)" (identifier "FUN_00019c60") (argument_list "(__stream,&local_34)" (( "(") (identifier "__stream") (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")")))) (, ",") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)" (( "(") (comma_expression "iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0" (assignment_expression "iVar6 = FUN_00019c60(__stream,&local_60)" (identifier "iVar6") (= "=") (call_expression "FUN_00019c60(__stream,&local_60)" (identifier "FUN_00019c60") (argument_list "(__stream,&local_60)" (( "(") (identifier "__stream") (, ",") (pointer_expression "&local_60" (& "&") (identifier "local_60")) () ")")))) (, ",") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\nLAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";\nLAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);\n      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);\n                    \n      FUN_0001adb0(1);\n    }" ({ "{") (labeled_statement "LAB_0001a7d3:\n      pcVar4 = "%s: file too short to be a gmon file\n";" (statement_identifier "LAB_0001a7d3") (: ":") (expression_statement "pcVar4 = "%s: file too short to be a gmon file\n";" (assignment_expression "pcVar4 = "%s: file too short to be a gmon file\n"" (identifier "pcVar4") (= "=") (string_literal ""%s: file too short to be a gmon file\n"" (" """) (string_content "%s: file too short to be a gmon file") (escape_sequence "\n") (" """))) (; ";"))) (labeled_statement "LAB_0001a7de:\n      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);" (statement_identifier "LAB_0001a7de") (: ":") (expression_statement "pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof",pcVar4,5,pFVar16)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof",pcVar4,5,pFVar16)" (identifier "dcgettext") (argument_list "("gprof",pcVar4,5,pFVar16)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (identifier "pcVar4") (, ",") (number_literal "5") (, ",") (identifier "pFVar16") () ")"))))) (; ";"))) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" (* "*") (cast_expression "(FILE **)PTR_stderr_0002cfcc" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_0002cfcc"))) (, ",") (identifier "pcVar4") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" (identifier "FUN_0001adb0") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_60 == 0x51879) {\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }\n    else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }" (if "if") (parenthesized_expression "(local_60 == 0x51879)" (( "(") (binary_expression "local_60 == 0x51879" (identifier "local_60") (== "==") (number_literal "0x51879")) () ")")) (compound_statement "{\n      iVar6 = FUN_00019c60(__stream,local_4c);\n      if (iVar6 != 0) goto LAB_0001a7d3;\n      pFVar16 = (FILE *)&DAT_0002e15c;\n      if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }\n      iVar6 = FUN_00019b70();\n      if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }\n    }" ({ "{") (expression_statement "iVar6 = FUN_00019c60(__stream,local_4c);" (assignment_expression "iVar6 = FUN_00019c60(__stream,local_4c)" (identifier "iVar6") (= "=") (call_expression "FUN_00019c60(__stream,local_4c)" (identifier "FUN_00019c60") (argument_list "(__stream,local_4c)" (( "(") (identifier "__stream") (, ",") (identifier "local_4c") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) goto LAB_0001a7d3;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001a7d3;" (goto "goto") (statement_identifier "LAB_0001a7d3") (; ";"))) (expression_statement "pFVar16 = (FILE *)&DAT_0002e15c;" (assignment_expression "pFVar16 = (FILE *)&DAT_0002e15c" (identifier "pFVar16") (= "=") (cast_expression "(FILE *)&DAT_0002e15c" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_0002e15c" (& "&") (identifier "DAT_0002e15c")))) (; ";")) (if_statement "if (DAT_0002e510 == (uint *)0x0) {\n        DAT_0002e15c = local_4c[0];\n      }\n      else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" (if "if") (parenthesized_expression "(DAT_0002e510 == (uint *)0x0)" (( "(") (binary_expression "DAT_0002e510 == (uint *)0x0" (identifier "DAT_0002e510") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        DAT_0002e15c = local_4c[0];\n      }" ({ "{") (expression_statement "DAT_0002e15c = local_4c[0];" (assignment_expression "DAT_0002e15c = local_4c[0]" (identifier "DAT_0002e15c") (= "=") (subscript_expression "local_4c[0]" (identifier "local_4c") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")) (else_clause "else if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" (else "else") (if_statement "if (DAT_0002e15c != local_4c[0]) {\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" (if "if") (parenthesized_expression "(DAT_0002e15c != local_4c[0])" (( "(") (binary_expression "DAT_0002e15c != local_4c[0]" (identifier "DAT_0002e15c") (!= "!=") (subscript_expression "local_4c[0]" (identifier "local_4c") ([ "[") (number_literal "0") (] "]"))) () ")")) (compound_statement "{\n        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";\n        goto LAB_0001a7de;\n      }" ({ "{") (expression_statement "pcVar4 = "%s: profiling rate incompatible with first gmon file\n";" (assignment_expression "pcVar4 = "%s: profiling rate incompatible with first gmon file\n"" (identifier "pcVar4") (= "=") (string_literal ""%s: profiling rate incompatible with first gmon file\n"" (" """) (string_content "%s: profiling rate incompatible with first gmon file") (escape_sequence "\n") (" """))) (; ";")) (goto_statement "goto LAB_0001a7de;" (goto "goto") (statement_identifier "LAB_0001a7de") (; ";")) (} "}"))))) (expression_statement "iVar6 = FUN_00019b70();" (assignment_expression "iVar6 = FUN_00019b70()" (identifier "iVar6") (= "=") (call_expression "FUN_00019b70()" (identifier "FUN_00019b70") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n        iVar8 = 0x20;\n      }\n      else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar8 = 0x20;\n      }" ({ "{") (expression_statement "iVar8 = 0x20;" (assignment_expression "iVar8 = 0x20" (identifier "iVar8") (= "=") (number_literal "0x20")) (; ";")) (} "}")) (else_clause "else {\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }" (else "else") (compound_statement "{\n        iVar8 = 0;\n        if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }\n      }" ({ "{") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar6 == 1) {\n          iVar8 = 0x28;\n        }" (if "if") (parenthesized_expression "(iVar6 == 1)" (( "(") (binary_expression "iVar6 == 1" (identifier "iVar6") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n          iVar8 = 0x28;\n        }" ({ "{") (expression_statement "iVar8 = 0x28;" (assignment_expression "iVar8 = 0x28" (identifier "iVar8") (= "=") (number_literal "0x28")) (; ";")) (} "}"))) (} "}")))) (} "}")) (else_clause "else {\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }" (else "else") (compound_statement "{\n      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;\n      iVar6 = FUN_00019b70();\n      iVar8 = 0xc;\n      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }\n    }" ({ "{") (if_statement "if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;" (if "if") (parenthesized_expression "(DAT_0002e134 == (byte *)0x3)" (( "(") (binary_expression "DAT_0002e134 == (byte *)0x3" (identifier "DAT_0002e134") (== "==") (cast_expression "(byte *)0x3" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x3"))) () ")")) (goto_statement "goto LAB_0001a51a;" (goto "goto") (statement_identifier "LAB_0001a51a") (; ";"))) (expression_statement "iVar6 = FUN_00019b70();" (assignment_expression "iVar6 = FUN_00019b70()" (identifier "iVar6") (= "=") (call_expression "FUN_00019b70()" (identifier "FUN_00019b70") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar8 = 0xc;" (assignment_expression "iVar8 = 0xc" (identifier "iVar8") (= "=") (number_literal "0xc")) (; ";")) (if_statement "if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {\n        iVar8 = 0;\n      }" (if "if") (parenthesized_expression "((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1))" (( "(") (binary_expression "(iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)" (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar8 = 0x14, iVar6 != 1)" (( "(") (comma_expression "iVar8 = 0x14, iVar6 != 1" (assignment_expression "iVar8 = 0x14" (identifier "iVar8") (= "=") (number_literal "0x14")) (, ",") (binary_expression "iVar6 != 1" (identifier "iVar6") (!= "!=") (number_literal "1"))) () ")"))) () ")")) (compound_statement "{\n        iVar8 = 0;\n      }" ({ "{") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar6 = fseek(__stream,iVar8,0);" (assignment_expression "iVar6 = fseek(__stream,iVar8,0)" (identifier "iVar6") (= "=") (call_expression "fseek(__stream,iVar8,0)" (identifier "fseek") (argument_list "(__stream,iVar8,0)" (( "(") (identifier "__stream") (, ",") (identifier "iVar8") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar6 < 0) {\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }" (if "if") (parenthesized_expression "(iVar6 < 0)" (( "(") (binary_expression "iVar6 < 0" (identifier "iVar6") (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0001a403:\n      perror((char *)param_1);\n                    \n      FUN_0001adb0(1);\n    }" ({ "{") (labeled_statement "LAB_0001a403:\n      perror((char *)param_1);" (statement_identifier "LAB_0001a403") (: ":") (expression_statement "perror((char *)param_1);" (call_expression "perror((char *)param_1)" (identifier "perror") (argument_list "((char *)param_1)" (( "(") (cast_expression "(char *)param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")) () ")"))) (; ";"))) (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" (identifier "FUN_0001adb0") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = local_34 - iVar8;" (assignment_expression "uVar3 = local_34 - iVar8" (identifier "uVar3") (= "=") (binary_expression "local_34 - iVar8" (identifier "local_34") (- "-") (identifier "iVar8"))) (; ";")) (expression_statement "uVar11 = uVar3 >> 1;" (assignment_expression "uVar11 = uVar3 >> 1" (identifier "uVar11") (= "=") (binary_expression "uVar3 >> 1" (identifier "uVar3") (>> ">>") (number_literal "1"))) (; ";")) (if_statement "if (DAT_0002e510 == (uint *)0x0) {\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }\n    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }" (if "if") (parenthesized_expression "(DAT_0002e510 == (uint *)0x0)" (( "(") (binary_expression "DAT_0002e510 == (uint *)0x0" (identifier "DAT_0002e510") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      DAT_0002e514 = 1;\n      puVar5 = (uint *)xmalloc(0x18);\n      puVar5[1] = local_40;\n      DAT_0002e510 = puVar5;\n      puVar5[3] = local_38;\n      *puVar5 = local_44;\n      puVar5[4] = uVar11;\n      puVar5[2] = local_3c;\n      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);\n      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;\n      uVar7 = xmalloc(uVar11 * 4);\n      puVar5[5] = uVar7;\n      memset((void *)DAT_0002e510[5],0,uVar11 * 4);\n    }" ({ "{") (expression_statement "DAT_0002e514 = 1;" (assignment_expression "DAT_0002e514 = 1" (identifier "DAT_0002e514") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar5 = (uint *)xmalloc(0x18);" (assignment_expression "puVar5 = (uint *)xmalloc(0x18)" (identifier "puVar5") (= "=") (cast_expression "(uint *)xmalloc(0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x18)" (identifier "xmalloc") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")"))))) (; ";")) (expression_statement "puVar5[1] = local_40;" (assignment_expression "puVar5[1] = local_40" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_40")) (; ";")) (expression_statement "DAT_0002e510 = puVar5;" (assignment_expression "DAT_0002e510 = puVar5" (identifier "DAT_0002e510") (= "=") (identifier "puVar5")) (; ";")) (expression_statement "puVar5[3] = local_38;" (assignment_expression "puVar5[3] = local_38" (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "local_38")) (; ";")) (expression_statement "*puVar5 = local_44;" (assignment_expression "*puVar5 = local_44" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (identifier "local_44")) (; ";")) (expression_statement "puVar5[4] = uVar11;" (assignment_expression "puVar5[4] = uVar11" (subscript_expression "puVar5[4]" (identifier "puVar5") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "puVar5[2] = local_3c;" (assignment_expression "puVar5[2] = local_3c" (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_3c")) (; ";")) (expression_statement "uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);" (assignment_expression "uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44)" (identifier "uVar7") (= "=") (binary_expression "(local_38 - local_40) - (uint)(local_3c < local_44)" (parenthesized_expression "(local_38 - local_40)" (( "(") (binary_expression "local_38 - local_40" (identifier "local_38") (- "-") (identifier "local_40")) () ")")) (- "-") (call_expression "(uint)(local_3c < local_44)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_3c < local_44)" (( "(") (binary_expression "local_3c < local_44" (identifier "local_3c") (< "<") (identifier "local_44")) () ")"))))) (; ";")) (expression_statement "DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11;" (assignment_expression "DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11" (identifier "DAT_0002e518") (= "=") (binary_expression "(double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /\n                     (double)uVar11" (cast_expression "(double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (call_expression "CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000)" (identifier "CONCAT44") (argument_list "(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000)" (( "(") (binary_expression "uVar7 >> 1" (identifier "uVar7") (>> ">>") (number_literal "1")) (, ",") (binary_expression "local_3c - local_44 >> 1 | uVar7 * -0x80000000" (binary_expression "local_3c - local_44 >> 1" (binary_expression "local_3c - local_44" (identifier "local_3c") (- "-") (identifier "local_44")) (>> ">>") (number_literal "1")) (| "|") (binary_expression "uVar7 * -0x80000000" (identifier "uVar7") (* "*") (number_literal "-0x80000000"))) () ")")))) (/ "/") (cast_expression "(double)uVar11" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "uVar11")))) (; ";")) (expression_statement "uVar7 = xmalloc(uVar11 * 4);" (assignment_expression "uVar7 = xmalloc(uVar11 * 4)" (identifier "uVar7") (= "=") (call_expression "xmalloc(uVar11 * 4)" (identifier "xmalloc") (argument_list "(uVar11 * 4)" (( "(") (binary_expression "uVar11 * 4" (identifier "uVar11") (* "*") (number_literal "4")) () ")")))) (; ";")) (expression_statement "puVar5[5] = uVar7;" (assignment_expression "puVar5[5] = uVar7" (subscript_expression "puVar5[5]" (identifier "puVar5") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "memset((void *)DAT_0002e510[5],0,uVar11 * 4);" (call_expression "memset((void *)DAT_0002e510[5],0,uVar11 * 4)" (identifier "memset") (argument_list "((void *)DAT_0002e510[5],0,uVar11 * 4)" (( "(") (cast_expression "(void *)DAT_0002e510[5]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "DAT_0002e510[5]" (identifier "DAT_0002e510") ([ "[") (number_literal "5") (] "]"))) (, ",") (number_literal "0") (, ",") (binary_expression "uVar11 * 4" (identifier "uVar11") (* "*") (number_literal "4")) () ")"))) (; ";")) (} "}")) (else_clause "else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }" (else "else") (if_statement "if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)) {\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }" (if "if") (parenthesized_expression "(((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11))" (( "(") (binary_expression "((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||\n            (DAT_0002e510[4] != uVar11)" (parenthesized_expression "((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2]))" (( "(") (binary_expression "(local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||\n             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])" (parenthesized_expression "(local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510)" (( "(") (binary_expression "local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510" (binary_expression "local_40 != DAT_0002e510[1]" (identifier "local_40") (!= "!=") (subscript_expression "DAT_0002e510[1]" (identifier "DAT_0002e510") ([ "[") (number_literal "1") (] "]"))) (|| "||") (binary_expression "local_44 != *DAT_0002e510" (identifier "local_44") (!= "!=") (pointer_expression "*DAT_0002e510" (* "*") (identifier "DAT_0002e510")))) () ")")) (|| "||") (parenthesized_expression "(local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])" (( "(") (binary_expression "local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2]" (binary_expression "local_38 != DAT_0002e510[3]" (identifier "local_38") (!= "!=") (subscript_expression "DAT_0002e510[3]" (identifier "DAT_0002e510") ([ "[") (number_literal "3") (] "]"))) (|| "||") (binary_expression "local_3c != DAT_0002e510[2]" (identifier "local_3c") (!= "!=") (subscript_expression "DAT_0002e510[2]" (identifier "DAT_0002e510") ([ "[") (number_literal "2") (] "]")))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(DAT_0002e510[4] != uVar11)" (( "(") (binary_expression "DAT_0002e510[4] != uVar11" (subscript_expression "DAT_0002e510[4]" (identifier "DAT_0002e510") ([ "[") (number_literal "4") (] "]")) (!= "!=") (identifier "uVar11")) () ")"))) () ")")) (compound_statement "{\n      pcVar4 = "%s: incompatible with first gmon file\n";\n      pFVar16 = __stream;\n      goto LAB_0001a7de;\n    }" ({ "{") (expression_statement "pcVar4 = "%s: incompatible with first gmon file\n";" (assignment_expression "pcVar4 = "%s: incompatible with first gmon file\n"" (identifier "pcVar4") (= "=") (string_literal ""%s: incompatible with first gmon file\n"" (" """) (string_content "%s: incompatible with first gmon file") (escape_sequence "\n") (" """))) (; ";")) (expression_statement "pFVar16 = __stream;" (assignment_expression "pFVar16 = __stream" (identifier "pFVar16") (= "=") (identifier "__stream")) (; ";")) (goto_statement "goto LAB_0001a7de;" (goto "goto") (statement_identifier "LAB_0001a7de") (; ";")) (} "}"))))) (if_statement "if (((byte)DAT_0002e158 & 0x40) != 0) {\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }" (if "if") (parenthesized_expression "(((byte)DAT_0002e158 & 0x40) != 0)" (( "(") (binary_expression "((byte)DAT_0002e158 & 0x40) != 0" (parenthesized_expression "((byte)DAT_0002e158 & 0x40)" (( "(") (binary_expression "(byte)DAT_0002e158 & 0x40" (cast_expression "(byte)DAT_0002e158" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_0002e158")) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);\n      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);\n    }" ({ "{") (expression_statement "printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);" (call_expression "printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34)" (identifier "printf") (argument_list "("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34)" (( "(") (string_literal ""[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n"" (" """) (string_content "[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d") (escape_sequence "\n") (" """)) (, ",") (identifier "local_44") (, ",") (identifier "local_3c") (, ",") (identifier "local_34") () ")"))) (; ";")) (expression_statement "printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);" (call_expression "printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11)" (identifier "printf") (argument_list "("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11)" (( "(") (string_literal ""[gmon_out_read] samp_bytes %d hist_num_bins %d\n"" (" """) (string_content "[gmon_out_read] samp_bytes %d hist_num_bins %d") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar3") (, ",") (identifier "uVar11") () ")"))) (; ";")) (} "}"))) (if_statement "if ((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }" (if "if") (parenthesized_expression "((-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1]))" (( "(") (binary_expression "(-1 < (int)uVar3) &&\n       (DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])" (parenthesized_expression "(-1 < (int)uVar3)" (( "(") (binary_expression "-1 < (int)uVar3" (number_literal "-1") (< "<") (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3"))) () ")")) (&& "&&") (parenthesized_expression "(DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])" (( "(") (binary_expression "DAT_0002e510[1] <= DAT_0002e510[3] &&\n        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1]" (binary_expression "DAT_0002e510[1] <= DAT_0002e510[3]" (subscript_expression "DAT_0002e510[1]" (identifier "DAT_0002e510") ([ "[") (number_literal "1") (] "]")) (<= "<=") (subscript_expression "DAT_0002e510[3]" (identifier "DAT_0002e510") ([ "[") (number_literal "3") (] "]"))) (&& "&&") (binary_expression "(uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1]" (call_expression "(uint)(DAT_0002e510[2] < *DAT_0002e510)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(DAT_0002e510[2] < *DAT_0002e510)" (( "(") (binary_expression "DAT_0002e510[2] < *DAT_0002e510" (subscript_expression "DAT_0002e510[2]" (identifier "DAT_0002e510") ([ "[") (number_literal "2") (] "]")) (< "<") (pointer_expression "*DAT_0002e510" (* "*") (identifier "DAT_0002e510"))) () ")"))) (<= "<=") (binary_expression "DAT_0002e510[3] - DAT_0002e510[1]" (subscript_expression "DAT_0002e510[3]" (identifier "DAT_0002e510") ([ "[") (number_literal "3") (] "]")) (- "-") (subscript_expression "DAT_0002e510[1]" (identifier "DAT_0002e510") ([ "[") (number_literal "1") (] "]"))))) () ")"))) () ")")) (compound_statement "{\n      local_84 = (uint)(1 < uVar3);\n      uVar3 = 0;\n      if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }\n      local_98 = 0;\n      while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }\n      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }\nLAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }\n      uVar3 = DAT_0002e12c;\n      if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }\n      return;\n    }" ({ "{") (expression_statement "local_84 = (uint)(1 < uVar3);" (assignment_expression "local_84 = (uint)(1 < uVar3)" (identifier "local_84") (= "=") (call_expression "(uint)(1 < uVar3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(1 < uVar3)" (( "(") (binary_expression "1 < uVar3" (number_literal "1") (< "<") (identifier "uVar3")) () ")")))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (uVar11 != 0) {\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }" (if "if") (parenthesized_expression "(uVar11 != 0)" (( "(") (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);\n      }" ({ "{") (do_statement "do {\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        } while (uVar11 != uVar3);" (do "do") (compound_statement "{\n          sVar2 = fread(local_62,2,1,__stream);\n          uVar10 = DAT_0002e508;\n          if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }\n          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);\n          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);\n          *piVar1 = *piVar1 + iVar6;\n          uVar3 = uVar3 + 1;\n        }" ({ "{") (expression_statement "sVar2 = fread(local_62,2,1,__stream);" (assignment_expression "sVar2 = fread(local_62,2,1,__stream)" (identifier "sVar2") (= "=") (call_expression "fread(local_62,2,1,__stream)" (identifier "fread") (argument_list "(local_62,2,1,__stream)" (( "(") (identifier "local_62") (, ",") (number_literal "2") (, ",") (number_literal "1") (, ",") (identifier "__stream") () ")")))) (; ";")) (expression_statement "uVar10 = DAT_0002e508;" (assignment_expression "uVar10 = DAT_0002e508" (identifier "uVar10") (= "=") (identifier "DAT_0002e508")) (; ";")) (if_statement "if (sVar2 != 1) {\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }" (if "if") (parenthesized_expression "(sVar2 != 1)" (( "(") (binary_expression "sVar2 != 1" (identifier "sVar2") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n            param_1 = (byte *)(uVar3 - 1);\n            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);\n            goto LAB_0001a790;\n          }" ({ "{") (expression_statement "param_1 = (byte *)(uVar3 - 1);" (assignment_expression "param_1 = (byte *)(uVar3 - 1)" (identifier "param_1") (= "=") (cast_expression "(byte *)(uVar3 - 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 - 1)" (( "(") (binary_expression "uVar3 - 1" (identifier "uVar3") (- "-") (number_literal "1")) () ")")))) (; ";")) (expression_statement "pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" (identifier "dcgettext") (argument_list "("gprof","%s: unexpected EOF after reading %d/%d bins\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""%s: unexpected EOF after reading %d/%d bins\n"" (" """) (string_content "%s: unexpected EOF after reading %d/%d bins") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (goto_statement "goto LAB_0001a790;" (goto "goto") (statement_identifier "LAB_0001a790") (; ";")) (} "}"))) (expression_statement "iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);" (assignment_expression "iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62)" (identifier "iVar6") (= "=") (call_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62)" (parenthesized_expression "(**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))" (( "(") (pointer_expression "**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34)" (* "*") (pointer_expression "*(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34)" (* "*") (cast_expression "(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_0002e4ec + 4) + 0x34)" (( "(") (binary_expression "*(int *)(DAT_0002e4ec + 4) + 0x34" (pointer_expression "*(int *)(DAT_0002e4ec + 4)" (* "*") (cast_expression "(int *)(DAT_0002e4ec + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002e4ec + 4)" (( "(") (binary_expression "DAT_0002e4ec + 4" (identifier "DAT_0002e4ec") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x34")) () ")"))))) () ")")) (argument_list "(local_62)" (( "(") (identifier "local_62") () ")")))) (; ";")) (expression_statement "piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);" (assignment_expression "piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(DAT_0002e510[5] + uVar3 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0002e510[5] + uVar3 * 4)" (( "(") (binary_expression "DAT_0002e510[5] + uVar3 * 4" (subscript_expression "DAT_0002e510[5]" (identifier "DAT_0002e510") ([ "[") (number_literal "5") (] "]")) (+ "+") (binary_expression "uVar3 * 4" (identifier "uVar3") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "*piVar1 = *piVar1 + iVar6;" (assignment_expression "*piVar1 = *piVar1 + iVar6" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "*piVar1 + iVar6" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 != uVar3)" (( "(") (binary_expression "uVar11 != uVar3" (identifier "uVar11") (!= "!=") (identifier "uVar3")) () ")")) (; ";")) (} "}"))) (expression_statement "local_98 = 0;" (assignment_expression "local_98 = 0" (identifier "local_98") (= "=") (number_literal "0")) (; ";")) (while_statement "while( true ) {\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar6 = FUN_00019cc0(__stream,&local_5c);\n        local_88 = 0;\n        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;\n        iVar6 = FUN_00019b70();\n        if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }\n        if (iVar8 != 0) break;\n        local_98 = local_98 + 1;\n        local_4c[0] = iVar6;\n        if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }\n        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);\n      }" ({ "{") (expression_statement "iVar6 = FUN_00019cc0(__stream,&local_5c);" (assignment_expression "iVar6 = FUN_00019cc0(__stream,&local_5c)" (identifier "iVar6") (= "=") (call_expression "FUN_00019cc0(__stream,&local_5c)" (identifier "FUN_00019cc0") (argument_list "(__stream,&local_5c)" (( "(") (identifier "__stream") (, ",") (pointer_expression "&local_5c" (& "&") (identifier "local_5c")) () ")")))) (; ";")) (expression_statement "local_88 = 0;" (assignment_expression "local_88 = 0" (identifier "local_88") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;" (if "if") (parenthesized_expression "((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0))" (( "(") (binary_expression "(iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)" (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)" (( "(") (comma_expression "iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0" (assignment_expression "iVar6 = FUN_00019cc0(__stream,&local_54)" (identifier "iVar6") (= "=") (call_expression "FUN_00019cc0(__stream,&local_54)" (identifier "FUN_00019cc0") (argument_list "(__stream,&local_54)" (( "(") (identifier "__stream") (, ",") (pointer_expression "&local_54" (& "&") (identifier "local_54")) () ")")))) (, ",") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar6 = FUN_00019b70();" (assignment_expression "iVar6 = FUN_00019b70()" (identifier "iVar6") (= "=") (call_expression "FUN_00019b70()" (identifier "FUN_00019b70") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }\n        else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar8 = FUN_00019c60(__stream,local_4c);\n          iVar6 = local_4c[0];\n        }" ({ "{") (expression_statement "iVar8 = FUN_00019c60(__stream,local_4c);" (assignment_expression "iVar8 = FUN_00019c60(__stream,local_4c)" (identifier "iVar8") (= "=") (call_expression "FUN_00019c60(__stream,local_4c)" (identifier "FUN_00019c60") (argument_list "(__stream,local_4c)" (( "(") (identifier "__stream") (, ",") (identifier "local_4c") () ")")))) (; ";")) (expression_statement "iVar6 = local_4c[0];" (assignment_expression "iVar6 = local_4c[0]" (identifier "iVar6") (= "=") (subscript_expression "local_4c[0]" (identifier "local_4c") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }" (else "else") (compound_statement "{\n          if (iVar6 != 1) break;\n          iVar8 = FUN_00019b10();\n          iVar6 = local_4c[0];\n        }" ({ "{") (if_statement "if (iVar6 != 1) break;" (if "if") (parenthesized_expression "(iVar6 != 1)" (( "(") (binary_expression "iVar6 != 1" (identifier "iVar6") (!= "!=") (number_literal "1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar8 = FUN_00019b10();" (assignment_expression "iVar8 = FUN_00019b10()" (identifier "iVar8") (= "=") (call_expression "FUN_00019b10()" (identifier "FUN_00019b10") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar6 = local_4c[0];" (assignment_expression "iVar6 = local_4c[0]" (identifier "iVar6") (= "=") (subscript_expression "local_4c[0]" (identifier "local_4c") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")))) (if_statement "if (iVar8 != 0) break;" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "local_98 = local_98 + 1;" (assignment_expression "local_98 = local_98 + 1" (identifier "local_98") (= "=") (binary_expression "local_98 + 1" (identifier "local_98") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_4c[0] = iVar6;" (assignment_expression "local_4c[0] = iVar6" (subscript_expression "local_4c[0]" (identifier "local_4c") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (((byte)DAT_0002e158 & 0x40) != 0) {\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }" (if "if") (parenthesized_expression "(((byte)DAT_0002e158 & 0x40) != 0)" (( "(") (binary_expression "((byte)DAT_0002e158 & 0x40) != 0" (parenthesized_expression "((byte)DAT_0002e158 & 0x40)" (( "(") (binary_expression "(byte)DAT_0002e158 & 0x40" (cast_expression "(byte)DAT_0002e158" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_0002e158")) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);\n        }" ({ "{") (expression_statement "printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);" (call_expression "printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6)" (identifier "printf") (argument_list "("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6)" (( "(") (string_literal ""[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n"" (" """) (string_content "[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu") (escape_sequence "\n") (" """)) (, ",") (identifier "local_5c") (, ",") (identifier "local_54") (, ",") (identifier "iVar6") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);" (call_expression "FUN_00014320(local_5c,local_58,local_54,local_50,iVar6)" (identifier "FUN_00014320") (argument_list "(local_5c,local_58,local_54,local_50,iVar6)" (( "(") (identifier "local_5c") (, ",") (identifier "local_58") (, ",") (identifier "local_54") (, ",") (identifier "local_50") (, ",") (identifier "iVar6") () ")"))) (; ";")) (} "}"))) (if_statement "if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }" (if "if") (parenthesized_expression "((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0))" (( "(") (binary_expression "(DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)" (parenthesized_expression "(DAT_0002e15c == 0)" (( "(") (binary_expression "DAT_0002e15c == 0" (identifier "DAT_0002e15c") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)" (( "(") (comma_expression "DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0" (assignment_expression "DAT_0002e15c = FUN_0001add0()" (identifier "DAT_0002e15c") (= "=") (call_expression "FUN_0001add0()" (identifier "FUN_0001add0") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "DAT_0002e15c == 0" (identifier "DAT_0002e15c") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        DAT_0002e15c = 1;\n        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);\n        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);\n      }" ({ "{") (expression_statement "DAT_0002e15c = 1;" (assignment_expression "DAT_0002e15c = 1" (identifier "DAT_0002e15c") (= "=") (number_literal "1")) (; ";")) (expression_statement "pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","time is in ticks, not seconds\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","time is in ticks, not seconds\n",5)" (identifier "dcgettext") (argument_list "("gprof","time is in ticks, not seconds\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""time is in ticks, not seconds\n"" (" """) (string_content "time is in ticks, not seconds") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar4)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" (* "*") (cast_expression "(FILE **)PTR_stderr_0002cfcc" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_0002cfcc"))) (, ",") (identifier "pcVar4") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_0001a1b8:\n      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }" (statement_identifier "LAB_0001a1b8") (: ":") (if_statement "if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {\n        fclose(__stream);\n      }" (if "if") (parenthesized_expression "(*(FILE **)PTR_stdin_0002cfe8 != __stream)" (( "(") (binary_expression "*(FILE **)PTR_stdin_0002cfe8 != __stream" (pointer_expression "*(FILE **)PTR_stdin_0002cfe8" (* "*") (cast_expression "(FILE **)PTR_stdin_0002cfe8" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stdin_0002cfe8"))) (!= "!=") (identifier "__stream")) () ")")) (compound_statement "{\n        fclose(__stream);\n      }" ({ "{") (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" (identifier "fclose") (argument_list "(__stream)" (( "(") (identifier "__stream") () ")"))) (; ";")) (} "}")))) (expression_statement "uVar3 = DAT_0002e12c;" (assignment_expression "uVar3 = DAT_0002e12c" (identifier "uVar3") (= "=") (identifier "DAT_0002e12c")) (; ";")) (if_statement "if ((DAT_0002e154 & 0x20) != 0) {\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }" (if "if") (parenthesized_expression "((DAT_0002e154 & 0x20) != 0)" (( "(") (binary_expression "(DAT_0002e154 & 0x20) != 0" (parenthesized_expression "(DAT_0002e154 & 0x20)" (( "(") (binary_expression "DAT_0002e154 & 0x20" (identifier "DAT_0002e154") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);\n        printf(pcVar4,param_1,uVar3);\n        if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }\n        printf(pcVar4,local_84);\n        if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }\n        printf(pcVar4,local_98);\n        if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }\n        printf(pcVar4,local_88);\n        DAT_0002d1b8 = 0;\n        return;\n      }" ({ "{") (expression_statement "pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","File `%s\' (version %d) contains:\n",5)" (identifier "dcgettext") (argument_list "("gprof","File `%s\' (version %d) contains:\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""File `%s\' (version %d) contains:\n"" (" """) (string_content "File `%s") (escape_sequence "\'") (string_content " (version %d) contains:") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(pcVar4,param_1,uVar3);" (call_expression "printf(pcVar4,param_1,uVar3)" (identifier "printf") (argument_list "(pcVar4,param_1,uVar3)" (( "(") (identifier "pcVar4") (, ",") (identifier "param_1") (, ",") (identifier "uVar3") () ")"))) (; ";")) (if_statement "if (local_84 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }" (if "if") (parenthesized_expression "(local_84 == 1)" (( "(") (binary_expression "local_84 == 1" (identifier "local_84") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);\n        }" ({ "{") (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","\t%d histogram record\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","\t%d histogram record\n",5)" (identifier "dcgettext") (argument_list "("gprof","\t%d histogram record\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""\t%d histogram record\n"" (" """) (escape_sequence "\t") (string_content "%d histogram record") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }" (else "else") (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);\n        }" ({ "{") (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","\t%d histogram records\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","\t%d histogram records\n",5)" (identifier "dcgettext") (argument_list "("gprof","\t%d histogram records\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""\t%d histogram records\n"" (" """) (escape_sequence "\t") (string_content "%d histogram records") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (} "}")))) (expression_statement "printf(pcVar4,local_84);" (call_expression "printf(pcVar4,local_84)" (identifier "printf") (argument_list "(pcVar4,local_84)" (( "(") (identifier "pcVar4") (, ",") (identifier "local_84") () ")"))) (; ";")) (if_statement "if (local_98 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }" (if "if") (parenthesized_expression "(local_98 == 1)" (( "(") (binary_expression "local_98 == 1" (identifier "local_98") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);\n        }" ({ "{") (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","\t%d call-graph record\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","\t%d call-graph record\n",5)" (identifier "dcgettext") (argument_list "("gprof","\t%d call-graph record\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""\t%d call-graph record\n"" (" """) (escape_sequence "\t") (string_content "%d call-graph record") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }" (else "else") (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);\n        }" ({ "{") (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","\t%d call-graph records\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","\t%d call-graph records\n",5)" (identifier "dcgettext") (argument_list "("gprof","\t%d call-graph records\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""\t%d call-graph records\n"" (" """) (escape_sequence "\t") (string_content "%d call-graph records") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (} "}")))) (expression_statement "printf(pcVar4,local_98);" (call_expression "printf(pcVar4,local_98)" (identifier "printf") (argument_list "(pcVar4,local_98)" (( "(") (identifier "pcVar4") (, ",") (identifier "local_98") () ")"))) (; ";")) (if_statement "if (local_88 == 1) {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }\n        else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }" (if "if") (parenthesized_expression "(local_88 == 1)" (( "(") (binary_expression "local_88 == 1" (identifier "local_88") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);\n        }" ({ "{") (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","\t%d basic-block count record\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","\t%d basic-block count record\n",5)" (identifier "dcgettext") (argument_list "("gprof","\t%d basic-block count record\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""\t%d basic-block count record\n"" (" """) (escape_sequence "\t") (string_content "%d basic-block count record") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }" (else "else") (compound_statement "{\n          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);\n        }" ({ "{") (expression_statement "pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof","\t%d basic-block count records\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof","\t%d basic-block count records\n",5)" (identifier "dcgettext") (argument_list "("gprof","\t%d basic-block count records\n",5)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (string_literal ""\t%d basic-block count records\n"" (" """) (escape_sequence "\t") (string_content "%d basic-block count records") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (} "}")))) (expression_statement "printf(pcVar4,local_88);" (call_expression "printf(pcVar4,local_88)" (identifier "printf") (argument_list "(pcVar4,local_88)" (( "(") (identifier "pcVar4") (, ",") (identifier "local_88") () ")"))) (; ";")) (expression_statement "DAT_0002d1b8 = 0;" (assignment_expression "DAT_0002d1b8 = 0" (identifier "DAT_0002d1b8") (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";" (assignment_expression "pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n"" (identifier "pcVar4") (= "=") (string_literal ""%s: file \'%s\' does not appear to be in gmon.out format\n"" (" """) (string_content "%s: file ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (string_content " does not appear to be in gmon.out format") (escape_sequence "\n") (" """))) (; ";")) (} "}")))) (expression_statement "uVar10 = DAT_0002e508;" (assignment_expression "uVar10 = DAT_0002e508" (identifier "uVar10") (= "=") (identifier "DAT_0002e508")) (; ";")) (expression_statement "pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508);" (assignment_expression "pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext("gprof",pcVar4,5,&DAT_0002e508)" (identifier "dcgettext") (argument_list "("gprof",pcVar4,5,&DAT_0002e508)" (( "(") (string_literal ""gprof"" (" """) (string_content "gprof") (" """)) (, ",") (identifier "pcVar4") (, ",") (number_literal "5") (, ",") (pointer_expression "&DAT_0002e508" (& "&") (identifier "DAT_0002e508")) () ")"))))) (; ";")) (expression_statement "pbVar9 = param_1;" (assignment_expression "pbVar9 = param_1" (identifier "pbVar9") (= "=") (identifier "param_1")) (; ";")) (labeled_statement "LAB_0001a53f:\n  fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);" (statement_identifier "LAB_0001a53f") (: ":") (expression_statement "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);" (call_expression "fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_0002cfcc" (* "*") (cast_expression "(FILE **)PTR_stderr_0002cfcc" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_0002cfcc"))) (, ",") (identifier "pcVar4") (, ",") (identifier "uVar10") (, ",") (identifier "pbVar9") () ")"))) (; ";"))) (expression_statement "FUN_0001adb0(1);" (call_expression "FUN_0001adb0(1)" (identifier "FUN_0001adb0") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x0001a6b9) */

void function_1(char *filename)

{
  type_1 var_49;
  type_2 count;
  size_t var_8;
  type_3 var_33;
  int var_37;
  type_1 var_40;
  type_4 *var_6;
  char *pcVar6;
  char *__format;
  type_5 *phVar7;
  int *piVar8;
  char *pcVar9;
  int var_1;
  type_6 bVar19;
  type_1 var_46;
  type_7 *var_2;
  type_8 *pgVar13;
  type_7 *var_3;
  type_6 bVar20;
  type_6 bVar21;
  bool var_4;
  bool bVar16;
  type_7 bVar17;
  long *plVar18;
  int var_16;
  int var_22;
  type_1 var_19;
  type_9 raw_bin_count;
  type_1 var_28;
  type_6 from_pc;
  type_6 self_pc;
  type_1 var_31;
  type_10 var_15;
  int var_43;
  type_1 var_44;
  int var_42;
  type_1 var_39;
  type_8 ghdr;
  
  bVar17 = 0;
  var_1 = 2;
  var_4 = &stack0xfffffff0 < (type_11 *)0x8c;
  bVar16 = &stack0x00000000 == (type_11 *)0x9c;
  var_2 = (type_7 *)filename;
  var_3 = &DAT_00023063;
  do {
    if (var_1 == 0) break;
    var_1 = var_1 + -1;
    var_4 = *var_2 < *var_3;
    bVar16 = *var_2 == *var_3;
    var_2 = var_2 + 1;
    var_3 = var_3 + 1;
  } while (bVar16);
  if ((!var_4 && !bVar16) == var_4) {
    var_6 = *(type_4 **)PTR_stdin_0002cfe8;
  }
  else {
    var_6 = var_5(filename,"r");
    if (var_6 == (type_4 *)0x0) goto LAB_0001a403;
  }
  plVar18 = &var_6->_flags;
  var_8 = var_7(&ghdr,0x14,1,var_6);
  pcVar9 = whoami;
  pcVar6 = (char *)var_9;
  if (var_8 != 1) goto LAB_0001a7d3;
  var_4 = var_9 == var_10;
  bVar16 = var_9 == var_11;
  if (bVar16) {
    var_1 = 4;
    pgVar13 = &ghdr;
    var_2 = &DAT_00023065;
    do {
      if (var_1 == 0) break;
      var_1 = var_1 + -1;
      var_4 = (type_7)pgVar13->cookie[0] < *var_2;
      bVar16 = pgVar13->cookie[0] == *var_2;
      pgVar13 = (type_8 *)((int)pgVar13 + (type_1)bVar17 * -2 + 1);
      var_2 = var_2 + (type_1)bVar17 * -2 + 1;
    } while (bVar16);
    if ((!var_4 && !bVar16) == var_4) {
LAB_0001a20a:
      bVar20._0_4_ = (*core_bfd->xvec->bfd_getx32)(ghdr.var_28);
      pcVar6 = whoami;
      gmon_file_version = (int)(type_6)bVar20;
      if (1 < (type_1)(type_6)bVar20) {
        pcVar9 = (char *)var_12("gprof","%s: file `%s\' has unsupported version %d\n",5,&whoami);
LAB_0001a790:
        var_13(*(type_4 **)PTR_stderr_0002cfcc,pcVar9,pcVar6,filename,(type_12)(type_6)bVar20);
                    /* WARNING: Subroutine does not return */
        var_14(1);
      }
      var_22 = 0;
      var_16 = 0;
      var_19 = 0;
      while (var_8 = var_7(&var_15,1,1,var_6), pcVar6 = whoami, var_8 == 1) {
        if (var_15 == '\x01') {
          var_16 = var_16 + 1;
          var_17 = var_17 | 2;
          var_18((type_4 *)var_6,filename);
        }
        else if (var_15 == '\0') {
          var_19 = var_19 + 1;
          var_17 = var_17 | 1;
          var_20((type_4 *)var_6,filename);
        }
        else {
          if (var_15 != '\x02') {
            pcVar9 = (char *)var_12("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);
            bVar20._0_4_ = (type_6)(var_21 & 0xff);
            goto LAB_0001a790;
          }
          var_22 = var_22 + 1;
          var_17 = var_17 | 4;
          var_23((type_4 *)var_6,filename);
        }
      }
      goto LAB_0001a1b8;
    }
LAB_0001a51a:
    pcVar6 = "%s: file `%s\' has bad magic cookie\n";
  }
  else {
    var_4 = false;
    bVar16 = var_9 == var_10;
    if (bVar16) {
      var_1 = 4;
      pgVar13 = &ghdr;
      var_2 = &DAT_00023065;
      do {
        if (var_1 == 0) break;
        var_1 = var_1 + -1;
        var_4 = (type_7)pgVar13->cookie[0] < *var_2;
        bVar16 = pgVar13->cookie[0] == *var_2;
        pgVar13 = (type_8 *)((int)pgVar13 + (type_1)bVar17 * -2 + 1);
        var_2 = var_2 + (type_1)bVar17 * -2 + 1;
      } while (bVar16);
      if ((!var_4 && !bVar16) == var_4) goto LAB_0001a20a;
    }
    else if (1 < var_9 - var_24) {
      __format = (char *)var_12("gprof","%s: don\'t know how to deal with file format %d\n",5,
                                   &whoami);
      goto LAB_0001a53f;
    }
    var_17 = 3;
    var_1 = var_25(var_6,0,0);
    if (var_1 < 0) goto LAB_0001a403;
    var_1 = var_26((type_4 *)var_6,(type_6 *)&var_15);
    if ((((var_1 != 0) ||
         (var_1 = var_26((type_4 *)var_6,(type_6 *)&var_44), var_1 != 0)) ||
        (var_1 = var_27((type_4 *)var_6,&var_39), var_1 != 0)) ||
       (var_1 = var_27((type_4 *)var_6,&var_28), var_1 != 0)) {
LAB_0001a7d3:
      pcVar6 = "%s: file too short to be a gmon file\n";
LAB_0001a7de:
      pcVar6 = (char *)var_12("gprof",pcVar6,5,plVar18);
      var_13(*(type_4 **)PTR_stderr_0002cfcc,pcVar6,filename);
                    /* WARNING: Subroutine does not return */
      var_14(1);
    }
    if (var_28 == 0x51879) {
      var_1 = var_27((type_4 *)var_6,&var_31);
      if (var_1 != 0) goto LAB_0001a7d3;
      plVar18 = &var_30;
      if (var_29 == (type_5 *)0x0) {
        var_30 = var_31;
      }
      else if (var_30 != var_31) {
        pcVar6 = "%s: profiling rate incompatible with first gmon file\n";
        goto LAB_0001a7de;
      }
      var_33 = var_32();
      if (var_33 == var_34) {
        var_1 = 0x20;
      }
      else {
        var_1 = 0;
        if (var_33 == var_35) {
          var_1 = 0x28;
        }
      }
    }
    else {
      if (var_9 == var_36) goto LAB_0001a51a;
      var_33 = var_32();
      var_1 = 0xc;
      if ((var_33 != var_34) && (var_1 = 0x14, var_33 != var_35)) {
        var_1 = 0;
      }
    }
    var_37 = var_25(var_6,var_1,0);
    if (var_37 < 0) {
LAB_0001a403:
      var_38(filename);
                    /* WARNING: Subroutine does not return */
      var_14(1);
    }
    var_40 = var_39 - var_1;
    bVar20._0_4_ = (type_6)(var_40 >> 1);
    if (var_29 == (type_5 *)0x0) {
      num_histograms = 1;
      phVar7 = (type_5 *)var_41(0x18);
      *(int *)((int)&phVar7->lowpc + 4) = var_43;
      var_29 = phVar7;
      *(int *)((int)&phVar7->highpc + 4) = var_42;
      *(type_1 *)&phVar7->lowpc = var_21;
                    /* WARNING: Store size is inaccurate */
      *(type_6 *)&phVar7->num_bins = (type_6)bVar20;
      *(type_1 *)&phVar7->highpc = var_44;
      var_46 = (var_42 - var_43) - (type_1)(var_44 < var_21);
      hist_scale = (double)var_45(var_46 >> 1,var_44 - var_21 >> 1 | var_46 * -0x80000000) /
                   (double)(int)(type_6)bVar20;
      piVar8 = (int *)var_41((int)(type_6)bVar20 * 4);
      phVar7->sample = piVar8;
      var_47(var_29->sample,0,(int)(type_6)bVar20 * 4);
    }
    else {
                    /* WARNING: Load size is inaccurate */
      if (((var_43 != *(int *)((int)&var_29->lowpc + 4) || var_21 != (type_1)var_29->lowpc) ||
          (var_42 != *(int *)((int)&var_29->highpc + 4) ||
           var_44 != (type_1)var_29->highpc)) ||
         (*(type_6 *)&var_29->num_bins != (type_6)bVar20)) {
        pcVar6 = "%s: incompatible with first gmon file\n";
        plVar18 = &var_6->_flags;
        goto LAB_0001a7de;
      }
    }
    if (((type_7)debug_level & 0x40) != 0) {
      var_48("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",var_21,var_44,var_39);
      var_48("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",var_40,(type_12)(type_6)bVar20);
    }
    if ((-1 < (int)var_40) &&
       (var_46 = *(type_1 *)((int)&var_29->lowpc + 4),
       var_49 = *(type_1 *)((int)&var_29->highpc + 4),
       var_46 <= var_49 &&
       (type_1)((type_1)var_29->highpc < (type_1)var_29->lowpc) <= var_49 - var_46)) {
      var_19 = (type_1)(1 < var_40);
      bVar21._0_4_ = 0;
      if ((type_6)bVar20 != 0) {
        do {
          var_8 = var_7(raw_bin_count,2,1,var_6);
          pcVar6 = whoami;
          if (var_8 != 1) {
            filename = (char *)((int)(type_6)bVar21 - 1);
            pcVar9 = (char *)var_12("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);
            goto LAB_0001a790;
          }
          bVar19._0_4_ = (*core_bfd->xvec->bfd_getx16)(raw_bin_count);
          var_29->sample[(int)(type_6)bVar21] =
               var_29->sample[(int)(type_6)bVar21] + (int)(type_6)bVar19;
          bVar21._0_4_ = (type_6)((int)(type_6)bVar21 + 1);
        } while ((type_6)bVar20 != (type_6)bVar21);
      }
      var_16 = 0;
      while( true ) {
        var_1 = var_26((type_4 *)var_6,&from_pc);
        var_22 = 0;
        if ((var_1 != 0) || (var_1 = var_26((type_4 *)var_6,&self_pc), var_1 != 0))
        break;
        var_33 = var_32();
        if (var_33 == var_34) {
          var_1 = var_27((type_4 *)var_6,&var_31);
          count = var_31;
        }
        else {
          if (var_33 != var_35) break;
          var_1 = var_50((type_4 *)var_6,(type_13 *)&var_31);
          count = var_31;
        }
        if (var_1 != 0) break;
        var_16 = var_16 + 1;
        var_31 = count;
        if (((type_7)debug_level & 0x40) != 0) {
          var_48("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",(type_12)from_pc,
                 (type_12)self_pc,count);
        }
        var_51(var_45(from_pc._4_4_,(type_12)from_pc),
                 var_45(self_pc._4_4_,(type_12)self_pc),count);
      }
      if ((var_30 == 0) && (var_30 = var_52(), var_30 == 0)) {
        var_30 = 1;
        pcVar6 = (char *)var_12("gprof","time is in ticks, not seconds\n",5);
        var_13(*(type_4 **)PTR_stderr_0002cfcc,pcVar6);
      }
LAB_0001a1b8:
      if (*(type_4 **)PTR_stdin_0002cfe8 != var_6) {
        var_53(var_6);
      }
      var_1 = gmon_file_version;
      if (((type_7)output_style & 0x20) != 0) {
        pcVar6 = (char *)var_12("gprof","File `%s\' (version %d) contains:\n",5);
        var_48(pcVar6,filename,var_1);
        if (var_19 == 1) {
          pcVar6 = (char *)var_12("gprof","\t%d histogram record\n",5);
        }
        else {
          pcVar6 = (char *)var_12("gprof","\t%d histogram records\n",5);
        }
        var_48(pcVar6,var_19);
        if (var_16 == 1) {
          pcVar6 = (char *)var_12("gprof","\t%d call-graph record\n",5);
        }
        else {
          pcVar6 = (char *)var_12("gprof","\t%d call-graph records\n",5);
        }
        var_48(pcVar6,var_16);
        if (var_22 == 1) {
          pcVar6 = (char *)var_12("gprof","\t%d basic-block count record\n",5);
        }
        else {
          pcVar6 = (char *)var_12("gprof","\t%d basic-block count records\n",5);
        }
        var_48(pcVar6,var_22);
        first_output = 0;
        return;
      }
      return;
    }
    pcVar6 = "%s: file \'%s\' does not appear to be in gmon.out format\n";
  }
  pcVar9 = whoami;
  __format = (char *)var_12("gprof",pcVar6,5,&whoami);
  pcVar6 = filename;
LAB_0001a53f:
  var_13(*(type_4 **)PTR_stderr_0002cfcc,__format,pcVar9,pcVar6);
                    /* WARNING: Subroutine does not return */
  var_14(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))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (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: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))))) alternative: (else_clause (compound_statement (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)) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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) (number_literal) (number_literal) (identifier))))) (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: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier))) consequence: (compound_statement (labeled_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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) 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 (string_literal (string_content)) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence)) (number_literal) (pointer_expression argument: (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))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal) (identifier)))) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content) (escape_sequence)) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))))))))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))))) condition: (parenthesized_expression (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)) right: (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)) (number_literal) (pointer_expression argument: (identifier))))))) (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (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: (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: (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)))))) 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: (string_literal (string_content) (escape_sequence))))) (labeled_statement label: (statement_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))))))) (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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content) (escape_sequence)))) (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (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: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (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: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))) right: (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content) (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (identifier) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal))) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier))))) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (number_literal) right: (identifier)))))) (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 (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content) (escape_sequence)) (number_literal)))))) (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (identifier) (identifier) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content) (escape_sequence)) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) (identifier)))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence)) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (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 (escape_sequence) (string_content) (escape_sequence)) (number_literal))))))) alternative: (else_clause (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 (escape_sequence) (string_content) (escape_sequence)) (number_literal))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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 (escape_sequence) (string_content) (escape_sequence)) (number_literal))))))) alternative: (else_clause (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 (escape_sequence) (string_content) (escape_sequence)) (number_literal))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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 (escape_sequence) (string_content) (escape_sequence)) (number_literal))))))) alternative: (else_clause (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 (escape_sequence) (string_content) (escape_sequence)) (number_literal))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (return_statement))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content) (escape_sequence))))))) (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) (pointer_expression argument: (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))))) (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 */
/* WARNING: Removing unreachable block (ram,0x0001a6b9) */

void MASKED(byte *param_1)

{
  int *piVar1;
  size_t sVar2;
  uint uVar3;
  FILE *__stream;
  char *pcVar4;
  uint *puVar5;
  int iVar6;
  uint uVar7;
  int iVar8;
  byte *pbVar9;
  undefined4 uVar10;
  uint uVar11;
  byte *pbVar12;
  bool bVar13;
  bool bVar14;
  byte bVar15;
  FILE *pFVar16;
  int local_98;
  int local_88;
  uint local_84;
  undefined1 local_62 [2];
  int local_60;
  undefined4 local_5c;
  undefined4 local_58;
  undefined4 local_54;
  undefined4 local_50;
  int local_4c [2];
  uint local_44;
  uint local_40;
  uint local_3c;
  uint local_38;
  int local_34;
  byte local_30 [4];
  undefined1 local_2c [24];
  undefined4 uStack_14;
  
  bVar15 = 0;
  iVar6 = 2;
  uStack_14 = 0x19f2e;
  bVar13 = &stack0xfffffff0 < (undefined1 *)0x8c;
  bVar14 = &stack0x00000000 == (undefined1 *)0x9c;
  pbVar9 = param_1;
  pbVar12 = &DAT_00023063;
  do {
    if (iVar6 == 0) break;
    iVar6 = iVar6 + -1;
    bVar13 = *pbVar9 < *pbVar12;
    bVar14 = *pbVar9 == *pbVar12;
    pbVar9 = pbVar9 + 1;
    pbVar12 = pbVar12 + 1;
  } while (bVar14);
  if ((!bVar13 && !bVar14) == bVar13) {
    __stream = *(FILE **)PTR_stdin_0002cfe8;
  }
  else {
    __stream = fopen64((char *)param_1,"r");
    if (__stream == (FILE *)0x0) goto LAB_0001a403;
  }
  pFVar16 = __stream;
  sVar2 = fread(local_30,0x14,1,__stream);
  uVar10 = DAT_0002e508;
  pbVar9 = DAT_0002e134;
  if (sVar2 != 1) goto LAB_0001a7d3;
  bVar13 = DAT_0002e134 == (byte *)0x0;
  bVar14 = DAT_0002e134 == (byte *)0x1;
  if (bVar14) {
    iVar6 = 4;
    pbVar9 = local_30;
    pbVar12 = &DAT_00023065;
    do {
      if (iVar6 == 0) break;
      iVar6 = iVar6 + -1;
      bVar13 = *pbVar9 < *pbVar12;
      bVar14 = *pbVar9 == *pbVar12;
      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;
      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;
    } while (bVar14);
    if ((!bVar13 && !bVar14) == bVar13) {
LAB_0001a20a:
      uVar11 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x28))(local_2c);
      uVar10 = DAT_0002e508;
      DAT_0002e12c = uVar11;
      if (1 < uVar11) {
        pcVar4 = (char *)dcgettext("gprof","%s: file `%s\' has unsupported version %d\n",5,
                                   &DAT_0002e508);
LAB_0001a790:
        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,param_1,uVar11);
                    /* WARNING: Subroutine does not return */
        FUN_0001adb0(1);
      }
      local_88 = 0;
      local_98 = 0;
      local_84 = 0;
      while (sVar2 = fread(&local_44,1,1,__stream), uVar10 = DAT_0002e508, sVar2 == 1) {
        if ((char)local_44 == '\x01') {
          local_98 = local_98 + 1;
          DAT_0002e130 = DAT_0002e130 | 2;
          FUN_00014440(__stream,param_1);
        }
        else if ((char)local_44 == '\0') {
          local_84 = local_84 + 1;
          DAT_0002e130 = DAT_0002e130 | 1;
          FUN_0001c230(__stream,param_1);
        }
        else {
          if ((char)local_44 != '\x02') {
            pcVar4 = (char *)dcgettext("gprof","%s: %s: found bad tag %d (file corrupted?)\n",5);
            uVar11 = local_44 & 0xff;
            goto LAB_0001a790;
          }
          local_88 = local_88 + 1;
          DAT_0002e130 = DAT_0002e130 | 4;
          FUN_000136c0(__stream,param_1);
        }
      }
      goto LAB_0001a1b8;
    }
LAB_0001a51a:
    pcVar4 = "%s: file `%s\' has bad magic cookie\n";
  }
  else {
    bVar13 = false;
    bVar14 = DAT_0002e134 == (byte *)0x0;
    if (bVar14) {
      iVar6 = 4;
      pbVar9 = local_30;
      pbVar12 = &DAT_00023065;
      do {
        if (iVar6 == 0) break;
        iVar6 = iVar6 + -1;
        bVar13 = *pbVar9 < *pbVar12;
        bVar14 = *pbVar9 == *pbVar12;
        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;
        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;
      } while (bVar14);
      if ((!bVar13 && !bVar14) == bVar13) goto LAB_0001a20a;
    }
    else if ((byte *)0x1 < DAT_0002e134 + -2) {
      pcVar4 = (char *)dcgettext("gprof","%s: don\'t know how to deal with file format %d\n",5,
                                 &DAT_0002e508);
      goto LAB_0001a53f;
    }
    DAT_0002e130 = 3;
    iVar6 = fseek(__stream,0,0);
    if (iVar6 < 0) goto LAB_0001a403;
    iVar6 = FUN_00019cc0(__stream,&local_44);
    if ((((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_3c), iVar6 != 0)) ||
        (iVar6 = FUN_00019c60(__stream,&local_34), iVar6 != 0)) ||
       (iVar6 = FUN_00019c60(__stream,&local_60), iVar6 != 0)) {
LAB_0001a7d3:
      pcVar4 = "%s: file too short to be a gmon file\n";
LAB_0001a7de:
      pcVar4 = (char *)dcgettext("gprof",pcVar4,5,pFVar16);
      fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,param_1);
                    /* WARNING: Subroutine does not return */
      FUN_0001adb0(1);
    }
    if (local_60 == 0x51879) {
      iVar6 = FUN_00019c60(__stream,local_4c);
      if (iVar6 != 0) goto LAB_0001a7d3;
      pFVar16 = (FILE *)&DAT_0002e15c;
      if (DAT_0002e510 == (uint *)0x0) {
        DAT_0002e15c = local_4c[0];
      }
      else if (DAT_0002e15c != local_4c[0]) {
        pcVar4 = "%s: profiling rate incompatible with first gmon file\n";
        goto LAB_0001a7de;
      }
      iVar6 = FUN_00019b70();
      if (iVar6 == 0) {
        iVar8 = 0x20;
      }
      else {
        iVar8 = 0;
        if (iVar6 == 1) {
          iVar8 = 0x28;
        }
      }
    }
    else {
      if (DAT_0002e134 == (byte *)0x3) goto LAB_0001a51a;
      iVar6 = FUN_00019b70();
      iVar8 = 0xc;
      if ((iVar6 != 0) && (iVar8 = 0x14, iVar6 != 1)) {
        iVar8 = 0;
      }
    }
    iVar6 = fseek(__stream,iVar8,0);
    if (iVar6 < 0) {
LAB_0001a403:
      perror((char *)param_1);
                    /* WARNING: Subroutine does not return */
      FUN_0001adb0(1);
    }
    uVar3 = local_34 - iVar8;
    uVar11 = uVar3 >> 1;
    if (DAT_0002e510 == (uint *)0x0) {
      DAT_0002e514 = 1;
      puVar5 = (uint *)xmalloc(0x18);
      puVar5[1] = local_40;
      DAT_0002e510 = puVar5;
      puVar5[3] = local_38;
      *puVar5 = local_44;
      puVar5[4] = uVar11;
      puVar5[2] = local_3c;
      uVar7 = (local_38 - local_40) - (uint)(local_3c < local_44);
      DAT_0002e518 = (double)CONCAT44(uVar7 >> 1,local_3c - local_44 >> 1 | uVar7 * -0x80000000) /
                     (double)uVar11;
      uVar7 = xmalloc(uVar11 * 4);
      puVar5[5] = uVar7;
      memset((void *)DAT_0002e510[5],0,uVar11 * 4);
    }
    else if (((local_40 != DAT_0002e510[1] || local_44 != *DAT_0002e510) ||
             (local_38 != DAT_0002e510[3] || local_3c != DAT_0002e510[2])) ||
            (DAT_0002e510[4] != uVar11)) {
      pcVar4 = "%s: incompatible with first gmon file\n";
      pFVar16 = __stream;
      goto LAB_0001a7de;
    }
    if (((byte)DAT_0002e158 & 0x40) != 0) {
      printf("[gmon_out_read] lowpc 0x%lx highpc 0x%lx ncnt %d\n",local_44,local_3c,local_34);
      printf("[gmon_out_read] samp_bytes %d hist_num_bins %d\n",uVar3,uVar11);
    }
    if ((-1 < (int)uVar3) &&
       (DAT_0002e510[1] <= DAT_0002e510[3] &&
        (uint)(DAT_0002e510[2] < *DAT_0002e510) <= DAT_0002e510[3] - DAT_0002e510[1])) {
      local_84 = (uint)(1 < uVar3);
      uVar3 = 0;
      if (uVar11 != 0) {
        do {
          sVar2 = fread(local_62,2,1,__stream);
          uVar10 = DAT_0002e508;
          if (sVar2 != 1) {
            param_1 = (byte *)(uVar3 - 1);
            pcVar4 = (char *)dcgettext("gprof","%s: unexpected EOF after reading %d/%d bins\n",5);
            goto LAB_0001a790;
          }
          iVar6 = (**(code **)(*(int *)(DAT_0002e4ec + 4) + 0x34))(local_62);
          piVar1 = (int *)(DAT_0002e510[5] + uVar3 * 4);
          *piVar1 = *piVar1 + iVar6;
          uVar3 = uVar3 + 1;
        } while (uVar11 != uVar3);
      }
      local_98 = 0;
      while( true ) {
        iVar6 = FUN_00019cc0(__stream,&local_5c);
        local_88 = 0;
        if ((iVar6 != 0) || (iVar6 = FUN_00019cc0(__stream,&local_54), iVar6 != 0)) break;
        iVar6 = FUN_00019b70();
        if (iVar6 == 0) {
          iVar8 = FUN_00019c60(__stream,local_4c);
          iVar6 = local_4c[0];
        }
        else {
          if (iVar6 != 1) break;
          iVar8 = FUN_00019b10();
          iVar6 = local_4c[0];
        }
        if (iVar8 != 0) break;
        local_98 = local_98 + 1;
        local_4c[0] = iVar6;
        if (((byte)DAT_0002e158 & 0x40) != 0) {
          printf("[gmon_out_read] frompc 0x%lx selfpc 0x%lx count %lu\n",local_5c,local_54,iVar6);
        }
        FUN_00014320(local_5c,local_58,local_54,local_50,iVar6);
      }
      if ((DAT_0002e15c == 0) && (DAT_0002e15c = FUN_0001add0(), DAT_0002e15c == 0)) {
        DAT_0002e15c = 1;
        pcVar4 = (char *)dcgettext("gprof","time is in ticks, not seconds\n",5);
        fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4);
      }
LAB_0001a1b8:
      if (*(FILE **)PTR_stdin_0002cfe8 != __stream) {
        fclose(__stream);
      }
      uVar3 = DAT_0002e12c;
      if ((DAT_0002e154 & 0x20) != 0) {
        pcVar4 = (char *)dcgettext("gprof","File `%s\' (version %d) contains:\n",5);
        printf(pcVar4,param_1,uVar3);
        if (local_84 == 1) {
          pcVar4 = (char *)dcgettext("gprof","\t%d histogram record\n",5);
        }
        else {
          pcVar4 = (char *)dcgettext("gprof","\t%d histogram records\n",5);
        }
        printf(pcVar4,local_84);
        if (local_98 == 1) {
          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph record\n",5);
        }
        else {
          pcVar4 = (char *)dcgettext("gprof","\t%d call-graph records\n",5);
        }
        printf(pcVar4,local_98);
        if (local_88 == 1) {
          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count record\n",5);
        }
        else {
          pcVar4 = (char *)dcgettext("gprof","\t%d basic-block count records\n",5);
        }
        printf(pcVar4,local_88);
        DAT_0002d1b8 = 0;
        return;
      }
      return;
    }
    pcVar4 = "%s: file \'%s\' does not appear to be in gmon.out format\n";
  }
  uVar10 = DAT_0002e508;
  pcVar4 = (char *)dcgettext("gprof",pcVar4,5,&DAT_0002e508);
  pbVar9 = param_1;
LAB_0001a53f:
  fprintf(*(FILE **)PTR_stderr_0002cfcc,pcVar4,uVar10,pbVar9);
                    /* WARNING: Subroutine does not return */
  FUN_0001adb0(1);
}

